Introduction: Arduino Remote Control Bot Using T.v Remote

Picture of Arduino Remote Control Bot Using T.v Remote

This is a Remote Control Arduino Bot that can be controlled using any ordinary remote.

The main feature of this project is an IR receiver TSOP1738, which enables us to utilise the buttons of an ordinary remote.

The same circuit could be used to Control any other dc devices such as LED's and speakers, and can even be utilised to control household appliances with the use of a relay.

The project is simple, fun and effective and can be made without any prior knowledge of Robotics/Programming.

A complete video tutorial of this project is posted on youtube.

IF YOU LIKE THIS PROJECT PLEASE VOTE FOR THIS IN THE RESPECTIVE CONTESTS. (TOP RIGHT)

Step 1: Components Needed.

1. Arduino uno (with cable) or similar microcontroller.

2. A robotic Chassis with motors and wheels.

3. A mini breadboard.

4. TSOP1738 ir receiver.

5. l293d motor driver IC.

6. Two 9v Batteries.

7. Battery caps and 2.1mm Arduino snap.

8. Jumper wires.

9. 10uF capacitor and 100 ohm Resistor.

10. Any IR remote.

11. PC with Arduino IDE and Remote Library installed.

Step 2: Making the Vehicle

Picture of Making the Vehicle

Assemble the motors,wheels and castor wheels on the Robotic Chassis.

Use two sided tape to attach a mini/regular Breadboard on the Chassis.

Use a Screw to attach the Arduino at your desired location. Make sure the down side of the Arduino is insulated using a cardboard or other usable materials.

Step 3: Connecting Ground and +5v

Picture of Connecting Ground and +5v

Connect A jumper wire between +5v of Arduino to the lowest Channel of the Breadboard.(yellow)

Connect A jumper wire between gnd of Arduino to the upper Channel of the Breadboard. (orange)

Step 4: Connections of TSOP

Picture of Connections of TSOP

Place the TSOP on the breadboard.

(i) Connect pin 1 to ground Rail.

(ii) Connect a 100 ohm Resistor between +5v and pin 2.

(iii) Connect A jumper wire between pin 3 of TSOP and digital pin 6 of Arduino.

(iv) Connect a 10uF capacitor between pin 1 and pin 2 of TSOP.

Step 5: Recording the Values

Picture of Recording the Values

Connect the Arduino to your PC and open the Arduino Software.

(If you don't have IR remote library, download it and install it before moving forward)

Go to file => examples=>IRremote=>IRrecdemo

Make a few changes to the code.

(i) Change the pin no. from 11 to 6.

(ii) Delete the HEX and comma in the output line.

Now run and upload the code to your board (Check your ports).

Once the entire code is uploaded, open the Serial monitor. (Ctrl+Shift+M)

Bring your Remote and press the button You wish to use.

When you press a button an output will be Shown on the Serial Monitor.

Different Outputs will be given for different buttons.

Record the respective Values and the buttons. We'll need them later.

Step 6: L293D Motor Driver Connections

Picture of L293D Motor Driver Connections

Connect the L293d Motor Driver on your Breadboard. Connect pins as follows:-

(i) 1, 9, 16 to 5v.

(ii) 4,5,12,13 to ground.

(iii) Pins 2 & 7 of IC to Pins 8 & 9 of Arduino respectively.

(iv) 3 & 6 to the terminals of Motor1.

(v) Pins 15 & 10 of IC to 12 & 13 or Arduino respectively.

(vi) 14 & 11 to terminals of Motor2.

(vii) Pin 8 of IC should be Connected to the positive terminal of an external battery, the ground of the battery should be connected to the common ground.

Step 7: Checking and Calibrating

Picture of Checking and Calibrating

Connect your Board to your PC and upload the code below.

The bot should move in the forward direction.

If it moves in a different direction interchange the pin no. of motor pins or interchange the HIGH and LOW of digital outputs.

Step 8: Final Code

Picture of Final Code

Once the Calibration is done, Upload the code below.

Go to loop function and substitute the values that you previously stored in the TSOP step. (marked in yellow in the picture).

Bring your Remote and press the respected buttons whose values you just entered in the code.

The bot should move in the desired direction.

Now just connect another battery to the Arduino using a 2.1mm Battery snap to make the Bot portable.

Watch My Youtube VIdeo for more information on this Project.

For Any Problems, feel free to leave a Comment.

Thank You.

Comments

dhanuwirndo (author)2016-11-07

Arduino: 1.7.10 (Windows 8.1), Board: "Arduino Uno"

Build options changed, rebuilding all

C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: 'TKD2' was not declared in this scope

int RECV_PIN = TKD2; // the pin the IR receiver is connected to

^

Error compiling.

This report would have more information with

"Show verbose output during compilation"

enabled in File > Preferences.

what should i do? please help me

albert95 (author)2016-04-29

I liked the project but can u tell me where ican get a ir library????

SanuB1 (author)albert952016-04-29

Here is the link :- http://z3t0.github.io/Arduino-IRremote/

download the zip folder on the top right and extract it into the libraries folder of your arduino ide.

albert95 (author)2016-04-29

I liked the project but can u tell me where ican get a ir library????

rashid2016 (author)2016-04-26

it is great tutorial--I liked it --thanks

RaymondH29 (author)2016-04-22

Brilliant, I will have to get a TSOP1738. Inspiring stuff!

SanuB1 (author)RaymondH292016-04-22

Thanks Raymond.

If you have an old dvd player/television that is wrecked, you can always find a TSOP in there.

If you like my project please vote for me in the above contests (top right corner).

For any help regarding this project feel free to contact me.

RaymondH29 (author)SanuB12016-04-23

Thanks, I will have a look. You have my support!

spanda12 (author)2016-04-21

thank u

paige gault (author)2016-04-21

hi im new

SanuB1 (author)paige gault2016-04-21

hello new.

finkphilip (author)2016-04-21

Thanks to your Remote control bot which can be easily operate by TV remote this is a very good invention for more information go on Kamagra http://www.kamagrahilfe.com/

spanda12 (author)2016-04-20

brother please help ..how to add ir library step by step..

SanuB1 (author)spanda122016-04-20

Download the ir library from here:-https://github.com/z3t0/Arduino-IRremote/zipball/m....

  1. Download the latest release.
  2. Extract the zip file
  3. Move the "IRremote" folder that has been extracted to your libraries* directory.
  4. 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.

*My libaries directory was documents=>arduino folder.

To check your directory open the arduino software go to file=>open. On the top bar click "look in" the file directory will be shown go there and go to libraries folder and just paste the IR Remote folder. Make sure you delete Robot Remote.

another way (which did not work for me) is to just right click on the arduino shortcut on your desktop=>open file location=>libaries, just paste your folder there.

depending upon your machine config one of the processes will work.

wold630 (author)2016-04-20

Nicely done! I love that is uses a TV remote!

SanuB1 (author)wold6302016-04-20

Thank You for liking the project.

About This Instructable

2,129views

45favorites

License:

Bio: Hello my name is Sanu Bhattacharya, I am an Engineering student of RCCIIT. I enjoy making Electronics/Robotics Projects. PLEASE VOTE FOR MY PROJECT IN ... More »
More by SanuB1:Arduino Light Controlled BotArduino Remote Control Bot Using t.v Remote
Add instructable to: