IR Infrared 38KHz Digital Transmitter Sensor Module
- Was RM7.00
-
RM5.00
- Product Code: IR Transmitter 38khz
- Availability: In Stock
IR is widely used in remote control. With this IR transmitter, the Arduino project is able to transmit command to any IR remote Receiver if you have the right decoder. Well, it will be also easy to make your own IR controller using IR Receiver.
Features:
Specifications:
IR Remote library Includes some IR sample codes
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.
#include <IRremote.h> IRsend irsend; void setup() { Serial.begin(9600); } void loop() { if (Serial.read() != -1) { for (int i = 0; i < 3; i++) { irsend.sendSony(0xa90, 12); // Sony TV power code delay(100); } } }
Tags: IR Infrared