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. Step 1
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. Step 2
Install the Arduino motherboard and install it carefully according to the position reserved by the motherboard. Step 3
Install the battery holder. Connect the connector to the Arduino sensor shield v5 power interface. Step 4
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. Step 5
Connect the Arduino sensor shield v5 with the Drive Board Module. Step 6
Install the ultrasonic sensor on the Drive Board Module. Step 7
Connect the connector to the correct port in the order of the interface of the schematic diagram. Problem
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.