Buy from OSOYOO | Buy from USA | Buy from UK | Buy from DE | Buy from IT | Buy from FR | Buy from ES | ここでご購入を! |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Buy from OSOYOO | Buy from US | Buy from UK | Buy from DE | Buy from IT | Buy from FR | Buy from ES | ここでご購入を! |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
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.
No. | Device | Picture | Qty. | Link |
1 | IR receiver | ![]() |
1 | Click here to buy |
2 | IR remote controller | ![]() |
1 | Click here to buy |
3 | Hex Screwdriver | ![]() |
1 | Click here to buy |
4 | 20pin 15cm Female to Female Cable | ![]() |
1 | Click here to buy |
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.
Note: There are some differences between two versions for OSOYOO motor shield(V1.0 and V1.1/V1.2),
If you get OSOYOO motor shield V1.1/V1.2, please install the IR receiver module on OSOYOO motor shield V1.1/V1.2 as following:
If you get OSOYOO motor shield V1.0, please see this tutorial:
OSOYOO Model-3 V2.0 Robot Car Lesson 2: IR Remote Controlled (OSOYOO Motor Shield V1.0)
Open-source Software(IDE) |
![]() |
Download 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 IDE (If you have IDE version after 1.1.16, please skip this step)
Download IDE from https://www.arduino.cc/en/software, then install the software.
Step 2: Install IRremote library into IDE (If you have already installed IRremote library, please skip this step)
Download IRremote library from https://osoyoo.com/picture/2WD_Car_V2.0/code/IRremote.zip, then import the library into IDE(Open IDE-> click Sketch->Include Library->Add .Zip Library)
In the pop up window, go to your downloads folder, select the IRremote.zip file you downloaded just now.
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 OSOYOO Basic Board for Arduino to PC with USB cable, Open IDE -> click file -> click Open -> choose code “lesson2.ino” in lesson2 folder, load the code into the board.
Notice: Shut off your battery or Unplug your power adapter when upload sketch code to OSOYOO Basic Board for Arduino.
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:
Note:
1) Please try to align the transmitter port of the IR remote control with the IR receiver head as the picture in the attachment.
2) Please press remote control gently and at regular intervals
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.
Copy code from following link:https://osoyoo.com/wp-content/uploads/samplecode/irdemo2.ino
upload above sketch into your OSOYOO Basic Board for Arduino and open the serial monitor in your upper-right corner.
Write down the IR code of your control buttons ◄ ► ▲ ▼ “OK” button,
DownLoad Url osoyoo.com
You must be logged in to post a comment.
Hi,
I just got a robot car for Christmas, but the IR sensor doesn’t work, I have confirmed it’s wired correctly but even with the debug code it shows no commands from the remote, even when trying with another IR remote.
David
Do you remove the plastic sheet in the remote controller.
Do you see any indicator turning on when you press remote controller?
If no indicator on, it may be some wrong with remote.
Please give me your order No and address, I’ll send the replacement to you.
Elaine @OSOYOO
buonasera il mio problema con la lezione due che non si carica su arduino err.pinmode(); non definito in attesa di risposta un grazie
Hi, Do you mean you can’t upload the code?
si esatto non carica il codice
Do you test other lessons? Do you get the same error? If so, please confirm whether you install the bluetooth module on the expansion board.
If not, please check whether you install the IRremote library correctly.
il bluetooth si installa e il led del modulo è fissa ma il robot non si muove ho provato con lesson 2 mi da sempre lo stesso errore proverò con le librerie grazie
Please remove the bluetooth and confirm you have install IRremote library. Thanks.
Hi! What can I do if I can not download the IRremote zip file on my Mac?? Or I can’t add it to the library ?? thank you!
It says it is not a supported file
Please check download page of your browser after you open the link: https://osoyoo.com/picture/2WD_Car_V2.0/code/IRremote.zip.
Please unzip this file and copy this folder and paste it to the path: your computer–>document–> arduino
Hi, I’m trying to get the IR codes of my remote’s buttons, but when I open the serial monitor and press the buttons, it won’t display their codes. I removed the protective film, and tried everything, but it still won’t work.
Please provide your order ID and full address to my email address: [email protected].
I’ll send the IR receiver as the replacement to you.
After following the steps for lesson 1 I’m still not able to get the car to move. I turn it on it and does not do anything. When connected to the PC it lights up and makes a noise but that is it. Please assist
Please check whether the battery and battery case install correctly or not.
Could you read the voltage of the battery on voltage meter on the car?
Please take photos about the car and send to my email address: [email protected].
The rechargeable battery that came with the car is no good that’s why I could not get it to move. I had to buy a disposable battery from the store. Are you able to send a replacement since the original one that came with the unit is defective??
Please provide your order No and address.
I just emailed you my information
OK, the battery will be shipped ASAP.
The tracking number is 9400111206203991989505.
If any query, please feel free to contact me.
Elaine