Remote Controlled Robot Using Arduino and T.V. Remote

Summary of Remote Controlled Robot Using Arduino and T.V. Remote


This project describes building a remote-controlled car using an Arduino Uno that can be operated with any infrared (IR) remote, like those from a TV or AC. It utilizes an IR receiver to decode signals and control two DC motors via an L293D motor driver. The car is assembled on a chassis with wheels and powered by two 9V batteries. The guide includes steps for hardware assembly, IR receiver connection, setting up the Arduino library for the IR remote, and capturing remote key codes to control the car. A limitation is that the car won't work well under sunlight.

Parts used in the Remote Controlled Car using Arduino and IR Remote:

  • Arduino Uno and USB cable
  • Arduino software
  • Breadboard
  • 100rpm DC motors (2 nos)
  • IR receiver (SM0038 or TSOP1738)
  • L293D motor driver IC
  • Jumper wires
  • Chassis and wheels
  • 9V batteries (2 nos)
  • Battery clips

This remote controlled car can be moved around using practically any kind of remote such as TV,AC etc.

It makes use of the fact that the remote emits IR(infrared).

This property is made use of by using an IR receiver,which is a very cheap sensor.

Image

In this instructable you will learn how to

  1. Interface IR receiver to Arduino.
  2. Interface 2 motors to Arduino.
  3. Combine the above 2 setups.

Note:This remote controlled car has a disadvantage of not work outside in sunlight.

Note:For those of you looking to download all the code, schematics and other pictures at one place and would prefer to use GitHub ,look at the end of this instructable.

Step 1: Materials Required

  • Arduino Uno and USB cable
  • Arduino software
  • Breadboard
  • 100rpm dc motors
  • IR receiver(SM0038 or TSOP1738)
  • L293D motor driver IC
  • Jumper wires
  • Chassis and wheels
  • 9V batteries(2 nos)
  • Battery clips

Total cost of materials:Rs 600=$ 9(excluding cost of Arduino)

Step 2: Assembly

Fix the wheels to the chassis.

Attach the 2 motors to the back wheels and use dummies for the front.

Make holes on the chassis and fix Arduino using screws.

Fix the breadboard by using the double sided tape provided on it.

Mount the L293D on the breadboard with notch facing front.

Step 3: IR Receiver Connections

Facing the notch on the receiver, the connections from left to right are

  • left pin-ground.
  • middle pin-5V.
  • right pin-digital pin 6 on Arduino.

Refer to the schematic for more details.

Step 4: Saving the IR Library

Go to the following link-

https://drive.google.com/open?id=0B621iZr0p0N_WUVm…

Save the files within a folder named IRremote and save the folder in the libraries directory of your Arduino IDE i.e. arduino-1.0.6>libraries folder as IRremote.

Step 5: Finding Hexadecimal Values of Remote Keys

1.Upload the given code into the Arduino

2.Open the serial monitor.

3.Press different remote keys and obtain their hexadecimal values.(Note that the values will not be obtained with 0x which represents hexadecimal also some values are obtained in middle like FFFFFFFF, ignore them).

Here I have obtained the values of the front,back,left,right and middle keys which are

front=0x80BF53AC

back=0x80BF4BB4

left=0x80BF9966

right=0x80BF837C

middle=0x80BF738C

These values of these buttons are mapped to move front,move back,move left,move right and brake respectively.

Read More: Remote Controlled Robot Using Arduino and T.V. Remote


About The Author

Image

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top