

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.








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 | 
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) | 
VCC pin to a 3.3V or 5V power source and the GND pin to ground.OUT1, OUT2, and OUT3 pins to the digital input pins of your microcontroller or logic circuit.EN pin is used, connect it to a HIGH signal to enable the sensor. Leave it unconnected or LOW to disable the module.Below is an example of how to connect and use the 3 Channel IR Sensor with an Arduino UNO:
VCC to the Arduino's 5V pin.GND to the Arduino's GND pin.OUT1, OUT2, and OUT3 to Arduino digital pins 2, 3, and 4, respectively.// 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);
}
Sensor Not Detecting Objects
VCC and GND pins are properly connected and the power supply is within the specified range.False Detections
No Output Signal
OUT pins and ensure the EN pin is HIGH (if used).Inconsistent Readings
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.