sagar saini
Published © GPL3+

Arduino Based IR remote decoder

To decode any universal remote values we can use this code and schematics. This is Arduino Based IR remote decoder.

BeginnerFull instructions provided30 minutes2,740
Arduino Based IR remote decoder

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
RGB Backlight LCD - 16x2
Adafruit RGB Backlight LCD - 16x2
×1
IR receiver (generic)
×1

Software apps and online services

EasyEDA
JLCPCB EasyEDA
circuitkicker.com
Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free
Breadboard, 400 Pin
Breadboard, 400 Pin
10 Pc. Jumper Wire Kit, 5 cm Long
10 Pc. Jumper Wire Kit, 5 cm Long

Story

Read more

Code

Arduino based IR decoder

C/C++
/* hello guys here I am using older versions on Ir library so please download and install all the previous version 
 *  the link to download preferred library is: 
 *  This code is made by Sagar saini/ Youtube: sagar networks
 *  Any questions or queries DM me on instagram Saini_sagar_7294.
 *  Explore my website for more interesting projects: www.circuitkicker.com
 */


#include <IRremote.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); 
const int RECV_PIN=8;
IRrecv irrecv(RECV_PIN);
decode_results results;

void setup()
{
   lcd.init();
  lcd.backlight();
  Serial.begin(9600);
  irrecv.enableIRIn(); // Start the receiver
  irrecv.blink13(true);
}

void loop() {
 

 if (IrReceiver.decode()) 
  {
    Serial.println(IrReceiver.decodedIRData.decodedRawData, HEX);
    lcd.clear();
  lcd.setCursor(0,0); 
  lcd.print("IR DECODED");
  lcd.setCursor(0,1); 
  lcd.print(IrReceiver.decodedIRData.decodedRawData, HEX);
    irrecv.resume(); // Receive the next value
 delay(100);
 }
}

Credits

sagar saini

sagar saini

17 projects • 7 followers
I am Sagar Saini. A PCB engineer and project manager in Farm Network Group. Works for National agencies.

Comments