Waveshare N20 DC Gear Motor with Magnetic Hall Encoder
Pinout
- M1 motor power inputZH1.5-6PIN connector, pin 1/top in Waveshare encoder pin definition image
One brushed DC motor power terminal for the N20 gear motor winding.
Type · PowerVoltage · Motor rated voltage DC 12V per Waveshare parameters; drive through a motor driver, not directly from MCU GPIO. - Encoder GNDZH1.5-6PIN connector, pin 2/top-to-bottom in Waveshare encoder pin definition image
Ground reference for the onboard magnetic Hall encoder.
Type · GroundVoltage · Encoder power domain supports 3.3V or 5V per Waveshare encoder specifications. - Encoder phase AZH1.5-6PIN connector, pin 3/top-to-bottom in Waveshare encoder pin definition image
Incremental Hall encoder phase A square-wave output.
Type · SignalVoltage · 3.3V/5V encoder logic with pull-up resistor; directly connect to MCU per Waveshare encoder specifications. - Encoder phase BZH1.5-6PIN connector, pin 4/top-to-bottom in Waveshare encoder pin definition image
Incremental Hall encoder phase B square-wave output.
Type · SignalVoltage · 3.3V/5V encoder logic with pull-up resistor; directly connect to MCU per Waveshare encoder specifications. - Encoder VCCZH1.5-6PIN connector, pin 5/top-to-bottom in Waveshare encoder pin definition image
Power input for the onboard magnetic Hall encoder.
Type · PowerVoltage · DC 3.3V or DC 5.0V per Waveshare encoder specifications. - M2 motor power inputZH1.5-6PIN connector, pin 6/bottom in Waveshare encoder pin definition image
Other brushed DC motor power terminal for the N20 gear motor winding.
Type · PowerVoltage · Motor rated voltage DC 12V per Waveshare parameters; polarity controls direction through a suitable motor driver.
| Pin | Position | Type | Function | Voltage |
|---|---|---|---|---|
| M1 motor power input | ZH1.5-6PIN connector, pin 1/top in Waveshare encoder pin definition image | Power | One brushed DC motor power terminal for the N20 gear motor winding. | Motor rated voltage DC 12V per Waveshare parameters; drive through a motor driver, not directly from MCU GPIO. |
| Encoder GND | ZH1.5-6PIN connector, pin 2/top-to-bottom in Waveshare encoder pin definition image | Ground | Ground reference for the onboard magnetic Hall encoder. | Encoder power domain supports 3.3V or 5V per Waveshare encoder specifications. |
| Encoder phase A | ZH1.5-6PIN connector, pin 3/top-to-bottom in Waveshare encoder pin definition image | Signal | Incremental Hall encoder phase A square-wave output. | 3.3V/5V encoder logic with pull-up resistor; directly connect to MCU per Waveshare encoder specifications. |
| Encoder phase B | ZH1.5-6PIN connector, pin 4/top-to-bottom in Waveshare encoder pin definition image | Signal | Incremental Hall encoder phase B square-wave output. | 3.3V/5V encoder logic with pull-up resistor; directly connect to MCU per Waveshare encoder specifications. |
| Encoder VCC | ZH1.5-6PIN connector, pin 5/top-to-bottom in Waveshare encoder pin definition image | Power | Power input for the onboard magnetic Hall encoder. | DC 3.3V or DC 5.0V per Waveshare encoder specifications. |
| M2 motor power input | ZH1.5-6PIN connector, pin 6/bottom in Waveshare encoder pin definition image | Power | Other brushed DC motor power terminal for the N20 gear motor winding. | Motor rated voltage DC 12V per Waveshare parameters; polarity controls direction through a suitable motor driver. |
Pin details
6 connections- M1 motor power inputZH1.5-6PIN connector, pin 1/top in Waveshare encoder pin definition image
One brushed DC motor power terminal for the N20 gear motor winding.
PowerVoltage · Motor rated voltage DC 12V per Waveshare parameters; drive through a motor driver, not directly from MCU GPIO. - Encoder GNDZH1.5-6PIN connector, pin 2/top-to-bottom in Waveshare encoder pin definition image
Ground reference for the onboard magnetic Hall encoder.
GroundVoltage · Encoder power domain supports 3.3V or 5V per Waveshare encoder specifications. - Encoder phase AZH1.5-6PIN connector, pin 3/top-to-bottom in Waveshare encoder pin definition image
Incremental Hall encoder phase A square-wave output.
SignalVoltage · 3.3V/5V encoder logic with pull-up resistor; directly connect to MCU per Waveshare encoder specifications. - Encoder phase BZH1.5-6PIN connector, pin 4/top-to-bottom in Waveshare encoder pin definition image
Incremental Hall encoder phase B square-wave output.
SignalVoltage · 3.3V/5V encoder logic with pull-up resistor; directly connect to MCU per Waveshare encoder specifications. - Encoder VCCZH1.5-6PIN connector, pin 5/top-to-bottom in Waveshare encoder pin definition image
Power input for the onboard magnetic Hall encoder.
PowerVoltage · DC 3.3V or DC 5.0V per Waveshare encoder specifications. - M2 motor power inputZH1.5-6PIN connector, pin 6/bottom in Waveshare encoder pin definition image
Other brushed DC motor power terminal for the N20 gear motor winding.
PowerVoltage · Motor rated voltage DC 12V per Waveshare parameters; polarity controls direction through a suitable motor driver.
Start wiring
Wide input · Wired
Verify supply voltage and logic levels before powering up.
Module pins: Encoder VCC, Encoder GND, Encoder phase A, Encoder phase B. Schematik maps them to your board in the app.
DC motors
134 other optionsN20 micros in 1:50–1:298 ratios, 6V TT gearbox motors (120:1, 160RPM), 12V quadrature encoder gearmotors up to 45kg.cm, plus coreless micros, vibration discs, USB fans and a few outlier brushless motors.
12V 184P Gear Motor with Encoder visual preview12V 184P Gear Motor with Encoder
12V DC Motor 350RPM w/Encoder (12kg*cm) visual preview12V DC Motor 350RPM w/Encoder (12kg*cm)
12V Low Noise DC Motor 143RPM w/Encoder visual preview12V Low Noise DC Motor 143RPM w/Encoder
12V Metal DC Geared Motor with Encoder (131:1, 83RPM, 45Kg.cm) visual preview12V Metal DC Geared Motor with Encoder (131:1, 83RPM, 45Kg.cm)
12V Metal DC Geared Motor with Encoder (90:1, 122RPM, 38Kg.cm) visual preview12V Metal DC Geared Motor with Encoder (90:1, 122RPM, 38Kg.cm)
130 DC Motor visual preview130 DC Motor
2208 3-Phase Brushless DC Motor (12V 1800RPM, 300g.cm) visual preview2208 3-Phase Brushless DC Motor (12V 1800RPM, 300g.cm)
2804 3-Phase Brushless DC Motor (12V 2600RPM, 300g.cm) visual preview2804 3-Phase Brushless DC Motor (12V 2600RPM, 300g.cm)
3-Bladed Trifoil Propeller Fan for DC Motor visual preview3-Bladed Trifoil Propeller Fan for DC Motor
4015 3-Phase Brushless DC Motor (24V 1100RPM, 3500g.cm) visual preview4015 3-Phase Brushless DC Motor (24V 1100RPM, 3500g.cm)
5V Square USB Fan - 3 cm visual preview5V Square USB Fan - 3 cm
5V Square USB Fan - 4 cm visual preview5V Square USB Fan - 4 cm
Related groups
4 groups
15A Single DC Motor Driver visual previewMotor drivers
H-bridge breakouts from 1A to 43A (DRV8871, TB6612FNG, BTS7960), stepper drivers (A4988, TMC260, TB6600), I2C servo/solenoid controllers, and Pi/Arduino shields — sized by current and protocol.
Motors & actuators · Motor drivers · 77 parts
12V Solenoid Valve - DN15 visual previewPumps & valves
Solenoid valves (DN15/DN20 12V), 6V pneumatic air valves, push-pull and lock-style solenoids, 5V electromagnets (3–35kg holding force), 6V electric push rods (10–100mm stroke), peristaltic dosing pumps and submersible water pumps.
Motors & actuators · Pumps & solenoids · 41 parts
1 Degree of Freedom DF05BB Steering Head visual previewMechanics
Robot chassis (2WD miniQ, 4WD mecanum, 6WD outdoor), mecanum wheels (48–97mm), brass hex hubs (4–6mm), shaft couplers, 2GT timing pulleys and uArm robotic arms.
Motors & actuators · Robotics & mechanics · 144 parts
2.3KG Serial Bus Servo (6V) visual previewServos
9g micros and clutch PWM servos, IP67 metal servos to 35KG, and ST/SC/CF serial bus servos (2.3kg to 120kg.cm at 24V) — protocol matters as much as torque rating here.
Motors & actuators · Servos · 100 parts