LC-AI-SC01

From LCWIKI
Jump to: navigation, search

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
SC01-1.png

2.Open the Arduino IDE software
SC01-2.png
Select the correct development board model and port number
(The port number can be viewed in the device manager)
SC01-3.png

3.Click the upload button
SC01-4.png

The program download is now complete
SC01-5.png



Hardware Connection

Prepare a PCB board for the small car
SC01-6.png

Break off the eight fasteners on the PCB board
SC01-7.png

Prepare 4 motors and 8 cables
SC01-8.png

SC01-9.png

SC01-10.png

Apply tin to the copper lead terminals of four motors
SC01-11.png

Weld the flat wire to the motor lead end
SC01-12.png

Fix the four motors to the PCB board with fasteners
Note: The motor lead end is facing inward!
SC01-13.png

SC01-14.png

SC01-15.png

SC01-16.png

Then install the tire on the motor, as shown in the picture
SC01-17.png

SC01-18.png

Take out the battery box and screws, and fix the battery box in the middle of the PCB board
SC01-19.png

SC01-20.png

Fix the driver module on the PCB board again
SC01-21.png

SC01-22.png

Connect the battery box interface cable to the VCC GND of the driver module
Note: Red connected to VCC, black connected to GND
SC01-23.png

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
SC01-24.png

SC01-25.png

Then install the aduino control board
SC01-21.png

SC01-26.png

Then fix the servo motor to the PCB with M2 * 10 screws
SC01-27.png

SC01-28.png

SC01-29.png

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
SC01-30.png

SC01-31.png

SC01-32.png

Then insert the ultrasonic bracket on the steering gear, pay attention to the direction
SC01-33.png

Finally, install the infrared obstacle avoidance and tracking module
SC01-34.png

SC01-35.png

SC01-36.png

SC01-37.png

Final graph
SC01-38.png