Authorized Online Retailers
|Buy from US||Buy from UK||Buy from DE||Buy from IT||Buy from FR||Buy from ES||Buy from JP|
In this "Hello World" version lesson, we will install the most important framework in the smart car and program the car to do some simple movements. If you have passed the test movement of this lesson, it means Arduino, voltage meter,motor control module, motors, batteries，chassis and wire connections between these parts are all functioning well.
2) Install 4 motors with Metal Motor Holders as follows
3)Install 4 motors on lower car chassis with screw M3*10 (screws in metal motor holder package)
4)Install OSOYOO MODEL X motor driver module to lower car chassis with 4pcs M2.5 plastic screws, plastic pillars and plastic nuts. (Please make sure you install the OSOYOO MODEL X motor driver module in correct direction.)
5)Install voltage meter on low car chassis with 2pcs M2.5 plastic screws, plastic pillars and plastic nuts
6) Install Arduino UNO on upper car chassis with 4pcs M2.5 plastic screws, plastic pillars and plastic nuts. (Please make sure you install UNO R3 board at the correct side)
7) Install Battery Box on upper chassis with 4pcs M3 x 10 screws， M3 nuts and M3 rubber rings
1) Connect 4 motors to OSOYOO MODEL X motor driver module K1 to K4 sockets as per following graph:
2) Connect Voltage Meter to OSOYOO MODEL X motor dirver module with 3pin female to female jumper wires as below connection diagram
Please note: the bundle of female-female & male-female jumper wires can be separated one by one and every color jumper wires work as the same
3) Connect Arduino UNO D4,D5,D6,D7,D8,D10 to OSOYOO MODEL X motor driver module 6 control pins with 6pin male to female jumper wires as per following graph (these pins are defined in sample code configuration.h file)
4） Connect the Uno board, battery box, Voltage Meter and OSOYOO MODEL X motor dirver module according below connection diagram
5)Connect upper chassis to lower chassis with five copper pillars and fix copper pillars with 10pcs M3*10 screws and 10pcs M3 rubber rings, then install 4 wheels onto the motors.
Step 1: Install latest Arduino IDE (If you have Arduino IDE version after 1.1.16, please skip this step)Download Arduino IDe from https://www.arduino.cc/en/Main/Software?setlang=en , then install the software.
Step 2: Download Lesson One sample code from http://osoyoo.com/driver/v2smartcar-lesson1.zip , unzip the download zip file smartcar-lesson1.zip, you will see a folder called smartcar-lesson1 .
Step 3: Connect Arduino UNO to PC with USB cable, Open Arduino IDE -> click file -> click Open -> choose code “smartcar-lesson1.ino” in smartcar-lesson1 folder, load the code into arduino.
Step 4: Choose corresponding board/port for your project,upload the sketch to the board.
Note: the 18650 batterys we used in lessons are around 65 mm (2.56 inch) long, without an internal protection circuit.
Disconnect Arduino from PC, put 2 fully-charged 18650 batteries into battery box
(Note: check the box instruction and make sure polar direction is correct, otherwise it can destroy your device and cause fire hazard).
Please intall your battery as per following instruction:
When you put the car on the ground and turn on the switch on battery box, the car should go forward 5 seconds, then go backward 5 seconds, then left turn for 5 seconds, then right turn for 5 seconds, then stop.
If the car does not move as per above mentioned result, you should check your wire connection, battery voltage(must over 7.2v).
DownLoad Url osoyoo.com