Site icon Circuit Ideas for You

Simple Arduino IR Remote Control Decoder Circuit

This project show how to read IR remote signals using Arduino and for that we used TSOP1738 IR sensor.

Arduino can detect button press from remote and also this project for Simple Arduino IR Remote Control Decoder Circuit is simple and easy for beginners.

Arduino Code:

#include <IRremote.h>

int receiver = 2; 
IRrecv irrecv(receiver);
decode_results results;

void setup() {
  Serial.begin(9600);
  irrecv.enableIRIn();
}

void loop() {
  if (irrecv.decode(&results)) {
    Serial.println(results.value, HEX);
    irrecv.resume();
  }
}

Coding Explanation:

Circuit Working:

Simple Arduino IR Remote Control Decoder Circuit Diagram

Parts List:

ComponentsQuantity
Resistor 220Ω1
Arduino Uno / Nano1
IR Receiver (TSOP1838)1
Any LED 5mm 20mA1

Circuit give 5V power to Arduino Uno or Nano and then Arduino is ready to read signals.

TSOP1838 receive IR light from remote and only receive correct frequency of about 38 kHz.

Then the remote sends an IR light signal and the IR receiver detects it and converts it into digital pulses.

The IR receivers output pin connects to the Arduinos digital pin and the Arduino reads the HIGH and LOW pulses.

LED1 acts as an indicator light, and the 220Ω resistor R1 limits the current flowing to the LED.

Now Arduino program decode pulses to find which button pressed and each button have unique code; then Arduino show code on Serial Monitor OR control LEDs / devices.

When we press other button then Arduino detect new code and also the circuit keep running as long power is ON.

How to Build:

To build a Simple Arduino IR Remote Control Decoder Circuit follow the below mentioned connections:

Note:

Conclusion:

To conclude, this Simple Arduino IR Remote Control Decoder Circuit is simple but smart, it can read any button from your TV or remote and make Arduino act.

Furthermore, easy to build, easy to use and fun to learn electronics and also with this our Arduino can see remote signals and control things like magic!

Exit mobile version