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

How to Use Adafruit Infrared IR Remote Transceiver: Examples, Pinouts, and Specs

Image of Adafruit Infrared IR Remote Transceiver
Cirkit Designer LogoDesign with Adafruit Infrared IR Remote Transceiver in Cirkit Designer

Introduction

The Adafruit Infrared IR Remote Transceiver (Part ID: 5990) is a compact module designed for wireless communication using infrared (IR) signals. It enables remote control functionality for a wide range of electronic devices, making it ideal for projects requiring wireless control or data transmission. This module can both transmit and receive IR signals, making it versatile for applications such as remote-controlled robots, home automation systems, and custom remote control designs.

Explore Projects Built with Adafruit Infrared IR Remote Transceiver

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 Adafruit Infrared IR Remote Transceiver 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 Adafruit Infrared IR Remote Transceiver 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 Battery-Powered Universal IR Remote with OLED Display
Image of IR remote: A project utilizing Adafruit Infrared IR Remote Transceiver in a practical application
This circuit is an IR remote control system using an ESP32 microcontroller. It includes an IR receiver and transmitter for capturing and sending IR signals, an OLED display for user interface, and multiple buttons for user input. The system can store and manage multiple remote control codes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Battery-Powered IR-Controlled Motor System with OLED Display
Image of Line Follower: A project utilizing Adafruit Infrared IR Remote Transceiver in a practical application
This circuit is a remote-controlled motor system using an Arduino UNO. It includes an IR transmitter and receiver for remote input, an L293D motor driver to control two motors, and a 5-channel IR sensor for additional input. The system also features an OLED display for visual feedback and LEDs for status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Adafruit Infrared IR Remote Transceiver

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 Adafruit Infrared IR Remote Transceiver 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 Adafruit Infrared IR Remote Transceiver 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 IR remote: A project utilizing Adafruit Infrared IR Remote Transceiver in a practical application
ESP32-Based Battery-Powered Universal IR Remote with OLED Display
This circuit is an IR remote control system using an ESP32 microcontroller. It includes an IR receiver and transmitter for capturing and sending IR signals, an OLED display for user interface, and multiple buttons for user input. The system can store and manage multiple remote control codes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Line Follower: A project utilizing Adafruit Infrared IR Remote Transceiver in a practical application
Arduino UNO-Based Battery-Powered IR-Controlled Motor System with OLED Display
This circuit is a remote-controlled motor system using an Arduino UNO. It includes an IR transmitter and receiver for remote input, an L293D motor driver to control two motors, and a 5-channel IR sensor for additional input. The system also features an OLED display for visual feedback and LEDs for status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Remote control for electronic devices
  • Wireless communication between devices
  • Home automation systems
  • IR-based data transmission
  • Robotics and IoT projects

Technical Specifications

The Adafruit Infrared IR Remote Transceiver is designed to be easy to integrate into various projects. Below are its key technical details:

Key Specifications

Parameter Value
Operating Voltage 3.3V to 5V
Operating Current ~1.5mA (receiving mode)
IR Wavelength 940 nm
Transmission Range Up to 10 meters (line of sight)
Modulation Frequency 38 kHz
Dimensions 20mm x 15mm x 5mm

Pin Configuration

The module has a simple 3-pin interface for easy connection to microcontrollers or other circuits. Below is the pinout description:

Pin Name Description
VCC Power supply input (3.3V to 5V)
GND Ground
OUT Signal output (receives IR signals or sends
modulated IR signals when transmitting)

Usage Instructions

The Adafruit Infrared IR Remote Transceiver can be used in both transmitting and receiving modes. Below are the steps and best practices for integrating it into your project.

Connecting the Module

  1. Power the Module: Connect the VCC pin to a 3.3V or 5V power source and the GND pin to ground.
  2. Signal Pin: Connect the OUT pin to a digital I/O pin on your microcontroller (e.g., Arduino UNO).

Using with Arduino UNO

The module is compatible with Arduino and can be used with the popular IRremote library. Follow these steps to set up the module for receiving and transmitting IR signals:

Receiving IR Signals

  1. Install the IRremote library in the Arduino IDE:
    • Go to Sketch > Include Library > Manage Libraries.
    • Search for "IRremote" and install it.
  2. Connect the module to the Arduino UNO:
    • VCC to 5V
    • GND to GND
    • OUT to digital pin 11 (default pin for IRremote library).
  3. Use the following code to receive and decode IR signals:
#include <IRremote.h>

// Define the pin connected to the IR module's OUT pin
const int RECV_PIN = 11;

// Create an IR receiver object
IRrecv irrecv(RECV_PIN);
decode_results results;

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)) {
    // Print the received IR code in hexadecimal format
    Serial.print("Received IR code: 0x");
    Serial.println(results.value, HEX);
    irrecv.resume(); // Prepare to receive the next signal
  }
}

Transmitting IR Signals

  1. Connect the module to the Arduino UNO as described above.
  2. Use the following code to send IR signals:
#include <IRremote.h>

// Define the pin connected to the IR module's OUT pin
const int IR_SEND_PIN = 3;

void setup() {
  IrSender.begin(IR_SEND_PIN); // Initialize the IR transmitter
  Serial.begin(9600); // Initialize serial communication
  Serial.println("IR Transmitter is ready");
}

void loop() {
  // Send an example IR signal (NEC protocol, 32-bit code)
  Serial.println("Sending IR signal...");
  IrSender.sendNEC(0x10EFD827, 32); // Replace with your desired IR code
  delay(2000); // Wait 2 seconds before sending again
}

Best Practices

  • Ensure the module has a clear line of sight to the target device for optimal performance.
  • Avoid placing the module near strong light sources, as they may interfere with IR signals.
  • Use appropriate resistors or capacitors if needed to stabilize the power supply.

Troubleshooting and FAQs

Common Issues

  1. No IR Signal Detected:

    • Ensure the module is properly connected to the microcontroller.
    • Verify that the IRremote library is installed and configured correctly.
    • Check for obstructions between the module and the IR source.
  2. Short Transmission Range:

    • Ensure the module is powered with the correct voltage (3.3V to 5V).
    • Verify that the IR LED is functioning properly.
  3. Interference from Ambient Light:

    • Avoid using the module in direct sunlight or near strong artificial light sources.
    • Use shielding or reposition the module to reduce interference.

FAQs

Q: Can this module be used with a Raspberry Pi?
A: Yes, the module can be used with a Raspberry Pi. However, you may need to use additional libraries such as lirc for IR communication.

Q: What is the maximum range of the module?
A: The module has a maximum range of up to 10 meters, provided there is a clear line of sight.

Q: Can I use this module to control my TV or other appliances?
A: Yes, the module can be programmed to send IR codes compatible with most TVs and appliances. You will need to know the specific IR codes for your device.

Q: Does the module support protocols other than NEC?
A: Yes, the IRremote library supports multiple protocols, including Sony, RC5, and more.

By following this documentation, you can effectively integrate the Adafruit Infrared IR Remote Transceiver into your projects for reliable wireless communication.