IR Wireless Remote Control & Receiver Module Kit HX1838 For Arduino Raspberry Pi

IR Wireless Remote Control & Receiver Module Kit HX1838 For Arduino Raspberry Pi

Categoria:
Description The new infrared wireless remote control kit consists of a Mini ultra-thin infrared remote control and a 38KHz infrared receiving module. The Mini ultra-thin infrared remote control has 17 function keys and can transmit as far as 8 meters, which is ideal for controlling various devices indoors. The infrared receiving module can receive the standard 38KHz modulation of the remote control signal, through the programming, you can realize the decoding of the remote control signal operation, so as to make a variety of remote control robots and interactive works.Example codes: #include <IRremote.h>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  }}