# Using Servos With CircuitPython and Arduino

## Overview

Primary: For a more modern CircuitPython guide, please go to the page below.

### CircuitPython Essentials - CircuitPython Servo

[CircuitPython Essentials](https://learn.adafruit.com/circuitpython-essentials)
[CircuitPython Servo](https://learn.adafruit.com/circuitpython-essentials/circuitpython-servo)
![](https://cdn-learn.adafruit.com/assets/assets/000/049/275/medium800/robotics___cnc_IMG_5911.jpg?1513208542)

Servos are tiny motors that you can control the position of by generating a special signal.&nbsp; You might use a servo to move something back and forth, like moving a dial to indicate a measurement or even moving a latch to open and close a door.&nbsp; There are even special 'continuous rotation' servos that can act like little motors with control over their speed and direction--perfect for building a simple robot!&nbsp; The possibilities for movement with servos are unlimited!&nbsp;

This guide will explore how to control servo motors from CircuitPython and Python code.&nbsp; You can use simple Python code to move a servo to different positions.&nbsp; You can even use the CircuitPython REPL to move a servo interactively!

In addition this guide will also show basic servo control with Arduino code too!

## Familiarization

Before you get started it will help to familiarize yourself with servos by reading these guides:

- [Adafruit Motor Selection Guide - Servo Motors](../../../adafruit-motor-selection-guide/rc-servos)
- [Arduino Lesson 14: Servo Motors](../../../adafruit-arduino-lesson-14-servo-motors/servo-motors?view=all#servo-motors)
- [CircuitPython Essentials](https://learn.adafruit.com/circuitpython-essentials/circuitpython-essentials)

## Using Servos with the Adafruit CRICKIT Board

If you are using an Adafruit Circuit Playground Express, Adafruit Feather, BBC micro:bit or Raspberry Pi, you can control servos, motors, and more using the Adafruit CRICKIT add-on board.&nbsp;

CRICKIT has four ports for plugging in servo motors.

For more information on using CRICKIT and servos, see the following guide:

- [Introducing Adafruit CRICKIT](https://learn.adafruit.com/adafruit-crickit-creative-robotic-interactive-construction-kit)

- [Next Page](https://learn.adafruit.com/using-servos-with-circuitpython/hardware.md)

## Related Guides

- [Sewable NeoPixels](https://learn.adafruit.com/flora-rgb-smart-pixels.md)
- [Adafruit Feather M0 Express](https://learn.adafruit.com/adafruit-feather-m0-express-designed-for-circuit-python-circuitpython.md)
- [Adafruit Metro M0 Express](https://learn.adafruit.com/adafruit-metro-m0-express.md)
- [Adafruit Trinket M0](https://learn.adafruit.com/adafruit-trinket-m0-circuitpython-arduino.md)
- [Adafruit Circuit Playground Express](https://learn.adafruit.com/adafruit-circuit-playground-express.md)
- [Circuit Playground Express Rocket Lamp](https://learn.adafruit.com/cpx-rocket-lamp.md)
- [CPX Mystery Dreidel](https://learn.adafruit.com/cpx-mystery-dreidel.md)
- [Drama Piñata](https://learn.adafruit.com/customizable-reusable-pinata.md)
- [Steven Universe Wearable, Fusable Gem](https://learn.adafruit.com/steven-universe-wearable-fusable-gem.md)
- [Astrolite NeoPixel Upgrade](https://learn.adafruit.com/astrolite-neopixel-upgrade.md)
- [Circuit Playground Express Head-Tilt Ears](https://learn.adafruit.com/circuit-playground-express-head-tilt-ears.md)
- [Neopixel Jewel 10 Minute Necklace](https://learn.adafruit.com/10-minute-neopixel-necklace.md)
- [Magic Light Bag of Holding](https://learn.adafruit.com/magic-light-bag-of-holding.md)
- [Sparkle Skirt Playground](https://learn.adafruit.com/sparkle-skirt-playground.md)
- [Cartoon Network and Make Code - Rose Quartz Shield Umbrella](https://learn.adafruit.com/cartoon-network-and-make-code-rose-quartz-shield-umbrella.md)
- [Touch Tone for Circuit Playground Express](https://learn.adafruit.com/touch-tone-for-circuit-playground-express.md)
- [Compost Friend!](https://learn.adafruit.com/compost-optimization-machine.md)
- [Robotic Creatures ](https://learn.adafruit.com/robotic-creatures.md)
- [UART Communication Between Two CircuitPython Boards](https://learn.adafruit.com/uart-communication-between-two-circuitpython-boards.md)
- [Stumble-Bot](https://learn.adafruit.com/stumble-bot-with-circuit-playground-and-crickit.md)
