# CircuitPython Media Dial

## Overview

https://www.youtube.com/watch?v=QStYksk_2ZM

This is a DIY multimedia dial. It rotates like a knob and clicks like a mouse. Turn a rotary encoder into a media controller!&nbsp;

&nbsp;

It works well as an assignable USB controller that you can program to do just about anything you want.

&nbsp;

&nbsp;

![3d_printing_hero-mediumB.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/705/medium640/3d_printing_hero-mediumB.jpg?1517935453)

It’s powered by Adafruit’s Circuit Python so you can quickly program it to run key commands in any application.

&nbsp;

So you can use it to edit videos, control youtube or even scroll through long documents.

&nbsp;

Inside the 3D printed knob is a rotary encoder and NeoPixel ring. As you turn the knob, an LED follows the direction making it easy to see where it is.

![3d_printing_hero-scroll.gif](https://cdn-learn.adafruit.com/assets/assets/000/050/708/medium640thumb/3d_printing_hero-scroll.jpg?1517863375)

This uses the Adafruit HID Library for Circuit Python. All of the key codes are listed in the docs so it’s easy to customize your own key commands.

&nbsp;

It’s powered by Adafruit’s Trinket M0 and runs Circuit Python.

![3d_printing_parts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/709/medium640/3d_printing_parts.jpg?1517935474)

![3d_printing_flex-perma.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/710/medium640/3d_printing_flex-perma.jpg?1517935475)

## Prerequisite Guides

If your new to electronics and&nbsp;_CircuitPython_, I&nbsp;suggest you walk through the following guides to get the basics. The Adafruit Feather M0 Express&nbsp;guide will walk you through setting it up with CircuitPython. See the DotStar guide for more information on how they work.

- [Collin's Lab –&nbsp;Soldering](../../../collins-lab-soldering/learn-more?view=all)
- [Welcome to CircuitPython!](../../../welcome-to-the-community/welcome-to-the-community)

Featured
### Adafruit Trinket M0 - for use with CircuitPython & Arduino IDE

[Adafruit Trinket M0 - for use with CircuitPython & Arduino IDE](https://www.adafruit.com/product/3500)
The&nbsp;Adafruit Trinket M0 may be small, but do not be fooled by its size! It's a tiny microcontroller board, built around the Atmel ATSAMD21, a little chip with _a lot_ of power. We wanted to design a microcontroller board that was small enough to fit into any project, and low...

In Stock
[Buy Now](https://www.adafruit.com/product/3500)
[Related Guides to the Product](https://learn.adafruit.com/products/3500/guides)
![Manicured hand holding Trinket M0.](https://cdn-shop.adafruit.com/640x480/3500-04.jpg)

Featured
### NeoPixel Ring - 16 x 5050 RGB LED with Integrated Drivers

[NeoPixel Ring - 16 x 5050 RGB LED with Integrated Drivers](https://www.adafruit.com/product/1463)
Round and round and round they go! 16 ultra bright smart LED NeoPixels are arranged in a circle with 1.75" (44.5mm) outer diameter. The rings are 'chainable' - connect the output pin of one to the input pin of another. Use only one microcontroller pin to control as many as you can...

In Stock
[Buy Now](https://www.adafruit.com/product/1463)
[Related Guides to the Product](https://learn.adafruit.com/products/1463/guides)
![Hand holding NeoPixel Ring with 16 x 5050 RGB LED, lit up rainbow](https://cdn-shop.adafruit.com/640x480/1463-00.jpg)

Featured
### Filament for 3D Printers in Various Colors and Types

[Filament for 3D Printers in Various Colors and Types](https://www.adafruit.com/product/2080)
Having a 3D printer without filament is sort of like having a regular printer without paper or ink. &nbsp;And while a lot of printers come with some filament there's a good chance you've been printing up a storm and need something new. &nbsp;That's why we've started carrying a...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2080)
[Related Guides to the Product](https://learn.adafruit.com/products/2080/guides)
![Filament for 3D printers in various colors and types stacked together.](https://cdn-shop.adafruit.com/640x480/2080-07.jpg)

Featured
### Rotary Encoder + Extras

[Rotary Encoder + Extras](https://www.adafruit.com/product/377)
This rotary encoder is the best of the best, it's a high-quality 24-pulse encoder, with detents and a nice feel. It is panel mountable for placement in a box, or you can plug it into a breadboard (just cut/bend the two mechanical side tabs.) We also include a nice soft-touch knob with an...

In Stock
[Buy Now](https://www.adafruit.com/product/377)
[Related Guides to the Product](https://learn.adafruit.com/products/377/guides)
![Rotary Encoder with rubbery knob](https://cdn-shop.adafruit.com/640x480/377-02.jpg)

- [Next Page](https://learn.adafruit.com/media-dial/circuit-diagram.md)

## Guide Products

### Adafruit Trinket M0 - for use with CircuitPython & Arduino IDE

[Adafruit Trinket M0 - for use with CircuitPython & Arduino IDE](https://www.adafruit.com/product/3500)
The&nbsp;Adafruit Trinket M0 may be small, but do not be fooled by its size! It's a tiny microcontroller board, built around the Atmel ATSAMD21, a little chip with _a lot_ of power. We wanted to design a microcontroller board that was small enough to fit into any project, and low...

In Stock
[Buy Now](https://www.adafruit.com/product/3500)
[Related Guides to the Product](https://learn.adafruit.com/products/3500/guides)
### NeoPixel Ring - 16 x 5050 RGB LED with Integrated Drivers

[NeoPixel Ring - 16 x 5050 RGB LED with Integrated Drivers](https://www.adafruit.com/product/1463)
Round and round and round they go! 16 ultra bright smart LED NeoPixels are arranged in a circle with 1.75" (44.5mm) outer diameter. The rings are 'chainable' - connect the output pin of one to the input pin of another. Use only one microcontroller pin to control as many as you can...

In Stock
[Buy Now](https://www.adafruit.com/product/1463)
[Related Guides to the Product](https://learn.adafruit.com/products/1463/guides)
### Filament for 3D Printers in Various Colors and Types

[Filament for 3D Printers in Various Colors and Types](https://www.adafruit.com/product/2080)
Having a 3D printer without filament is sort of like having a regular printer without paper or ink. &nbsp;And while a lot of printers come with some filament there's a good chance you've been printing up a storm and need something new. &nbsp;That's why we've started carrying a...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2080)
[Related Guides to the Product](https://learn.adafruit.com/products/2080/guides)
### Ultimaker 3 - 3D Printer

[Ultimaker 3 - 3D Printer](https://www.adafruit.com/product/3300)
The **Ultimaker 3** &nbsp;is one of our favorite 3D printers on the market. It's a well-built open-source compact machine with an excellent UX.&nbsp;Every inch of the Ultimaker 3&nbsp;is designed to create the most effortless and reliable 3D printing experience ever!&nbsp;<a...></a...>

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/3300)
[Related Guides to the Product](https://learn.adafruit.com/products/3300/guides)
### Rotary Encoder + Extras

[Rotary Encoder + Extras](https://www.adafruit.com/product/377)
This rotary encoder is the best of the best, it's a high-quality 24-pulse encoder, with detents and a nice feel. It is panel mountable for placement in a box, or you can plug it into a breadboard (just cut/bend the two mechanical side tabs.) We also include a nice soft-touch knob with an...

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

## Related Guides

- [Adafruit Trinket M0](https://learn.adafruit.com/adafruit-trinket-m0-circuitpython-arduino.md)
- [MakeCode Maker](https://learn.adafruit.com/makecode-maker.md)
- [Custom Controllers for MakeCode Arcade](https://learn.adafruit.com/custom-controllers-for-makecode-arcade.md)
- [Clockwork Goggles](https://learn.adafruit.com/gemma-m0-clockwork-goggles.md)
- [Wooden NeoPixel Xmas Tree](https://learn.adafruit.com/wooden-neopixel-xmas-tree.md)
- [PyBadge Case with Flip Out Mic](https://learn.adafruit.com/pybadge-case-with-flip-out-mic.md)
- [Raspberry Pi Rotary Encoder Animated Gif Player](https://learn.adafruit.com/python-rotary-animated-gif-player-two-different-ways.md)
- [Gemma Color Touch Pendant Necklace](https://learn.adafruit.com/gemma-color-touch-pendant-necklace.md)
- [Thermal Camera with Display](https://learn.adafruit.com/thermal-camera-with-display.md)
- [NeoPixel LED Necklace Insert with USB Charging](https://learn.adafruit.com/neopixel-led-necklace-insert-with-usb-charging.md)
- [LED Eyes](https://learn.adafruit.com/led-eyes.md)
- [LEGO Head Lamp with Audio](https://learn.adafruit.com/lego-head-lamp-with-audio.md)
- [Boomy Pi Airplay Boombox](https://learn.adafruit.com/boomy-pi-airplay.md)
- [Cranky Adabot Solder Dispenser](https://learn.adafruit.com/cranky-adabot-solder-dispenser.md)
- [Portable Qi Charger](https://learn.adafruit.com/portable-qi-charger.md)
- [Proximity Based Lighting](https://learn.adafruit.com/proximity-based-lighting.md)
