Note: ALL OSOYOO Products for Arduino are Third Party Board which is fully compatitable with Arduino

Authorized Online Retailers

With Battery:

Buy from USA Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES Buy from JP

Without Battery:

Buy from US Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES Buy from JP

Notice:

Because the product is upgraded, all received are the V2.0 version, please refer to the following tutorial:

Osoyoo Model-3 V2.0 Robot Learning Kit Model#2020001700

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 OSOYOO basic board, 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

Hardware Installation

1. Remove the protective film from the chassis:

2. Install the motor under the chassis with M3 screws and nuts as follow:

3. Install the universal wheel with the M3 screws and copper pillars:

4. Install the universal wheel under the chassis with the M3 screws:

5. Install OSOYOO basic Board on the chassis with M3 plastic screws, pillars and nuts:

6. Install OSOYOO MODEL X Motor Driver Module on the chassis with M3 plastic screws, pillars and nuts:

7. Install the battery box on the chassis with M2 screws and nuts:

8. Plug the Sensor Shield V5.0 for Arduino UNO in OSOYOO basic board:

9. Install the voltage meter on the chassis with M3 plastic screws, pillars and nuts:

Connection

1)Connect OSOYOO Model-X Motor Driver Module with the motor:

More detail about OSOYOO Model-X please refer to this link:

https://osoyoo.com/2017/08/15/l298npro-motor-driver-module/

2) Connect the OSOYOO Model-X and Sensor Shield V5.0 for Arduino UNO as shown below:

Sensor Shield V5.0 for Arduino UNO OSOYOO Model-X
S5 ENA
S6 ENB
S7 IN1
S8 IN2
S9 IN3
S10 IN4

If you want to connect only with the OSOYOO basic board, you can follow this diagram:

OSOYOO Basic board OSOYOO Model-X
D5 ENA
D6 ENB
D7 IN1
D8 IN2
D9 IN3
D10 IN4

3) Connect the voltage meter and OSOYOO Model-X Motor Driver Module:

4) Connect the board, battery box and OSOYOO Model-X as follow:

5) Install the wheels (The wheels’ color subject to actual receipt):

Now hardware installation is almost done. Before we install the battery into the box, we need to upload the sample code into Arduin first.

top

Software Installation

Notice: Shut off your battery or Unplug your power adapter when upload sketch code to Arduin.

Open-source Arduin
Software(IDE)
Download Arduin IDE here:
https://www.arduino.cc/en/Main/Software?setlang=en
7 zip is a free zip
utility that un-zips zip files
Download 7zip here for free
https://www.7-zip.org/

Step 1:

Install latest Arduin IDE (If you have Arduin 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 https://osoyoo.com/picture/2WD_Car_V2.0/code/lesson-1.zip , unzip it, you will see a folder called lesson-1

Step 3:

Connect board to PC with USB cable, open Arduino IDE, choose corresponding board/port for your project

Step 4:

Click file -> click Open -> choose code “lesson-1.ino”, load the code into Arduin, and then upload the sketch to the board.

Testing

Disconnect the car from PC, 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, 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).