Datasheet
IDUINO for Maker’s life
www.openplatform.cc
GND
Ground
3.Example
In this example, you need an Infrared transmit device, like mini remote controller,
directly point the remoter to this module, which can read the hexadecimal value of
the infrared light and print on the window.
The connection as below:
Example code :
******Code begin******
# Include <IRremote.h>
int RECV_PIN = 11; // define input pin on Arduino
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