IR Transmitter & Receiver Kit
Combined IR transmitter and receiver pair for custom remotes and line-of-sight communication.
Wiring & code for
IR Transmit Kit practical reference
A matched infrared LED and receiver pair used for building custom remote controls or simple line-of-sight communication links. The transmitter side is a standard IR LED driven with modulated pulses (typically 38kHz carrier) to encode a signal, while the receiver is a demodulating IR photodiode module (like the TSOP1738) that filters out ambient IR noise and outputs a clean digital signal a microcontroller can decode — the standard building block for replicating TV/appliance remote codes or sending simple short-range wireless signals between two line-of-sight devices.
Key specifications
- Transmitter: Standard 5mm IR LED, typically driven at 38kHz carrier frequency to match common receiver modules
- Transmitter operating voltage: Driven from a digital GPIO pin (often through a transistor for higher current) at 3.3-5V logic levels
- Receiver: IR demodulator module (e.g. TSOP1738/TSOP4838) tuned to a specific carrier frequency (commonly 38kHz)
- Receiver operating voltage: 3.3V-5V DC depending on module
- Range: ~5-10m line-of-sight typical for basic remote-control style use, shorter in bright ambient IR conditions (e.g. direct sunlight)
- Protocols: Commonly used with NEC, Sony SIRC, RC5, or raw pulse-timing protocols depending on the library/firmware used
- Interface: Transmitter: single digital output pin (often via a transistor driver for brighter/longer-range LEDs). Receiver: single digital input pin
Pinout and connection notes
For reliable transmission range beyond a few centimeters, drive the IR LED through a small NPN transistor rather than directly from a GPIO pin, since a microcontroller pin usually can't source enough current for a bright, long-range IR burst; libraries like IRremote handle both the 38kHz carrier modulation on transmit and automatic demodulation-aware decoding on receive.
- IR LED anode: Connect through a current-limiting resistor (and optionally a transistor for higher drive current) to a digital output pin
- IR LED cathode: Connect to ground (or transistor collector/drain if using a driver transistor)
- Receiver VCC: Power, 3.3-5V DC depending on receiver module
- Receiver GND: Ground
- Receiver OUT: Demodulated digital signal output — connect to a digital input pin, typically read with an IR-remote decoding library
Integration checklist
- Confirm the exact part number and breakout-board revision.
- Verify supply voltage, current demand, logic levels, and signal direction against the datasheet.
- Check controller pin assignments and bus address or interface mode against the example code.
- Power up with external loads disconnected, then test signals before full integration.
- If readings or communication fail, check power and ground first, then pin mapping, interface settings, and library initialization.
Troubleshooting and reproducibility
Record the board used, wiring, library/version, supply arrangement, and measured behavior. Use the selected board-specific wiring example as the source of truth. Never assume visually similar modules share identical voltage tolerance or pin order.