Component guide · Beginner · 4 min read
IR Remote Parts

TSOP1738 Receiver, Crowtail HS0038B, Grove Infrared Emitter and Receiver v1.2, Adafruit STEMMA IR Receiver and Transceiver, 38kHz Transmitter and Receiver Modules, 940nm IR LEDs, Photodiodes and IR Extension Cable
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
TV-style remotes flash an infrared LED on and off 38,000 times a second in coded bursts. A 38kHz receiver such as the TSOP1738 or HS0038B filters out everything else and outputs the clean code to a microcontroller. A 940nm IR LED or transmitter module sends codes back, so your project can read any remote or control a TV, AC or projector. The Adafruit transceiver does both on one board.
Key specs at a glance
- Carrier
- 38kHz on most remotes; 36 or 40kHz on some
- Receiver output
- Active low, demodulated data
- Emitter
- 940nm IR LED, 20-100 mA pulses
- Range
- 5-10m with a transistor-driven LED
- Supply
- 2.7-5.5V receivers
- Protocols
- NEC, Sony, RC5, Samsung and more via IRremote
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 138kHz IR Transmitter Sensor Module – PCB Module₹53
Option 2Adafruit Infrared IR Remote Receiver – STEMMA JST PH 2mm Module₹699
Option 3Adafruit Infrared IR Remote Transceiver – STEMMA JST PH 2mm – 940nm Emitter + 38KHz Receiver₹969
Option 4Elecrow Crowtail- IR Receiver 2.0 Module – HS0038B, 38kHz Demodulation, 3.3-5V₹183
Option 5HS-S23A 38K Infrared Remote Control Receiver Module₹116
Option 6HS-S23P 38KHz Infrared Decoding Receiver Module – Digital Output₹137
What the IR remote emitters and 38kHz receivers: TSOP1738, HS0038B, Grove, Adafruit STEMMA, IR LEDs and extension cables is
IR remote emitters and 38 kHz receivers such as the VS1838B and TSOP38238 let a microcontroller read TV remotes and send IR codes to control TVs, ACs and fans.
Wire the receiver OUT to any digital pin and use the IRremote library to print each button's protocol and code. Then send the same codes with an IR LED on the send pin.
A bare IR LED from a GPIO pin gives only about 1m range. Drive it through an NPN transistor at 50-100 mA (with a resistor) for room range. Bare photodiodes and LED pairs are for break-beam and reflection projects, not remote decoding, because they have no 38kHz filter.
IR remote emitters and 38kHz receivers: TSOP1738, HS0038B, Grove, Adafruit STEMMA, IR LEDs and extension cables pinout
The pins on the IR remote emitters and 38kHz receivers: TSOP1738, HS0038B, Grove, Adafruit STEMMA, IR LEDs and extension cables and what each one does.
| Pin | Function |
|---|---|
| OUT / S | Receiver data, active low |
| VCC | 3.3-5V |
| GND | Ground |
| IR LED anode | Through resistor or transistor |
| SIG (emitter) | Send pin on modules |
- OUT / S
- Receiver data, active low
- VCC
- 3.3-5V
- GND
- Ground
- IR LED anode
- Through resistor or transistor
- SIG (emitter)
- Send pin on modules
Wiring the IR remote emitters and 38kHz receivers: TSOP1738, HS0038B, Grove, Adafruit STEMMA, IR LEDs and extension cables
TSOP1738 pin order is OUT, GND, VCC from the front; check before powering.
| IR remote emitters and 38kHz receivers: TSOP1738, HS0038B, Grove, Adafruit STEMMA, IR LEDs and extension cables pin | Arduino | Note |
|---|---|---|
| Receiver OUT | D2 | IRremote receive pin |
| Emitter SIG | D3 | IRremote send pin on Uno |
| VCC | 5V | 100nF across receiver supply helps |
- Receiver OUT
- Arduino:
- D2
- Note:
- IRremote receive pin
- Emitter SIG
- Arduino:
- D3
- Note:
- IRremote send pin on Uno
- VCC
- Arduino:
- 5V
- Note:
- 100nF across receiver supply helps
Example code
Air conditioners use long frames that IRremote prints as raw data; the IRremoteESP8266 library handles many AC brands.
#include <IRremote.hpp>
const int RECV_PIN = 2;
const int SEND_PIN = 3;
void setup() {
Serial.begin(115200);
IrReceiver.begin(RECV_PIN, ENABLE_LED_FEEDBACK);
IrSender.begin(SEND_PIN);
}
void loop() {
if (IrReceiver.decode()) {
IrReceiver.printIRResultShort(&Serial);
if (IrReceiver.decodedIRData.protocol == NEC) {
uint16_t addr = IrReceiver.decodedIRData.address;
uint8_t cmd = IrReceiver.decodedIRData.command;
delay(500);
IrSender.sendNEC(addr, cmd, 0); // send the same button back
}
IrReceiver.resume();
}
}Setup and tuning
OUT to a digital pin, VCC to 3.3 or 5 V, GND; check the pin order for your part.
use IRremote (Arduino) or IRremoteESP8266 for ESP boards.
run the receive example and press remote buttons to get protocol and codes.
drive the IR LED through a transistor with a resistor for more range.
use IRremoteESP8266, which supports many AC protocols.
What you need
Shop this list16 of 17 found in our store · ₹3,633
Generic 38kHz IR Transmitter Sensor Module – PCB Module: the part this guide covers38kHz IR Transmitter Sensor Module – PCB Module₹53
Adafruit Infrared IR Remote Receiver – STEMMA JST PH 2mm Module: another version this guide coversAdafruit Infrared IR Remote Receiver – STEMMA JST PH 2mm Module₹699
Adafruit Infrared IR Remote Transceiver – STEMMA JST PH 2mm – 940nm Emitter + 38KHz Receiver: another version this guide coversAdafruit Infrared IR Remote Transceiver – STEMMA JST PH 2mm – 940nm Emitter + 38KHz Receiver₹969
Elecrow Crowtail- IR Receiver 2.0 Module – HS0038B, 38kHz Demodulation, 3.3-5V: another version this guide coversElecrow Crowtail- IR Receiver 2.0₹182
HS-S23A 38K Infrared Remote Control Receiver Module: another version this guide coversHS-S23A 38K Infrared Remote Control Receiver Module₹116
HS-S23P 38KHz Infrared Decoding Receiver Module – Digital Output: another version this guide coversHS-S23P 38KHz Infrared Decoding Receiver Module – Digital Output₹137
Generic IR Remote Control Module – 3-Pin Header, 3-5V DC: another version this guide coversIR Remote Control Module – 3-Pin Header, 3-5V DC₹23
Generic IR Remote Extension Cable with Receiver/Transmitter – 2 Meter Cable: another version this guide coversIR Remote Extension Cable with Receiver & Transmitter₹359
Seeed Studio Studio Grove Infrared Emitter v1.2 – 940nm, 10m Range, Grove Interface: another version this guide coversSeeed Studio Grove Infrared Emitter v1.2 – 940nm, 10m Range, Grove Interface₹399
Seeed Studio Studio Grove Infrared Receiver v1.2 Module – 38kHz IR Detector: another version this guide coversSeeed Studio Grove Infrared Receiver v1.2 Module – 38kHz IR Detector₹519
TSOP IR Receiver, 38 kHz: another version this guide coversTSOP IR Receiver, 38 kHz₹40
IR LED Pair (Transmitter + Receiver): another version this guide coversIR LED Pair (Transmitter + Receiver)₹10
IR Photodiode Receiver LED: another version this guide coversIR Photodiode Receiver LED₹6
IR Transmitter LED (940nm): another version this guide coversIR Transmitter LED (940nm)₹5- Uno R3 development board: the controller used in the wiring tableFind this part
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Solderless breadboard: to build without solderingSolderless Breadboard₹68
Alternatives and when to choose them
- IR remote receiver VS1838: the common kit receiver.
- IR sensor module: obstacle detection with IR.
- 433MHz RF remote switch: radio instead of IR.
Common mistakes to avoid
- Swapping receiver pins.
- Driving the IR LED from a pin without a resistor.
- Using a 56 kHz receiver for 38 kHz remotes.
- Pointing the receiver at sunlight.
Frequently asked questions
How do I find the codes of my TV remote?
Run the IRremote receive example and press each button.
Why does my receiver not decode anything?
Wrong pin order, wrong carrier frequency, or a library mismatch.
Can I control an AC with Arduino?
Yes, using IRremoteESP8266 protocols for many ACs.
Why is the IR LED range short?
Drive it through a transistor with higher current.
Are VS1838B and TSOP38238 the same?
Both are 38 kHz receivers; the TSOP is more noise immune.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


