Main pinout
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
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.
Pin index
Quickly scan every header pin, port name, supported function and usage note.
| Pin | MCU pin | Types | Notes |
|---|---|---|---|
| GND | Motor A, JST-SH pin 6. Encoder ground. | |
GP1 | GPIO | Motor A, JST-SH pin 5. Quadrature encoder channel B input on GP1, at 3.3 V logic. | |
GP0 | GPIO | Motor A, JST-SH pin 4. Quadrature encoder channel A input on GP0, at 3.3 V logic. | |
| Power | Motor A, JST-SH pin 3. Regulated encoder supply. | |
| Motor | Motor A, JST-SH pin 2. OUT_MOT_AN, a switched motor terminal from DRV8833 U2 BOUT1. | |
| Motor | Motor A, JST-SH pin 1. OUT_MOT_AP, a switched motor terminal from DRV8833 U2 BOUT2. | |
| GND | Motor B, JST-SH pin 6. Encoder ground. | |
GP3 | GPIO | Motor B, JST-SH pin 5. Quadrature encoder channel B input on GP3, at 3.3 V logic. | |
GP2 | GPIO | Motor B, JST-SH pin 4. Quadrature encoder channel A input on GP2, at 3.3 V logic. | |
| Power | Motor B, JST-SH pin 3. Regulated encoder supply. | |
| Motor | Motor B, JST-SH pin 2. OUT_MOT_BN, a switched motor terminal from DRV8833 U2 AOUT2. | |
| Motor | Motor B, JST-SH pin 1. OUT_MOT_BP, a switched motor terminal from DRV8833 U2 AOUT1. | |
| GND | Motor C, JST-SH pin 6. Encoder ground. | |
GP13 | GPIO | Motor C, JST-SH pin 5. Quadrature encoder channel B input on GP13, at 3.3 V logic. | |
GP12 | GPIO | Motor C, JST-SH pin 4. Quadrature encoder channel A input on GP12, at 3.3 V logic. | |
| Power | Motor C, JST-SH pin 3. Regulated encoder supply. | |
| Motor | Motor C, JST-SH pin 2. OUT_MOT_CN, a switched motor terminal from DRV8833 U3 BOUT1. | |
| Motor | Motor C, JST-SH pin 1. OUT_MOT_CP, a switched motor terminal from DRV8833 U3 BOUT2. | |
| GND | Motor D, JST-SH pin 6. Encoder ground. | |
GP15 | GPIO | Motor D, JST-SH pin 5. Quadrature encoder channel B input on GP15, at 3.3 V logic. | |
GP14 | GPIO | Motor D, JST-SH pin 4. Quadrature encoder channel A input on GP14, at 3.3 V logic. | |
| Power | Motor D, JST-SH pin 3. Regulated encoder supply. | |
| Motor | Motor D, JST-SH pin 2. OUT_MOT_DN, a switched motor terminal from DRV8833 U3 AOUT2. | |
| Motor | Motor D, JST-SH pin 1. OUT_MOT_DP, a switched motor terminal from DRV8833 U3 AOUT1. | |
| GND | Qw/ST pin 1, ground. | |
| Power | Qw/ST pin 2, regulated 3.3 V output. | |
GP20 | I2C | Qw/ST pin 3. Shared with Breakout Garden at J4 pin 10. | |
GP21 | I2C | Qw/ST pin 4. Shared with Breakout Garden at J4 pin 9. | |
| Power | Unpopulated extension header J4 pin 13. System supply to the 3.3 V regulator. | |
| GND | Unpopulated extension header J4 pin 12. Ground at the VSYS pads. | |
| Power | Unpopulated extension header J4 pin 11. Breakout Garden supply output. | |
GP20 | I2C | Unpopulated extension header J4 pin 10. Breakout Garden SDA, shared with Qw/ST pin 3. | |
GP21 | I2C | Unpopulated extension header J4 pin 9. Breakout Garden SCL, shared with Qw/ST pin 4. | |
GP19 | GPIO | Unpopulated extension header J4 pin 8. Breakout Garden interrupt signal on GP19. | |
| GND | Unpopulated extension header J4 pin 7. Ground at the Breakout Garden pads. | |
GP26 | ADC | Unpopulated extension header J4 pin 6. Direct analog input 0 on GP26. | |
GP27 | ADC | Unpopulated extension header J4 pin 5. Direct analog input 1 on GP27. | |
GP28 | ADC | Unpopulated extension header J4 pin 4. Direct analog input 2 on GP28. | |
SWCLK | SWD | Unpopulated extension header J4 pin 3. Serial Wire Debug clock input. | |
SWDIO | SWD | Unpopulated extension header J4 pin 2. Serial Wire Debug bidirectional data. | |
| GND | Unpopulated extension header J4 pin 1. Ground at the SWD pads. | |
| GND | Unpopulated UART/ultrasonic header J2 pin 4, ground. | |
GP17 | UART | Unpopulated header J2 pin 3, 3.3 V UART0 RX or ultrasonic ECHO. | |
GP16 | UART | Unpopulated header J2 pin 2, 3.3 V UART0 TX or ultrasonic TRIG. | |
| Power | Unpopulated UART/ultrasonic header J2 pin 1, regulated 3.3 V output. | |
| Power | Unpopulated external supply input J3 pin 1, positive motor supply. | |
| GND | Unpopulated external supply input J3 pin 2, return to board ground. | |
| ADC | Sensor 1 signal input on the unpopulated J5 footprint. | |
| Power | Sensor 1 3.3 V output, shared with the other J5 row. | |
| GND | Sensor 1 ground, shared with the other J5 row. | |
| ADC | Sensor 2 signal input on the unpopulated J5 footprint. | |
| Power | Sensor 2 3.3 V output, shared with the other J5 row. | |
| GND | Sensor 2 ground, shared with the other J5 row. |
References
Manufacturer references and technical documentation.
| Chip | Role | Manufacturer | Notes | Link |
|---|---|---|---|---|
Motor 2040 | Product specification | Pimoroni | PIM618 product listing, photos and board ratings. | Datasheet |
Motor 2040 PIM618 | Three-sheet board schematic | Pimoroni | Drawings generated 16 June 2022. | Datasheet |
Motor 2040 | Mechanical drawing | Pimoroni | PCB outline, connector placement and mounting dimensions. | Datasheet |
Motor 2040 | Firmware pin and mux definitions | Pimoroni | Motor, encoder, sensor and onboard control constants. | Datasheet |
RP2040 | MCU datasheet | Raspberry Pi | GPIO, PWM and ADC function assignments. | Datasheet |
DRV8833 | Dual H-bridge datasheet | Texas Instruments | Motor outputs, current regulation and fault signalling. | Datasheet |