EasyManua.ls Logo

SunFounder 3in1 Kit - Move by Code

Default Icon
351 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SunFounder 3in1 Kit
5.2 1. Move
Before we start programming, let’s review the working principle of L9110 module.
Here is the truth table of Motor B:
B-1A B-1B The state of Motor B
1 0 Rotate clockwise
0 1 Rotate counterclockwise
0 0 Brake
1 1 Stop
Here is the truth table of Motor A:
A-1A A-1B The state of Motor B
1 0 Rotate clockwise
0 1 Rotate counterclockwise
0 0 Brake
1 1 Stop
L9110 Motor Driver Module
Forward
Now let’s connect the input of L9110 module directly to 12V and GND respectively to make the car move.
1. Connect R4 board, L9110 module and 2 motors.
230 Chapter 5. Car Projects

Related product manuals