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://downloads.arduino.cc/libraries/github.com/z3t0/IRremote-4.3.1.zip, then import the library into IDE
NOTE!!
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.
https://osoyoo.com/driver/2wd/irtest.zip
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
Hi,i can’t connect remote, have message
/Users/sa/Downloads/lesson2/lesson2.ino:11:10: fatal error: IRremote.h: No such file or directory
#include
^~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: IRremote.h: No such file or directory
what can I do?
The lesson 2 sketch keeps timing out on the upload so I am unable to upload lesson 2. Please help. Thanks
Hi, the car does not move even if i try with the remote that came with it and the remote i have at home but when i press somthing on the remote i can see the light going on and then when i let go it turns off but the car does not move.
I also tryed the trouble shooting steps but it still did not work
I also tryed the trouble shooting steps but it still did not work
I cannot get my remote control to work with the system. I have uploaded the IR remote button reader to my board, but when i press any buttons, there is nothing appearing in the serial monitor. I have checked and the remote is working (sending out the IR signal), but i am unable to read it on the program. Any help with this would be great
I have tried doing the software installation and uploading it to the car but the remote still will not work. I have testing the battery of the remote and that is not the problem. I have also tried the troubleshooting. What else can I do to make this work?
I recently got this car version 1.2 ir sensor not working red light is on
nothing is displayed on the serial monitor
please send your order number and address to [email protected], our customer service will give you solution.
Right now you can skip lesson 2 and keep doing lesson 3,4,5,6.
Hi,
I have followed all of the above steps, including troubleshooting, to no avail, nothing happens when I press the buttons on the IR controller to control the movements of the car.
when you press a key in IR controller, did you see the LED in the receiver flashing?
Hi,
The LED on the receiver does not flash when I press a button on the IR controller.
please send your order number and address and address to [email protected], the customer service will send you a new IR receiver. Right now you can skip this lesson and do other projects.
Hi,
i sent the order number as requested, any update please ?
yes. We got your order number, we emailed you for your shipping address. but so far you didn’t give us your shipping address. We can’t ship the part to you until you email your shipping address to us ([email protected])
Hi,
I bought the robot car from amazon order # 205-2284870-1037916. I have the v1.1 model of the board. I tried everything that you mentioned in your tutorial. Changed the battery of the remote, but could not get the remote to working, nothing is displayed on the serial monitor. also, the LED on the receiver does not flash when I press a button on the IR controller. I am not sure which one is not good the remote or the receiver. Can you please help?
Regards,
you can send your address and order number to [email protected], tell them that the IR receiver can not work. They will mail you a new IR receiver.
Now you can skip lesson 2 and do other lessons. Once you get the new sensor, you can do lesson 2 again.