รหัสสินค้า | SG20049 |
หมวดหมู่ | Infrared (IR) |
ราคา | 34.00 บาท |
สถานะสินค้า | พร้อมส่ง |
จำนวน | ชิ้น |
The KY-005 Infrared Transmitter Module consists of just a 5mm IR LED. It works together with the KY-022 IR receiver module. Compatible with popular electronics platforms like Arduino, Raspberry Pi and ESP8266.
Operating Voltage | 5V |
Forward Current | 30 ~ 60 mA |
Power Consumption | 90mW |
Operating Temperature | -25°C to 80°C [-13°F to 176°F] |
Dimensions | 18.5mm x 15mm [0.728in x 0.591in] |
Connect the Power line (middle) and ground (-) to +5 and GND respectively. Connect signal (S) to pin 3 on the Arduino UNO or pin 9 on the Arduino Mega. The pin number for the infrared transmitter is determined by the IRremote library, check the download section below for more info.
KY-005 | Arduino UNO |
S | Pin 3 |
middle | +5V |
- | GND |
The following Arduino sketch uses the IRremote library to serially send infra-red signals with the KY-005. The output pin is determined by the library and it depends on the board you are using, check the IRremote library documentation for supported boards. You'll need an IR receiver like the KY-022 to process the signal.
Links to the required libraries for the KY-005 Arduino example sketch can be found in the Downloads section below.
#include
IRsend irsend;
void setup()
{
Serial.begin(9600);
}
void loop()
{
for (int i = 0; i < 50; i++) {
irsend.sendSony(0xa90, 12); // Sony TV power code
delay(40);
}
}
ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีธนาคาร KBANK, SCB, BBL,TMB
กรุณาเก็บหลักฐานการโอนเงินของท่านไว้เพื่อแจ้งการชำระเงินด้วยค่ะ
ท่านสามารถแจ้งการชำระเงินผ่านระบบอัตโนมัติได้โดย Click Link ข้างล่างค่ะ
https://www.arduitronics.com/informpayment
หน้าที่เข้าชม | 15,375,197 ครั้ง |
ผู้ชมทั้งหมด | 5,878,275 ครั้ง |
เปิดร้าน | 21 พ.ค. 2556 |
ร้านค้าอัพเดท | 5 ก.ย. 2568 |