Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the chaty domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u821671540/domains/spectruminfotech.in/public_html/wp-includes/functions.php on line 6121
Interfacing IR Receiver with Arduino Uno Program with Component Connection - Spectrum InfoTech

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