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

This is a merged information page for Item #4760.
View normal product page.

Pololu item #: 4760
Brand: Pololu
Status: Active and Preferred 
RoHS 3 compliant


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. These encoders have a top-entry, 6-pin male JST SH-type connector, and we have cables that work with them available in several lengths (12 cm, 30 cm, and 75 cm). This module is compatible with all of the dual-shaft micro metal gearmotors we carry, including the HPCB versions.

Alternatives available with variations in these parameter(s): connector Select variant…

Pictures

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

Pinout of Magnetic Encoder with Top-Entry Connector for Micro Metal Gearmotors, magnet-side view of PCB with JST cable plugged in (cable not included).

Magnetic Encoder with Top-Entry Connector assembled on a Micro Metal Gearmotor with Extended Motor Shaft (JST cable not included).

Magnetic Encoder with Top-Entry Connector assembled on a Micro Metal Gearmotor with Extended Motor Shaft (JST cable not included).

Magnetic Encoder with Top-Entry Connector for Micro Metal Gearmotors.

Magnetic Encoder with Top-Entry Connector for Micro Metal Gearmotors, motor-side view of PCB.

Magnetic Encoder with Top-Entry Connector for Micro Metal Gearmotors, 12 CPR, 2.7-18V, motor-side view of PCB with dimensions.

Magnetic Encoder with Top-Entry Connector assembled on a Micro Metal Gearmotor with Extended Motor Shaft.

Magnetic Encoder with Top-Entry Connector assembled on a Micro Metal Gearmotor with Extended Motor Shaft.

Encoder A and B outputs of a magnetic encoder on a high-power (HP) 6V Micro Metal Gearmotor running at 6 V.

Schematic diagram of the Magnetic Encoder Pair Kit with JST SH-Type Connector (Top-Entry or Side-Entry) for Micro Metal Gearmotors.

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

Magnetic Encoder with Top-Entry Connector (top) and Side-Entry Connector (bottom) assembled Micro Metal Gearmotors with Extended Motor Shafts (JST cables not included).

Side-by-side comparison of Magnetic Encoder with Top-Entry Connector (left), Side-Entry Connector (center), and 2mm-pitch through-holes (right).

Magnetic Encoder with Top-Entry Connector (left), Side-Entry Connector (center), and 2mm-pitch through-holes (right) assembled on Micro Metal Gearmotors with Extended Shafts.

Magnetic Encoder kit with Top-Entry Connector (top), Side-Entry Connector (center), and 2mm-pitch through-holes (bottom) assembled on Micro Metal Gearmotors with Extended Shafts.

Standard packaging for the Magnetic Encoder Pair Kit with Top-Entry Connector for Micro Metal Gearmotors, 12 CPR, 2.7-18V.




Overview

This kit includes two dual-channel Hall effect sensor boards and two 6-pole magnetic discs that can be used to add quadrature encoding to two micro metal gearmotors with extended back 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.

The encoders include a top-entry, 6-pin male JST SH-type connector. We also carry a version of this encoder with a side-entry connector; the following pictures show comparisons of the top-entry and side-entry versions:

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

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.

Cable options

We 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:

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

These double-ended cables can be used with our JST SH-style connector breakout boards (available in top-entry and side-entry versions) to easily access the motor and encoder pins on a standard solderless breadboard.

6-Pin female JST SH-style connector.

Top-Entry and Side-Entry Breakout Boards for JST SH-Style Connectors, 6-Pin Male.

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 our corresponding JST cables. The remaining four connector pins are used to power the sensors and access the two quadrature outputs:

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 kΩ 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.

Encoder A and B outputs of a magnetic encoder on a high-power (HP) 6V Micro Metal Gearmotor running at 6 V.

Schematic diagram

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

Comparison to previous version

This encoder module is a modification of the previous version 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:

Side-by-side comparison of Magnetic Encoder with Top-Entry Connector (left), Side-Entry Connector (center), and 2mm-pitch through-holes (right).

Dimensions

Size: 12.8 mm × 11.6 mm1
Weight: 1.5 g2

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

Recommended links

Frequently-asked questions

No FAQs available.

On the blog