ESP32 KY-005 Infrared Transmitter Module

KY-005 Infrared Transmitter Module image

KY-005

Protocol: Infrared

Overview

The KY-005 is an infrared transmitter module that emits infrared light at a wavelength of 940 nm. It is commonly used in remote control applications and can be paired with the KY-022 Infrared Receiver Module for infrared communication projects.

About KY-005 Infrared Transmitter Module

The KY-005 is an infrared (IR) transmitter module designed to emit infrared light at 940 nm, making it ideal for remote control applications. It consists of a 5mm infrared LED and operates with a forward voltage of 1.1V and a current of 20mA.

Key Features

  • 940 nm Infrared Emission – Suitable for IR remote control and data transmission.
  • Adjustable Resistor Requirement
    • 3.3V input → Use a 120Ω resistor
    • 5V input → Use a 220Ω resistor
  • Simple Digital Control – Easily interfaces with ESP32, Arduino, and other microcontrollers.
  • Pairs with KY-022 – Works alongside the KY-022 Infrared Receiver Module for IR communication systems.

With its compact design and reliable performance, the KY-005 is an excellent choice for wireless IR control applications. 🚀

Where to Buy

KY-005 Infrared Transmitter Module

Starting from

1$ per unit

Amazon com
Amazon.com Ships worldwide
View Price
Amazon de
Amazon.de Ships to EU
View Price
Aliexpress
AliExpress Best value
View Price

Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Technical Specifications

Forward Voltage (Vf) 1.1V
Forward Current (If) 20mA
Emitting Wavelength 940 nm
Recommended Series Resistor for 3.3V 120Ω
Recommended Series Resistor for 5V 220Ω
Dimensions 18.5mm x 15mm

Pinout Configuration

The VCC pin is used to supply power to the sensor, and it typically requires 3.3V or 5V (refer to the datasheet for specific voltage requirements). The GND pin is the ground connection and must be connected to the ground of your ESP32.

  • Pin (S): Signal pin, connects to the microcontroller's GPIO pin.
  • Pin (middle): Can be connected to ground if an additional resistor has been soldered onto the module.
  • Pin (-): Ground pin, connects to the ground of the circuit.

Wiring with ESP32

  • KY-005 Pin (S): Connect to ESP32 GPIO pin (e.g., GPIO17).
  • KY-005 Pin (middle): Connect to ground if an additional resistor has been soldered onto the module; otherwise, leave unconnected.
  • KY-005 Pin (-): Connect to ESP32 GND. Ensure a series resistor (e.g., 220Ω for 5V) is used to protect the LED.

Troubleshooting Guide

Common Issues

❌ Infrared Signal Not Emitted

🔥 Overheating or Damage to the Module

Debugging Tips

🔍 Serial Monitor

⚡ Voltage Checks

Code Examples

Arduino Example

C++
🔧

ESP-IDF Example

C++
🏠

ESPHome Example

YAML
🛠️

PlatformIO Example

C++
🐍

MicroPython Example

Python

Conclusion

The ESP32 KY-005 Infrared Transmitter Module is a powerful KY-0xx module sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.