deckle studio
Open the editor
Behavioural mixed-signal modelPololu #4752 (37Dx68L, 30:1, 12 V, 64 CPR encoder)gearmotor_enc

DC gearmotor 37D 30:1 12 V with encoder (Pololu #4752)

The 37D gearmotor with its Hall encoder on the motor shaft: 64 counts per motor turn (both edges of A and B), 1920 per turn of the output shaft at 30:1. A and B are square waves from 0 V to Vcc, 90° apart: A leads when the motor turns forward. Count them with interrupts to drive an exact distance or keep two wheels at the same speed. The encoder runs on 3.5–20 V: at 5 V, bring A and B to a 3.3 V input through a divider (e.g. 10 k / 20 k).

+−VCCGNDABPololu #4752
Schematic symbol

Key data

Category
Modules
Simulation model
Behavioural mixed-signal model
Manufacturer part number
Pololu #4752 (37Dx68L, 30:1, 12 V, 64 CPR encoder)
Reference prefix
M
Pins
6
Land pattern
PinHeader_1x06_P2.54mm_Vertical

Used in these examples 1

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
gearmotor_enc
Supply pins
VCC / GND

Pins 6

PinNameUse
++Passive pinPositive terminal (+)
-−Passive pinNegative terminal (−)
VCCVCCSupply pinSupply input: decouple with 100 nF close to the pin
GNDGNDGround pinGround
AAOutput pinLogic output: drives the next input; do not tie outputs together
BBOutput pinLogic output: drives the next input; do not tie outputs together

Parameters 11

Load torque (output)loadlive
Default0 N·m

Brakes the output shaft when no wheel is on it

Rated voltagevn
Default12 V
No-load speed (output)rpm
Default330 rpm
No-load currenti0
Default0.2 A
Stall currentistall
Default5.5 A
Stall torque (output)tstall
Default1.373 N·m

14 kg·cm

Gear ratioratio
Default30
Rotor inertiaJ
Default100n kg·m²

not published: assumption (1 g·cm²)

Armature inductanceL
Default1m H

not published: assumption

Massmass
Default200m kg

not published: estimate for the 37 × 68 mm motor with gearbox

Encoder counts per motor turncpr
Default64

Both edges of both channels (Pololu 37D: 64)

PCB

Connector / off-boardPinHeader_1x06_P2.54mm_Vertical

gearmotor with encoder off the board, its 6-wire cable on a 1×6 header (motor +, −, GND, Vcc, A, B as the Pololu cable); 0.1" pins carry about 3 A, the motor stalls at 5.5 A