The automatic ultrasonic car is my project. I learned about Arduino building and programming through it. I overcame some difficulties in completing it and finally managed to finish the project.
I think it's a good way for beginners to learn Arduino.
Assembly - The Chassis
The first step is to install the DC motor and two wheels on the bottom board, and the cable in DC motor is connected in the black line below the red line.
Install the Arduino motherboard and install it carefully according to the position reserved by the motherboard.
Install the battery holder. Connect the connector to the Arduino sensor shield v5 power interface.
The Drive Board Module is installed on the bottom board, and the Drive Board Module is a key step that controls the operation of two motor functions.
Connect the Arduino sensor shield v5 with the Drive Board Module.
Install the ultrasonic sensor on the Drive Board Module.
Connect the connector to the correct port in the order of the interface of the schematic diagram.
In the process, I did not go wrong in the order of the schematic diagram, and finally found that the sensor could work normally, but the motor didn't work properly.
I carefully checked code, cables, batteries and finally found that the cause of why the motor does not work is because we must use 6 section 1.5 V AA batteries that can provide enough electricity for the entire project.