
4
Encoder A and B outputs of a magnetic encoder on a high-power (HP) mini plastic
gearmotor running at 4.5 V.
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. 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.