DIY Inventor
Published

Decode IR Remote Control Signals of any Remote Using Arduino

In this project you will be going to decode the signal sent by any type of Remote to make Projects

BeginnerProtip18,370
Decode IR Remote Control Signals of any Remote Using Arduino

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
IR receiver (generic)
TSOP1738
×1
JustBoom IR Remote
JustBoom IR Remote
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

IR Remote Libary

Story

Read more

Schematics

Circuit Diagram

1. Connect the First pin from the left of TSOP1738 (OUT pin) with pin 11 of Arduino.

2. Hook the Middle pin (GND pin) with the GND pin of Arduino.

3. Connect the third and the last pin (VCC pin) with 5V pin of Arduino.

Code

Code

C/C++
Upload the Code and See the Code of Button Pressed in Serial Monitor
#include <IRremote.h>

int RECV_PIN = 11;

IRrecv irrecv(RECV_PIN);

decode_results results;

void setup()
{
  Serial.begin(9600);
  irrecv.enableIRIn(); // Start the receiver
}

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

//

Credits

DIY Inventor

DIY Inventor

0 projects • 15 followers
Hello Guys, My name is Krishna Agarwal , and I'm passionate about Making DIY Projects. Here I make Arduino and Robotics related projects.

Comments