Alan numitron clock
SNES Pi Webserver
USB Volume/USB toys
SNES Arcade cabinet
Game boy projects
Home Presence Detector
Rand Nerd Tut
Carnet du maker (fr)
ATmel blog (defunct)
USB Volume ControlDisclaimer: this is just my recreation of the one found here http://obruboff.ru/english-pages/usb-volume-control/. All credits go to him, many thanks for sharing! Спасибо!
Software: USB without Arduino
Points of interrestImportant subtlety I didn't get at first: we implement a "Consumer device" not a "Keyboard"! Hence my surprise that the codes for the Volume control on Keyboard and the ones implemented were different (see the HID doc chapter 10 vs. chapter 15).
Good thing is there are lots of nice functions possible to implement too, like a "Next" button that I'm much more interrested to bind to the click of the rotary encoder to that rather than mute.
Bill of materials
Cheapo encoderBoth wires A and B are pulled UP with a 10k resistor, the middle pin (C) is grounded. I might have got the direction wrong, I do that from memory, but you get the jist.
____ _____|_____ ___ A \________/ | \________/ _______ __|__ ______ B \________/ | \________/ | Left Right
Source codeAs usual in Github.
In built status box... it's a cypress block carved inside
With its perfectly rounded pao-santo button. Lineseed oil finish.
All content on this site is shared under the MIT licence (do what u want, don't sue me, hat tip appreciated)
electrogeek.cc ~ Formerly known as Kalshagar.wikispaces.com (AlanFromJapan [2009 - 2017])