# Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/052/350/medium800/adafruit_products_2327-13.jpg?1521599294)

The Raspberry Pi is a wonderful little computer, but one thing it isn't very good at is controlling DC Servo Motors - these motors need very specific and repetitive timing pulses to set the position. Instead of asking the Pi Linux kernel to send these signals, pop on our handy HAT or Bonnet.

These boards add the capability to control 16 Servos with perfect timing. They can also do PWM up to 1.6 KHz with 12 bit precision, all completely free-running.

Works with any servo that can be powered by 5V and take 3.3V logic level signals.

![](https://cdn-learn.adafruit.com/assets/assets/000/052/348/medium800/adafruit_products_3416-01.jpg?1521599181)

The Adafruit 16-Channel 12-bit PWM/Servo HAT or Bonnet will drive up to 16 servos or PWM outputs over I2C with only 2 pins. The on-board PWM controller will drive all 16 channels simultaneously with no additional Raspberry Pi processing overhead. What's more, you can stack up to 62 of them to control up to 992 servos - all with the same 2 pins!

![](https://cdn-learn.adafruit.com/assets/assets/000/138/586/medium800/adafruit_products_Untitled.jpg?1753816235)

Best of all, we even have a Python library you can use, so you'll be up and running instantly, to make your robotic creation com to life. The Adafruit PWM/Servo Driver is the perfect solution for any project that requires a lot of servos!

# Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

## Powering Servos

The power input section of the HAT and Bonnet are both on the left hand side.

&nbsp;

The HAT has both 2.1mm DC jack and a terminal block

&nbsp;

The Bonnet has a spot for _either_ DC jack or terminal block

![adafruit_products_raspberry_pi_powersupply.jpg](https://cdn-learn.adafruit.com/assets/assets/000/052/351/medium640/adafruit_products_raspberry_pi_powersupply.jpg?1521599394)

![adafruit_products_power.jpg](https://cdn-learn.adafruit.com/assets/assets/000/052/352/medium640/adafruit_products_power.jpg?1521599514)

# Powering Servos / PWM

The drivers have **two** power supplies. One is VCC - that is the 3.3V power from the Raspberry Pi, it is used to power the PWM chip and determines the I2C logic level and the PWM signal logic level. This supply will always be on if the Pi is plugged in and working, check the PWR LED on the Pi (it's the red LED on the Pi 2, 3. Pi Zero does not have a PWR LED, look for a blinking activity LED)  
  
**To power servos you will need to also connect the 5-6V V+ power supply**  **-** this is the power supply for the servos. (If you are lighting up single 20mA standard draw LEDs you may not need this power supply, but I'm assuming you want to use servos here.) This power supply should be 5 or 6VDC, most servos work well at 5V and if you give them 6V will be a little stronger.

You can connect this power through the terminal block **or** the 2.1mm DC jack. There is reverse-polarity protection in case you hook up power backwards, however you should use _either_ the DC jack or the terminal block, not BOTH!

Use either a 5V wall adapter, 2 Amp+ is recommended

![adafruit_products_raspberry_pi_dcpower.jpg](https://cdn-learn.adafruit.com/assets/assets/000/052/353/medium640/adafruit_products_raspberry_pi_dcpower.jpg?1521599634)

## OR
Or, for portable use, a 4 or 5 x AA battery pack can be connected to the terminal block.

![adafruit_products_raspberry_pi_battpower.jpg](https://cdn-learn.adafruit.com/assets/assets/000/052/354/medium640/adafruit_products_raspberry_pi_battpower.jpg?1521599717)

## Current Draw Requirements

Nearly all servos are designed to run on about 5 or 6v. Keep in mind that a lot of servos moving at the same time (particularly large powerful ones) will need a lot of current. Even micro servos will draw several hundred mA when moving. **Some High-torque servos will draw more than 1A each** under load.  
  
Good power choices are:

- [5v 2A switching power supply](https://www.adafruit.com/products/276 "Link: https://www.adafruit.com/products/276") (up to perhaps 4 servos)
- [5v 4A switching power supplies](https://www.adafruit.com/product/1466)&nbsp;(up to perhaps 8 servos)
- [5v 10A switching power supply](https://www.adafruit.com/products/658 "Link: https://www.adafruit.com/products/658") (up to perhaps 16 servos)
- [4xAA Battery Holder](https://www.adafruit.com/products/830 "Link: https://www.adafruit.com/products/830") - 6v with Alkaline cells. 4.8v with NiMH rechargeable cells, portable!
- 4.8 or 6v Rechargeable RC battery packs from a hobby store.

Danger: 

## Adding a Capacitor to the thru-hole capacitor slot

We have a spot on the PCB for soldering in an electrolytic capacitor. Based on your usage, you may or may not need a capacitor. If you are driving a lot of servos from a power supply that dips a lot when the servos move, **n \* 100uF** where **n** is the number of servos is a good place to start - eg **470uF** or more for 5 servos. Since its so dependent on servo current draw, the torque on each motor, and what power supply, there is no "one magic capacitor value" we can suggest which is why we don't include a capacitor in the kit.

There are slots on both the bonnet and HAT for an optional capacitor. You may not need the capacitor, it's only if you find that you servo power supply is drooping enough to affect functionality

![adafruit_products_raspberry_pi_cap.jpg](https://cdn-learn.adafruit.com/assets/assets/000/052/356/medium640/adafruit_products_raspberry_pi_cap.jpg?1521599863)

![adafruit_products_cap.jpg](https://cdn-learn.adafruit.com/assets/assets/000/052/357/medium640/adafruit_products_cap.jpg?1521599929)

![](https://cdn-learn.adafruit.com/assets/assets/000/022/045/medium800/raspberry_pi_cap.jpg?1420230700)

# Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

## Connecting Servos

![](https://cdn-learn.adafruit.com/assets/assets/000/022/046/medium800/raspberry_pi_155-01.jpg?1420230765)

## Connecting a Servo

Most servos come with a standard 3-pin female connector that will plug directly into the headers on the Servo HAT headers. Be sure to align the plug with the ground wire (usually black or brown) with the bottom row and the signal wire (usually yellow or white) on the top.

**Works with any servo that can be powered by 5V and take 3.3V logic level signals.**

![](https://cdn-learn.adafruit.com/assets/assets/000/022/047/medium800/raspberry_pi_oneservo.jpg?1420231171)

## Adding More Servos

Up to 16 servos can be attached to one board. If you need to control more than 16 servos, additional boards can be stacked as described on the next page.

![](https://cdn-learn.adafruit.com/assets/assets/000/022/048/medium800/raspberry_pi_4servo.jpg?1420231216)

# Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

## Attach & Test HAT/Bonnet

# Step 1 - Plug in HAT

Now you have soldered the HAT up and you know how to power the servos, we can install the HAT

Begin by having the **Pi shutdown and not powered** , plug the HAT on top to **match the 2x20 headers** , and power up the Pi.

![](https://cdn-learn.adafruit.com/assets/assets/000/022/058/medium800/raspberry_pi_topdown.jpg?1420234583)

# Step 2. Configure your Pi to use I2C devices

To learn more about how to setup I2C with the Raspberry Pi Operating System (OS), please take a minor diversion to this Adafruit Tutorial: [http://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c](http://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c)

With I2C enabled per that guide, you can run the following command when the Pi is booted up again in the Terminal and you loaded python3-smbus and i2c-tools:

```auto
sudo i2cdetect -y 1
```

This will search&nbsp; /dev/i2c-1 for all address, and if an Adafruit&nbsp;PWM/Servo HAT is properly connected and it's set to its default address -- meaning&nbsp;none of the 6 address solder jumpers at the top of the board&nbsp;have been soldered shut --&nbsp;it should show up at 0x40 (binary 1000000) as follows:

![](https://cdn-learn.adafruit.com/assets/assets/000/022/057/medium800/raspberry_pi_i2cdetect.png?1420234437)

Once both of these packages have been installed, and i2cdetect finds the 0x40 I2C address, you have everything you need to get started accessing I2C and SMBus devices in&nbsp;Python.

# Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

## Python Usage

It's easy to control PWM or servos with the Adafruit 16-channel PWM/Servo HAT and Bonnet. There are multiple CircuitPython libraries available to work with the different features of these boards including [Adafruit CircuitPython PCA9685](https://github.com/adafruit/Adafruit_CircuitPython_PCA9685), and [Adafruit CircuitPython ServoKit](https://github.com/adafruit/Adafruit_CircuitPython_ServoKit). These libraries make it easy to write Python code to control PWM and servo motors.

# Python Wiring

First assemble the HAT or Bonnet exactly as shown in the previous pages. There's no wiring needed to connect the HAT or Bonnet to the Pi. The example below shows the HAT attached to a Pi.

To dim an LED, wire it to the board as follows. Note: you don't need to use a resistor to limit current through the LED as the HAT and Bonnet will limit the current to around 10mA.

- Connect **LED cathode / shorter leg** &nbsp;to **HAT or Bonnet**  **channel GND / ground**.
- Connect **LED anode / longer leg** &nbsp;to **HAT or Bonnet channel PWM**.

External power is not necessary to PWM an LED.

![adafruit_products_raspi_pwm_servo_hat_LED_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/068/371/medium640/adafruit_products_raspi_pwm_servo_hat_LED_bb.jpg?1546029408)

To control a servo, wire it to the board as shown in the previous pages, including a barrel jack to the power terminal to attach an appropriate external power source to the HAT or Bonnet. **The HAT and Bonnet will not power servos without an external power source!**

# Python Installation of ServoKit Library

You'll need to install the Adafruit\_Blinka library that provides the CircuitPython support in Python. This may also require enabling I2C on your platform and verifying you are running Python 3. [Since each platform is a little different, and Linux changes often, please visit the CircuitPython on Linux guide to get your computer ready](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux)!

Once that's done, from your command line run the following command:

- `pip3 install adafruit-circuitpython-servokit`

If your default Python is version 3 you may need to run 'pip' instead. Just make sure you aren't trying to use CircuitPython on Python 2.x, it isn't supported!

# Python Usage

To demonstrate the usage, we'll use Python code to control PWM to dim an LED and to control servo motors from the Python REPL.

# Dimming LEDs

This HAT and Bonnet use the PCA9685. Each channel of the HAT and Bonnet can be used to control the brightness of an LED. &nbsp;The PCA9685 generates a high-speed PWM signal which turns the LED on and off very quickly. &nbsp;If the LED is turned on longer than turned off it will appear brighter to your eyes.

First you'll need to import the necessary modules, initialize the I2C bus for your board, and create an instance of the class.

```auto
import board
import busio
import adafruit_pca9685
i2c = busio.I2C(board.SCL, board.SDA)
hat = adafruit_pca9685.PCA9685(i2c)
```

The PCA9685 class provides control of the PWM frequency and each channel's duty cycle. &nbsp;Check out the&nbsp;[PCA9685 class documentation](https://circuitpython.readthedocs.io/projects/pca9685/en/latest/api.html)&nbsp;for&nbsp;more details.

For dimming LEDs you typically don't need to use a fast PWM signal frequency and can set the board's PWM frequency to 60hz by setting the&nbsp;`frequency` attribute:

```auto
hat.frequency = 60
```

The HAT and Bonnet support 16 separate channels that share a frequency but can have independent duty cycles. That way you could dim 16 LEDs separately!

The PCA9685 object has a `channels` attribute which has an object for each channel that can control the duty cycle. To get the individual channel use the `[]` to index into `channels`.

```auto
led_channel = hat.channels[0]
```

Now control the LED brightness by controlling the duty cycle of the channel connected to the LED. The duty cycle value should be a 16-bit value, i.e. `0` to `0xffff` (65535), which represents what percent of the time the signal is on vs. off. &nbsp;A value of `0xffff` is 100% brightness, `0` is 0% brightness, and in-between values go from 0% to 100% brightness.

For example set the LED completely on with a `duty_cycle` of `0xffff`:

```auto
led_channel.duty_cycle = 0xffff
```

After running the command above you should see the LED light up at full brightness!

Now turn the LED off with a `duty_cycle` of `0`:

```auto
led_channel.duty_cycle = 0
```

Try an in-between value like `1000`:

```auto
led_channel.duty_cycle = 1000
```

You should see the LED dimly lit. &nbsp;Try experimenting with other duty cycle values to see how the LED changes brightness!

For example&nbsp;make the LED glow on and off by setting `duty_cycle` in a loop:

```auto
# Increase brightness:
for i in range(0xffff):
    led_channel.duty_cycle = i

# Decrease brightness:
for i in range(0xffff, 0, -1):
    led_channel.duty_cycle = i
```

These for loops take a while because 16-bits is a lot of numbers. **CTRL-C** to stop the loop from running and return to the REPL.

That's all there is to dimming LEDs using CircuitPython and the PWM/Servo HAT and Bonnet!

# Controlling Servos

We've written a handy CircuitPython library for the various PWM/Servo kits called [Adafruit CircuitPython ServoKit](https://github.com/adafruit/Adafruit_CircuitPython_ServoKit) that handles all the complicated setup for you. All you need to do is import the appropriate class from the library, and then all the features of that class are available for use. We're going to show you how to import the `ServoKit` class and use it to control servo motors with the Adafruit PWM/Servo HAT or Bonnet.

First you'll need to import and initialize the `ServoKit` class. You must specify the number of channels available on your board. The HAT and Bonnet have 16 channels, so when you create the class object, you will specify `16`.

```auto
from adafruit_servokit import ServoKit
kit = ServoKit(channels=16)
```

Now you're ready to control both standard and continuous rotation servos.

# Standard Servos

To control a standard servo, you need to specify the channel the servo is connected to. You can then control movement by setting `angle` to the number of degrees.

For example to move the servo connected to channel `0` to `180` degrees:

```auto
kit.servo[0].angle = 180
```

To return the servo to `0` degrees:

```auto
kit.servo[0].angle = 0
```

With a standard servo, you specify the position as an angle. The angle will always be between 0 and the actuation range. The default is 180 degrees but your servo may have a smaller sweep. You can change the total angle by setting `actuation_range`.

For example, to set the actuation range to 160 degrees:

```auto
kit.servo[0].actuation_range = 160
```

Often the range an individual servo recognises varies a bit from other servos. If the servo didn't sweep the full expected range, then try adjusting the minimum and maximum pulse widths using `set_pulse_width_range(min_pulse, max_pulse)`.

To set the pulse width range to a minimum of 1000 and a maximum of 2000:

```auto
kit.servo[0].set_pulse_width_range(1000, 2000)
```

That's all there is to controlling standard servos with the PWM/Servo HAT or Bonnet, Python and `ServoKit`!

# Continuous Rotation Servos

To control a continuous rotation servo, you must specify the channel the servo is on. Then you can control movement using `throttle`.

For example, to start the continuous rotation servo connected to channel `1` to full throttle forwards:

```auto
kit.continuous_servo[1].throttle = 1
```

To start the continuous rotation servo connected to channel `1` to full reverse throttle:

```auto
kit.continuous_servo[1].throttle = -1
```

To set half throttle, use a decimal:

```auto
kit.continuous_servo[1].throttle = 0.5
```

And, to stop continuous rotation servo movement set `throttle` to `0`:

```auto
kit.continuous_servo[1].throttle = 0
```

That's all there is to controlling continuous rotation servos with the PWM/Servo HAT or Bonnet, Python and `ServoKit`!

http://youtu.be/3Rj1Fep9Ap0

# Full Example Code
https://github.com/adafruit/Adafruit_CircuitPython_ServoKit/blob/main/examples/servokit_simpletest.py

# Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

## PCA9685 Library Reference

Besides the Adafruit CircuitPython ServoKit library, the board also works with the Adafruit\_CircuitPython\_PCA9685 library.

Documentation for the library is on Read the Docs [here](https://docs.circuitpython.org/projects/pca9685/en/latest/index.html).

Besides the introduction there are examples and a reference to the API (functions) available.

The code is on [GitHub](https://github.com/adafruit/Adafruit_CircuitPython_PCA9685).

## Example
https://github.com/adafruit/Adafruit_CircuitPython_PCA9685/blob/main/examples/pca9685_simpletest.py

# Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

## Stacking HATs

![](https://cdn-learn.adafruit.com/assets/assets/000/022/055/medium800/raspberry_pi_stackside.jpg?1420233390)

Even though HATs are not intended to be stacked, you can stack up to 62 HATs and not have an address collision, for up to 992 PWM outputs! You'll still need to provide power and write code for all those outputs but they can all share the same SDA/SCL pins no problem.

You will need to have installed stacking headers & right angle 3x4 connections for it to physically connect.

## Extra Parts

If you want to stack HATs on top of this one, [make sure you pick up a HAT-stacking header](https://www.adafruit.com/product/2223) and solder them instead of the plain 2x20 header that comes in the kit

![](https://cdn-learn.adafruit.com/assets/assets/000/022/051/medium800/raspberry_pi_2223-00.jpg?1420233210)

![](https://cdn-learn.adafruit.com/assets/assets/000/022/054/medium800/raspberry_pi_stackystyle.jpg?1420233379)

You'll also need a set of right-angle 3x4 headers, since you will have to have the servo connections stick **out** instead of **up**

![](https://cdn-learn.adafruit.com/assets/assets/000/022/052/medium800/raspberry_pi_816-00.jpg?1420233265)

![](https://cdn-learn.adafruit.com/assets/assets/000/022/053/medium800/raspberry_pi_stackytopdown.jpg?1420233365)

## Addressing the HATs

Each HAT in the stack must be assigned a unique address. This is done with the address jumpers on the middle right of the board. The I2C base address for each board is 0x40. The binary address that you program with the address jumpers is added to the base I2C address.  
  
To program the address offset, use a drop of solder to bridge the corresponding address jumper for each binary '1' in the address.

This photo is from the Arduino Shield version of this driver but its the same setup

![](https://cdn-learn.adafruit.com/assets/assets/000/022/056/medium800/raspberry_pi_adafruit_products_jumper.jpg?1420233430)

Board 0: Address = 0x40 Offset = binary 00000 (no jumpers required)  
Board 1: Address = 0x41 Offset = binary 00001 (bridge A0 as in the photo above)  
Board 2: Address = 0x42 Offset = binary 00010 (bridge A1)  
Board 3: Address = 0x43 Offset = binary 00011 (bridge A0 & A1)  
Board 4: Address = 0x44 Offset = binary 00100 (bridge A2)  
  
etc.

# Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

## FAQ

### 

It can be used for LEDs as well as any other PWM-able device! Use the Signal and Ground pins if you dont mind the LEDs powered by 3.3V and 220ohm series resistor. Or V+ and your own resistor & LED, if you want up to 5V power for the LEDs

### 

We are not sure why this occurs but there is an address collision even though the address are different! Set the backpacks to address 0x71 or anything other than the default 0x70 to make the issue go away.

### 

If you want to turn the LEDs totally off use **setPWM(pin, 4096, 0);** not **setPWM(pin, 4095, 0);**

### Can this control PC fans?

No, as the control mechanism for PC fans and servos are different. See [this product](https://www.adafruit.com/product/4808) for fan control.

# Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

## Downloads

# Files & Downloads

- Datasheet for servo/PWM control chip [PCA9685](http://www.adafruit.com/datasheets/PCA9685.pdf)
- [Full Official Specifications for Pi HAT dimensions](https://github.com/raspberrypi/hats)
- [EagleCAD PCB files on GitHub](https://github.com/adafruit/Adafruit-Servo-HAT-PCB)
- [Fritzing object in Adafruit Frizting Library](https://github.com/adafruit/Fritzing-Library)

# Schematics

Pi HAT and GPIO Breakout:

![](https://cdn-learn.adafruit.com/assets/assets/000/033/735/medium800/raspberry_pi_Schem1.png?1468338922)

Motor Control Section:

![](https://cdn-learn.adafruit.com/assets/assets/000/033/736/medium800/raspberry_pi_schem2.png?1468338939)

# Fabrication Print

Dimensions in Inches. [For more dimensional details, see the official Pi HAT mechanical specification](https://github.com/raspberrypi/hats).

![](https://cdn-learn.adafruit.com/assets/assets/000/033/737/medium800/raspberry_pi_fabprint.png?1468339005)

# Schematics and Fab Print for Pi Servo Bonnet
![](https://cdn-learn.adafruit.com/assets/assets/000/068/959/medium800/adafruit_products_RPi_Servo_PWM_Bonnet_Sch1.png?1547071025)

![](https://cdn-learn.adafruit.com/assets/assets/000/068/960/medium800/adafruit_products_RPi_Servo_PWM_Bonnet_Sch2.png?1547071036)

![](https://cdn-learn.adafruit.com/assets/assets/000/068/958/medium800/adafruit_products_RPi_Servo_PWM_Bonnet_Board.png?1547070823)


## Primary Products

### Adafruit 16-Channel PWM / Servo Bonnet for Raspberry Pi

[Adafruit 16-Channel PWM / Servo Bonnet for Raspberry Pi](https://www.adafruit.com/product/3416)
The Raspberry Pi is a wonderful little computer, but one thing it isn't very good at is controlling Servo Motors - these motors need very specific and repetitive timing pulses to set the position. Instead of asking the Pi Linux kernel to send these signals, pop on this handy bonnet! It...

In Stock
[Buy Now](https://www.adafruit.com/product/3416)
[Related Guides to the Product](https://learn.adafruit.com/products/3416/guides)

## Featured Products

### Adafruit 16-Channel PWM / Servo HAT for Raspberry Pi - Mini Kit

[Adafruit 16-Channel PWM / Servo HAT for Raspberry Pi - Mini Kit](https://www.adafruit.com/product/2327)
The Raspberry Pi is a wonderful little computer, but one thing it isn't very good at is controlling DC Servo Motors - these motors need very specific and repetitive timing pulses to set the position. Instead of asking the Pi Linux kernel to send these signals, pop on this handy HAT! It...

In Stock
[Buy Now](https://www.adafruit.com/product/2327)
[Related Guides to the Product](https://learn.adafruit.com/products/2327/guides)
### GPIO Stacking Header for Pi A+/B+/Pi 2/Pi 3/Pi 4/Pi 5

[GPIO Stacking Header for Pi A+/B+/Pi 2/Pi 3/Pi 4/Pi 5](https://www.adafruit.com/product/2223)
Connect your own PCB to a Raspberry Pi B+ and stack on top with this normal-height female header with extra long pins. &nbsp;The female header part is about 8.5mm tall, good for small HATs that do not to clear the USB/Ethernet jacks. This header has extra long 10mm pins, compared with our <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/2223)
[Related Guides to the Product](https://learn.adafruit.com/products/2223/guides)
### 3x4 Right Angle Male Header - 4 pack

[3x4 Right Angle Male Header - 4 pack](https://www.adafruit.com/product/816)
Three rows in a right angle header!? Yes! These chunks of 0.1" header has yet-another-row - handy for when you want to connect cables that come in sets of three, like perhaps sensors, or servos. These plug into any standard 0.1" spacing perf-boards or other PCBs and work nicely with...

In Stock
[Buy Now](https://www.adafruit.com/product/816)
[Related Guides to the Product](https://learn.adafruit.com/products/816/guides)
### Continuous Rotation Servo

[Continuous Rotation Servo](https://www.adafruit.com/product/154)
This servo rotates fully forward or backward instead of moving to a position. You can use any servo code, hardware, or library to control these servos. Good for making simple moving robots. Comes with four different horns, as shown.

To control with an Arduino, we suggest connecting...

In Stock
[Buy Now](https://www.adafruit.com/product/154)
[Related Guides to the Product](https://learn.adafruit.com/products/154/guides)
### Standard servo - TowerPro SG-5010

[Standard servo - TowerPro SG-5010](https://www.adafruit.com/product/155)
This high-torque standard servo can rotate approximately 180 degrees (90 in each direction). You can use any servo code, hardware, or library to control these servos. Good for beginners who want to make stuff move without building a motor controller with feedback & gearbox. Comes with 3...

In Stock
[Buy Now](https://www.adafruit.com/product/155)
[Related Guides to the Product](https://learn.adafruit.com/products/155/guides)
### Standard Size - High Torque - Metal Gear Servo

[Standard Size - High Torque - Metal Gear Servo](https://www.adafruit.com/product/1142)
This high-torque standard servo now comes in a metal-gear flavor, for extra-high torque (10 kg\*cm!) and reliability! It can rotate at least 120 degrees (60 in each direction) with a classic 1.5-2.5ms pulse, but if you can extend your pulses it can go up to about 170 degrees - it varies a bit...

In Stock
[Buy Now](https://www.adafruit.com/product/1142)
[Related Guides to the Product](https://learn.adafruit.com/products/1142/guides)
### Micro servo

[Micro servo](https://www.adafruit.com/product/169)
Tiny little servo can rotate approximately 180 degrees (90 in each direction) and works just like the standard kinds you're used to but _smaller_. You can use any servo code, hardware, or library to control these servos. Good for beginners who want to make stuff move without...

Out of Stock
[Buy Now](https://www.adafruit.com/product/169)
[Related Guides to the Product](https://learn.adafruit.com/products/169/guides)
### Micro Servo - MG90D High Torque Metal Gear

[Micro Servo - MG90D High Torque Metal Gear](https://www.adafruit.com/product/1143)
Add more power to your robot with this metal-geared MG90D&nbsp;servo. The tiny little servo can rotate approximately 90 degrees (45 in each direction) and works just like the standard kinds you're used to but _smaller_. You can use any servo code, hardware, or library to control...

In Stock
[Buy Now](https://www.adafruit.com/product/1143)
[Related Guides to the Product](https://learn.adafruit.com/products/1143/guides)

## Related Guides

- [Adafruit 2.0" 320x240 Color IPS TFT Display](https://learn.adafruit.com/2-0-inch-320-x-240-color-ips-tft-display.md)
- [ADXL345 Digital Accelerometer](https://learn.adafruit.com/adxl345-digital-accelerometer.md)
- [Adafruit I2C QT Rotary Encoder](https://learn.adafruit.com/adafruit-i2c-qt-rotary-encoder.md)
- [Adafruit 1.28" 240x240 Round TFT LCD](https://learn.adafruit.com/adafruit-1-28-240x240-round-tft-lcd.md)
- [Improve the Low Speed of Brushed DC Motors](https://learn.adafruit.com/improve-low-speed-performance-of-brushed-dc-motors.md)
- [Tri-Layer Mini Round Robot Chassis Kit](https://learn.adafruit.com/tri-layer-mini-round-robot-chassis-kit.md)
- [AdaBox 008](https://learn.adafruit.com/adabox008.md)
- [Adafruit PiOLED - 128x32 Mini OLED for Raspberry Pi](https://learn.adafruit.com/adafruit-pioled-128x32-mini-oled-for-raspberry-pi.md)
- [Adafruit IS31FL3741](https://learn.adafruit.com/adafruit-is31fl3741.md)
- [Adafruit ATWINC1500 WiFi Breakout](https://learn.adafruit.com/adafruit-atwinc1500-wifi-module-breakout.md)
- [Teddy Ruxpin Rebuild](https://learn.adafruit.com/teddy-ruxpin-rebuild.md)
- [LED Matrix Necklace Pendant](https://learn.adafruit.com/led-matrix-necklace-pendant.md)
- [Adafruit USB Type C Power Delivery Switchable Breakout](https://learn.adafruit.com/adafruit-usb-type-c-power-delivery-switchable-breakout.md)
- [Adafruit STCC4 and SHT41 CO2, Temperature & Humidity Sensor](https://learn.adafruit.com/adafruit-stcc4-and-sht41-co2-temperature-humidity-sensor.md)
- [Robotic Xylophone with Adafruit Grand Central](https://learn.adafruit.com/robotic-xylophone-with-circuit-python.md)
