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

# Optical Encoder Pair Kit for Micro Metal Gearmotors, 5V

**Type:** Product page · **SKU:** POLOLU-2590 · **Brand:** [Pololu](https://core-electronics.com.au/brands/pololu-australia)
**Page:** https://core-electronics.com.au/optical-encoder-pair-kit-for-micro-metal-gearmotors-5v.html ([markdown](https://core-electronics.com.au/optical-encoder-pair-kit-for-micro-metal-gearmotors-5v.html.md))

Add quadrature encoders to your micro metal gearmotors (extended back shaft version required) with this kit consisting of two sensor boards, two 3-tooth encoder wheels, and two 5-tooth encoder wheels. The installed system does not exceed the 12 mm × 10 mm cross section of the motors and extends only 5 mm beyond the plastic motor end cap. The 3-tooth wheel provides 12 counts per revolution; using the 5-tooth wheel yields 20 counts per revolution. This version is intended for use at 5 V.

## Pricing

- **Price:** $23.40 (inc GST) — $21.27 AUD, exc GST
- **Quantity discounts:** 10+ $20.42 (exc GST) · 25+ $19.78 (exc GST)

## Availability & dispatch

- Available with a lead time — expect dispatch between Aug 17 and Aug 18.

## How to buy

- **Build a cart:** compose `https://core-electronics.com.au/cart/link?items=POLOLU-2590: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-2590: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:** Pololu strongly recommend Pololu's newer [**magnetic encoder pair kits for micro metal gearmotors**](https://core-electronics.com.au/sensors/encoders.html) over these optical encoders. The magnetic encoders are less susceptible to ambient interference, and they feature cleaner signals with built-in hysteresis, so Pololu can be connected directly to a microcontroller or other digital circuit. Conversely, since the optical encoder outputs are direct phototransistor outputs, some signal conditioning is often necessary between the sensor and a digital system processing the signals.

Also, this encoder is **not compatible** with Pololu's [HPCB micro metal gearmotors](https://core-electronics.com.au/category/174/6v-high-power-carbon-brush-hpcb-micro-metal-gearmotors) (the HPCB motor terminals are too large to fit the corresponding PCB holes), but it is compatible with the [LP](https://core-electronics.com.au/category/171/6v-low-power-lp-micro-metal-gearmotors), [MP](https://core-electronics.com.au/category/172/6v-medium-power-mp-micro-metal-gearmotors), and [HP](https://core-electronics.com.au/category/173/6v-high-power-hp-micro-metal-gearmotors) versions of Pololu's micro metal gearmotors.

This set includes sensor boards and reflective wheels to add quadrature encoding to two [micro metal gearmotors with extended back shafts](https://core-electronics.com.au/category/141/micro-metal-gearmotors-with-extended-motor-shafts) (motors are not included with this kit). 3-tooth and 5-tooth encoder wheels are included to provide options of 12 counts per revolution and 20 counts per revolution of the motor shaft (to compute the encoder counts per revolution of the gearbox output, multiply by the gear ratio).

**Note:** This sensor system is intended for relatively advanced users comfortable with the physical encoder installation and with using the resulting signals. It only works with micro metal gearmotors that have **[extended back shafts](https://core-electronics.com.au/category/141/micro-metal-gearmotors-with-extended-motor-shafts)**.

| \| [![](https://core-electronics.com.au/attachments/localcontent/0J4763_9912eef700.jpg)](https://core-electronics.com.au/attachments/localcontent/0J4763_196585c874d.jpg) \| \|---\| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J4766_9333a65e6c.jpg)](https://core-electronics.com.au/attachments/localcontent/0J4766_12282cc1ea1.jpg) \| \|---\|---\| |
|---|

**Pinout and installation**

The encoder board is designed to be soldered directly to the back of the motor, with the back shaft of the motor protruding through the hole in the middle of the circuit board. The better aligned the board, the better the output signal quality will be. One way to achieve good alignment is to tack down the board to one motor pin and to solder the other pin only when the board is well aligned. Be careful to avoid prolonged heating of the motor pins, which could deform the plastic end cap of the motor or the motor brushes. Once the board is soldered down to the two terminals, the motor leads are connected to the M1 and M2 pads along the edge of the board, along with the power for the sensors and the two quadrature outputs:

| \| [![](https://core-electronics.com.au/attachments/localcontent/0J4765_264117d0157.jpg)](https://core-electronics.com.au/attachments/localcontent/0J4765_39389d0b66a.jpg) \| \|---\| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J4757_23841eec7bb.jpg)](https://core-electronics.com.au/attachments/localcontent/0J4757_31587ca71b0.jpg) \| \|---\|---\| |
|---|

The edge connections are on a 2 mm pitch. The board can be soldered perpendicularly to another PCB, to a 2 mm connector, or to individual wires as shown here:

| [![](https://core-electronics.com.au/attachments/localcontent/0J4767_43181421a57.jpg)](https://core-electronics.com.au/attachments/localcontent/0J4767_24129dbb546.jpg) |
|---|
| Example of an installed Micro Metal Gearmotor reflective optical encoder. |

Once the board is soldered to the motor, the plastic encoder wheel can be pushed onto the motor shaft. The encoder wheel should be pushed on far enough that the gap between the wheel and sensors is approximately 0.5 mm. One way to get consistent gaps is to use a few sheets of paper or a business card as a shim when installing the encoder wheel. The best way to confirm optimal placement of the encoder wheel is to look at the signal with an oscilloscope. The following sequence of screen captures show the output for a 5-tooth wheel spinning at approximately 30,000 RPM as the wheel is pushed closer and closer to the sensors.

| \| [![](https://core-electronics.com.au/attachments/localcontent/0J4756_25849754fa7.jpg)](https://core-electronics.com.au/attachments/localcontent/0J4756_68637a8073d.png) \| \|---\| \| 5V encoder version, motor approx. 30k RPM: 5-tooth wheel way too far from sensors. \| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J4759_2702496c136.jpg)](https://core-electronics.com.au/attachments/localcontent/0J4759_71862403a29.png) \| \|---\|---\| \| 5V encoder version, motor approx. 30k RPM: 5-tooth wheel slightly too far from sensors. \| |
|---|

| [![](https://core-electronics.com.au/attachments/localcontent/0J4760_585811b2f8a.jpg)](https://core-electronics.com.au/attachments/localcontent/0J4760_73419e9edfe.png) |
|---|
| 5V encoder version, motor approx. 30k RPM: 5-tooth wheel at optimal distance from sensors. |

| \| [![](https://core-electronics.com.au/attachments/localcontent/0J4761_26219a32dc0.jpg)](https://core-electronics.com.au/attachments/localcontent/0J4761_708140f3c2b.png) \| \|---\| \| 5V encoder version, motor approx. 30k RPM: 5-tooth wheel slightly too close to sensors. \| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J4762_232422ae10c.jpg)](https://core-electronics.com.au/attachments/localcontent/0J4762_60690717954.png) \| \|---\|---\| \| 5V encoder version, motor approx. 30k RPM: 5-tooth wheel way too close to sensors. \| |
|---|

The center oscilloscope capture above shows what the signal outputs look like with the wheel mounted at an optimal distance from the sensors. Note that even in this optimal case, the signals from the two channels are different due to inherent variations in the two reflectance sensors, but both signals are 90° out of phase and both span a large voltage range.

With the appropriate signal conditioning (e.g. comparators with hysteresis), all of the outputs, except perhaps for the last case, would still yield reliable position counts. The outputs also tend to improve at lower speeds and with the 3-tooth wheel.

**5V and 3.3V versions**

The encoder boards are available in two versions that are optimized for operation at [5.0 V](https://core-electronics.com.au/optical-encoder-pair-kit-for-micro-metal-gearmotors-5v.html) and [3.3 V](https://core-electronics.com.au/optical-encoder-pair-kit-for-micro-metal-gearmotors-3-3v.html). The only difference is in the electrical configuration of the IR LEDs in the reflectance sensors:

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

The 5 V version with LEDs in series draws approximately 12 mA; the 3.3 V version with LEDs in parallel draws approximately 24 mA.

| [![](https://core-electronics.com.au/attachments/localcontent/0J4764_44444be67fe.jpg)](https://core-electronics.com.au/attachments/localcontent/0J4764_869537d25b3.png) |
|---|
| Schematic diagram for the Micro Metal Gearmotor reflective optical encoder. |

This schematic is also available as a [downloadable pdf](https://core-electronics.com.au/attachments/localcontent/optical-encoder-for-micro-metal-gearmotor-schematic-diagram_14545b29559.pdf) (145k pdf).

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

| [![Pololu Micro Metal Gearmotor Bracket Pair - Black](https://core-electronics.com.au/attachments/localcontent/0J1128_293715d398.jpg)](https://core-electronics.com.au/pololu-micro-metal-gearmotor-bracket-pair-black.html) | [Pololu Micro Metal Gearmotor Bracket Pair - Black](https://core-electronics.com.au/pololu-micro-metal-gearmotor-bracket-pair-black.html) |
|---|---|

| [![Pololu Micro Metal Gearmotor Bracket Extended Pair](https://core-electronics.com.au/attachments/localcontent/0J1130_2188a9638f.jpg)](https://core-electronics.com.au/pololu-micro-metal-gearmotor-bracket-extended-pair.html) | [Pololu Micro Metal Gearmotor Bracket Extended Pair](https://core-electronics.com.au/pololu-micro-metal-gearmotor-bracket-extended-pair.html) |
|---|---|

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

**Dimensions**

 | Size: | 9.6 mm × 11.6 mm |
|---|---|
| Weight: | 0.7 g[1](https://core-electronics.com.au/#note1) |

**General specifications**

 | Voltage: | 5 V |
|---|---|
| Average input current: | 12 mA |

**Notes:**

1Weight of full set. Each encoder board weighs ~0.2 g and each encoder wheel is less than 0.1 g. **File downloads**

- **[Optical encoder for micro metal gearmotor schematic diagram](https://core-electronics.com.au/attachments/localcontent/optical-encoder-for-micro-metal-gearmotor-schematic-diagram_14545b29559.pdf) (145k pdf)**
    
    Printable schematic diagram for the optical encoder for micro metal gearmotor.
- **[Datasheet for the Sharp GP2S60 compact reflective photointerrupter](https://core-electronics.com.au/attachments/localcontent/GP2S60_DS_163694112a2.pdf) (164k pdf)**
    
    Datasheet for the sensor used on the [QTR-3RC](https://core-electronics.com.au/qtr-3rc-reflectance-sensor-array.html) and [QTR-3A Reflectance Sensor Arrays](https://core-electronics.com.au/qtr-3a-reflectance-sensor-array.html), the [Zumo 32U4 robot](https://core-electronics.com.au/category/170/zumo-32u4-oled-robot) front sensor array, and the [Optical Encoders for micro metal gearmotors](https://core-electronics.com.au/optical-encoder-pair-kit-for-micro-metal-gearmotors-5v.html).
- **Optical Encoder for Micro Metal Gearmotors drill guide (30k dxf)**
    
    This DXF drawing shows the locations of all of the board’s holes.

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/o/p/optical_encoder_pair_kit_for_micro_metal_gearmotors_5v__pololu_2590__00.jpg)
