IR Remote
What Is an IR Remote?
An IR remote is a device that sends commands to electronic devices using infrared light signals.
Widely used for TVs, air conditioners, projectors, robots, and Arduino/ESP projects.
Works by emitting IR pulses at specific frequencies, which are received and decoded by an IR sensor on the device.
Key Components
IR LED (Transmitter)
Emits pulses of infrared light (~940nm wavelength).
Encodes data in modulated on/off signals (commonly at 38kHz).
IR Receiver Module
Usually has three pins: VCC, GND, and OUT.
Detects IR signals from the remote and outputs digital pulses for microcontroller reading.
Interprets the received signal and executes corresponding commands (e.g., volume up, switch channel).
Features & Advantages
Wireless Control No physical connection needed between remote and device.
Low Power IR LEDs consume very little energy.
Simple Protocols Uses standard codes like NEC, RC5, Sony SIRC, which are easy to decode with Arduino/ESP32.
Affordable Both remotes and receivers are inexpensive and widely available.
How It Works
Button Press on Remote Microcontroller inside remote modulates IR LED signal.
Signal Transmission IR pulses travel in line of sight to the receiver.
Receito a digital signal.
Device Interpretation Microcontroller decodes signal and performs the action.
Important Notes
Line of Sight Required IR signals generally do not pass through walls.
Range Typically 510 meters, depending on LED power and ambient light.
Ambient Light Interference Sunlight or bright lamps can interfere; many receivers use 38kHz modulation to reduce noise.
Protocols Must Match Remote and receiver must use the same encoding scheme (NEC, RC5, etc.).
Common Uses in DIY Projects
TV, fan, or appliance remote control projects
Robot movement control using an IR remote
Home automation systems with Arduino or ESP32

