Introduction: HOW TO MAKE AN INFRARED CONTROLLED CAR WITH ARDUINO

Picture of HOW TO MAKE AN INFRARED CONTROLLED CAR WITH ARDUINO

IN THIS INSTRUCTABLE AM GOING TO TEACH YOU HOW TO MAKE AN INFRARED CONTROLLED CAR USING ARDUINO. LET MOVE ON TO THE NEXT STEP

Step 1: Infrared Reciever

hi guys, i would like to share with you how i made my infrared controlled car using arduino.

MATERIALS

arduino

infrared receiver diode

any ir remote

l293d ic

jumper wires

breadboard

2WD chasis

3 lithium ion batteries(you can use two) make sure the are connected in series.

INFRARED RECEIVER DIODE

This diode is black in color it has three pins vin, gnd and output. the pin mapping of your diode depends on the one you are using. so look up the pin mapping on the internet. the infrared receiver doide receives infrared signals in form of ir light which is not visible to human eye but can be seen through a camera. to see the light get a camera(a phone camera can be used) then press an IR remote beneath the camera then you will the see the light. this IR light send out codes, but for us to read this code will will need an arduino library called IRremote.h . This library will help us read the code and covert it to hexadecimal values. To read the codes download the library and open IRrecv Demo. upload the sketch to your arduino then connect the output of the infrared receiver diode to the RECV pin according to the sketch, then connect vin of your receiver diode to 5v, then connect gnd to gnd, open up the arduino serial monitor and then press any button on the remote and you will see a hexadecimal value ignore any FFFFFFFF use see. an actual value will be like this 1FE36C90. write down the values that corresponds to the buttons you want to use then replace it with the values in my code, make sure your type 0x before typing any hexadecimal value.

Step 2: L293d Ic

Picture of L293d Ic

connect pin1(enable 1),pin 16(vss) and pin 9(enable 2) to 5v, connect pin 4,5,12,13(GND) to GND connect pin 2 of l293d (input1) to pin 3 on arduino, connect pin 7(input 2) of l293d to pin 5 of arduino connect pin 15(input 3) of

l293d to pin 9 of arduino , connect pin 10(input 4) to pin 10 of arduino. i also attached an led to pin an led to pin 11 of arduino so that we can turn it on and off by pressing a particular button on the remote.connect your lithium ion batteries to vs of l293d and vin of arduino or RAW for arduino pro mini. connect your one dc motor to pin 3 (output 1) and pin 6 ( output 4) and connect the second dc motor to pin 14(output 3) and pin 11 (output 4).

Step 3: Code

when uploading the sketch remove the infrared receiver diode else you will get an error.

Comments

About This Instructable

89views

2favorites

License:

More by bgel:Infrared Home Automation With Arduino Arduino Piano HOW TO MAKE AN INFRARED CONTROLLED CAR WITH ARDUINO
Add instructable to: