SparkFun Pi Servo HAT
he SparkFun Pi Servo HAT allows your Raspberry Pi to control up to 16 servo motors in a straightforward and uncomplicated manner via an I2C connection. Thanks to its I2C capabilities, this PWM HAT saves the Raspberry Pi’s GPIO, allowing you to use them for other purposes. Additionally, the Pi Servo HAT adds a serial terminal connection, which will allow you to bring up a Raspberry Pi without having to hook it up to a monitor and keyboard.
Power to the SparkFun Pi Servo HAT is supplied by a microUSB connector that can be used to power the servo motors only, or to power the servo motors as well as the Pi that is connected to the HAT. This USB connector can also be used to hook up the Pi via serial port connection to avoid having to use a monitor and keyboard for setting up the Pi. To supply power only to the servo power rail (and not the Pi’s 5V power rail), you just need to remove a small blob of solder on the isolation jumper. Doing this allows you to drive heavier loads coming from multiple or larger servos.
Each of this HAT’s 16 servo motor pin headers has been spaced out the correct distance from the others to make it easier to attach your servo motors. They are pinned out in the proper order for most hobby-type servo motor connectors. The Pi Servo Hat is the same size and form factor as a Raspberry Pi Zero and Zero W, but it can also operate with a regular Raspberry Pi.