Site icon Circuit Ideas for You

Simple Arduino IR Remote Control Decoder Circuit

This project show how to read IR remote signals using Arduino.

We use TSOP1738 IR sensor.

Arduino can detect button press from remote.

This project for Simple Arduino IR Remote Control Decoder Circuit is simple and easy for beginners.

Circuit Coding:

#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:

Parts List:

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

Circuit give 5V power to Arduino Uno or Nano.

Arduino is ready to read signals.

TSOP1838 receive IR light from remote.

Only receive correct frequency of about 38 kHz.

Remote send IR light signal.

IR Receiver detect signal and convert to digital pulse.

IR receiver output pin is connected to Arduino digital pin.

Arduino reads HIGH and LOW pulses.

LED1 is used as an indicator light.

R1 220Ω resistor limits the current going to LED.

Arduino program decode pulses to find which button pressed.

Each button have unique code.

Arduino show code on Serial Monitor OR control LEDs / devices.

When we press other button then Arduino detect new code.

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:

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.

Easy to build, easy to use and fun to learn electronics.

With this our Arduino can see remote signals and control things like magic!

References:

Detecting code of IR remote

Exit mobile version