Interfacing IR Receiver with Arduino Uno Program with Component Connection

Objective:

         To display the values corresponds to each key of a Remote Controller unit

Components Required

  • Arduino Uno
  • IR Receiver Module

Connection Diagram

Program

#include<IRremote.h>

int RecvPin = 10;

IRrecv irrecv(RecvPin);

decode_results results;

void setup()

{

Serial.begin(9600);

irrecv.enableIRIn();

}

void loop()

{

if (irrecv.decode(&results))

{

Serial.println(results.value, HEX);

irrecv.resume();

delay(1000);

}

}

Working

         Whenever we press any button in the Remote Controller it emits a Hexa Decimal Value corresponds to it. This value is captured by using the IR receiver module and can be used to identify the key pressed at the Remote Controller in wireless medium.

Output

Key Value : 272

Note : Before executing the program install the Library “IRremote.h”

Distance Measurement using Ultrasound sensor Program with Component Connection
Temperature Measurement using LM35 and Arduino Program with Component Connection

Leave a Reply

Your email address will not be published. Required fields are marked *

Navigation

My Cart

Close
Viewed

Recently Viewed

Close

Great to see you here !

Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our privacy policy.

Already got an account?

Quickview

Close

Categories