OSOYOO 3 User manual

1
Table of Contents
Introduction...................................................................................................................2
Authorized Online Retailers............................................................................... 2
Description............................................................................................................2
Parts and Devices............................................................................................... 2
Lesson 1: Basic Robot Car Assembly......................................................................7
Objective............................................................................................................... 7
Parts and Devices............................................................................................... 7
Hardware Installation.......................................................................................... 9
Connection......................................................................................................... 13
Software Installation......................................................................................... 15
Testing.................................................................................................................19
Lesson 2: IR Remote Controlled.............................................................................20
Objective.............................................................................................................20
Parts and Devices............................................................................................. 20
Hardware Installation........................................................................................21
Software Installation......................................................................................... 23
Testing.................................................................................................................26
Trouble shooting................................................................................................26
Lesson 3: Line Tracking........................................................................................... 28
Objective.............................................................................................................28
Parts and Devices............................................................................................. 28
Hardware Installation........................................................................................29
Software Installation......................................................................................... 31
Testing.................................................................................................................34
Lesson 4: Don’t Touch Me....................................................................................... 35
Objective.............................................................................................................35
Parts and Devices............................................................................................. 35
Hardware Installation........................................................................................36
Software Installation......................................................................................... 41
Testing.................................................................................................................44
Lesson 5: Obstacle Avoidance................................................................................45
Objective.............................................................................................................45
Parts and Devices............................................................................................. 45
Hardware Installation........................................................................................46
Software Installation......................................................................................... 47
Testing.................................................................................................................49
Lesson 6: Imitation Driving with Bluetooth............................................................ 51
Objective.............................................................................................................51
Parts and Devices............................................................................................. 51
Hardware Installation........................................................................................52
Software Installation......................................................................................... 53
Explanation of APP UI...................................................................................... 56
Testing.................................................................................................................58

2
Introduction
Authorized Online Retailers
Buy from
US
Buy from
UK
Buy from
DE
Buy from
IT
Buy from
FR
Buy from
ES
Buy from
JP
Description
Osoyoo Model-3 Robot Learning 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 Tracking module, Infrared Remote
Control and OSOYOO Motor shield 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 APP to control the robot car through Bluetooth.
Parts and Devices

3
No.
Device
Picture
Qty.
Link
1
OSOYOO UNO R3(fully
compatible with Arduino
UNO R3)
1
Click here to buy
2
OSOYOO Motor Shield
V1.0
1
Click here to buy
3
IR receiver
1
Click here to buy
4
Buzzer Sensor Module
1
Click here to buy
5
Tracking Sensor
1
Click here to buy
6
Ultrasonic Sensor
1
Click here to buy
7
Servo Motor
1
Click here to buy
8
Voltage Meter
1
Click here to buy

7
Lesson 1: Basic Robot Car
Assembly
Objective
Welcome to the first lesson of Osoyoo Model-3 Robot Learning Kit!
In this “Hello World” version lesson, we will install the most important
framework of the robot car and program the car to do some simple movements.
If you have passed the test movement of this lesson, it means Arduino, motor
control module, motors, batteries, chassis and wire connections between
these parts are all functioning well.
As your experiments in future lessons are all based on the frame work of
Lesson 1, it is very important to test the installation and sample code in this
Lesson properly.
Parts and Devices

9
Hardware Installation
Step 1. Remove the protective film from the chassis:
8
9V Battery Box
1
Click here to buy
9
9V Battery
1
Click here to buy
10
Phillips Screwdriver
1
Click here to buy
11
Hex Screwdriver
1
Click here to buy
12
20pin 15cm Female
to Female Cable
1
Click here to buy
13
3pin 15cm Female
to Female Cable
1
Click here to buy

15
Step 4. Install the wheels:
Now hardware installation is almost done. Before we install the battery into the
box, we need to upload the sample code into Arduino first.
Software Installation
Step 1:
Install latest Arduino IDE (If you have Arduino IDE version after 1.1.16, please
skip this step).
Download Arduino IDE from the follow link, then install the software:
https://www.arduino.cc/en/Main/Software?setlang=en
Open-source
Arduino
Software(IDE)
Download Arduino IDE here:
https://www.arduino.cc/en/Main/Software?setla
ng=en
7 zip is a free
zip
utility that
un-zips zip files
Download 7zip here for free
https://www.7-zip.org/

16
Step 2:
Download https://osoyoo.com/picture/2WD_Car_V2.0/code/lesson-1.zip and
unzip it, you will see a folder called lesson-1.
Step3:
Connect UNO R3 board to PC with USB cable, open Arduino IDE, choose
corresponding board/port for your project.
Notice: Shut off your battery or Unplug your power adapter when upload
sketch code to Arduino.

19
Testing
Disconnect Arduino from PC, please confirm that the power switch of the
OSOYOO Motor Shield V1.0 is off, put a 9V battery into battery box.
(make sure polar direction is correct, otherwise it can destroy your device and
cause fire hazard).
Put the car on the ground, turn on the switch of OSOYOO Motor Shield
V1.0, the car should go forward, then go backward, then left turn, then right
turn, then stop.
If the car does not move as per above mentioned result, you should check your
wire connection, 7 jumper caps on OSOYOO Motor Shield V1.0, battery
voltage (must over 7.2v).

20
Lesson 2: IR Remote Controlled
Objective
In this tutorial, we will use Osoyoo Model-3 Robot Learning Kit to make a
simple remote controlled smart car. Once the car installation is completed, we
will use an Infrared Remote to control the car movements including go forward,
go back, left turn and right turn.
Parts and Devices
No.
Device
Picture
Qty.
Link
Table of contents
Other OSOYOO Robotics manuals