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

How to Use 3 channel IR sensor: Examples, Pinouts, and Specs

Image of 3 channel IR sensor
Cirkit Designer LogoDesign with 3 channel IR sensor in Cirkit Designer

Introduction

The 3 Channel IR Sensor by Funduino is a versatile infrared sensor module designed to detect infrared light reflected from objects. It features three independent IR emitter-receiver pairs, enabling it to sense objects or motion in multiple directions simultaneously. This makes it ideal for applications such as line-following robots, obstacle detection, and proximity sensing.

Explore Projects Built with 3 channel IR sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
NodeMCU ESP8266 with Multiple IR Sensors and LDR-Controlled LEDs
Image of project: A project utilizing 3 channel IR sensor in a practical application
This circuit uses a NodeMCU V3 ESP8266 to monitor signals from three IR sensors and ambient light levels via a photocell. It provides visual feedback using three green LEDs, which are controlled based on the inputs from the IR sensors and the photocell.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano-Based 5-Channel IR Sensor System for Object Detection
Image of line follwer: A project utilizing 3 channel IR sensor in a practical application
This circuit consists of a 5-channel IR sensor connected to an Arduino Nano. The Arduino Nano reads the sensor data from the IR sensor's five channels (S1 to S5) and is powered by the 5V and GND pins of the Arduino. The setup is likely intended for applications such as line-following robots or proximity sensing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered IR Sensor Controlled Relay Module
Image of New: A project utilizing 3 channel IR sensor in a practical application
This circuit uses an IR sensor to control a 1 Channel 5V Relay Module, which is powered by a 9V battery. The IR sensor detects an object and sends a signal to the relay module to switch its state, enabling or disabling the connected load.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Multi-IR Sensor Detection System
Image of parksol: A project utilizing 3 channel IR sensor in a practical application
This circuit consists of an Arduino UNO connected to four IR sensors. The Arduino UNO provides power to the IR sensors and reads their output signals on digital pins D3, D6, D9, and D12, allowing it to detect the presence of objects in front of each sensor.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with 3 channel IR sensor

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 project: A project utilizing 3 channel IR sensor in a practical application
NodeMCU ESP8266 with Multiple IR Sensors and LDR-Controlled LEDs
This circuit uses a NodeMCU V3 ESP8266 to monitor signals from three IR sensors and ambient light levels via a photocell. It provides visual feedback using three green LEDs, which are controlled based on the inputs from the IR sensors and the photocell.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of line follwer: A project utilizing 3 channel IR sensor in a practical application
Arduino Nano-Based 5-Channel IR Sensor System for Object Detection
This circuit consists of a 5-channel IR sensor connected to an Arduino Nano. The Arduino Nano reads the sensor data from the IR sensor's five channels (S1 to S5) and is powered by the 5V and GND pins of the Arduino. The setup is likely intended for applications such as line-following robots or proximity sensing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of New: A project utilizing 3 channel IR sensor in a practical application
Battery-Powered IR Sensor Controlled Relay Module
This circuit uses an IR sensor to control a 1 Channel 5V Relay Module, which is powered by a 9V battery. The IR sensor detects an object and sends a signal to the relay module to switch its state, enabling or disabling the connected load.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of parksol: A project utilizing 3 channel IR sensor in a practical application
Arduino UNO-Based Multi-IR Sensor Detection System
This circuit consists of an Arduino UNO connected to four IR sensors. The Arduino UNO provides power to the IR sensors and reads their output signals on digital pins D3, D6, D9, and D12, allowing it to detect the presence of objects in front of each sensor.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Line-following robots
  • Obstacle detection in robotics
  • Proximity sensing for automation
  • Edge detection for autonomous vehicles
  • Motion detection in security systems

Technical Specifications

The following table outlines the key technical details of the 3 Channel IR Sensor:

Parameter Value
Operating Voltage 3.3V - 5V
Operating Current ~20mA
Detection Range 2cm - 30cm (adjustable via potentiometer)
Output Type Digital (High/Low)
Sensor Channels 3 (independent)
Dimensions 50mm x 20mm x 10mm

Pin Configuration and Descriptions

The 3 Channel IR Sensor has a total of 6 pins. The table below describes each pin:

Pin Name Description
1 VCC Power supply input (3.3V - 5V)
2 GND Ground connection
3 OUT1 Digital output for Channel 1 (High when object detected, Low otherwise)
4 OUT2 Digital output for Channel 2 (High when object detected, Low otherwise)
5 OUT3 Digital output for Channel 3 (High when object detected, Low otherwise)
6 EN Enable pin (optional, used to enable/disable the sensor module)

Usage Instructions

How to Use the Component in a Circuit

  1. Power the Sensor: Connect the VCC pin to a 3.3V or 5V power source and the GND pin to ground.
  2. Connect Outputs: Connect the OUT1, OUT2, and OUT3 pins to the digital input pins of your microcontroller or logic circuit.
  3. Adjust Sensitivity: Use the onboard potentiometers to adjust the detection range for each channel.
  4. Enable the Sensor: If the EN pin is used, connect it to a HIGH signal to enable the sensor. Leave it unconnected or LOW to disable the module.

Important Considerations and Best Practices

  • Avoid Ambient IR Interference: Ensure the sensor is not exposed to strong ambient IR sources (e.g., sunlight) as this may affect accuracy.
  • Mounting Distance: Maintain a proper distance between the sensor and the surface to avoid false detections.
  • Power Supply Stability: Use a stable power supply to ensure consistent performance.
  • Testing Before Deployment: Test the sensor in the actual environment to fine-tune the potentiometers for optimal performance.

Example: Connecting to an Arduino UNO

Below is an example of how to connect and use the 3 Channel IR Sensor with an Arduino UNO:

Circuit Connections

  • Connect VCC to the Arduino's 5V pin.
  • Connect GND to the Arduino's GND pin.
  • Connect OUT1, OUT2, and OUT3 to Arduino digital pins 2, 3, and 4, respectively.

Arduino Code

// Define the pins for the 3 Channel IR Sensor
const int sensor1Pin = 2; // Channel 1 output connected to digital pin 2
const int sensor2Pin = 3; // Channel 2 output connected to digital pin 3
const int sensor3Pin = 4; // Channel 3 output connected to digital pin 4

void setup() {
  // Initialize serial communication for debugging
  Serial.begin(9600);

  // Set sensor pins as inputs
  pinMode(sensor1Pin, INPUT);
  pinMode(sensor2Pin, INPUT);
  pinMode(sensor3Pin, INPUT);
}

void loop() {
  // Read the sensor outputs
  int sensor1State = digitalRead(sensor1Pin);
  int sensor2State = digitalRead(sensor2Pin);
  int sensor3State = digitalRead(sensor3Pin);

  // Print the sensor states to the Serial Monitor
  Serial.print("Sensor 1: ");
  Serial.print(sensor1State);
  Serial.print(" | Sensor 2: ");
  Serial.print(sensor2State);
  Serial.print(" | Sensor 3: ");
  Serial.println(sensor3State);

  // Add a small delay for stability
  delay(100);
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Sensor Not Detecting Objects

    • Cause: Incorrect power supply or loose connections.
    • Solution: Verify that the VCC and GND pins are properly connected and the power supply is within the specified range.
  2. False Detections

    • Cause: Ambient IR interference or incorrect sensitivity settings.
    • Solution: Adjust the potentiometers to fine-tune the detection range and avoid strong IR sources.
  3. No Output Signal

    • Cause: Faulty wiring or disabled sensor.
    • Solution: Check the connections to the OUT pins and ensure the EN pin is HIGH (if used).
  4. Inconsistent Readings

    • Cause: Unstable power supply or reflective surfaces.
    • Solution: Use a stable power source and test the sensor on different surfaces.

FAQs

Q: Can the sensor detect transparent objects?
A: The sensor may struggle to detect transparent objects as they reflect minimal IR light. Use opaque or reflective surfaces for best results.

Q: How do I increase the detection range?
A: Adjust the onboard potentiometers to increase the sensitivity and detection range.

Q: Can I use this sensor with a 3.3V microcontroller?
A: Yes, the sensor operates within a voltage range of 3.3V to 5V, making it compatible with 3.3V microcontrollers like the ESP32.

Q: What is the purpose of the EN pin?
A: The EN pin allows you to enable or disable the sensor module programmatically. If not used, the sensor remains enabled by default.