Servo Kit for Raspberry Pi

Where to Buy

Buy from

For the UK and Europe, you can buy the Servo Kit for Raspberry Pi from



This kit allows you to connect the two included servo motors to your Raspberry Pi using the Monk Makes ServoSix interface board.

box_contents_1 web

The kit includes:

  • 1 x Servo Six interface board
  • 2 x 9g servomotors
  • 1 x Set of jumper wires (female to female)
  • 1 x Raspberry Leaf pin identification template
  • 1 x 4AA battery box

box_contents_2 web

Connecting a Servo Six board to a Raspberry Pi

To connect a ServoSix board to a Raspberry Pi you need a female to female jumper wire to connect ground (GND) on the Raspberry Pi to GND on the ServoSix board. For each servo (up to six) that you want to control, you also need a female to female jumper wire connecting the control pin for that servo on the ServoSix board to one of the GPIO pins on the Raspberry Pi.

As a hint, the ServoSix board has the GPIO pin to be used with a particular control pin written next to it.

servo_six_pi web

So, looking at the picture above, the left most pin is GND and should be connected to a GND pin on the Raspberry Pi. The next pin along (control pin 1) should be connected to GPIO17 on the Raspberry Pi, control pin 2 on the ServoSix to GPIO18 and so on.

Power for the motors must be supplied separately using the screw terminal on the right, which is where the battery box comes in handy.

servo_six_pi web


Although you can use other libraries to control the servo motors, the easiest way to control them in Python is to download the servosix Python library on GitHub


For use with Raspberry Pi, we have created a Python library based on Richard Hurst’s ServoBlaster code. You can download the Servo Six Python library from Gitub. This allows accurate servo positioning with a nice easy to use Python interface:

from servosix import ServoSix
ss = ServoSix()
while True:
  servo = input("servo:")
  angle = input("angle:")
  ss.set_servo(servo, angle)

You will find full documentation for the library in the Github repository.