ARDUINO / Infrared IR remote control 38kHz
สถานะสินค้า: มีสินค้า
ไม่รวมภาษี: 38.00บาท
ARDUINO / Infrared IR remote control 38kHz
The cheapest way to remotely control a device within a visible range is via Infra-Red light. Almost all audio and video equipment can be controlled this way nowadays. Due to this widely spread use the required components are quite cheap, thus making it ideal for us hobbyists to use IR control for our own projects.
The new ultra-thin 38K universal infrared remote control, NEC encoding format 1-21-key remote control, USB port stereo, car MP3, foot bath, lighting, digital photo frame, microcontroller development board, learning board, etc..
Features:
Remote control distance: more than 8 meters
Launch tube infrared wavelength: 940Nm
Crystal: The oscillation frequency of 455 KHz
IR carrier frequency: 38KHz
Power supply: CR2025/160mAH
Button: Free height is less than 3mm, the force 200-350g, the life of more than 200,000 time
Effective Angle: 60°
Static Current: 3~5uA, Dynamic Current: 3~5mA
Remote size: 8.5 x 4 x 0.65cm(L x W x H)
Encoding: the encoding format of the NEC, upd6122 encoding scheme, the user code 00FF
The Key Value of the 21 Buttons:
Red Button --------0xff00
VOL + --------------0xfe01
FUNC / STOP -----0xfd02
Left 2 Triangle --- 0xfb04
Pause -------------- 0xfa05
Right 2 Triangle -- 0xf906
Down Triangle -----0xf708
VOL- ---------------0xf609
Upward Triangle -- 0xf50a
0 --------------------0xf30c
EQ ------------------0xf20d
ST / REPT ----------0xf10e
1 ---------------------0xef10
2 --------------------0xee11
3 --------------------0xed12
4 --------------------0xeb14
5 --------------------0xea15
6 --------------------0xe916
7 --------------------0xe718
8 --------------------0xe619
9 --------------------0xe51a
Example code
#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
}
}
เขียนข้อคิดเห็น
ชื่อของคุณ:
ความคิดเห็น: หมายเหตุ: ไม่รองรับข้อความที่มีรูปแบบ เช่น HTML!
ให้คะแนน: แย่ ดี
พิมพ์รหัสป้องกันสแปม: