# Magnetic Encoder Pair Kit with Top-Entry Connector for Micro Metal Gearmotors, 12 CPR, 2.7-18V

**Type:** Product page · **SKU:** POLOLU-4760 · **Brand:** [Pololu](https://core-electronics.com.au/brands/pololu-australia)
**Page:** https://core-electronics.com.au/magnetic-encoder-pair-kit-with-top-entry-connector-for-micro-metal-gearmotors-12-cpr-2-7-18v.html ([markdown](https://core-electronics.com.au/magnetic-encoder-pair-kit-with-top-entry-connector-for-micro-metal-gearmotors-12-cpr-2-7-18v.html.md))

Add quadrature encoders to your micro metal gearmotors (extended back shaft version required) with this kit that uses a magnetic disc and hall effect sensors to provide 12 counts per revolution of the motor shaft. The sensors operate from 2.7 V to 18 V and provide digital outputs that can be connected directly to a microcontroller or other digital circuit.

## Pricing

- **Price:** $15.05 (inc GST) — $13.68 AUD, exc GST
- **Quantity discounts:** 10+ $13.14 (exc GST) · 25+ $12.73 (exc GST)

## Availability & dispatch

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

## Description

This kit includes two dual-channel Hall effect sensor boards and two [6-pole magnetic discs](https://core-electronics.com.au/magnetic-encoder-disc-for-micro-metal-gearmotors-12-cpr-bulk.html) that can be used 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 and cables are not included with this kit). The encoder board senses the rotation of the magnetic disc and provides a resolution of 12 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output shaft, multiply the gear ratio by 12. This compact encoder solution fits within the 12 mm × 10 mm cross section of the motors on three of the four sides, and it extends 2.8 mm past the edge of the fourth side.

 | \| [![](https://core-electronics.com.au/attachments/localcontent/0J10601_18549c2a358.jpg)](https://core-electronics.com.au/attachments/localcontent/0J10601_397896868d3.jpg) \| \|---\| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J10613_1612277142d.jpg)](https://core-electronics.com.au/attachments/localcontent/0J10613_220416219fd.jpg) \| \|---\|---\| |
|---|

The encoders include a **top-entry**, 6-pin male JST SH-type connector. Pololu also carry a version of this encoder [with a side-entry connector](https://core-electronics.com.au/magnetic-encoder-pair-kit-with-side-entry-connector-for-micro-metal-gearmotors-12-cpr-2-7-18v.html); the following pictures show comparisons of the top-entry and side-entry versions:

 | \| [![](https://core-electronics.com.au/attachments/localcontent/0J10602_235340806a1.jpg)](https://core-electronics.com.au/attachments/localcontent/0J10602_461741b2763.jpg) \| \|---\| \| Magnetic Encoders with Top-Entry Connector (left) and Side-Entry Connector (right) assembled on Micro Metal Gearmotors with Extended Motor Shafts (JST cables not included). \| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J10618_282638f7dd8.jpg)](https://core-electronics.com.au/attachments/localcontent/0J10618_37267a5fc3d.jpg) \| \|---\|---\| \| Magnetic Encoder with Top-Entry Connector (top) and Side-Entry Connector (bottom) assembled Micro Metal Gearmotors with Extended Motor Shafts (JST cables not included). \| |
|---|

**Note:** This sensor system is intended for users comfortable with the physical encoder installation. 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)**.

**Cable options**

Pololu have two types of cables with matching JST SH-style connectors that can be used with these encoders.

Single-ended cables, with a connector on one end and unterminated wires on the other end, are available in three lengths:

 | - [12 cm (4.5")](https://core-electronics.com.au/6-pin-single-ended-female-jst-sh-style-cable-12cm.html) - [30 cm (12")](https://core-electronics.com.au/6-pin-single-ended-female-jst-sh-style-cable-30cm.html) - [75 cm (30")](https://core-electronics.com.au/6-pin-single-ended-female-jst-sh-style-cable-75cm.html) | [![](https://core-electronics.com.au/attachments/localcontent/0J10624_14474153e8e.jpg)](https://core-electronics.com.au/attachments/localcontent/0J10624_243796b22a3.jpg) |
|---|---|

Twisted female-female cables with connectors on both ends are available in five lengths:

 | - [10 cm (4")](https://core-electronics.com.au/6-pin-female-female-jst-sh-style-cable-10cm.html) - [16 cm (6.3")](https://core-electronics.com.au/6-pin-female-female-jst-sh-style-cable-16cm.html) - [25 cm (10")](https://core-electronics.com.au/6-pin-female-female-jst-sh-style-cable-25cm.html) - [40 cm (16")](https://core-electronics.com.au/6-pin-female-female-jst-sh-style-cable-40cm.html) - [63 cm (25")](https://core-electronics.com.au/6-pin-female-female-jst-sh-style-cable-63cm.html) | [![](https://core-electronics.com.au/attachments/localcontent/0J10987_191807afe30.jpg)](https://core-electronics.com.au/attachments/localcontent/0J10987_13444cf24cc.jpg) |
|---|---|

These double-ended cables can be used with Pololu's JST SH-style connector breakout boards (available in [top-entry](https://core-electronics.com.au/breakout-for-jst-sh-style-connector-6-pin-male-top-entry-individually-packaged.html) and [side-entry](https://core-electronics.com.au/breakout-for-jst-sh-style-connector-6-pin-male-side-entry-individually-packaged.html) versions) to easily access the motor and encoder pins on a standard [solderless breadboard](https://core-electronics.com.au/prototyping/breadboards.html).

 | \| [![](https://core-electronics.com.au/attachments/localcontent/0J10622_7218860311.jpg)](https://core-electronics.com.au/attachments/localcontent/0J10622_7187980a120.jpg) \| \|---\| \| 6-Pin Female JST SH-Style Cable. \| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J10972_9833abac05.jpg)](https://core-electronics.com.au/attachments/localcontent/0J10972_22234126b10.jpg) \| \|---\|---\| \| Top-Entry and Side-Entry Breakout Boards for JST SH-Style Connectors, 6-Pin Male. \| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J10989_191240d5aca.jpg)](https://core-electronics.com.au/attachments/localcontent/0J10989_24669946d93.jpg) \| \|---\|---\| \| Side-entry JST SH-style connector breakout board in a breadboard, female-female cable, and encoder with connector mounted on a Micro Metal Gearmotor. \| |
|---|

**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. One way to achieve good alignment between the board and the motor is to tack down the board to one motor pin and to solder the other pin only when the board is flat and 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 connector pins as labeled below, and they can be accessed via the red and black wires when used with Pololu's corresponding JST cables. The remaining four connector pins are used to power the sensors and access the two quadrature outputs:

 | \| [![](https://core-electronics.com.au/attachments/localcontent/0J10599_2437669bdf1.jpg)](https://core-electronics.com.au/attachments/localcontent/0J10599_492915bf303.jpg) \| \|---\| | \| [![](https://core-electronics.com.au/attachments/localcontent/0J10598_198810b9f6c.jpg)](https://core-electronics.com.au/attachments/localcontent/0J10598_1413935b897.jpg) \| \|---\|---\| |
|---|

The sensors are powered through the VCC (blue wire) and GND (green wire) pins. VCC can be 2.7 V to 18 V, and the quadrature outputs A and B (yellow and white wires) are digital signals that are either driven low (0 V) by the sensors or pulled to VCC through 10 kO pull-up resistors, depending on the applied magnetic field. The sensors’ comparators have built-in hysteresis, which prevents spurious signals in cases where the motor stops near a transition point.

 | [![](https://core-electronics.com.au/attachments/localcontent/0J5831_7108045089e.jpg)](https://core-electronics.com.au/attachments/localcontent/0J5831_2176751a060.png) |
|---|
| Encoder A and B outputs of a magnetic encoder on a high-power (HP) micro metal gearmotor running at 6 V. |

**Schematic diagram**

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

This schematic is also available as a downloadable pdf (80k pdf).

**Comparison to previous version**

This encoder module is a modification of the [previous version](https://core-electronics.com.au/magnetic-encoder-pair-kit-for-micro-metal-gearmotors-12-cpr-2-7-18v-hpcb-compatible.html) that adds a connector to enable the use of removable cables. The basic schematic is unchanged, and the electrical performance is identical. The following picture shows the two new encoders with JST SH-type connectors next to the previous (green) one:

 | [![](https://core-electronics.com.au/attachments/localcontent/0J10615_35381c16e21.jpg)](https://core-electronics.com.au/attachments/localcontent/0J10615_20466b00e04.jpg) |
|---|
| Side-by-side comparison of Magnetic Encoder with Top-Entry Connector (left), Side-Entry Connector (center), and 2mm-pitch through-holes (right). |

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

 | [![Magnetic Encoder Pair Kit with Side-Entry Connector for Micro Metal Gearmotors, 12 CPR, 2.7-18V](https://core-electronics.com.au/attachments/localcontent/0J10605_3547e4dcce.jpg)](https://core-electronics.com.au/magnetic-encoder-pair-kit-with-side-entry-connector-for-micro-metal-gearmotors-12-cpr-2-7-18v.html) | [Magnetic Encoder Pair Kit with Side-Entry Connector for Micro Metal Gearmotors, 12 CPR, 2.7-18V](https://core-electronics.com.au/magnetic-encoder-pair-kit-with-side-entry-connector-for-micro-metal-gearmotors-12-cpr-2-7-18v.html) |
|---|---|

 | [![6-Pin Single-Ended Female JST SH-Style Cable 12cm](https://core-electronics.com.au/attachments/localcontent/0J10619_4070503c3d.jpg)](https://core-electronics.com.au/6-pin-single-ended-female-jst-sh-style-cable-12cm.html) | [6-Pin Single-Ended Female JST SH-Style Cable 12cm](https://core-electronics.com.au/6-pin-single-ended-female-jst-sh-style-cable-12cm.html) |
|---|---|

**Dimensions**

 | Size: | 12.8 mm × 11.6 mm[1](https://core-electronics.com.au/#note1) |
|---|---|
| Weight: | 1.5 g[2](https://core-electronics.com.au/#note2) |

**General specifications**

 | Minimum operating voltage: | 2.7 V |
|---|---|
| Maximum operating voltage: | 18 V |
| Connector: | top-entry, 6-pin male, JST SH-type |

**Identifying markings**

 | PCB dev codes: | enc03c |
|---|---|
| Other PCB markings: | 0J12460 |

**Notes:**

 1 The assembled encoder will extend approximately 5 mm beyond the plastic motor end cap. 2 Weight of full set. Each encoder board weighs ~0.4 g and each magnet disc weighs ~0.3 g. **File downloads**

- **Schematic diagram of the Magnetic Encoder Pair Kit with JST SH-Type Connector (Top-Entry or Side-Entry) for Micro Metal Gearmotors (80k pdf)**
- **Dimension diagrams of the Magnetic Encoder Pair Kit with JST SH-Type Connector (Top-Entry or Side-Entry) for Micro Metal Gearmotors (394k pdf)**
    
    This file contains dimension diagrams for the [Magnetic Encoder Pair Kit with Top-Entry Connector](https://core-electronics.com.au/magnetic-encoder-pair-kit-with-top-entry-connector-for-micro-metal-gearmotors-12-cpr-2-7-18v.html) and the [Magnetic Encoder Pair Kit with Side-Entry Connector](https://core-electronics.com.au/magnetic-encoder-pair-kit-with-side-entry-connector-for-micro-metal-gearmotors-12-cpr-2-7-18v.html).
- **3D models of the Magnetic Encoder Pair Kit with JST SH-Type Connector (Top-Entry or Side-Entry) for Micro Metal Gearmotors (1MB zip)**
    
    This file contains 3D models (in the step file format) of the components for the [Magnetic Encoder Pair Kit with Top-Entry Connector](https://core-electronics.com.au/magnetic-encoder-pair-kit-with-top-entry-connector-for-micro-metal-gearmotors-12-cpr-2-7-18v.html) and the [Magnetic Encoder Pair Kit with Side-Entry Connector](https://core-electronics.com.au/magnetic-encoder-pair-kit-with-side-entry-connector-for-micro-metal-gearmotors-12-cpr-2-7-18v.html).
- **Drill guides for the Magnetic Encoder Pair Kit with JST SH-Type Connector (Top-Entry or Side-Entry) for Micro Metal Gearmotors (4k zip)**
    
    These DXF drawings show the locations of all of the holes on the [Magnetic Encoder Pair Kit with Top-Entry Connector (enc03c)](https://core-electronics.com.au/magnetic-encoder-pair-kit-with-top-entry-connector-for-micro-metal-gearmotors-12-cpr-2-7-18v.html) and the [Magnetic Encoder Pair Kit with Side-Entry Connector (enc03d)](https://core-electronics.com.au/magnetic-encoder-pair-kit-with-side-entry-connector-for-micro-metal-gearmotors-12-cpr-2-7-18v.html).
 
**Recommended links**

- **[Texas Instruments DRV5013 Hall effect sensor datasheet](https://core-electronics.com.au/attachments/localcontent/drv5013_1629927677f.pdf)**

## Images

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