LC-AI-SC01
Description
1.The integrated development environment of the Arduino car is Arduino IDE, which is directly used to write and download programs.
Install the arduino-1.6.6-windows (or other version) software in the "tool software" and open it, and connect the Arduino development board to the computer with a square USB cable
2.Open the Arduino IDE software
Select the correct development board model and port number
(The port number can be viewed in the device manager)
The program download is now complete
Hardware Connection
Prepare a PCB board for the small car
Break off the eight fasteners on the PCB board
Apply tin to the copper lead terminals of four motors
Weld the flat wire to the motor lead end
Fix the four motors to the PCB board with fasteners
Note: The motor lead end is facing inward!
Then install the tire on the motor, as shown in the picture
Take out the battery box and screws, and fix the battery box in the middle of the PCB board
Fix the driver module on the PCB board again
Connect the battery box interface cable to the VCC GND of the driver module
Note: Red connected to VCC, black connected to GND
The two wires of the left motor are connected to OUT1 and OUT2
The two wires of the motor on the right are connected to OUT3 and OUT4
The two wires of the second left motor are connected to OUT5 and OUT6
The two wires of the second motor on the right are connected to OUT7 and OUT8
Then install the aduino control board
Then fix the servo motor to the PCB with M2 * 10 screws
First fix the ultrasonic module to the bracket, and then fix the steering gear blades to the ultrasonic bracket with M2*6 self-tapping screws
Then insert the ultrasonic bracket on the steering gear, pay attention to the direction
Finally, install the infrared obstacle avoidance and tracking module