Introduction: OSOYOO 2WD Robot Car Starter Kit
You can purchases this car from Amazon:
OSOYOO 2WD Robot Car Starter K it (US)
OSOYOO 2WD Robot Car Starter Kit (UK)
OSOYOO 2WD Robot Car Starter Kit (DE)
OSOYOO 2WD Robot Car Starter Kit (FR)
OSOYOO 2WD Robot Car Starter Kit (IT)
OSOYOO 2WD Robot Car Starter Kit (ES)
Description:
OSOYOO 2WD Robot Car Starter Kit is designed for beginners to learn Arduino programming and get hands-on experience on robot design and assembly.
We have developed a step-by-step tutorial which evolves from a simple car without any control to a multi-function robotic car controlled by mobile APP.
Every lesson has detailed sample code with comments, circuit graph, assembly instruction and video. Even if you have no programming experience, you can follow the step-by-step instruction and gradually become a master.
Our robotic car is 100% open source. If you are an intermediate player and have time to read our code comments, you can easily customize this robotic car to make your own project for science fair, college home work or even commercial applications.
This kit contains module parts including OSOYOO MODEL-X motor driver module(*), Tracking module, Infrared Remote Control and Sensor Shield V5.0 for Arduino UNO, etc. With these modules, the robot car can work in multiple modes such as auto-go, infrared control and line tracking. You can use our Android APP to change working mode through Bluetooth.
*OSOYOO MODEL X motor driver module is an improved L298N module which has newly designed wiring sockets and can greatly simplify the assembly procedure and wire connection stability.
Parts and Devices:
1x UNO R3 board with USB cable
1x OSOYOO Model X Motor Driver Module
1x Sensor Shield V5.0 for Arduino UNO
2x Tracking sensor module
1x Bluetooth Module
1x IR Receiver
1x IR Remote controller
1x Car Chassis
2x Gear Motor with wires
2x Wheel 1x Universal Wheel
1x Box for 18650 3.7V battery
2x Metal Motor Holder
1x DC power connector with wires
1x Phillips Screwdriver
1x Slot Type Screwdriver
1x 40pin 10cm Female to Female Cable
1x 10pin 30cm Female to Female Cable
1x 20pin 15cm Male to Female Cable
20x Cable Tie
16x M3*5 Screw
8x M3*12 Copper Pillar
6x M3*10 Screw
6x M3*10 Nut
15x M3 Plastic Screw
15x M3 Plastic Nut
15x M3 Plastic Pillar
1x Tutorial DVD
Step 1: The Basic Installation of OSOYOO 2WD Robot Car Chassis Video
Step 2: Identify the Front Side of the Chassis
REMOVE THE PROTECTIVE FILM FROM THE CHASSIS.
PLEASE PAY ATTENTION:
THE CHASSIS HAS FRONT SIDE AND BACK SIDE, PLEASE PAY ATTENTION TO THE FRONT SIDE AS THE PICTURE SHOWS
Step 3: Assembly Motors
Accessories:
Motor Holder Set x2
Install 2 motors on the chassis with the motor holders
Step 4: Install Wheels
Accessories:
M3*12 Double Pass Copper Pillar x 4
M3*5 Screw x 8
Install the wheel on the chassis with M3*12 Double Pass Copper Pillars and M3*5 Screws(please install the Copper Pillar on the chassis first), then install the two wheels onto the motors.
Step 5: Install Battery Box
Accessories:
M3*10 Screw x 4
M3*10 Nut x 4
Fixed the battery box on the surface of the chassis with the M3 screws and nuts
Step 6: Install OSOYOO Model-X Motor Driver Module
Accessories:
M3*6 Plastic Screw x 4
M3 Plastic Nut x 4
M3*5+6 Plastic Pillar x 4
Fixed the OSOYOO Model-X motor driver module on the surface of the chassis with the M3 screws and nuts
Step 7: Install OSOYOO UNO Board
Accessories:
M3*6 Plastic Screw x 3
M3 Plastic Nut x 4
M3*5+6 Plastic Pillar x 4
Fixed the OSOYOO UNO board on the surface of the chassis with the M3 screws and nuts
Step 8: Install Sensor Shield V5.0 for Arduino UNO
Plug the Sensor Shield V5.0 for Arduino UNO into OSOYOO UNO R3
Step 9: Connect the UNO Board, Battery Box and OSOYOO Model-X
The wire should in the up side of the DC power connector as picture show
Step 10: Connect OSOYOO Model-X Module and Sensor Shield V5.0 for Arduino UNO
Sensor Shield V5.0 for Arduino UNO ---- OSOYOO Model-X
S5 -- ENA
S6 -- ENB
S7 -- IN1
S8 -- IN2
S9 -- IN3
S10 -- IN4
Step 11: Connect OSOYOO Model-X Motor Driver Module With 2 Motors
The right motor connected to K1 or K2, the left motor connected to K3 or K4
Step 12: Install IR Receiver Module
Accessories:
M3*6 Plastic Screw x 1
M3 Plastic Nut x 1
M3*5+6 Plastic Pillar x 1
Install the IR receiver at the front of the chassis with the screws and nuts:
Step 13: Connect IR Receiver Module With Sensor Shield V5.0 for Arduino UNO
Using the female to female Dupont line to connect IR receiver with Sensor Shield V5.0 for Arduino UNO:
IR receiver ---- Sensor Shield V5.0 for Arduino UNO
S -- S4
+ -- 5V
– -- GND
Step 14: Install Two Tracking Sensor Modules
Accessories:
M3*5 Screw x 4
M3*12 Double Pass Copper Cylinder x 2
Use M3*5 Screws to install M3*12 Double Pass Copper Cylinders on the two tracking sensor modules, then use M3*5 Screws to install tracking sensor modules under the chassis
Step 15: Connect the 2 Tracking Sensor Module With Sensor Shield V5.0 for Arduino UNO
The Right Tracking Sensor ---- Sensor Shield V5.0 for Arduino UNO
VCC -- 5V
GND -- GND
DO -- S3
AO -- Not Connected
The Left Tracking Sensor ---- Sensor Shield V5.0 for Arduino UNO
VCC -- 5V
GND -- GND
DO -- S2
AO -- Not Connected
Step 16: Its Complete and Ready to Upload Some Codes!
Now hardware installation is almost done. Before we install 18650 batteries into the box, we need burn the sample code into Arduino first.
Step 17: Install Latest Arduino IDE
Download Arduino IDE from https://www.arduino.cc/en/Main/Software?setlang=en, then install the software.
(If you have Arduino IDE version after 1.1.16, you can skip this step.)
Step 18: Download Sample Code
1. Check the Wire Connection: lesson-1.zip
2. IR Control: lesson-2.zip
3. Line Tracking: lesson-3.zip
4. Bluetooth Control: lesson-4.zip
Step 19: Open Arduino IDE, Choose Corresponding Board/port
Connect UNO R3 board to PC with USB cable, open Arduino IDE, choose corresponding board/port for your project
Step 20: Install IRremote Library Into Arduino IDE
Notice: If you want to use IR remote to control the car, you should Install IRremote.zip library Into Arduino IDE first, and then upload lesson-2.zip
Open Arduino IDE, install IRremote library into Arduino IDE (If you have already installed IRremote library, please skip this step)
Download IRremote.zip library, then import the library into Arduino IDE(Open Arduino IDE-> click Sketch->Include Library->Add .Zip Library)
Step 21: Upload the Sketch
Click file -> click Open -> choose code “lesson-1.ino”, load the code into Arduino, and then upload the sketch to the board.
Step 22: Check the Wire Connection
Disconnect Arduino from PC, put 2 fully-charged 18650 battery into battery pox(check the box instruction and make sure polar direction is correct, otherwise it can destroy your device and cause fire hazard).
Please install your battery as per picture instruction
Put the car on the ground, open the power switch in the battery box, the car should go forward 2 seconds, then go backward 2 seconds, then left turn for 2 seconds, then right turn for 2 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).
Step 23: IR Control
Press IR controller keys to control the car movements:
∧: Forward
∨: Backward
<: Turn left
>: Turn right
If the car can’t move, please check the following:
If the battery can work;
If the IR controller is too far away from the receiver;
If the connection is right.
Step 24: Line Tracking
1: Prepare a black track on white ground. (the width of the black track is more than 20mm and less than 30mm)
Please note, the bend angle of the track can’t be larger than 90 degree. If the angle is too large, the car will move out of the track.
2: Adjust the sensitivity of tracking sensor modules.
Turn on and hold the car to adjust the potentiometer on the tracking sensor with Phillips screwdriver until you
get the best sensitivity status: the signal indicate LED light will turn on when sensor is above white ground, and
the signal LED will turn off when the sensor is above black track.
Signal Indicate LED ON: White Ground
Signal Indicate LED OFF: Black Track
3: Turn on the car and put the car over the black track, then the car will move along the black track.
Use the IR controller, press “OK”, the car will along the track; press “0”, the car will stop.
If the car can’t move, please check the following:
If the battery can work;
If the IR controller is too far away from the receiver;
If the connection is right;
If adjusted well the sensibility of the tracking sensor.
Step 25: Install the Bluetooth Module
Notice: If you want to control the car by Bluetooth, you should upload sample code lesson-4.zip into Arduino IDE first, then install the bluetooth module.
Install the bluetooth module on the Sensor Shield V5.0 for Arduino UNO:
Bluetooth Module ---- Sensor Shield V5.0 for Arduino UNO
RXD -- TX
TXD -- RX
GND -- -
VCC -- +
Step 26: Download Android APP
Download APP from: http://osoyoo.com/driver/car.apk
Or scan the following QR code with Android mobile phone to download the app
Step 27: Install Android APP
Step 28: Turn on Bluetooth of Your Android Phone
Please turn on bluetooth of your Android phone which you have installed APP and scan bluetooth (different bluetooth module will scan different bluetooth name), click connect and enter password “1234” or “0000” if no change
Step 29: Control Car by Android APP
Open app>> select bluetooth mode>> then you can controller the robot car through bluetooth:
Step 30: Bluetooth Control
There are two working mode: manual control and tracking. Users can switch freely among two working mode.
1) Manual Control Mode
In manual control mode, you can click buttons (∧) (∨) (<) (>) to control the Robot car to move forward and backward, turn left and turn right. Meanwhile, the APP can observe the car real time movement.
2) Tracking Mode
Click “tracking” button of App to switch the current mode to tracking mode. The Robot car will move forward along the black line in white background. Meanwhile, the APP can observe the car real time movement. Press “||” button to stop moving and click other button to change Robot car working mode.
The rest of the buttons are for the reservation function, you can develop them by yourself.
Comments
Question 4 years ago on Step 13
Where are the gnd and 5v in the sensor board. I can not see it