Introduction: 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
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
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
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
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
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
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
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.
We have a be nice policy.
Please be positive and constructive.