Decode IR Remote Control Signals Of Any Remote Using Arduino

Hackster.ioLearning Hardware Community. Projects× Log inSign up ProjectsProjectsChannelsChannelsNewsContestsEventsVideos ×

Embed the widget on your own site

Add the following snippet to your HTML:

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

Read up about this project on Hackster.io

Decode IR Remote Control Signals of any Remote Using Arduino

DIY Inventor7 19,752
  • Overview
  • Things
  • Story
    • Introduction
    • Working on Basics
    • Prototype Image's
    • Hookup
    • Uploading and Testing
    • Watch the Video
  • Schematics
  • Code
  • Credits
  • Comments(10)
DIY InventorDIY InventorPublished 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

BeginnerProtip19,752Decode IR Remote Control Signals of any Remote Using Arduino

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
  • Buy from Newark
  • Buy from store.arduino.cc
  • Buy from Adafruit
  • Buy from Arduino Store
  • Buy from CPC
IR receiver (generic)
TSOP1738
×1
  • Buy from Newark
  • Buy from Adafruit
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

Connect me on Youtube

ClickHere

Introduction

In this project I will show you how to Decode IR Remote Control Signals' of any Remote using Arduino.

The remotes which we use in our home are basically made of IR transmissions for example TV remote, DVD remote, Sound System remote etc. But these signals never interfere with each other because every key in the remote control has unique operation code in Hexadecimal format. By decoding these signals we can know what is the unique code of the key. By knowing the codes we can implement several applications where we can control with same remote.

Working on Basics

IR remote has a button and a microcontroller with IR LED attached. When a button is pressed, a microcontroller identified the button and sends the corresponding modulated signals (codes) to the IR LED. Then, the IR LED sends it to the IR receiver in the appliance.

System in the appliance demodulate the signals(codes) and the checks the function corresponding to it and executes it. Each function has a different code.

Every IR operated appliance has different codes for different function.

Prototype Image's

1 / 7

Hookup

Follow the Steps:-

  • Connect the First pin from the left of TSOP1738 (OUT pin) with pin 11 of Arduino.
  • Hook the Middle pin (GND pin) with the GND pin of Arduino.
  • Connect the third and the last pin (VCC pin) with 5V pin of Arduino.

Uploading and Testing

Remember to install the IRremote.h library from here

  • Copy or download the code attached with the project.
  • Hit upload and open serial monitor.
  • Take any remote you want to use or you want the codes off it and press any button.
  • Now, see in the serial monitor. You will see a code of the corresponding button you pressed.
  • Note the codes on a paper or copy them in a document file on PC.

Watch the Video

Click Here

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

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 • 20 followersHello Guys, My name is Krishna Agarwal , and I'm passionate about Making DIY Projects. Here I make Arduino and Robotics related projects. Follow ContactContact

Comments

Related channels and tags
  • JustBoom
  • tsop1738

Tag » Arduino Ir Remote Example Code