

QTR-8RC Reflectance Sensor Array
This sensor module has 8 IR LED/phototransistor pairs mounted on a 0.375" pitch, making it a great detector for a line-following robot. Pairs of LEDs are arranged in series to halve current consumption, and a MOSFET allows the LEDs to be turned off for additional sensing or power-savings options. Each sensor provides a separate digital I/O-measurable output.
Note: The QTR-8RC reflectance sensor array requires digital I/O lines to take readings. The similar QTR-8A reflectance sensor array is available with analog outputs, and the reflectance sensor is available individually as a QTR-1RC reflectance sensor or QTR-1A reflectance sensor.
![]() |
The QTR-8RC reflectance sensor array is intended as a line sensor, but it can be used as a general-purpose proximity or reflectance sensor. The module is a convenient carrier for eight IR emitter and receiver (phototransistor) pairs evenly spaced at intervals of 0.375" (9.525 mm). Each phototransistor uses a capacitor discharge circuit that allows a digital I/O line on a microcontroller to take an analog reading of reflected IR by measuring the discharge time of the capacitor. Shorter capacitor discharge time is an indication of greater reflection.
The outputs are all independent, but the LEDs are arranged in pairs to halve current consumption. The LEDs are controlled by a MOSFET with a gate normally pulled high, allowing the LEDs to be turned off by setting the MOSFET gate to a low voltage. Turning the LEDs off might be advantageous for limiting power consumption when the sensors are not in use or for varying the effective brightness of the LEDs through PWM control.
The LED current-limiting resistors for 5 V operation are arranged in two stages; this allows a simple bypass of one stage to enable operation at 3.3 V. The LED current is approximately 20-25 mA, making the total board consumption just under 100 mA. The schematic diagram of the module is shown below:
![]() |
![]() |
QTR-1RC output (yellow) when 1/8" above a black line and microcontroller timing of that output (blue). |
---|
Like the Parallax QTI, the QTR-8RC module has eight identical sensor outputs that require a digital I/O line capable of first charging the output capacitor (by driving the line high) and then measuring the time for the capacitor to discharge through the phototransistor. This measurement approach has several advantages, especially when coupled with the ability of the QTR-8RC module to turn off LED power:
The typical sequence for reading a sensor is:
These steps can typically be executed in parallel on multiple I/O lines.
With a strong reflectance, the discharge time can be as low as several dozen microseconds; with no reflectance, the discharge time can be up to a few milliseconds. The exact time of the discharge depends on your microcontroller’s I/O line characteristics. Meaningful results can be available within 1 ms in typical cases (i.e. when not trying to measure subtle differences in low-reflectance scenarios), allowing up to 1 kHz sampling of all 8 sensors. If lower-frequency sampling is sufficient, substantial power savings can be realized by turning off the LEDs. For example, if a 100 Hz sampling rate is acceptable, the LEDs can be off 90% of the time, lowering average current consumption from 100 mA to 10 mA.
Our Pololu AVR library provides functions that make it easy to use these sensors with our Orangutan robot controllers and other AVR-based controller boards such as Arduinos. Please see section 11 of our library command reference for more information.
If you don’t need or cannot fit all eight sensors, you can break off two sensors and still use all 8 sensors as two separate modules, as shown below. The PCB can be scored from both sides along the perforation and then bent until it snaps apart. Each of the two resulting pieces will function as an independent line sensor.
![]() |
This module ships with a 25-pin 0.1" header strip and a 100 Ohm through-hole resistor as shown below.
![]() |
You can break the header strip into smaller pieces and solder them onto your reflectance sensor array as desired, or you can solder wires directly to the unit or use a right-angle header strip for a more compact installation. The pins on the module are arranged so that they can all be accessed using either an 11×1 strip or an 8×2 strip.
The resistor is required to make the two-sensor array functional after the original eight-sensor array is broken into two pieces. This resistor is only needed once the board has been broken.
![]() |
Solder the included resistor to the 2-sensor array piece as shown to make the separated piece functional. |
---|
![]() |
Pololu Ball Caster with 3/8" Metal Ball |
![]() |
QTR-1RC Reflectance Sensor |
![]() |
Pololu Carrier with Sharp GP2Y0D810Z0F Digital Distance Sensor 10cm |
Data sheet
Manufacturer BTC Korporacja sp. z o. o. Lwowska 5 05-120 Legionowo Poland sprzedaz@kamami.pl 22 767 36 20
Responsible person BTC Korporacja sp. z o. o. Lwowska 5 05-120 Legionowo Poland sprzedaz@kamami.pl 22 767 36 20
Module with 11 QTRX type optocoupler with RC (digital) output. The module operates from 2.9 V to 5.5 V, detects objects at a distance of up to 40 mm. The sensor will be used in projects that require detection of changes in the ground, e.g. in linefollower robots. Pololu 4311
Module with 3 QTR type optocoupler with RC (digital) output. The module operates from 2.9 V to 5.5 V, detects objects at a distance of up to 30 mm. The sensor will be used in projects that require detection of changes in the ground, e.g. in linefollower robots. Pololu 4143
Module with 25 QTRX type optocoupler with analog output. The module operates from 2.9 V to 5.5 V, detects objects at a distance of up to 50 mm. The sensor will be used in projects that require detection of changes in the ground, e.g. in linefollower robots. Pololu 4425
No product available!
A module with line sensors designed to work with the Kitronik kit. It has two sensors in the form of phototransistors that generate an analog voltage that can be read by the microcontroller. The module is equipped with a 4-pin connector (3V, 0V, L, R), which allows for power supply and reception of signals from the sensors, and the output voltage changes depending on the detected surface, which allows it to be used not only with the Kitronik kit, but also with platforms such as Arduino or Raspberry Pi Pico. Kitronik 56111
Module with 2 QTR type optocoupler with analog output. The module operates from 2.9 V to 5.5 V, detects objects at a distance of up to 30 mm. The sensor will be used in projects that require detection of changes in the ground, e.g. in linefollower robots. Pololu 4202
Module with 1 QTRX type optocoupler with RC (digital) output. The module operates from 2.9 V to 5.5 V, detects objects at a distance of up to 30 mm. The sensor will be used in projects that require detection of changes in the ground, e.g. in linefollower robots. Pololu 4301
Module with 1 QTR type optocoupler with analog output. The module operates from 2.9 V to 5.5 V, detects objects at a distance of up to 30 mm. The sensor will be used in projects that require detection of changes in the ground, e.g. in linefollower robots. Pololu 4241
QTR-1A Reflectance Sensor (2-Pack)
QTR-3A Reflectance Sensor Array
Module with 8 QTRX type optocoupler with RC (digital) output. The module operates from 2.9 V to 5.5 V, detects objects at a distance of up to 40 mm. The sensor will be used in projects that require detection of changes in the ground, e.g. in linefollower robots. Pololu 4348
Module with 2 QTRX type optocoupler with analog output. The module operates from 2.9 V to 5.5 V, detects objects at a distance of up to 30 mm. The sensor will be used in projects that require detection of changes in the ground, e.g. in linefollower robots. Pololu 4402
Module with five reflection sensors. It has digital and analogue outputs. Thanks to the embedded EEPROM memory, it enables easy sensor calibration. Cytron Maker Line
No product available!
No product available!
Module with 5 QTRX type optocoupler with RC (digital) output. The module operates from 2.9 V to 5.5 V, detects objects at a distance of up to 40 mm. The sensor will be used in projects that require detection of changes in the ground, e.g. in linefollower robots. Pololu 4345
Module with 1 QTR type optocoupler with analog output. The module operates from 2.9 V to 5.5 V, detects objects at a distance of up to 30 mm. The sensor will be used in projects that require detection of changes in the ground, e.g. in linefollower robots. Pololu 4201
QTR-8RC Reflectance Sensor Array