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

How to Use IR Receiver: Examples, Pinouts, and Specs

Image of IR Receiver
Cirkit Designer LogoDesign with IR Receiver in Cirkit Designer

Introduction

The IR Receiver (Manufacturer: DFRobot, Part ID: UNO) is a device designed to detect infrared (IR) signals, commonly used in remote control applications. It converts incoming IR light signals into electrical signals, which can then be processed by microcontrollers or other electronic circuits. This component is ideal for applications such as remote-controlled devices, home automation systems, and IR communication.

Explore Projects Built with IR Receiver

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO IR Remote Control Receiver
Image of IR pilot: A project utilizing IR Receiver 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 UNO IR Remote-Controlled LCD Display
Image of IR pilot - LCD1602: A project utilizing IR Receiver in a practical application
This circuit uses an Arduino UNO to receive infrared signals from an IR remote control via a VS1838B IR receiver and displays the received IR codes on a 16x2 I2C LCD screen. The Arduino processes the IR signals and updates the LCD with the corresponding IR code in real-time.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based RF Communication System with 433 MHz Modules
Image of 433 mhz: A project utilizing IR Receiver in a practical application
This circuit comprises an ESP32 microcontroller connected to a 433 MHz RF transmitter and receiver pair. The ESP32 is programmed to receive and decode RF signals through the receiver module, as well as send RF signals via the transmitter module. Additionally, the ESP32 can communicate with a Bluetooth device to exchange commands and data, and it uses an LED for status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP-01 Based IR Remote Control Receiver
Image of Stock: A project utilizing IR Receiver 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

Explore Projects Built with IR Receiver

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 IR pilot: A project utilizing IR Receiver 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 IR pilot - LCD1602: A project utilizing IR Receiver in a practical application
Arduino UNO IR Remote-Controlled LCD Display
This circuit uses an Arduino UNO to receive infrared signals from an IR remote control via a VS1838B IR receiver and displays the received IR codes on a 16x2 I2C LCD screen. The Arduino processes the IR signals and updates the LCD with the corresponding IR code in real-time.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of 433 mhz: A project utilizing IR Receiver in a practical application
ESP32-Based RF Communication System with 433 MHz Modules
This circuit comprises an ESP32 microcontroller connected to a 433 MHz RF transmitter and receiver pair. The ESP32 is programmed to receive and decode RF signals through the receiver module, as well as send RF signals via the transmitter module. Additionally, the ESP32 can communicate with a Bluetooth device to exchange commands and data, and it uses an LED for status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Stock: A project utilizing IR Receiver 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

Common Applications and Use Cases

  • Remote control systems (e.g., TVs, air conditioners, and media players)
  • Home automation and IoT devices
  • Wireless data transmission
  • Robotics and hobbyist projects
  • Proximity and object detection systems

Technical Specifications

The following table outlines the key technical details of the DFRobot IR Receiver (Part ID: UNO):

Parameter Value
Operating Voltage 2.7V to 5.5V
Operating Current 0.4mA to 1.5mA
Carrier Frequency 38 kHz
Reception Distance Up to 10 meters (depending on IR source)
Reception Angle ±45°
Output Signal Digital (active low)
Response Time 400 µs (typical)
Dimensions 7.5mm x 5.8mm x 3.1mm

Pin Configuration and Descriptions

The IR Receiver typically has three pins. The table below describes each pin:

Pin Name Description
1 VCC Power supply pin (2.7V to 5.5V)
2 GND Ground connection
3 OUT Digital output pin (active low when IR signal is detected)

Usage Instructions

How to Use the IR Receiver in a Circuit

  1. Connect the Pins:

    • Connect the VCC pin to a 3.3V or 5V power supply (depending on your microcontroller).
    • Connect the GND pin to the ground of your circuit.
    • Connect the OUT pin to a digital input pin on your microcontroller.
  2. Add a Pull-Up Resistor:

    • It is recommended to use a pull-up resistor (e.g., 10kΩ) on the OUT pin to ensure stable signal output.
  3. Positioning:

    • Ensure the IR Receiver is aligned with the IR transmitter for optimal signal reception.
    • Avoid placing the receiver in direct sunlight or near strong light sources, as this can interfere with IR detection.
  4. Test the Circuit:

    • Use an IR remote control to send signals to the receiver. The OUT pin will go low when a signal is detected.

Example: Connecting to an Arduino UNO

Below is an example of how to use the IR Receiver with an Arduino UNO to decode IR signals from a remote control.

Circuit Diagram

  • VCC → 5V on Arduino
  • GND → GND on Arduino
  • OUT → Digital Pin 11 on Arduino

Arduino Code

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

const int RECV_PIN = 11; // Define the pin connected to the IR Receiver
IRrecv irrecv(RECV_PIN); // Create an IRrecv object
decode_results results;  // Create a variable to store decoded results

void setup() {
  Serial.begin(9600); // Initialize serial communication
  irrecv.enableIRIn(); // Start the IR receiver
  Serial.println("IR Receiver is ready to decode signals.");
}

void loop() {
  if (irrecv.decode(&results)) { // Check if a 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
  }
}

Important Considerations and Best Practices

  • Power Supply: Ensure a stable power supply to avoid signal distortion.
  • Interference: Minimize interference from ambient light or other IR sources.
  • Distance and Angle: Keep the IR transmitter within the specified distance (up to 10 meters) and angle (±45°) for reliable operation.
  • Library Compatibility: Use the latest version of the IRremote library for Arduino to ensure compatibility.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Signal Detected:

    • Ensure the IR Receiver is properly connected to the circuit.
    • Verify that the IR transmitter is functional and within range.
    • Check for interference from ambient light or other IR sources.
  2. Unstable or Incorrect Output:

    • Add a pull-up resistor to the OUT pin if not already included.
    • Ensure the power supply voltage is within the specified range (2.7V to 5.5V).
  3. Short Reception Distance:

    • Check the alignment between the IR transmitter and receiver.
    • Replace the IR transmitter if its output is weak.
  4. Arduino Code Not Working:

    • Verify that the correct pin is defined in the code (RECV_PIN).
    • Ensure the IRremote library is installed and up to date.

FAQs

Q1: Can the IR Receiver detect signals from any remote control?
A1: The IR Receiver is designed to detect signals modulated at 38 kHz, which is the standard for most remote controls. However, compatibility may vary depending on the remote's protocol.

Q2: Can I use the IR Receiver outdoors?
A2: While it is possible, direct sunlight or strong ambient light may interfere with the IR Receiver's performance. Use it in shaded or indoor environments for best results.

Q3: What is the maximum data rate supported by the IR Receiver?
A3: The IR Receiver typically supports data rates up to 500 bits per second, depending on the protocol and signal quality.

Q4: Can I use multiple IR Receivers in the same circuit?
A4: Yes, but ensure each receiver is positioned to avoid interference from other IR sources.

By following this documentation, you can effectively integrate the DFRobot IR Receiver (Part ID: UNO) into your projects for reliable IR signal detection and processing.