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:

  • Based on the 38KHz IR Transmitter Sensor
  • Can be used for remote control
  • Can be compatible with Digital 38KHz IR Receiver Sensor
  • Apply to a variety of platforms including Arduino/51/AVR/ARM

 

Specifications:

  • Power Supply : 5V DC
  • Forward Current: 30 ~ 60 mA
  • Power Consumption: 90mW
  • Pin Definitions : (1) Output (2) Vcc (3) GND
  • Board size: 18.5 x 15mm

 

Connect IR Transmitter Module to Arduino

 

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);
    }
  }
}

 

 

Write a review

Note: HTML is not translated!
    Bad           Good

 

Related Products

Tags: IR Infrared