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

How to Use Grove Infrared Receiver: Examples, Pinouts, and Specs

Image of Grove Infrared Receiver
Cirkit Designer LogoDesign with Grove Infrared Receiver in Cirkit Designer

Introduction

The Grove Infrared Receiver by Seeed Studio is a compact and reliable sensor designed to detect infrared (IR) signals. It is commonly used in remote control applications, where it receives modulated infrared light and converts it into an electrical signal for further processing. This component is ideal for projects involving remote-controlled devices, home automation, and IR communication systems.

Explore Projects Built with Grove Infrared 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 Grove Infrared 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 Grove Infrared 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
ESP-01 Based IR Remote Control Receiver
Image of Stock: A project utilizing Grove Infrared 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
Battery-Powered Robotic System with Raspberry Pi Pico and Motor Driver
Image of Sumobot Schematic: A project utilizing Grove Infrared Receiver in a practical application
This circuit is a sensor and motor control system powered by a 3.7V LiPo battery, regulated to power various components including a Raspberry Pi Pico microcontroller. The system includes light sensors, an IR receiver, and an RF receiver to gather input, and uses a motor driver to control two DC motors based on the sensor inputs.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Grove Infrared 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 Grove Infrared 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 Grove Infrared 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 Stock: A project utilizing Grove Infrared 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
Image of Sumobot Schematic: A project utilizing Grove Infrared Receiver in a practical application
Battery-Powered Robotic System with Raspberry Pi Pico and Motor Driver
This circuit is a sensor and motor control system powered by a 3.7V LiPo battery, regulated to power various components including a Raspberry Pi Pico microcontroller. The system includes light sensors, an IR receiver, and an RF receiver to gather input, and uses a motor driver to control two DC motors based on the sensor inputs.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Remote control signal reception
  • Home automation systems
  • IR-based communication between devices
  • Consumer electronics (e.g., TVs, air conditioners)
  • Robotics and IoT projects

Technical Specifications

The following table outlines the key technical details of the Grove Infrared Receiver:

Parameter Value
Manufacturer Seeed Studio
Part ID Grove Infrared Receiver
Operating Voltage 3.3V to 5V
Current Consumption 0.4mA (typical)
Carrier Frequency 38kHz
Reception Distance Up to 10 meters (depending on IR source)
Interface Type Digital (1-wire signal output)
Dimensions 20mm x 20mm
Operating Temperature -25°C to +85°C

Pin Configuration

The Grove Infrared Receiver uses a standard 4-pin Grove connector. The pin configuration is as follows:

Pin Name Description
1 Signal Digital output signal (IR data)
2 VCC Power supply (3.3V to 5V)
3 GND Ground
4 NC (Not Connected) Not used

Usage Instructions

Connecting the Grove Infrared Receiver

  1. Hardware Setup:

    • Connect the Grove Infrared Receiver to a Grove Base Shield or directly to an Arduino UNO using a Grove cable.
    • Ensure the Signal pin is connected to a digital input pin on the microcontroller.
    • Provide a power supply of 3.3V or 5V to the VCC pin and connect the GND pin to the ground.
  2. Software Setup:

    • Use an IR library (e.g., IRremote for Arduino) to decode the received IR signals.
    • Install the library in your Arduino IDE by navigating to Sketch > Include Library > Manage Libraries, then search for and install IRremote.

Sample Arduino Code

Below is an example of how to use the Grove Infrared Receiver with an Arduino UNO to decode IR signals:

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

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

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

Important Considerations

  • Ensure the IR source (e.g., remote control) operates at a carrier frequency of 38kHz for optimal performance.
  • Avoid exposing the sensor to direct sunlight or strong ambient light, as this may interfere with IR signal reception.
  • Maintain a clear line of sight between the IR source and the receiver for reliable operation.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Signal Detected:

    • Verify the wiring connections, ensuring the Signal, VCC, and GND pins are correctly connected.
    • Check if the IR source is functioning and emitting signals at 38kHz.
  2. Unstable or Incorrect Signal Output:

    • Reduce ambient light interference by shielding the sensor from direct sunlight or fluorescent lights.
    • Ensure the IR source is within the specified reception distance (up to 10 meters).
  3. Arduino Code Not Working:

    • Confirm that the IRremote library is installed and properly included in the sketch.
    • Ensure the correct digital pin is defined in the code (RECV_PIN).

FAQs

Q: Can the Grove Infrared Receiver work with microcontrollers other than Arduino?
A: Yes, the receiver can work with other microcontrollers (e.g., Raspberry Pi, ESP32) as long as they support digital input and IR decoding.

Q: What is the maximum range of the Grove Infrared Receiver?
A: The maximum range is up to 10 meters, depending on the strength of the IR source and environmental conditions.

Q: Can this sensor transmit IR signals?
A: No, the Grove Infrared Receiver is designed only to receive IR signals. For transmission, you would need an IR emitter module.

Q: How do I know if the sensor is receiving signals?
A: Use the provided Arduino code to monitor the received IR codes via the Serial Monitor. If no codes are displayed, check the wiring and IR source.

By following this documentation, you can effectively integrate the Grove Infrared Receiver into your projects and troubleshoot any issues that arise.