Description
Infrared IR Wireless Remote Control Module Kits DIY Kit HX1838 For Raspberry Pi arduino
Ultra-thin infrared remote control product parameters:
1 Transmission Distance: 8m above (specific and surroundings, the receiver sensitivity and other factors)
2 Effective angle: 60 degrees
3 Sticking Material: 0.125mmPET, the effective life of 20,000 times.
4 Stable quality, cost-effective
5 quiescent current 3-5uA, dynamic current 3-5mA.
#include
int RECV_PIN = 11;
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
}
}
Reviews
There are no reviews yet.