Computer Volume Control Knob

by JeremySCook in Circuits > Electronics

5067 Views, 79 Favorites, 0 Comments

Computer Volume Control Knob

SnapShot(0).jpg
SnapShot(2).jpg
SnapShot(3).jpg

If you enjoy listening to music on your computer, but often need to silence and restart it when watching media, hitting Fn+k+F12+g every time just isn't going to cut it. Plus adjusting volume with buttons? No one has time for that!

May I present my Computer volume shortcut knob! While meant to mute music and adjust volume, this could really be used to control anything. A video on the process is available here, and I'll embed it at the end.

Encoder/electronics

SnapShot(6).jpg
SnapShot(4).jpg
SnapShot(9).jpg
2017-07-19-12.49.59-enh.jpg

To interface with the PC, I chose a Trinket board from Adafruit. After a very brief amount of searching, I found that someone else had already thought of this, providing code and schematics.

Originally, I thought I’d use a series of resistors in order for me to use multiple buttons, but this was easier said than done due to the way the board is made. Given this, I could have done away with the yellow button, and just used
the one built into the encoder. I did end up keeping it, and it for a nice display in the video.

Note me testing out my encoder setup with LEDs in the second picture.

Enclosure

SnapShot(12).jpg
SnapShot(14).jpg
SnapShot(13).jpg
SnapShot(10).jpg

The enclosure, however, is original, and you can find my drawing in the included DXF.

It's cut from two pieces of MDF that sandwich the PCB in between, allowing space above and below it for components. The top part and button is made out of white acrylic.

I didn't leave enough clearance for the top, so I ended up having to do a bit of manual work on my mill. If you decide to make one yourself, you may want to re-examine the drawing.

Downloads

Button

SnapShot(15).jpg
SnapShot(16).jpg

Here's how the square button fits on. Used some cyanoacrylate glue to keep things in place. Also, I used a scrap of MDF to elevate the button to a good position.

Paint and Glue

SnapShot(17).jpg
SnapShot(18).jpg
SnapShot(19).jpg

Painted the MDF black, then glued and clamped things together.

Program and Use

ezgif-1-de3418663d.gif
SnapShot(1).jpg

Program the device and you should have a usable shortcut knob. I've included my code, lightly modified from the Adafruit tutorial linked earlier.

Video

Computer Volume Control Knob

As promised, here's the video of the process. I really enjoy how the edges of the knob feel against my finger/thumb If you like the video, I'd invite you to subscribe to my channel via this link to see what comes next!

I may make an upgraded one with a Pro Micro or similar board, which features enough inputs for more shortcut keys and the like. Perhaps LED feedback would be good as well - so many ideas, hard to know which ones to actually make!