SunFounder 3in1 Kit
Stop
To stop the motor, connect the inputs on the same side to 12V or GND at the same time, e.g. connect B-1A and B-1B
to 12V or 5V at the same time, and the same for A-1A and A-1B.
This is of course theoretical and needed later on when controlling with code. Here remove the power supply to the car
can stop it.
5.3 2. Move by Code
In the previous project, we have tried to control the operation of the motor by using different level signals for the input
of the L9110 module.
If we modify the level signals through the program, then we can control the movement of the car in a flexible way.
Required Components
In this project, we need the following components.
It’s definitely convenient to buy a whole kit, here’s the link:
Name ITEMS IN THIS KIT LINK
3 in 1 Starter Kit 380+
5.3. 2. Move by Code 235