IR Remote signals Using Arduino
Nowadays we are using remote control in each and every home appliances rather than pressing the buttons in the home appliances manually from TV to AC(Air conditioner). The remote in all of these appliances communicates through infra red radiation. Yes Infra Red light plays the major role in remote communication. You are changing channels in TV, decreasing and increasing temperature in Air Conditioners, everything happens through the infra red communication of the remote
How the remote communicates ?
The remote has an IC(integrated circuit) which is programmed to send various hexa decimal values whenever a button in the remote is pressed. When we press a button in the remote, it sends a IR signal with a particular time period. However in this article we are going to decode that IR signals and by using that decoded IR signal values we are going to use it upcoming projects. For this decoding process you will need an IR Receiver sensor and an Arduino. The IR transmitter sensor looks like an led but it emits infra red light which cannot seen by human eye. But in this project we are going to use only the transmitter which has three terminals 5V, GND, Signal. You can buy this here:
Circuit Diagram:
Before uploading the code to the Arduino you have to install the IR remote library
Open the Arduino IDE go to sketch then click Include Library and click Manage Libraries
A new page open up.
In that page type IR remote in the search bar click on the first result and select the latest version and then install it.
PROGRAM CODE
#include <IRremote.h>
int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
Serial.begin(9600);
Serial.println("Enabling IRin");
irrecv.enableIRIn(); // Start the receiver
Serial.println("Enabled IRin");
}
void loop() {
if (irrecv.decode(&results)) {
Serial.println(results.value, HEX);
irrecv.resume(); // Receive the next value
}
delay(100);
}
After uploading the code to the Arduino. Open the serial monitor and click any button in your tv remote or any other remote. Make sure that the your placing your remote straight forward to the IR receiver.
After clicking the buttons in the remote, the serial monitor will show you the Hexa-decimal code for every single button.
Each and Every company have their own IR signal standard some have 6 digit and some have 8 digit and so on.
With the use of the decoded IR values we can easily make our own DIY WI-FI remote, which we can customize on our own needs.
Hope you guys have learned something from this !!
1 Comments
Arduino Ir Receiver - How To Decode Your Ir Remote Signals Using Arduino >>>>> Download Now
ReplyDelete>>>>> Download Full
Arduino Ir Receiver - How To Decode Your Ir Remote Signals Using Arduino >>>>> Download LINK
>>>>> Download Now
Arduino Ir Receiver - How To Decode Your Ir Remote Signals Using Arduino >>>>> Download Full
>>>>> Download LINK zE