Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›IR Remote Parts

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
Short answerWhat the IR remote emitters and 38kHz receivers: TSOP1738, HS0038B, Grove, Adafruit STEMMA, IR LEDs and extension cables isIR remote emitters and 38kHz receivers: TSOP1738, HS0038B, Grove, Adafruit STEMMA, IR LEDs and extension cables pinoutWiring the IR remote emitters and 38kHz receivers: TSOP1738, HS0038B, Grove, Adafruit STEMMA, IR LEDs and extension cablesExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

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
01

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.

02

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.

PinFunction
OUT / SReceiver data, active low
VCC3.3-5V
GNDGround
IR LED anodeThrough resistor or transistor
SIG (emitter)Send pin on modules
PinFunction
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
03

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 pinArduinoNote
Receiver OUTD2IRremote receive pin
Emitter SIGD3IRremote send pin on Uno
VCC5V100nF 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
04

Example code

Air conditioners use long frames that IRremote prints as raw data; the IRremoteESP8266 library handles many AC brands.

Print remote codes and resend one (Uno, IRremote 4.x) · Arduino C++Verify & upload in Electrolark
#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();
  }
}
05

Setup and tuning

Receiver wiring

OUT to a digital pin, VCC to 3.3 or 5 V, GND; check the pin order for your part.

Library

use IRremote (Arduino) or IRremoteESP8266 for ESP boards.

Decode

run the receive example and press remote buttons to get protocol and codes.

Emitter

drive the IR LED through a transistor with a resistor for more range.

AC remotes

use IRremoteESP8266, which supports many AC protocols.

06

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
07

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.
08

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.
09

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

  • 38kHz IR Transmitter Sensor Module – PCB Module
    ₹53View
  • Adafruit Infrared IR Remote Receiver – STEMMA JST PH 2mm Module
    ₹699View
  • Adafruit Infrared IR Remote Transceiver – STEMMA JST PH 2mm – 940nm Emitter + 38KHz Receiver
    ₹969View
  • Elecrow Crowtail- IR Receiver 2.0 Module – HS0038B, 38kHz Demodulation, 3.3-5V
    ₹183View
  • HS-S23A 38K Infrared Remote Control Receiver Module
    ₹116View
  • HS-S23P 38KHz Infrared Decoding Receiver Module – Digital Output
    ₹137View
  • IR Remote Control Module – 3-Pin Header, 3-5V DC
    ₹23View
  • IR Remote Extension Cable with Receiver/Transmitter – 2 Meter Cable
    ₹359View
  • Seeed Studio Grove Infrared Emitter v1.2 – 940nm, 10m Range, Grove Interface
    ₹399View
  • Seeed Studio Grove Infrared Receiver v1.2 Module – 38kHz IR Detector
    ₹519View
  • TSOP IR Receiver, 38 kHz
    ₹40View
  • IR LED Pair (Transmitter + Receiver)
    ₹10View
  • IR Photodiode Receiver LED
    ₹6View
  • IR Transmitter LED (940nm)
    ₹5View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • Dupont Jumper Wires (40 pcs)
    ₹49View
  • Solderless Breadboard
    ₹68View
Shop Infrared & Optical Detection Modules

Keep learning

How-toBeginnerIR Remote ReceiversAn IR receiver such as the VS1838B contains a photodiode and a filter tuned to 38 kHz.3 min read · SensorsComponent guideBeginnerIR Obstacle Sensor ModuleAn IR obstacle sensor module shines infrared light from an LED and watches for its reflection with a photodiode; when something is within about 2 to 30 cm, its OUT pin goes LOW.3 min read · SensorsComponent guideBeginner433 MHz RF Remote Control Switches and Relay Modules433 MHz RF remote switches pair a key-fob remote with a receiver that switches lights, pumps, gates or motors without Wi-Fi or an app.3 min read · IoT & Wireless

Sources

  • Vishay TSOP17xx datasheet
  • IRremote library documentation

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the IR remote emitters and 38kHz receivers: TSOP1738, HS0038B, Grove, Adafruit STEMMA, IR LEDs and extension cables isIR remote emitters and 38kHz receivers: TSOP1738, HS0038B, Grove, Adafruit STEMMA, IR LEDs and extension cables pinoutWiring the IR remote emitters and 38kHz receivers: TSOP1738, HS0038B, Grove, Adafruit STEMMA, IR LEDs and extension cablesExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide8 items · ₹2,538

38kHz IR Transmitter Sensor Module – PCB Module · Adafruit Infrared IR Remote Receiver – STEMMA JST PH 2mm Module · Adafruit Infrared IR Remote Transceiver – STEMMA JST PH 2mm – 940nm Emitter + 38KHz Receiver · Elecrow Crowtail- IR Receiver 2.0 · HS-S23A 38K Infrared Remote Control Receiver Module · HS-S23P 38KHz Infrared Decoding Receiver Module – Digital Output · IR Remote Control Module – 3-Pin Header, 3-5V DC · IR Remote Extension Cable with Receiver & Transmitter

Run itChange the inputs and watch the output

Receives a code, prints it, then re-sends the same NEC code from the IR LED half a second later.

Serial monitor115200 baud
 

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question