Pimoroni Motor 2040 Pinout

Four DRV8833-driven motor channels with quadrature inputs, plus onboard voltage, current and fault sensing. The front view identifies the connector solder tails and the unpopulated breakout headers.

Jump to pin index ↓

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show advanced functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

53 visible
PinMCU pinTypesNotes
GNDMotor A, JST-SH pin 6. Encoder ground.
GP1GPIOMotor A, JST-SH pin 5. Quadrature encoder channel B input on GP1, at 3.3 V logic.
GP0GPIOMotor A, JST-SH pin 4. Quadrature encoder channel A input on GP0, at 3.3 V logic.
PowerMotor A, JST-SH pin 3. Regulated encoder supply.
MotorMotor A, JST-SH pin 2. OUT_MOT_AN, a switched motor terminal from DRV8833 U2 BOUT1.
MotorMotor A, JST-SH pin 1. OUT_MOT_AP, a switched motor terminal from DRV8833 U2 BOUT2.
GNDMotor B, JST-SH pin 6. Encoder ground.
GP3GPIOMotor B, JST-SH pin 5. Quadrature encoder channel B input on GP3, at 3.3 V logic.
GP2GPIOMotor B, JST-SH pin 4. Quadrature encoder channel A input on GP2, at 3.3 V logic.
PowerMotor B, JST-SH pin 3. Regulated encoder supply.
MotorMotor B, JST-SH pin 2. OUT_MOT_BN, a switched motor terminal from DRV8833 U2 AOUT2.
MotorMotor B, JST-SH pin 1. OUT_MOT_BP, a switched motor terminal from DRV8833 U2 AOUT1.
GNDMotor C, JST-SH pin 6. Encoder ground.
GP13GPIOMotor C, JST-SH pin 5. Quadrature encoder channel B input on GP13, at 3.3 V logic.
GP12GPIOMotor C, JST-SH pin 4. Quadrature encoder channel A input on GP12, at 3.3 V logic.
PowerMotor C, JST-SH pin 3. Regulated encoder supply.
MotorMotor C, JST-SH pin 2. OUT_MOT_CN, a switched motor terminal from DRV8833 U3 BOUT1.
MotorMotor C, JST-SH pin 1. OUT_MOT_CP, a switched motor terminal from DRV8833 U3 BOUT2.
GNDMotor D, JST-SH pin 6. Encoder ground.
GP15GPIOMotor D, JST-SH pin 5. Quadrature encoder channel B input on GP15, at 3.3 V logic.
GP14GPIOMotor D, JST-SH pin 4. Quadrature encoder channel A input on GP14, at 3.3 V logic.
PowerMotor D, JST-SH pin 3. Regulated encoder supply.
MotorMotor D, JST-SH pin 2. OUT_MOT_DN, a switched motor terminal from DRV8833 U3 AOUT2.
MotorMotor D, JST-SH pin 1. OUT_MOT_DP, a switched motor terminal from DRV8833 U3 AOUT1.
GNDQw/ST pin 1, ground.
PowerQw/ST pin 2, regulated 3.3 V output.
GP20I2CQw/ST pin 3. Shared with Breakout Garden at J4 pin 10.
GP21I2CQw/ST pin 4. Shared with Breakout Garden at J4 pin 9.
PowerUnpopulated extension header J4 pin 13. System supply to the 3.3 V regulator.
GNDUnpopulated extension header J4 pin 12. Ground at the VSYS pads.
PowerUnpopulated extension header J4 pin 11. Breakout Garden supply output.
GP20I2CUnpopulated extension header J4 pin 10. Breakout Garden SDA, shared with Qw/ST pin 3.
GP21I2CUnpopulated extension header J4 pin 9. Breakout Garden SCL, shared with Qw/ST pin 4.
GP19GPIOUnpopulated extension header J4 pin 8. Breakout Garden interrupt signal on GP19.
GNDUnpopulated extension header J4 pin 7. Ground at the Breakout Garden pads.
GP26ADCUnpopulated extension header J4 pin 6. Direct analog input 0 on GP26.
GP27ADCUnpopulated extension header J4 pin 5. Direct analog input 1 on GP27.
GP28ADCUnpopulated extension header J4 pin 4. Direct analog input 2 on GP28.
SWCLKSWDUnpopulated extension header J4 pin 3. Serial Wire Debug clock input.
SWDIOSWDUnpopulated extension header J4 pin 2. Serial Wire Debug bidirectional data.
GNDUnpopulated extension header J4 pin 1. Ground at the SWD pads.
GNDUnpopulated UART/ultrasonic header J2 pin 4, ground.
GP17UARTUnpopulated header J2 pin 3, 3.3 V UART0 RX or ultrasonic ECHO.
GP16UARTUnpopulated header J2 pin 2, 3.3 V UART0 TX or ultrasonic TRIG.
PowerUnpopulated UART/ultrasonic header J2 pin 1, regulated 3.3 V output.
PowerUnpopulated external supply input J3 pin 1, positive motor supply.
GNDUnpopulated external supply input J3 pin 2, return to board ground.
ADCSensor 1 signal input on the unpopulated J5 footprint.
PowerSensor 1 3.3 V output, shared with the other J5 row.
GNDSensor 1 ground, shared with the other J5 row.
ADCSensor 2 signal input on the unpopulated J5 footprint.
PowerSensor 2 3.3 V output, shared with the other J5 row.
GNDSensor 2 ground, shared with the other J5 row.

Specifications

Model
Pimoroni Motor 2040, PIM618. The photographs and the June 2022 schematic agree on the layout. No PCB revision code is visible.
Processor and flash
RP2040 with 264 KB SRAM and 2 MB onboard QSPI flash.
Motor outputs
Four 6-pin JST-SH ports, 1 mm pitch. Two DRV8833 dual H-bridges. The board motor supply range is 2.7–10 V.
Current regulation
Pimoroni lists 0.5 A per channel by default. The schematic calculates 0.425 A nominal with a 0.47 Ω shunt. Bridging a rear current-limit jumper also disables current monitoring on that channel.
Power routing
As shipped, use one supply: USB-C 5 V, EXT PWR or VSYS. Rear links connect USB 5 V and the motor rail to VSYS. The regulator input limit of 13.2 V applies to the isolated system rail, within all remaining rail limits.
Logic and 3V3
Use 3.3 V logic. The 3.3 V regulator is rated for 150 mA total. Keep analog inputs within ground and the actual ADC supply.
Sensors and buses
Two muxed sensor rows, three direct ADC pins, UART0 or ultrasonic TRIG/ECHO, I2C0 on Qw/ST and Breakout Garden, plus SWD.
Monitoring
The 74LV4051 routes motor currents A–D, motor voltage, shared fault, S1 and S2 to GP29/ADC3 at mux addresses 0–7 respectively.
Dimensions
52 × 38 mm PCB, approximately 7.7 mm high. Four M2.5 mounting positions.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Motor 2040Product specificationPimoroniPIM618 product listing, photos and board ratings.Datasheet
Motor 2040 PIM618Three-sheet board schematicPimoroniDrawings generated 16 June 2022.Datasheet
Motor 2040Mechanical drawingPimoroniPCB outline, connector placement and mounting dimensions.Datasheet
Motor 2040Firmware pin and mux definitionsPimoroniMotor, encoder, sensor and onboard control constants.Datasheet
RP2040MCU datasheetRaspberry PiGPIO, PWM and ADC function assignments.Datasheet
DRV8833Dual H-bridge datasheetTexas InstrumentsMotor outputs, current regulation and fault signalling.Datasheet