Pimoroni Inventor HAT Mini Pinout

PIM672 combines a 40-pin Raspberry Pi pass-through header with two motor/encoder ports and four 3-pin servo headers. The MS51TC0AE drives the servo PWM and motor bridge inputs over the host I2C bus.

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 HAT signal routing

Pin index

Pin index

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

64 visible
PinMCU pinTypesNotes
PowerRaspberry Pi physical pin 1. Host 3.3 V rail supplies the MS51TC0AE and both motor encoder power contacts.
PowerRaspberry Pi physical pin 2. Host 5 V rail feeds the amplifier and MOTOR_POWER through the factory link.
I2CRaspberry Pi physical pin 3. I2C1 data to the MS51TC0AE at 0x17 and the Qw/ST connector.
PowerRaspberry Pi physical pin 4. Host 5 V rail feeds the amplifier and MOTOR_POWER through the factory link.
I2CRaspberry Pi physical pin 5. I2C1 clock to the MS51TC0AE at 0x17 and the Qw/ST connector.
GNDRaspberry Pi physical pin 6. Common ground for the host, motor driver, encoder and servo circuits.
GPIORaspberry Pi physical pin 7. Interrupt line from MS51TC0AE P3.7, package pin 10.
UARTRaspberry Pi physical pin 8. Host TX, also the trigger output on the unpopulated 3.3 V J9 header.
GNDRaspberry Pi physical pin 9. Common ground for the host, motor driver, encoder and servo circuits.
UARTRaspberry Pi physical pin 10. Host RX, also the echo input on the unpopulated 3.3 V J9 header.
Pi pass-throughRaspberry Pi physical pin 11. BCM GPIO17 has no Inventor HAT Mini load shown on the PIM672 schematic.
I2SRaspberry Pi physical pin 12. Pi bit clock to the MAX98357A amplifier.
Pi pass-throughRaspberry Pi physical pin 13. BCM GPIO27 has no Inventor HAT Mini load shown on the PIM672 schematic.
GNDRaspberry Pi physical pin 14. Common ground for the host, motor driver, encoder and servo circuits.
Pi pass-throughRaspberry Pi physical pin 15. BCM GPIO22 has no Inventor HAT Mini load shown on the PIM672 schematic.
Pi pass-throughRaspberry Pi physical pin 16. BCM GPIO23 has no Inventor HAT Mini load shown on the PIM672 schematic.
PowerRaspberry Pi physical pin 17. Host 3.3 V rail supplies the MS51TC0AE and both motor encoder power contacts.
Pi pass-throughRaspberry Pi physical pin 18. BCM GPIO24 has no Inventor HAT Mini load shown on the PIM672 schematic.
Pi pass-throughRaspberry Pi physical pin 19. BCM GPIO10 has no Inventor HAT Mini load shown on the PIM672 schematic.
GNDRaspberry Pi physical pin 20. Common ground for the host, motor driver, encoder and servo circuits.
Pi pass-throughRaspberry Pi physical pin 21. BCM GPIO9 has no Inventor HAT Mini load shown on the PIM672 schematic.
GPIORaspberry Pi physical pin 22. Audio shutdown control. Drive high to enable audio when PCM_FS is active.
Pi pass-throughRaspberry Pi physical pin 23. BCM GPIO11 has no Inventor HAT Mini load shown on the PIM672 schematic.
Pi pass-throughRaspberry Pi physical pin 24. BCM GPIO8 has no Inventor HAT Mini load shown on the PIM672 schematic.
GNDRaspberry Pi physical pin 25. Common ground for the host, motor driver, encoder and servo circuits.
Pi pass-throughRaspberry Pi physical pin 26. BCM GPIO7 has no Inventor HAT Mini load shown on the PIM672 schematic.
Pi pass-throughRaspberry Pi physical pin 27. BCM GPIO0 has no Inventor HAT Mini load shown on the PIM672 schematic. Raspberry Pi reserves this contact for the HAT ID bus.
Pi pass-throughRaspberry Pi physical pin 28. BCM GPIO1 has no Inventor HAT Mini load shown on the PIM672 schematic. Raspberry Pi reserves this contact for the HAT ID bus.
Pi pass-throughRaspberry Pi physical pin 29. BCM GPIO5 has no Inventor HAT Mini load shown on the PIM672 schematic.
GNDRaspberry Pi physical pin 30. Common ground for the host, motor driver, encoder and servo circuits.
Pi pass-throughRaspberry Pi physical pin 31. BCM GPIO6 has no Inventor HAT Mini load shown on the PIM672 schematic.
GPIORaspberry Pi physical pin 32. Data for the chain of eight addressable RGB LEDs.
Pi pass-throughRaspberry Pi physical pin 33. BCM GPIO13 has no Inventor HAT Mini load shown on the PIM672 schematic.
GNDRaspberry Pi physical pin 34. Common ground for the host, motor driver, encoder and servo circuits.
I2SRaspberry Pi physical pin 35. Word select to the MAX98357A and the amplifier shutdown circuit.
Pi pass-throughRaspberry Pi physical pin 36. BCM GPIO16 has no Inventor HAT Mini load shown on the PIM672 schematic.
GPIORaspberry Pi physical pin 37. User button switches the line to 3.3 V when pressed.
Pi pass-throughRaspberry Pi physical pin 38. BCM GPIO20 has no Inventor HAT Mini load shown on the PIM672 schematic.
GNDRaspberry Pi physical pin 39. Common ground for the host, motor driver, encoder and servo circuits.
I2SRaspberry Pi physical pin 40. Pi audio data output to the MAX98357A DIN input.
MotorMotor A terminal + on MOTOR_A.
MotorMotor A terminal − on MOTOR_A.
PowerMOTOR_A contact 3. 3.3 V encoder supply from the Raspberry Pi rail.
EncoderMOTOR_A contact 4. ENC_A_A reaches the MS51TC0AE at P0.7. Quadrature input at 3.3 V logic.
EncoderMOTOR_A contact 5. ENC_A_B reaches the MS51TC0AE at P0.6. Quadrature input at 3.3 V logic.
GNDMOTOR_A contact 6. Encoder ground, shared with the host and the motor driver.
MotorMotor B terminal + on MOTOR_B.
MotorMotor B terminal − on MOTOR_B.
PowerMOTOR_B contact 3. 3.3 V encoder supply from the Raspberry Pi rail.
EncoderMOTOR_B contact 4. ENC_B_A reaches the MS51TC0AE at P3.5. Quadrature input at 3.3 V logic.
EncoderMOTOR_B contact 5. ENC_B_B reaches the MS51TC0AE at P3.1. Quadrature input at 3.3 V logic.
GNDMOTOR_B contact 6. Encoder ground, shared with the host and the motor driver.
Servo PWMServo 1 SIG. SERVO1_W10 comes from MS51TC0AE P1.2 (package pin 20, PWM1 CH0) through a 180 Ω resistor in RN2.
PowerServo 1 +. Shared motor/servo rail. 5 V from the Pi on an unmodified board.
GNDServo 1 GND. Common servo and board ground.
Servo PWMServo 2 SIG. SERVO2_W30 comes from MS51TC0AE P3.2 (package pin 19, PWM3 CH0) through a 180 Ω resistor in RN2.
PowerServo 2 +. Shared motor/servo rail. 5 V from the Pi on an unmodified board.
GNDServo 2 GND. Common servo and board ground.
Servo PWMServo 3 SIG. SERVO3_W31 comes from MS51TC0AE P3.4 (package pin 32, PWM3 CH1) through a 180 Ω resistor in RN2.
PowerServo 3 +. Shared motor/servo rail. 5 V from the Pi on an unmodified board.
GNDServo 3 GND. Common servo and board ground.
Servo PWMServo 4 SIG. SERVO4_W11 comes from MS51TC0AE P2.2 (package pin 15, PWM1 CH1) through a 180 Ω resistor in RN2.
PowerServo 4 +. Shared motor/servo rail. 5 V from the Pi on an unmodified board.
GNDServo 4 GND. Common servo and board ground.

Specifications

Model
PIM672. PCB revision unconfirmed in the photographed units.
Power
The factory link ties MOTOR_POWER to Pi 5 V. For a separate 2.7–10 V motor/servo supply, open the rear lightning-bolt link before powering J10, and stay within the load's voltage rating.
Motor driver
DRV8833 dual H-bridge with 425 mA current limiting per motor. Encoder power and signals are 3.3 V.
Motor outputs
The rear A/B socket shares the two channels with the two front 6-pin, 1 mm JST-SH sockets.
Servo header
Four 2.54 mm signal / MOTOR_POWER / ground triplets. The MS51TC0AE drives the signal pins through 180 Ω resistors.
Raspberry Pi header
2 × 20 at 2.54 mm. With the front lettering upright, pin 1 is the inner contact at the left end. I2C1: MS51TC0AE at 0x17.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
PIM672SchematicPimoroniTwo sheets, generated 17 April 2023.Datasheet
Motor JST-SHPhysical contact orderPimoroni forumTop-layer layout excerpt of both JST-SH footprints.Datasheet
MS51TC0AEI2C motor and servo controlPimoroniChannel numbers and library defaults.Datasheet
DRV8833Dual H-bridgeTexas InstrumentsBridge output names and operation.Datasheet
Raspberry PiGPIO orientationRaspberry PiHost physical numbering and 3.3 V levels.Datasheet