Simple CAR Arduino iR Controlled

            In this project I will show you how to make a vehicle controlled by a TV remote control. for this we will use an infrared receiver. It will show you how to receive and decode the received button codes.

 

List element:

  1. iR Receiver
  2. Arduino uno
  3. L298N motor shield
  4. Plexi 17cm x 10cm
  5. 4x TT gear Motor
  6. 4x wheels
  7. Battery 9V
  8.  Battery connector
  9. Wires
  10. Switch

Video Tutorial:

Schema:

Arduino to L298N:

  • D8 to IN1
  • D9 to IN2
  • D10 to IN3
  • D11 to IN4
  • Vin to 5V
  • GND to GND

iR Receiver to Arduino:

  • Data to D7
  • Vcc to 5V
  • GND to GND

 

iR Decoder:

For the operation of our receiver, we need the Arduino-IRremote-master library.

  • Download the library:
  • Open Arduino Ide
  • Select : Sketch ->Include Library-> Add .ZIP Library-> select Arduino-IRremote-master.zip. 

Now we will upload the sketch to our arduino and open Serial Monitor. Now use the TV’s remote control, point it at the receiver and press any button. In the serial monitor window you will see the button code.

Now copy the button codes to the iR_Car.ino sketch .

Leave a Reply

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