> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

# QTR-8A Reflectance Sensor Array

**Type:** Product page · **SKU:** POLOLU-960 · **Brand:** [Pololu](https://core-electronics.com.au/brands/pololu-australia)
**Page:** https://core-electronics.com.au/qtr-8a-reflectance-sensor-array.html ([markdown](https://core-electronics.com.au/qtr-8a-reflectance-sensor-array.html.md))

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 analog voltage output.

## Pricing

- **Price:** $21.80 (inc GST) — $19.82 AUD, exc GST
- **Quantity discounts:** 10+ $19.03 (exc GST) · 25+ $18.43 (exc GST)

## Availability & dispatch

- In stock, ships same business day if ordered before 2PM (Australia/Sydney).
- We can dispatch 2 today, and up to 70 more in 4–7 days.

## How to buy

- **Build a cart:** compose `https://core-electronics.com.au/cart/link?items=POLOLU-960:1` (comma-separated SKU:qty pairs) and share the link. Opening it shows a confirmation page with live pricing and stock before anything is added to the cart.
- **Verify the cart first:** fetch `https://core-electronics.com.au/cart/link/POLOLU-960:1.md` for live line prices (inc & exc GST, quantity discounts applied), stock and dispatch estimates, and totals. Append `/to/{AU-postcode}` (or `/to/{country-code}:{postcode}`) before `.md` for delivery options and prices to that destination. Unknown, retired, or out-of-stock SKUs are flagged. (Query form `cart/link.md?items=...` also works but some robots parsers refuse query strings here.)
- **Checkout** is completed on-site and includes a captcha at the payment step. Share the cart link; checkout takes it from there.
- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## Description

**Note:** The QTR-8A reflectance sensor array requires analog inputs to take readings. The similar [QTR-8RC reflectance sensor array](https://core-electronics.com.au/qtr-8rc-reflectance-sensor-array.html) is available with digital I/O-compatible outputs, and the reflectance sensor is available individually as a [QTR-1A reflectance sensor](https://core-electronics.com.au/qtr-1a-reflectance-sensor-2-pack.html) or [QTR-1RC reflectance sensor](https://core-electronics.com.au/qtr-1rc-reflectance-sensor-2-pack.html).

| [![](https://core-electronics.com.au/attachments/localcontent/0J620_1665381a99c.jpg)](https://core-electronics.com.au/attachments/localcontent/0J620_2278410dbf4.jpg) |
|---|

**Functional Description**

The QTR-8A 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 is connected to a pull-up resistor to form a voltage divider that produces an analog voltage output between 0 V and VIN (which is typically 5 V) as a function of the reflected IR. Lower output voltage 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:

| ![](https://core-electronics.com.au/attachments/localcontent/0J614_482482bed0b.png) |
|---|

For a similar array with three sensors, consider Pololu's [QTR-3A reflectance sensor array](https://core-electronics.com.au/qtr-3a-reflectance-sensor-array.html). The sensors on the QTR-8A are also available individually as the [QTR-1A reflectance sensor](https://core-electronics.com.au/qtr-1a-reflectance-sensor-2-pack.html), and the [QTR-L-1A](https://core-electronics.com.au/qtr-l-1a-reflectance-sensor-2-pack.html) is an alternative designed to be used with the board perpendicular to the surface.

| [![](https://core-electronics.com.au/attachments/localcontent/0J4642_493760e9931.jpg)](https://core-electronics.com.au/attachments/localcontent/0J4642_19704cbf737.jpg) |
|---|
| QTR sensor size comparison. Top row: QTRX-HD-07, QTR-HD-07; middle row: QTR-3, QTR-1, QTR-L-1; bottom row: QTR-8. |

**Specifications**

- Dimensions: 2.95" x 0.5" x 0.125" (without header pins installed)
- Operating voltage: 3.3-5.0 V
- Supply current: 100 mA
- Output format: 8 analog voltages
- Output voltage range: 0 V to supplied voltage
- Optimal sensing distance: 0.125" (3 mm)
- Maximum recommended sensing distance: 0.25" (6 mm)
- Weight without header pins: 0.11 oz (3.09 g)

**Interfacing with the QTR-8A Outputs**

There are several ways you can interface with the QTR-8A outputs:

- Use a microcontroller’s analog-to-digital converter (ADC) to measure the voltages.
- Use a comparator with an adjustable threshold to convert each analog voltage into a digital (i.e. black/white) signal that can be read by the digital I/O line of a microcontroller.
- Connect each output directly to a digital I/O line of a microcontroller and rely upon its internal comparator.

This last method will work if you are able to get high reflectance from your white surface as depicted in the left image, but will probably fail if you have a lower-reflectance signal profile like the one on the right.

| \| [![](https://core-electronics.com.au/attachments/localcontent/0J638_19346a7c8eb.jpg)](https://core-electronics.com.au/attachments/localcontent/0J638_796722abf87.png) \| \|---\| \| QTR-1A output 1/8" away from a spinning white disk with a black line on it. \| |  | \| [![](https://core-electronics.com.au/attachments/localcontent/0J640_2308691b0ad.jpg)](https://core-electronics.com.au/attachments/localcontent/0J640_154462d156e.png) \| \|---\|---\|---\| \| QTR-1A output 3/8" away from a spinning white disk with a black line on it. \| |
|---|

Pololu's Pololu AVR library provides functions that make it easy to use these sensors with Pololu's [Orangutan robot controllers](https://core-electronics.com.au/category/8/robot-controllers); please see the QTR Reflectance Sensors section of Pololu's library command reference for more information. Pololu also have a Arduino library for these sensors.

**Breaking the Module in Two**

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.

| ![](https://core-electronics.com.au/attachments/localcontent/0J617_647805bd020.jpg) |
|---|

**Included Components**

This module ships with a 25-pin 0.1" header strip and a 100 Ohm through-hole resistor as shown below.

| ![](https://core-electronics.com.au/attachments/localcontent/0J616_64460c718c1.jpg) |
|---|

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](https://core-electronics.com.au/0-100-2-54-mm-breakaway-male-header-1x40-pin-right-angle.html) 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.

| ![](https://core-electronics.com.au/attachments/localcontent/0J619_28870484282.jpg) |
|---|
| Solder the included resistor to the 2-sensor array piece as shown to make the separated piece functional. |

**People often buy this product together with:**

| [![TB6612FNG Dual Motor Driver Carrier](https://core-electronics.com.au/attachments/localcontent/0J4617_4924d06fb3.jpg)](https://core-electronics.com.au/tb6612fng-dual-motor-driver-carrier.html) | [TB6612FNG Dual Motor Driver Carrier](https://core-electronics.com.au/tb6612fng-dual-motor-driver-carrier.html) |
|---|---|

| [![Pololu Ball Caster with 3/8](https://core-electronics.com.au/attachments/localcontent/0J9812_25150e1b56.jpg)](https://core-electronics.com.au/pololu-ball-caster-with-3-8-metal-ball.html) | [Pololu Ball Caster with 3/8" Metal Ball](https://core-electronics.com.au/pololu-ball-caster-with-3-8-metal-ball.html) |
|---|---|

| [![QTR-8RC Reflectance Sensor Array](https://core-electronics.com.au/attachments/localcontent/0J615_3227af1af2.jpg)](https://core-electronics.com.au/qtr-8rc-reflectance-sensor-array.html) | [QTR-8RC Reflectance Sensor Array](https://core-electronics.com.au/qtr-8rc-reflectance-sensor-array.html) |
|---|---|

**Identifying markings**

 | PCB dev codes: | irs02a[1](https://core-electronics.com.au/#note1) |
|---|---|

**Notes:**

1Note: this does not differentiate between the A and RC output types. **Documentation and other information**

- ![](https://core-electronics.com.au/attachments/localcontent/0J620_4292596e57.jpg)**QTR-8A and QTR-8RC Reflectance Sensor Array User’s Guide (Printable PDF)**
    
    User’s guide for the QTR-8A reflectance sensor array.
- ![](https://core-electronics.com.au/attachments/localcontent/0J641_72467d7404.jpg)**Pololu QTR Reflectance Sensor Application Note (Printable PDF)**
    
    Information about using the Pololu QTR reflectance sensors, including differences between A-type and RC-type sensors and sample oscilloscope screen captures of sensor outputs.
- ![](https://core-electronics.com.au/attachments/localcontent/0J820_4120465be0.jpg)**Pololu AVR C/C++ Library User’s Guide (Printable PDF)**
    
    Information about installing and using the C/C++ libraries provided for use with Pololu products.
- ![](https://core-electronics.com.au/attachments/localcontent/0J741_5849628a73.jpg)**Pololu AVR Library Command Reference (Printable PDF)**
    
    A reference to commands provided in the Pololu C/C++ and Arduino libraries for the AVR.
- ![](https://core-electronics.com.au/attachments/localcontent/0J865_45148954e7.jpg)**Building Line Following and Line Maze Courses (Printable PDF)**
    
    Step-by-step instructions for building your own line-following courses.
 
**File downloads**

- **Datasheet for Fairchild’s QRE1113GR reflective object sensor (202k pdf)**
    
    This is the sensor that Pololu initially used in the Pololu QTR reflectance sensors, but Pololu have since switched to a similar generic unit that has slightly longer range.
- **QTR-8x Reflectance Sensor Array drill guide (35k dxf)**
    
    This DXF drawing shows the locations of all of the board’s holes.
- **Dimension diagram of the QTR-8x Reflectance Sensor Array (198k pdf)**
- **3D model of the QTR-8A Reflectance Sensor Array (4MB step)**
- **Guide utilisateur du senseur QTR (suiveur de ligne) (1MB pdf)**
    
    Un guide utiliser et exploiter un senseur QTR (détecteur de ligne) (version 0.1). **Note:** This French translation of Pololu's QTR sensor documentation was made by Pololu's distributor MCHobby.
 
**Recommended links**

- **[Arduino library for the Pololu QTR Reflectance Sensors](https://github.com/pololu/qtr-sensors-arduino)**
    
    This library for [Arduino](https://core-electronics.com.au/hardware.html) makes it easy to interface with Pololu [QTR Reflectance Sensors](https://core-electronics.com.au/category/123/pololu-qtr-reflectance-sensors).
- **[mbed library for QTR sensors](https://os.mbed.com/users/phillippsm/code/PololuQTRSensors/)**
    
    Matthew Phillipps ported Pololu's [Arduino Library for the Pololu QTR Reflectance Sensors](https://github.com/pololu/qtr-sensors-arduino) to the [mbed](https://core-electronics.com.au/arm-mbed-nxp-lpc1768-development-board.html) platform. The Arduino library is designed to work with [Pololu QTR reflectance sensors](https://core-electronics.com.au/category/123/pololu-qtr-reflectance-sensors), so the mbed library should too, but Matthew points out he only tested it with the analog sensors. This library was not written and is not maintained by Pololu.

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/q/t/qtr_8a_reflectance_sensor_array__pololu_960__00.jpg)
