
邊緣運算與智慧家庭-53%
HX1838 紅外線接收遙控模組 紅外接收模組
NT$ 40NT$ 85省 NT$ 45
- 貨號
- 72547632(A5-1)
- 分類
- 通訊與無線
- 庫存
- 有庫存(0)
1
商品說明 感測器採用HX1838,靈敏度高 工作電壓5V 輸出形式:數位量輸出 設有固定螺栓孔,方便安裝 小板PCB尺寸:1.9cm * 1.4cm 電源指示燈(紅色) 小板介面說明(3線制) VCC 外接5V GND 外接GND DO 小板數位量輸出介面 #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 } }




