IR Remote Control Car Using Arduino and TSOP1738 Sensor

Remote control automation is very frequent in those days. We can see remote control appliances, locks, garage doors etc. The term RC has a dual meaning. One is remote control and the other is radio control. The remote control car uses an IR sensor. In this project, we are going to build an IR Remote Control Car using Arduino.

Here we use a three-pin infrared receiver to build this project. Also, we will show you how to control this car with all types of IR remotes. This IR remote control car can be operated wirelessly through remote keys. To do this, we use the TSOP1738 three-pin infrared receiver and Arduino Nano.

Must Read Top Robotics Projects for Engineering Students

Principle Behind IR Remote Control Car

The principle behind this project is to send infrared modulated signals to the IR receiver. TSOP1738 works here as an infrared receiver. The TSOP1738 IR receiver receives the modulated signal and demodulates it into the Arduino. Then the demodulated signal has some noise that should be filtered. After this, the input signal is extracted. The main part of this project is decoding the remote keys in hex form.


IR Remote Control Car
IR Remote Control Car

Circuit Diagrams

IR Remote Control Car Circuit Diagram
IR Remote Control Car Circuit Diagram

Components Required

  • Arduino Nano
  • TSOP1738 IR Receiver
  • L298N Motor Driver
  • Gear Motors (x2)
  • Wheel (x2)
  • 3.7V Li-Ion Battery (x2)
  • Li-Ion Battery holder
  • Chassis

About Parts of IR Remote Control Car


Arduino Nano

For the compact build, I choose Arduino Nano despite Arduino UNO. Arduino Nano is a small, flexible microcontroller board using an Atmega328p chip. It can also use as a substitute for UNO. All the functions are the same in these two boards. The size of its PCB is 18×45 mm. The clock speed is 16Mhz. Its input voltage is 5-12V. There are 30 pins including power pins, data pins, analog pins, serial pins on this board.

TSOP1738 IR Receiver

TSOP1738 IR Receiver
TSOP1738 IR Receiver

This is a type of IR receiver which has an inbuilt amplifier. It acts as a switch and converter. TSOP1738 has three pins, which are GND, VSS, Output. Its operating frequency is 38KHz.

Dual Bridge L298N Motor Driver

L298N Motor Driver
L298N Motor Driver

L298N is a dual channel H-bridge motor driver. It can control four DC motors at the same time. The range of the voltage that can be used with it is 5V to 35V.

Decoding Method of Remote keys Using TSOP1738 IR Receiver

IR Key Decoding Circuit Diagram
IR Key Decoding Circuit Diagram

Connect the digital pin 2 of the Arduino with the output pin of TSOP1738. Then you get the IR remote signal. Now download the IR Remote library and go to the Arduino IDE → Sketch → Include Library → Add.ZIP Library. Then choose the right library and click that’s it. After uploading to code to Arduino, open the 9600 baud rate serial terminal to see the result.

Now point the IR remote to the IR receiver and press a button. You can see a hex value when you press the button. Remember this hex value or copy it. After some time repeat this and check the hex value remains the same.

Output of the Decoded IR Signals

IR remote control car hex code
Decoded Hex Code
Remote ButtonsHex Code
Forward (+)0x807F8877
Left (←)0x807F906F
Backward (-)0x807F28D7
Right (→)0x807F10EF

Circuit and Working Principle of IR Remote Control Car

The connection between Arduino and TSOP1738 is quite easy. You have to connect the VSS pin of the TSOP1738 with the 5V pin and connect the ground pin with the ground pin of the Arduino. At last, connect the output pin of the TSOP1738 with the digital pin 11 of the Arduino. You can use any type of IR remote using this method.

To control this car, we need five buttons. These five buttons are used here to control the forward, Left, stop, right and backward of the remote control car respectively.

From the table, you can see the hex code with the function of these buttons. These codes will be sent via IR remote transmitter to the TSOP1738 IR receiver. So we need these codes while writing the program in the Arduino IDE.

When you press one of those buttons, Arduino matches it from the table. If code matched, Arduino takes the action of the particular button you pressed.

Arduino Code for IR Remote Control Car

2 thoughts on “IR Remote Control Car Using Arduino and TSOP1738 Sensor”

Leave a Comment