Note: ALL OSOYOO Products for Arduino are Third Party Board which is fully compatible 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:

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:

Hardware Installation:
Step 1: Install the smart car basic frame work as per Lesson 1 . If you have already completed installation in Lesson 1 , just keep it as is.
Step 2: Add an IR receiver module onto the car. Install the IR receiver module with 2pcs M3 plastic screws, M3 plastic pillars and M3 plastic nuts as follow:

Step 3: Connect the S pin in IR receiver to D12 pin in sensor shield V5.0, GND to GND, VCC to 5V, as the following photo (Remember : DO NOT remove any existing wires installed in Lesson 1 ) :


Software Installation:

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

Open-source Arduin
Software(IDE)
Download Arduino 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 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: Install IRremote library into Arduino IDE (If you have already installed IRremote library, please skip this step)
Download IRremote library from https://downloads.arduino.cc/libraries/github.com/z3t0/IRremote-4.3.1.zip, then import the library into Arduino IDE

NOTE!!

  1. If you have a late version of Arduino IDE with a library IRRobotRemote, it may conflict and you may have to remove that library. Make sure to delete Arduino(root)/libraries/RobotIRremote. Where Arduino(root) refers to the install directory of Arduino. The library RobotIRremote has similar definitions to IRremote and causes errors.
  2. Learn how to install an Arduino library on Arduino IDE, please visit https://osoyoo.com/2017/05/08/how-to-install-additional-arduino-libraries/

Step 3: Download Lesson 2 sample code and unzip the download zip file lesson2.zip, you will see a folder called lesson2.

Step 4: Connect board to PC with USB cable, Open Arduino IDE -> click file -> click Open -> choose code “lesson2.ino” in lesson2 folder, load the code into arduin.

Step 5: Choose corresponding board and port for your project,upload the sketch to the board.

Testing:
Press IR controller keys to control the car movements:

Trouble shooting:
Some user found that this IR remote does not work. The reason might be the IR remote sends different button code which does not match our sample code. In order to solve this problem. Please take following steps:
Step A) Get the IR code of each button in your IR remote.
Download code from this link.

Upload above sketch into your board and open the serial monitor in your upper-right corner.

press the ◄ ► ▲ ▼ “OK” button in your remote, you will see their IR code as following picture:

Write down the IR code of your control buttons ◄ ► ▲ ▼ “OK” button,

 STEP B)replace the IR code in lesson 2 sketch file:
Open your Lesson 2 code again, then you will see following lines define the IR CODE  of each button:
#define IR_ADVANCE       24       //code from IR controller “▲” button
 #define IR_BACK          82       //code from IR controller “▼” button
 #define IR_RIGHT         90       //code from IR controller “>” button
 #define IR_LEFT          8       //code from IR controller “<” button
 #define IR_STOP          28       //code from IR controller “OK” button
 #define IR_turnsmallleft 13       //code from IR controller “#” button
Please change the value of each button in above lines to match the code from Step A). If you don’t know how to change, just Send Email to us and give us the code of each button from   Step A), I can help you to change the code and email new sketch file to you.
Above method can also allow you to use other IR sending device (i.e TV remote, DVD remote, air conditioner remote etc) to control the car. Just use Step A) to get the key code of your remote and change the sketch file in Step B), it will work.