AI agents & screen readers: for a machine-readable, text-only catalogue, start at /llms.txt. Products are available as Markdown (/products.md, /products/{handle}.md) and JSON (/products.json, /products/{handle}.json).
Store

Pololu

$22.15 |
Out of stock
No reviews yet

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

Get notified when back in stock

Qty
Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

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, and we have cables available for it in three lengths:

  • 12 cm (4.5″)
  • 30 cm (12″)
  • 75 cm (30″)

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.

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) micro metal gearmotor running at 6 V.

Schematic diagram

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

Comparison to previous version

This encoder version 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 versions 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).

Jargon buster

Plain-language definitions for the technical terms used above.

encoder
An encoder is a sensor that converts the rotation or position of a shaft, knob or dial into electrical signals, reporting movement as incremental steps and direction, or as an absolute position. It is used to track how far something has turned, which matters for precise positioning, speed control, repeatable movement, or using a rotary knob as an input.
GND
GND is the ground or reference connection (0 V) for a circuit. When connecting two devices together, their grounds must be joined so both agree on what counts as a low or high signal.
VCC
VCC is the positive power-supply connection on a chip or module. Connecting it to the correct supply voltage is needed for the part to power on and helps avoid damaging the electronics.

Related Tutorials

Free guides on learn.littlebird.com.au

Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.