Pololu Magnetic Encoder Pair Kit for Micro Metal Gearmotors
Add quadrature encoders to your micro metal gearmotors (extended back shaft version required) with this Pololu 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. This module is compatible with all of the dual-shaft micro metal gearmotors we carry, including the HPCB versions.
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 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.
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 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.
The board’s six pads have a 2 mm pitch, so they do not work with common 0.1″ connectors. One option for connecting to the board is to solder in individual wires, such as in the example below:
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. The size of the gap between the encoder disc and the sensor board does not have a big impact on performance as long as the motor shaft is at least all the way through the disc.
Magnetic Encoder Pair Kit for Micro Metal Gearmotors
- Manufacturer: Pololu
- Product Code: 3081
- Stock Quantity:
- Backorder not allowed
- Ex Tax: £7.45