The Knob - Micro USB Media Controller (Digispark Arduino)

The Knob - Micro USB Media Controller (Digispark Arduino)

thingiverse

**1 knob, 6 functions.** This teeny, **extremely budget-friendly** media controller works seamlessly with all devices that support USB Media Controls - computers, tablets, phones and so on. Tested successfully with Windows 10 & Android 6. A single knob performs the following: * Play - **press the knob** * Pause - **press the knob again** * Volume up - **turn the knob right** * Volume down - **turn the knob left** * Previous track - **press AND turn the knob left** * Next track - **press AND turn the knob right** **You can also replace the actions of the knob with just about any key press you want.** See **Changing functions** further down this page. There are several one-knob media controllers out there, but I've found no version that allows you to change tracks without dedicated buttons (like my larger [Arduino Pro Micro-based Media Controller](https://www.thingiverse.com/thing:2967216) has). And none so affordable and easy to build. The only components needed are a **Digispark (Micro USB version)** Arduino microcontroller and a **KY-040** rotary encoder, which can be had for about **1€ each** on eBay/Ali. A few wires to solder and that's it - hardware is done! I'm also including the Arduino source I wrote which includes (or links to) pinouts, libraries , instructions and pretty much everything you need in order to program the controller. I made several different knobs that you can choose from. The encoder has a standard D-shaped 6mm shaft so there are a multitude to choose from if you want to buy or get one from elsewhere. ***Update 2018-07-03*** Pinout diagram added. Software updated to version 2.0, courtesy of [IAmOrion, aka James Tanner](https://www.thingiverse.com/IAmOrion). Basically rewritten from scratch - fixes a problem when changing direction, includes debugging mode and opens the possibility for much more advanced functions. Settings are now all in a separate *Settings.h* file. All code can be found in *The_Knob_Arduino_code_v2.0.zip*. See the Comments section for even more versions with added functionality from IAmOrion (triple-click, anyone?).

Download Model from thingiverse

With this file you will be able to print The Knob - Micro USB Media Controller (Digispark Arduino) with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on The Knob - Micro USB Media Controller (Digispark Arduino).