> **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

# Pololu 5-Channel Reflectance Sensor Array for Balboa 32U4 Balancing Robot

**Type:** Product page · **SKU:** POLOLU-3577 · **Brand:** [Pololu](https://core-electronics.com.au/brands/pololu-australia)
**Page:** https://core-electronics.com.au/pololu-5-channel-reflectance-sensor-array-for-balboa-32u4-balancing-robot.html ([markdown](https://core-electronics.com.au/pololu-5-channel-reflectance-sensor-array-for-balboa-32u4-balancing-robot.html.md))

This reflectance sensor module is designed specifically for use with the Balboa 32U4 balancing robot. It features five IR LED/phototransistor pairs that are great for identifying changes in reflectance on the ground directly underneath the Balboa (like detecting or following a black line on a white background). The sensor array offers dimmable brightness control, and each sensor provides an independent output that can be measured with a digital I/O.

## Pricing

- **Price:** $11.70 (inc GST) — $10.64 AUD, exc GST
- **Quantity discounts:** 10+ $10.21 (exc GST) · 25+ $9.89 (exc GST)

## Availability & dispatch

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

## How to buy

- **Build a cart:** compose `https://core-electronics.com.au/cart/link?items=POLOLU-3577: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-3577: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

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

The 5-Channel Reflectance Sensor Array for Balboa provides an easy way to add line sensing to the [Balboa 32U4 Balancing Robot](https://core-electronics.com.au/pololu-balboa-32u4-balancing-robot-kit-no-motors-or-wheels.html). It features five separate reflectance sensors, each consisting of a dimmable IR emitter coupled with a phototransistor that responds based on how much emitter light is reflected back to it. The array is intended for Balboas assembled with [80×10mm wheels](https://core-electronics.com.au/pololu-wheel-80x10mm-pair-white.html) that are operating in upright (balancing) orientations.

**Included components and mounting options**

The reflectance sensor array ships with all of the components you need to connect it to a [Balboa 32U4 control board](https://core-electronics.com.au/pololu-balboa-32u4-control-board.html):

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

The [1×7 female headers](https://core-electronics.com.au/0-100-2-54-mm-female-header-1x7-pin-straight.html) should be soldered to the connections near the bottom edge of the control board. You can do this without removing your Balboa control board from the chassis. One female header should be soldered between the pins labeled GND and A3, and the other female header should be soldered between the pins labeled GND and A2. The solder joints should be on the component side of the control board.

| \| [![](https://core-electronics.com.au/attachments/localcontent/0J9638_3394792f40f.jpg)](https://core-electronics.com.au/attachments/localcontent/0J9638_678530bfe62.jpg) \| \|---\| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J9637_243047ea89b.jpg)](https://core-electronics.com.au/attachments/localcontent/0J9637_456475a76c5.jpg) \| \|---\|---\| |
|---|

The sensor board can be mounted to the Balboa so that it aligns with the center axis of the chassis or the edge of the chassis, which might make following a line easier (since the sensors will be farther forward when the Balboa is upright). How the included [right angle headers](https://core-electronics.com.au/0-100-2-54-mm-breakaway-male-header-1x40-pin-right-angle.html) are connected to the sensor board determines whether the board will be center- or edge-aligned. See the pictures below for how to position the header pins for each mounting option.

| \| [![](https://core-electronics.com.au/attachments/localcontent/0J9641_223222757c2.jpg)](https://core-electronics.com.au/attachments/localcontent/0J9641_46960a1b41f.jpg) \| \|---\| \| Center-aligned mounting option for the 5-Channel reflectance sensor array for Balboa. \| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J9640_21960c82917.jpg)](https://core-electronics.com.au/attachments/localcontent/0J9640_46829c58bbe.jpg) \| \|---\|---\| \| Edge-aligned mounting option for the 5-Channel reflectance sensor array for Balboa. \| |
|---|

| \| [![](https://core-electronics.com.au/attachments/localcontent/0J9644_8841100102.jpg)](https://core-electronics.com.au/attachments/localcontent/0J9644_17327bb7558.jpg) \| \|---\| \| Right-angle headers installed for center-aligned mounting option. \| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J9645_94866e9fac.jpg)](https://core-electronics.com.au/attachments/localcontent/0J9645_1920230758a.jpg) \| \|---\|---\| \| Right-angle headers installed for edge-aligned mounting option. \| |
|---|

**Using the sensor array**

| [![](https://core-electronics.com.au/attachments/localcontent/0J9187_108571375e8.jpg)](https://core-electronics.com.au/attachments/localcontent/0J9187_1297612eb2f.png) |
|---|
| Schematic diagram of an individual QTR sensor channel on an RC-type board. This applies only to the newer QTRs with dimmable emitters. |

The array uses the same sensor modules as Pololu's [QTR reflectance sensors](https://core-electronics.com.au/category/123/pololu-qtr-reflectance-sensors) and has the same principle of operation as the RC versions, for example, the [QTR-MD-05RC](https://core-electronics.com.au/qtr-md-05rc-reflectance-sensor-array-5-channel-8mm-pitch-rc-output.html). The typical sequence for reading a sensor is:

1. Turn on IR LEDs (optional).
2. Set the I/O line to an output and drive it high.
3. Allow at least 10 µs for the sensor output to rise.
4. Make the I/O line an input (high impedance).
5. Measure the time for the voltage to decay by waiting for the I/O line to go low.
6. Turn off IR LEDs (optional).

These steps can typically be executed in parallel on multiple I/O lines. Because this array works like Pololu's other QTR sensor boards, you can use it with Pololu's QTR Arduino library, which provides methods for controlling the emitters, calibrating the module, and reading the individual sensor values. Keep in mind that how you mount your sensor will determine which I/O lines on the Balboa you are connected to. You can read the silkscreen markings on the sensor board and the Balboa to determine which sensor is connected to which I/O line.

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

With a strong reflectance, the decay time can be as low as a few microseconds; with no reflectance, the decay time can be up to a few milliseconds. 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 sensors. If lower-frequency sampling is sufficient, you can achieve substantial power savings 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 125 mA to 13 mA.

| \| [![](https://core-electronics.com.au/attachments/localcontent/0J632_150527ad1b6.jpg)](https://core-electronics.com.au/attachments/localcontent/0J632_43341203f98.png) \| \|---\| \| QTR-1RC output (yellow) when 1/8" above a black line and microcontroller timing of that output (blue). \| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J634_140338e36d4.jpg)](https://core-electronics.com.au/attachments/localcontent/0J634_34667762f4b.png) \| \|---\|---\| \| QTR-1RC output (yellow) when 1/8" above a white surface and microcontroller timing of that output (blue). \| |
|---|

**Emitter control**

| [![](https://core-electronics.com.au/attachments/localcontent/0J9716_1956755e66a.gif)](https://core-electronics.com.au/attachments/localcontent/0J9716_1956755e66a.gif) |
|---|
| Demo of IR LED dimming on the 5-Channel Sensor Array for Balboa 32U4 (as seen through an old digital camera that can see IR). |

The sensor array maintains a constant current through its IR emitters, keeping the emitters’ brightness constant. The emitters can be controlled with the board’s CTRL pin.

Driving the CTRL pin low for at least 1 ms turns off the emitter LEDs, while driving it high (or allowing the board to pull it high) turns on the emitters with the board’s default (full) current, which is **20 mA**. For more advanced use, the CTRL pin can be pulsed low to cycle the associated emitters through 32 dimming levels.

To send a pulse, drive the CTRL pin low for at least 0.5 µs (but no more than 300 µs), then high for at least 0.5 µs; (it should remain high after the last pulse). Each pulse causes the driver to advance to the next dimming level, wrapping around to 100% after the lowest-current level. Each dimming level corresponds to a 3.33% reduction in current, except for the last three levels, which represent a 1.67% reduction, as shown in the table below. Note that turning the LEDs off with a &gt;1 ms pulse and then back on resets them to full current.

| Dimming level (pulses) | Emitter current (%) |  | Dimming level (pulses) | Emitter current (%) |
|---|---|---|---|---|
| 0 | **100.00%** |  | 16 | 46.67% |
| 1 | 96.67% |  | 17 | 43.33% |
| 2 | 93.33% |  | 18 | **40.00%** |
| 3 | **90.00%** |  | 19 | 36.67% |
| 4 | 86.67% |  | 20 | 33.33% |
| 5 | 83.33% |  | 21 | **30.00%** |
| 6 | **80.00%** |  | 22 | 26.67% |
| 7 | 76.67% |  | 23 | 23.33% |
| 8 | 73.33% |  | 24 | **20.00%** |
| 9 | **70.00%** |  | 25 | 16.67% |
| 10 | 66.67% |  | 26 | 13.33% |
| 11 | 63.33% |  | 27 | **10.00%** |
| 12 | **60.00%** |  | 28 | 6.67% |
| 13 | 56.67% |  | 29 | 5.00% |
| 14 | 53.33% |  | 30 | 3.33% |
| 15 | **50.00%** |  | 31 | 1.67% |

For example, to reduce the emitter current to 50%, apply 15 low pulses to the CTRL pin and then keep it high after the last pulse.

**Example code**

The [Balboa32U4 Arduino Library](https://github.com/pololu/balboa-32u4-arduino-library) provides a way to easily read sensor values from the reflectance sensor array, and it includes a demo sketch showing how to do so. See this section of the Balboa 32U4 user’s guide for library installation instructions and the [library documentation](https://pololu.github.io/balboa-32u4-arduino-library/) for more information.

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

| [![Pololu Wheel 80×10mm Pair - Red](https://core-electronics.com.au/attachments/localcontent/0J10431_5521a2a08d.jpg)](https://core-electronics.com.au/pololu-wheel-80x10mm-pair-red.html) | [Pololu Wheel 80×10mm Pair - Red](https://core-electronics.com.au/pololu-wheel-80x10mm-pair-red.html) |
|---|---|

| [![Pololu Wheel 80×10mm Pair - Blue](https://core-electronics.com.au/attachments/localcontent/0J10433_54872a5e6e.jpg)](https://core-electronics.com.au/pololu-wheel-80x10mm-pair-blue.html) | [Pololu Wheel 80×10mm Pair - Blue](https://core-electronics.com.au/pololu-wheel-80x10mm-pair-blue.html) |
|---|---|

| [![50:1 Micro Metal Gearmotor HPCB 6V with Extended Motor Shaft](https://core-electronics.com.au/attachments/localcontent/0J6830_3507e73fe1.jpg)](https://core-electronics.com.au/50-1-micro-metal-gearmotor-hpcb-6v-with-extended-motor-shaft.html) | [50:1 Micro Metal Gearmotor HPCB 6V with Extended Motor Shaft](https://core-electronics.com.au/50-1-micro-metal-gearmotor-hpcb-6v-with-extended-motor-shaft.html) |
|---|---|

**Dimensions**

 | Size: | 2.52" × 0.29" |
|---|---|
| Weight: | 1.8 g[1](https://core-electronics.com.au/#note1) |

**General specifications**

 | Voltage: | 5 V[2](https://core-electronics.com.au/#note2) |
|---|---|
| Peak wavelength: | 940 nm |
| Maximum current draw: | 40 mA[3](https://core-electronics.com.au/#note3) |

**Identifying markings**

 | PCB dev codes: | irs13a |
|---|---|
| Other PCB markings: | 0J11539 |

**Notes:**

1Without included headers.2Module is intended to be powered by the Balboa's 5V line.3With all LEDs on at max brightness setting. **Documentation and other information**

- ![](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.
 
**File downloads**

- **Schematic diagram of the 5-Channel Reflectance Sensor Array for Balboa 32U4 Balancing Robot (87k pdf)**
- **Dimension diagram of the 5-Channel Reflectance Sensor Array for Balboa 32U4 Balancing Robot (153k pdf)**
- **3D model of the 5-Channel Reflectance Sensor Array for Balboa 32U4 Balancing Robot (8MB step)**
- **Drill guide for the 5-Channel Reflectance Sensor Array for Balboa 32U4 Balancing Robot (30k dxf)**
    
    This DXF drawing shows the locations of all of the board’s holes.
 
**Recommended links**

- **[Balboa 32U4 Arduino library](https://github.com/pololu/balboa-32u4-arduino-library)**
    
    The Balboa32U4 library for the Arduino IDE helps interface with the on-board hardware on the [Balboa 32U4](https://core-electronics.com.au/pololu-balboa-32u4-balancing-robot-kit-no-motors-or-wheels.html) control board as well as the optional [5-channel reflectance sensor array](https://core-electronics.com.au/pololu-5-channel-reflectance-sensor-array-for-balboa-32u4-balancing-robot.html) for the Balboa.
- **[Balboa 32U4 library documentation](https://pololu.github.io/balboa-32u4-arduino-library/)**
- **[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).

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/0/j/0j9639.1200.jpg)
