Introduction: 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.

Step 1: List Elements

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

Step 2: Schema

Schema:

Arduino to L298N:

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

Receiver to Arduino:

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

Step 3: Montage

Step 4: Reading the Button Code

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.

Step 5: Sketch

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