Magnetic Encoder Pair Kit for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V

Pololu item #: 3499
Brand: Pololu supply outlook
Status: Active and Preferred 
RoHS 3 compliant

Price break Unit price (US$)
1 8.95
5 8.23
25 7.58
100 6.97


backorders allowed

Add quadrature encoders to your 20D mm metal gearmotors (extended back shaft version required) with this kit that uses a magnetic disc and Hall effect sensors to provide 20 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. This module is compatible with all of the dual-shaft 20D mm metal gearmotors we carry.

 Description Specs (7) Pictures (11) Resources (5) FAQs (0) On the blog (2) 

Overview

This kit includes two dual-channel Hall effect sensor boards and two 10-pole magnetic discs that can be used to add quadrature encoding to two 20D mm metal gearmotors with extended back shafts (motors are not included with this kit). The encoder board senses the rotation of the magnetic disc and provides a resolution of 20 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 20. (We also have a 6-pole magnetic disc available separately that can work with this encoder to provide 12 counts per revolution of the motor shaft.)

This compact encoder solution fits within the 20 mm diameter cross section of the rear of the motors on three of the four sides. The fourth side of the encoder has the signal and power connections, and it extends 3 mm past flat edge of the motor. The assembly does not extend past the end of the extended motor shaft, which protrudes 6 mm beyond the back of the motor.

Note: This sensor system is intended for users comfortable with the physical encoder installation. It only works with 20D mm meta gearmotors that have extended motor 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 motor case or 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; the remaining four pads are used to power the sensors and access the two quadrature outputs:

The sensors are powered through the VCC and GND pins. VCC can be 2.7 V to 18 V, and the quadrature outputs A and B 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 6V 20D mm metal gearmotor running at 6V.

The board’s six pads have a 0.1″ (2.54 mm) pitch, so they are compatible with common 0.1″ connectors, or you can just solder individual wires directly to the board.

Once the board is soldered to the motor, the magnetic encoder disc can be pushed onto the motor shaft. One easy way to accomplish this is to press the motor onto the disc while it is sitting on a flat surface, pushing until the shaft makes contact with that surface. From here, we recommend further pushing the disc a little closer to the PCB (by approximately 1 mm) to help ensure a strong signal and good performance. The exact position doesn’t matter; just make sure not to push it so close that the magnet is rubbing against the sensors.

Push the magnetic disc onto the motor shaft so the shaft protrudes approximately 1 mm past the disc.

Schematic diagram

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

People often buy this product together with:

Pololu Universal Aluminum Mounting Hub for 4mm Shaft, #4-40 Holes (2-Pack) Pololu Universal Aluminum Mounting Hub for 4mm Shaft, #4-40 Holes (2-Pack)
Pololu 20D mm Metal Gearmotor Bracket Pair Pololu 20D mm Metal Gearmotor Bracket Pair
Magnetic Encoder Pair Kit for Micro Metal Gearmotors, 12 CPR, 2.7-18V Magnetic Encoder Pair Kit for Micro Metal Gearmotors, 12 CPR, 2.7-18V

Related Products

Magnetic Encoder Disc for 20D mm Metal Gearmotors, OD 9.7 mm, ID 2.0 mm, 20 CPR (Bulk)
Magnetic Encoder Disc for 20D mm Metal Gearmotors, OD 9.7 mm, ID 2.0 mm, 12 CPR (Bulk)
Magnetic Encoder Pair Kit with Top-Entry Connector for Micro Metal Gearmotors, 12 CPR, 2.7-18V
Magnetic Encoder Pair Kit with Side-Entry Connector for Micro Metal Gearmotors, 12 CPR, 2.7-18V
Magnetic Encoder Pair Kit for Micro Metal Gearmotors, 12 CPR, 2.7-18V
Romi Encoder Pair Kit, 12 CPR, 3.5-18V
Magnetic Encoder Pair Kit for Mini Plastic Gearmotors, 12 CPR, 2.7-18V

Related Categories

Encoders
20D Metal Gearmotors
Encoders for Micro Metal Gearmotors
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors