![](/html/71/71b4/71b45c587727cc0c2de6327a6c18dc591380448f75be2cb32fd4f773eacd2f54/bg1.png)
Digital signal input pin, used to read the
value of infrared light.
IDUINO for Maker’s life
IR Receiver Module(ST1089)
1.Introduction
This module usually used together with the IR transmit Module(Item:ST1087),
This module can read infrared light value and print in the Serial Monitor session.
Specification
Operation voltage: 5V
3Pin
Size:25*12mm
Weight: 2g
2 Pinout
3.Example
In this example, you need an Infrared transmit device, like Item ST1087, or 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:
www.openplatform.cc
![](/html/71/71b4/71b45c587727cc0c2de6327a6c18dc591380448f75be2cb32fd4f773eacd2f54/bg2.png)
IDUINO for Maker’s life
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
}
}******Code End******
www.openplatform.cc