Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use IRRECEIVER: Examples, Pinouts, and Specs

Image of IRRECEIVER
Cirkit Designer LogoDesign with IRRECEIVER in Cirkit Designer

Introduction

The TSOP85238 is an infrared (IR) receiver module manufactured by Vishay. It is designed to detect and demodulate infrared signals, typically used in remote control applications. This component converts modulated IR light signals into electrical signals that can be processed by microcontrollers or other electronic circuits. The TSOP85238 is optimized for 38 kHz carrier frequencies, making it compatible with most consumer remote controls.

Explore Projects Built with IRRECEIVER

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP-01 Based IR Remote Control Receiver
Image of Stock: A project utilizing IRRECEIVER in a practical application
This circuit consists of an ESP-01 microcontroller connected to an IR receiver. The ESP-01 is configured to receive data from the IR receiver through its GPIO0 pin, and both components share a common ground and power connection. The provided code for the ESP-01 microcontroller is a template with empty setup and loop functions, indicating that the specific functionality for the IR data processing has not been implemented yet.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO IR Remote Control Receiver
Image of IR pilot: A project utilizing IRRECEIVER in a practical application
This circuit uses an Arduino UNO to receive and decode infrared signals from a VS1838B IR Receiver. The Arduino is programmed to read the IR signals on digital pin D2 and print the decoded IR codes to the serial monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Based Wireless Power Transmission System with Copper Coils
Image of nagesh: A project utilizing IRRECEIVER in a practical application
This circuit consists of multiple copper coils connected to transmitters and a receiver, likely forming a wireless power transfer or communication system. The transmitters are connected to individual coils, and the receiver is connected to another coil, facilitating the transmission and reception of signals or power wirelessly.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Controlled IR Relay Switching System
Image of CONTROLING APPLIANCES WITH IR RECIEVER: A project utilizing IRRECEIVER in a practical application
This circuit consists of an Arduino UNO microcontroller interfaced with three 12V single-channel relays and an IR receiver. The Arduino controls the relays via digital pins D8, D9, and D10, allowing it to switch external circuits connected to the relays. The IR receiver is connected to the Arduino's digital pin D7 and is powered by the 3.3V pin, enabling the Arduino to receive infrared signals for potential remote control applications.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with IRRECEIVER

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Stock: A project utilizing IRRECEIVER in a practical application
ESP-01 Based IR Remote Control Receiver
This circuit consists of an ESP-01 microcontroller connected to an IR receiver. The ESP-01 is configured to receive data from the IR receiver through its GPIO0 pin, and both components share a common ground and power connection. The provided code for the ESP-01 microcontroller is a template with empty setup and loop functions, indicating that the specific functionality for the IR data processing has not been implemented yet.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of IR pilot: A project utilizing IRRECEIVER in a practical application
Arduino UNO IR Remote Control Receiver
This circuit uses an Arduino UNO to receive and decode infrared signals from a VS1838B IR Receiver. The Arduino is programmed to read the IR signals on digital pin D2 and print the decoded IR codes to the serial monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of nagesh: A project utilizing IRRECEIVER in a practical application
Arduino-Based Wireless Power Transmission System with Copper Coils
This circuit consists of multiple copper coils connected to transmitters and a receiver, likely forming a wireless power transfer or communication system. The transmitters are connected to individual coils, and the receiver is connected to another coil, facilitating the transmission and reception of signals or power wirelessly.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of CONTROLING APPLIANCES WITH IR RECIEVER: A project utilizing IRRECEIVER in a practical application
Arduino-Controlled IR Relay Switching System
This circuit consists of an Arduino UNO microcontroller interfaced with three 12V single-channel relays and an IR receiver. The Arduino controls the relays via digital pins D8, D9, and D10, allowing it to switch external circuits connected to the relays. The IR receiver is connected to the Arduino's digital pin D7 and is powered by the 3.3V pin, enabling the Arduino to receive infrared signals for potential remote control applications.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Remote control systems for TVs, audio systems, and set-top boxes
  • Home automation systems
  • Robotics and IR-based communication
  • Proximity sensors and object detection

Technical Specifications

The TSOP85238 is a highly sensitive and reliable IR receiver module. Below are its key technical details:

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 (minimum)
Output Voltage (Low) < 0.2 V
Reception Distance Up to 45 meters (depending on IR LED strength)
Viewing Angle ±45°
Operating Temperature Range -25°C to +85°C
Package Type Epoxy-encapsulated 3-pin package

Pin Configuration and Descriptions

The TSOP85238 has a 3-pin configuration as shown below:

Pin Number Pin Name Description
1 OUT Output pin for demodulated signal
2 GND Ground pin (0 V reference)
3 Vcc Supply voltage pin (2.5 V to 5.5 V)

Usage Instructions

How to Use the TSOP85238 in a Circuit

  1. Power Supply: Connect the Vcc pin to a regulated power supply (2.5 V to 5.5 V). Ensure the supply voltage is stable to avoid erratic behavior.
  2. Ground Connection: Connect the GND pin to the ground of your circuit.
  3. Output Signal: The OUT pin provides the demodulated digital signal. Connect this pin to a microcontroller input pin or other processing circuitry.
  4. Decoupling Capacitor: Place a 100 µF capacitor between Vcc and GND to filter noise and stabilize the power supply.
  5. IR LED Placement: Ensure the IR LED transmitting the signal is aligned with the TSOP85238's viewing angle (±45°).

Important Considerations

  • Avoid exposing the TSOP85238 to direct sunlight or strong ambient light, as this can interfere with its operation.
  • Use a 38 kHz modulated IR signal for optimal performance.
  • Keep the IR receiver away from high-frequency noise sources, such as switching power supplies.

Example: Connecting TSOP85238 to Arduino UNO

Below is an example of how to connect the TSOP85238 to an Arduino UNO and read IR signals:

Circuit Diagram

  • Connect the TSOP85238's Vcc pin to the Arduino's 5V pin.
  • Connect the GND pin to the Arduino's GND.
  • Connect the OUT pin to Arduino digital pin 2.

Arduino Code

#include <IRremote.h> // Include the IRremote library

const int RECV_PIN = 2; // Define the pin connected to the TSOP85238 OUT pin
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 to receive signals.");
}

void loop() {
  if (irrecv.decode(&results)) { // Check if an IR signal is received
    Serial.print("IR Code Received: ");
    Serial.println(results.value, HEX); // Print the received code in HEX format
    irrecv.resume(); // Prepare to receive the next signal
  }
}

Notes:

  • Install the IRremote library in the Arduino IDE before uploading the code.
  • The received IR codes will be displayed in the Serial Monitor.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Signal Detected:

    • Ensure the IR transmitter is emitting a 38 kHz modulated signal.
    • Check the alignment between the IR LED and the TSOP85238.
    • Verify the power supply voltage is within the specified range.
  2. Erratic Behavior:

    • Add a decoupling capacitor (100 µF) between Vcc and GND.
    • Reduce ambient light interference by shielding the TSOP85238.
  3. Short Reception Range:

    • Use a stronger IR LED or reduce the distance between the transmitter and receiver.
    • Ensure the IR LED is properly driven with sufficient current.

FAQs

Q: Can the TSOP85238 detect continuous IR signals?
A: No, the TSOP85238 is designed to detect modulated IR signals at 38 kHz. Continuous signals will not be detected.

Q: What is the maximum distance for reliable operation?
A: The TSOP85238 can detect signals up to 45 meters, depending on the strength of the IR LED and environmental conditions.

Q: Can I use the TSOP85238 with a 3.3 V microcontroller?
A: Yes, the TSOP85238 operates within a supply voltage range of 2.5 V to 5.5 V, making it compatible with 3.3 V systems.

Q: How do I prevent interference from ambient light?
A: Avoid direct sunlight and use the TSOP85238 in a controlled environment. You can also use an IR filter to block unwanted light.

This concludes the documentation for the TSOP85238 IR receiver. For further details, refer to the Vishay datasheet.