loading

Hack your TV remote and control a rc car with it , using "Arduino Uno ".
This is a simple way to control your car using IR receiver module programmed on arduino board and TV remote controller .

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.

and how to make your own RC car .

Step 1: Step 1 : Materials Required

You will need :
1. Arduino Uno
2. L239D- Motor drive
3. 9V battery
4. 4X AA battery holder
5. IR receiver module
6. Car structure
7. 2x DC motors with gearbox ( one for mowing the car forward and backward and the other for mowing left and right)
8. Prototype board
9. Power Plugins

Step 2: Step 2: Car Structure

The structure is the "hardest" part.
Well you can find a structure from a old RC car .
The most important thing is:
the structure need to have place for the 2 DC motors and the rear wheels are moving toward and backward and the front wheels are moving left and right .

Step 3: Step 3: IR Receiver 1/2

For controlling the car we need to chose some buttons for toward ,backward ,left , right and stop.
First you need to connect the GND (ground pin) of IR module to Arduino GND pin. Then VCC pin to 3,3V PIN on Arduino board and the signal pin to Arduino digital pin 12.

You will need the IRremote.h library
you can download the .rar file down here.

Step 4: Step 4: IR Receiver 2/2

Then open the Arduino program and write the code and upload it .
After uploading the code , open serial monitor .

Press any button and you will see line of numbers..
if you press the same button twice then the same code will appear twice.
Choose what buttons you will use for toward ,backward , stop,left and right and write the code line for those buttons , because you will need them later.
im using a BOOM TV remote so my code lines are different then yours .
in my case :
Toward :1634783279

Backward : 1634742479

Left :1634744519

Right : 1634785319

Stop : 1634773079

Step 5: Step 5 : IR Receiver and L239D Connection With Arduino

Connections :

GND from IR RECEIVER to GND on ARDUINO.

VCC from IR RECEIVER to 3,3V on ARDUINO.

SIGNAL PIN from IR RECEIVER to DIGITAL PIN on ARDUINO board.

PIN 1 FROM the L293D to positive ON the PROTOTYPE BOARD.

PIN 2 FROM the L293D to DIGITAL PIN 8 on ARDUINO board.

PIN 3 FROM the L293D to one of the motor pins .

PIN 4 FROM the L293D to PIN 5 OF the L293D .

PIN 4 FROM the L293D to MINUS on the PROTOTYPE BOARD .

PIN 6 FROM the L293D to the other pin of the motor .

PIN 7 FROM the L293D to DIGITAL PIN 9 on ARDUINO board.

PIN 9 FROM the L293D to positive on PROTOTYPE BOARD.

PIN 10 FROM the L293D to DIGITAL PIN 10 on ARDUINO board.

PIN 11 FROM the L293D to the one of the pins from the second motor .

PIN 12 FROM the L293D to PIN 13 OF the L293D .

PIN 13 FROM the L293D to negative on the PROTOTYPE BOARD.

PIN 14 FROM the L293D to the other pin of the second motor.

PIN 15 FROM the L293D to DIGITAL PIN 15 on ARDUINO board.

PIN 16 FROM the L293D to positive on PROTOTUPE BOARD.

POSITIVE of the BATTERY PACK to PIN 8 on L293D.

NEGATIVE to NEGATIVE on PROTOTYPE BOARD.

5V FROM ARDUINO board to positive on PROTOTYPE board.

GND FROM ARDUINO board to negative on PROTOTYPE board.

connect positive from the one side of the board to the other side .

and connect negative frome the one side to the other side.

Step 6: Step 6 : the Code ( Program )

The program is written so if you press twice toward or backward t will count 5 seconds and stops.
else it will do anything you want(Go left , right ,toward,backwar)
YOU WILL NEED TO REPLACE THE CASE NUMBER WITH YOURS!

Step 7: Step 7: How the Car Works

Here is a video from the car.

Made by :
Goran Spasik
Darko Tosev
Duko Serafimovski
Sasha Spasik

Nice work<br>with this type of car

About This Instructable

1,942views

24favorites

License:

More by ssasha:TV remote controlled car - Arduino DIY cheap power bank charger  Beautiful  flowerpot covered with reed 
Add instructable to: