Tags: IR, Infrared, Emission, Module, Ky, remote, 38kHz, 5v, Transmitter

IR Infrared Emission Transmitter Module KY-005

  • 6.00 AED
    • Ex Tax:6.00 AED
    • Product Code: KY-005 IR Transmitter Module
    • Availability: Out Of Stock
    The KY-005 infrared transmitter module is can transmit infrared signals at a frequency of 38kHz and a wavelength of 940nm. which is outside the Visible and detectable spectrum of the human eyes. For Arduino projects, this module is generally paired with the KY-022 infrared receiver.&n..

    The KY-005 infrared transmitter module is can transmit infrared signals at a frequency of 38kHz and a wavelength of 940nm. which is outside the Visible and detectable spectrum of the human eyes. For Arduino projects, this module is generally paired with the KY-022 infrared receiver


    Specifications:

    Operating Voltage: 5V

    Forward Current: 30 ~ 60 mA

    Power Consumption: 90mW

    Operating Temperature: -25°C to 80°C [-13°F to 176°F]

    Dimensions: 0.728in x 0.591in (18.5mm x 15mm)


    Connections of :


    Will this Arduino module work with Raspberry Pi 3? - Raspberry Pi ...

    Arduino code of building infrared remote + infrared receiver system with IR Infrared Emission Sensor Module KY-005 :

    With both sensor modules, KY-005 and KY-022, you can build an infrared remote + infrared receiver system.
    In order to do this, you will need the two sensor modules as well as two Arduinos.
    The first one will handle the receiver system and the second one will handle the transmitter system.


    but first, you need to modify the library already in the Arduino library folder using this library : Click Here

    The library is in the package and has to be copied before the start of the library folder.

    You can find your Arduino Library folder at: C:\User\[UserName]\Documents\Arduino\libraries


    There are different infrared protocols to send data. In this example, we use the RC5 protocol.
    The used library "Arduino-IRremote" converts the data independently.
    The library has additional protocols, they are marked in this documentation.



    Connections of  Arduino KY-004 Ir Remote receiver:

    KY-022

    Signal=[Pin 11]
    +V=[Pin 5V]
    GND=[Pin GND]

     Arduino KY-004 Ir Remote receiver Code:

    // Arduino-IRremote library will be added
    #include 
    #include  
      
    // You can declare the input pin for the signal output of the KY-022 here
    int RECV_PIN = 11;
      
    // Arduino-IRremote library will be initialized
    IRrecv irrecv(RECV_PIN);
    decode_results results;
      
    void setup()
    {
      Serial.begin(9600);
      irrecv.enableIRIn(); // Infrared receiver will start
    }
      
    // main program loop
    void loop() {
        
      // It will be checked if the receiver has gotten a signal.
      if (irrecv.decode(&results)) {
        //At signal input, the received and decoded signal will show via serial console.
        Serial.println(results.value, HEX);
        irrecv.resume(); 
      }
    }
    


    Connections of Arduino KY-022 Ir Remote Transmitter :

    KY-005

    Signal=[Pin 3 (Arduino Uno) | Pin 9 (Arduino Mega)]
    GND+resistor=[Pin GND*]
    GND=

    [Pin GND]


     Arduino KY-022 Ir Remote Transmitter Code:


    //Arduino-IRremote library will be added
    #include 
    #include  
      
    //...and here initialized
    IRsend irsend;
      
    // The configuration of the output pin will be made by the library
    // The output pin is a different one for different arduinos
    // Arduino UNO:  Output = D3
    // Arduino MEGA: Output = D9
    // You will find a full list of output pins on the website:
    // http://z3t0.github.io/Arduino-IRremote/
    void setup()
    {
    }
      
    // main program loop
    void loop() {
            // The transmitter sends in this example the signal A90 (hex. dezimal form) in the encoding "RC5"
            // It will be transmitted 3 times after that it will make a 5 second break
        for (int i = 0; i < 3; i++) {
            irsend.sendRC5(0xA90, 12); // [0xA90] signal | [12] Bit-length signal (hex A90=1010 1001 0000)
            delay(40);
        }
        delay(5000); // 5 second break between the sending impulses
    }
    



    There are no reviews for this product.

    Write a review

    Please login or register to review