N20 gear motor with Hall encoder pinout

N20 gear motor with Hall encoder, 6 pins, brushed motor with gearbox and magnetic encoder, 5 V logic, 50×16 mm, 6 pins

partly verified17.10.2026

Side view, wires on the left, shaft on the right.

Download PNG
Chip
brushed motor with gearbox and magnetic encoder
Logic
5 V
Power
Encoder VCC 3.3-5 VM1 and M2 through a driver

Important

  • Encoder: C1 and C2 are offset by a quarter period. Pulses per output shaft revolution: 7 × gear ratio (×4 when counting all edges of both channels).
  • M1 and M2 go to the motor driver, encoder VCC and GND to the board supply, C1 to an interrupt-capable pin.
  • The connector on the encoder board is PH2.0 or ZH1.5 (6 pins): get a mating cable for yours.

All pins

LabelNumberFunctionsLimitsCheck
M1Motor pin M1: to the driver outputnot verified
GNDGroundnot verified
C1Encoder channel A (Hall sensor)not verified
C2Encoder channel B (Hall sensor)not verified
VCC5 Vpower inputnot verified
M2Motor pin M2: to the driver outputnot verified

Sources

Not verified against the manufacturer: 6 of 6 pins. The pin card says what confirms each one and where sources disagree.

Size: motor, gearbox and shaft per Pololu; encoder and wires are schematic (approximate).

FAQ

What supply voltage does the N20 gear motor with Hall encoder need?
Encoder VCC: 3.3-5 V.

You might also need

Similar boards