Pimoroni Servo 2040 Pinout

Pinout of the assembled Pimoroni Servo 2040.

Jump to pin index ↓

Main pinout

Pinout of the assembled Pimoroni Servo 2040. The board drives 18 hobby servos, reads six multiplexed analog sensors and exposes an unpopulated 17-pin expansion row. USB-C programs and powers the logic. The external screw terminal can power the servo rail.

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 signal details

Pin index

Pin index

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

91 visible
PinMCU pinTypesNotes
GP0PWMGPIOServo 1 control signal at the S row, nearest the board center.
PowerServo 1 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 1 return, outer (−) row. All 18 returns share SERVO_GND.
GP1PWMGPIOServo 2 control signal at the S row, nearest the board center.
PowerServo 2 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 2 return, outer (−) row. All 18 returns share SERVO_GND.
GP2PWMGPIOServo 3 control signal at the S row, nearest the board center.
PowerServo 3 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 3 return, outer (−) row. All 18 returns share SERVO_GND.
GP3PWMGPIOServo 4 control signal at the S row, nearest the board center.
PowerServo 4 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 4 return, outer (−) row. All 18 returns share SERVO_GND.
GP4PWMGPIOServo 5 control signal at the S row, nearest the board center.
PowerServo 5 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 5 return, outer (−) row. All 18 returns share SERVO_GND.
GP5PWMGPIOServo 6 control signal at the S row, nearest the board center.
PowerServo 6 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 6 return, outer (−) row. All 18 returns share SERVO_GND.
GP6PWMGPIOServo 7 control signal at the S row, nearest the board center.
PowerServo 7 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 7 return, outer (−) row. All 18 returns share SERVO_GND.
GP7PWMGPIOServo 8 control signal at the S row, nearest the board center.
PowerServo 8 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 8 return, outer (−) row. All 18 returns share SERVO_GND.
GP8PWMGPIOServo 9 control signal at the S row, nearest the board center.
PowerServo 9 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 9 return, outer (−) row. All 18 returns share SERVO_GND.
GP9PWMGPIOServo 10 control signal at the S row, nearest the board center.
PowerServo 10 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 10 return, outer (−) row. All 18 returns share SERVO_GND.
GP10PWMGPIOServo 11 control signal at the S row, nearest the board center.
PowerServo 11 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 11 return, outer (−) row. All 18 returns share SERVO_GND.
GP11PWMGPIOServo 12 control signal at the S row, nearest the board center.
PowerServo 12 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 12 return, outer (−) row. All 18 returns share SERVO_GND.
GP12PWMGPIOServo 13 control signal at the S row, nearest the board center.
PowerServo 13 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 13 return, outer (−) row. All 18 returns share SERVO_GND.
GP13PWMGPIOServo 14 control signal at the S row, nearest the board center.
PowerServo 14 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 14 return, outer (−) row. All 18 returns share SERVO_GND.
GP14PWMGPIOServo 15 control signal at the S row, nearest the board center.
PowerServo 15 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 15 return, outer (−) row. All 18 returns share SERVO_GND.
GP15PWMGPIOServo 16 control signal at the S row, nearest the board center.
PowerServo 16 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 16 return, outer (−) row. All 18 returns share SERVO_GND.
GP16PWMGPIOServo 17 control signal at the S row, nearest the board center.
PowerServo 17 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 17 return, outer (−) row. All 18 returns share SERVO_GND.
GP17PWMGPIOServo 18 control signal at the S row, nearest the board center.
PowerServo 18 power, middle (+) row. All 18 V+ contacts share SERVO_POWER.
GNDServo 18 return, outer (−) row. All 18 returns share SERVO_GND.
AnalogSensor 1 analog input, on the row nearest the RGB LEDs. Use 0–3.3 V.
PowerRegulated 3.3 V output for sensor 1, middle row.
GNDBoard ground for sensor 1, outer (−) row.
AnalogSensor 2 analog input, on the row nearest the RGB LEDs. Use 0–3.3 V.
PowerRegulated 3.3 V output for sensor 2, middle row.
GNDBoard ground for sensor 2, outer (−) row.
AnalogSensor 3 analog input, on the row nearest the RGB LEDs. Use 0–3.3 V.
PowerRegulated 3.3 V output for sensor 3, middle row.
GNDBoard ground for sensor 3, outer (−) row.
AnalogSensor 4 analog input, on the row nearest the RGB LEDs. Use 0–3.3 V.
PowerRegulated 3.3 V output for sensor 4, middle row.
GNDBoard ground for sensor 4, outer (−) row.
AnalogSensor 5 analog input, on the row nearest the RGB LEDs. Use 0–3.3 V.
PowerRegulated 3.3 V output for sensor 5, middle row.
GNDBoard ground for sensor 5, outer (−) row.
AnalogSensor 6 analog input, on the row nearest the RGB LEDs. Use 0–3.3 V.
PowerRegulated 3.3 V output for sensor 6, middle row.
GNDBoard ground for sensor 6, outer (−) row.
PowerJ6 pin 17. Logic-side 5 V rail, directly shared with USB VBUS.
GNDJ6 pin 16. Board ground.
PowerJ6 pin 15. Regulated 3.3 V output shared with Qw/ST and the sensor headers.
GP20I2CGPIOJ6 pin 14. I2C data shared with Qw/ST.
GP21I2CGPIOJ6 pin 13. I2C clock shared with Qw/ST.
GP19GPIOJ6 pin 12. Breakout Garden interrupt signal.
GNDJ6 pin 11. Board ground.
GP26AnalogGPIOJ6 pin 10. Direct analog input or 3.3 V GPIO.
GP27AnalogGPIOJ6 pin 9. Direct analog input or 3.3 V GPIO.
GP28AnalogGPIOJ6 pin 8. Direct analog input or 3.3 V GPIO.
SWDJ6 pin 7. Serial Wire Debug clock.
SWDJ6 pin 6. Serial Wire Debug bidirectional data.
GNDJ6 pin 5. Board ground.
ControlJ6 pin 4. Active-low board reset.
GNDJ6 pin 3. Board ground.
GP23ControlGPIOJ6 pin 2. Active-low user switch line.
GNDJ6 pin 1. Board ground.
PowerJ3 positive external power input. Pimoroni rates the terminal at up to 10 A continuous.
GNDJ3 negative external supply terminal. Connect the external supply return here.

Specifications

Model
Pimoroni Servo 2040 (PIM613). The PCB revision marking is unconfirmed for the photographed board.
Controller
Raspberry Pi RP2040, dual Arm Cortex-M0+, up to 133 MHz, 264 KB SRAM and 2 MB of external QSPI flash.
Servo headers
18 signal, supply and return triplets. All 18 independent outputs require PIO. Hardware PWM provides 16 channels.
Logic and sensors
3.3 V logic. Keep analog signals within 0–3.3 V. Six sensor inputs share GP29/ADC3 through a 74LV4051. A0–A2 on J6 are direct ADC inputs.
Power
USB-C 5 V (up to 3 A per Pimoroni). External terminal up to 10 A continuous, subject to the supply, wiring and load.
Separate servo supply
For external servo power above 5 V (11 V maximum), open the rear power link and power board logic separately at 5 V. Avoid backfeeding USB when externally powered.
Monitoring
Multiplexer address 6 measures servo-rail voltage. Address 7 measures aggregate servo return current through the 3 mΩ shunt.
Expansion
Qw/ST (Qwiic / STEMMA QT) uses 3.3 V I2C0 on GP20/GP21. J6 exposes the same bus, GP19 interrupt, power, direct ADC, SWD, reset and the user button.
Onboard controls
RESET pulls RUN low. BOOT/USER is active low on GP23 and doubles as BOOTSEL. Six addressable RGB LEDs share GP18.
Size
62 × 42 × 12 mm including connectors, with four M2.5 mounting holes.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Servo 2040Board schematicPimoroniThree sheets generated 1 April 2022.Datasheet
Servo 2040Mechanical drawingPimoroniConnector positions and silkscreen.Datasheet
Servo 2040Firmware pin constantsPimoroniGPIO assignments and multiplexer addresses.Datasheet
RP2040Microcontroller datasheetRaspberry PiGPIO function selection and electrical characteristics.Datasheet