Skip to Content

Line Follower 8-channel Infrared Tracking Detection Sensor QTR-8RC Red

The QTR-8RC Reflectance Sensor Array is a high-precision 8-channel IR sensor module ideal for line-following robots, edge detection, and other IR-based reflectance projects. It features 8 IR emitter and phototransistor pairs spaced at 0.375" intervals. Each sensor provides an independent digital I/O-compatible output signal, and its design allows low power consumption while enabling analog-like readings via RC discharge timing.

Package Includes:

  • 1 x QTR-8RC Reflectance Sensor Array Module

51.45 AED 51.45 AED Tax Included
51.45 AED Tax Included

Not Available For Sale

This combination does not exist.

Line Follower Sensor Module

Terms and Conditions
30-day money-back guarantee
Shipping: 2-3 Business Days

 

Functional Description:

  • Each sensor uses a capacitor discharge circuit for reading reflectance values.
  • Shorter discharge time indicates higher reflectivity (white surface).
  • LEDs can be turned off using a MOSFET gate pin to save power or adjust brightness.
  • Pairs of emitters are grouped to reduce current draw.
  • Can also operate at 3.3V by bypassing one of the two current-limiting stages.

Specifications:

Parameter Value
Operating Voltage 3.3V – 5.0V
Supply Current Approx. 100 mA
Output Format Digital I/O Compatible (via timing)
Optimal Sensing Distance 0.125" (3 mm)
Max Recommended Distance 0.375" (9.5 mm)
Module Dimensions 2.95" x 0.5" x 0.125"
Weight 3.09 g (without headers)

Pin Functions:

  • Sensor Outputs: Each channel has an individual signal output to a digital input on your MCU.
  • CTRL / LEDON: Connect to a digital output to enable or disable emitters (optional).

Typical Applications:

  • Line Following Robots
  • Edge Detection
  • Surface Reflectance Sensing

Arduino Wiring Example:

The following code uses digital pins 3 to 10 for the 8 sensor inputs, and pin 2 to control the LED emitters. The QTRSensors library is used to manage the reflectance readings and line position estimation.

Sample Code:

#include 

QTRSensors qtr;
const uint8_t SensorCount = 8;
uint16_t sensorValues[SensorCount];

void setup() {
  qtr.setTypeRC();
  qtr.setSensorPins((const uint8_t[]){3, 4, 5, 6, 7, 8, 9, 10}, SensorCount);
  qtr.setEmitterPin(2);

  delay(500);
  pinMode(LED_BUILTIN, OUTPUT);
  digitalWrite(LED_BUILTIN, HIGH); // LED ON: Calibration mode

  // Calibrate over 10 seconds
  for (uint16_t i = 0; i < 400; i++) {
    qtr.calibrate();
  }
  digitalWrite(LED_BUILTIN, LOW); // LED OFF: Calibration complete

  Serial.begin(9600);

  // Print min and max calibration values
  for (uint8_t i = 0; i < SensorCount; i++) {
    Serial.print(qtr.calibrationOn.minimum[i]);
    Serial.print(' ');
  }
  Serial.println();
  for (uint8_t i = 0; i < SensorCount; i++) {
    Serial.print(qtr.calibrationOn.maximum[i]);
    Serial.print(' ');
  }
  Serial.println();
  delay(1000);
}

void loop() {
  // Read reflectance sensor values and calculate line position
  uint16_t position = qtr.readLineBlack(sensorValues);

  for (uint8_t i = 0; i < SensorCount; i++) {
    Serial.print(sensorValues[i]);
    Serial.print('\t');
  }
  Serial.println(position);
  delay(250);
}

How It Works:

  • Each sensor pair emits IR light and measures the reflected light intensity from the surface.
  • White surfaces reflect more IR and result in a faster capacitor discharge (lower time = higher reading).
  • Black surfaces absorb IR, producing slower discharge times (lower readings).

 

Resources:

 

Features

  • LoRa SX1276 Wireless Module: Built around the SX1276 chip, the module employs LoRa technology, allowing for long-range data transmission and excellent penetration capabilities.
  • Configurable Output Power: The module's output power can be adjusted from +13 to +20 dBm (up to 100 mW) through software settings, providing flexibility in balancing communication distance and power consumption.
  • Low Power Consumption: During transmission, power consumption ranges from 50mA (+13 dBm) to 150mA (+20dBm), while in listening mode, it requires approximately 30mA, making it energy-efficient for battery-operated applications.
  • AES-128 Encryption Support: The module offers AES-128 encryption, ensuring secure and private data transmission, making it suitable for applications that require data confidentiality.
  • Multipoint Network Capabilities: It supports multipoint networks, allowing the establishment of individual nodes within the network for seamless and efficient communication.
  • Wide Power Supply Range: The module can be powered with a voltage range from 3V to 5V, making it compatible with various power sources and microcontrollers.

NOTE: It is important to solder a 16cm length of cable to the antenna pin before using it since not connecting any antenna can damage it. Optionally, the board has pads to solder an SMA connector with antenna thread.

Specifications

  • LoRa SX1276 wireless module with SPI interface (900 MHz)
  • Output power: +13 to +20 dBm up to 100 mW configurable by software
  • Consumption: 50mA (+13 dBm) to 150mA (+20dBm) in transmission, approx 30mA in listening
  • Supports AES-128 encryption
  • Supports multipoint networks with individual nodes
  • Power: 3 to 5V