

The TSOP38238 is an infrared (IR) receiver module designed for remote control applications. It operates at a carrier frequency of 38 kHz, making it compatible with most standard IR remote controls. The module is equipped with a built-in preamplifier and demodulator, which filters out ambient light interference and provides a clean digital output signal. This makes it ideal for use in consumer electronics, home automation systems, and robotics.








Below are the key technical details of the TSOP38238 IR receiver:
| Parameter | Value |
|---|---|
| Carrier Frequency | 38 kHz |
| Supply Voltage (VCC) | 2.5 V to 5.5 V |
| Supply Current | 0.35 mA (typical) |
| Output Voltage (High) | VCC - 0.2 V (typical) |
| Output Voltage (Low) | < 0.2 V |
| Reception Distance | Up to 45 meters (depending on IR emitter) |
| Viewing Angle | ±45° |
| Operating Temperature | -25°C to +85°C |
| Package Type | Epoxy package with 3 pins |
The TSOP38238 has three pins, as described in the table below:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | OUT | Digital output signal (active low) |
| 2 | GND | Ground (0 V reference) |
| 3 | VCC | Supply voltage (2.5 V to 5.5 V) |
Below is an example of how to connect the TSOP38238 to an Arduino UNO and read IR signals:
#include <IRremote.h> // Include the IRremote library
const int RECV_PIN = 2; // TSOP38238 OUT pin connected to Arduino pin 2
IRrecv irrecv(RECV_PIN); // Create an IR receiver object
decode_results results; // Variable to store decoded IR data
void setup() {
Serial.begin(9600); // Initialize serial communication
irrecv.enableIRIn(); // Start the IR receiver
Serial.println("IR Receiver is ready");
}
void loop() {
if (irrecv.decode(&results)) { // Check if an IR signal is received
Serial.print("IR Code: ");
Serial.println(results.value, HEX); // Print the received code in HEX format
irrecv.resume(); // Prepare to receive the next signal
}
}
IRremote library in the Arduino IDE before uploading the code.No Signal Detected:
Interference from Ambient Light:
Unstable Output:
Short Reception Range:
Q1: Can the TSOP38238 work with any IR remote control?
A1: The TSOP38238 is compatible with most IR remote controls that operate at a carrier frequency of 38 kHz.
Q2: What is the maximum range of the TSOP38238?
A2: The maximum range is up to 45 meters, depending on the power and alignment of the IR emitter.
Q3: Can I use the TSOP38238 with a 3.3 V microcontroller?
A3: Yes, the TSOP38238 operates with supply voltages as low as 2.5 V, making it compatible with 3.3 V systems.
Q4: How do I decode the received IR signals?
A4: Use an IR library (e.g., IRremote for Arduino) to decode the received signals into recognizable codes.
By following this documentation, you can effectively integrate the TSOP38238 IR receiver into your projects and troubleshoot any issues that arise.