Volume Control Knob and Pause Button with Trinket #MusicMonday
Thanks to Jeremy for sending in this tip! Jeremy writes:
I made a volume play/pause fixture for my keyboard using the Adafruit Trinket board. It’s CNC cut out of MDF and white acrylic, and modifies the code found here https://learn.adafruit.com/trinket-usb-volume-knob/add-a-mute-button slightly to stop music using “MMKEY_PLAYPAUSE” instead of mute in order to stop a song that’s playing without interfering with YouTube streaming.
Adafruit Trinket – Mini Microcontroller – 5V Logic: Trinket may be small, but do not be fooled by its size! It’s a tiny microcontroller board, built around the Atmel ATtiny85, 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 cost enough to use without hesitation. Perfect for when you don’t want to give up your expensive dev-board and you aren’t willing to take apart the project you worked so hard to design. It’s our lowest-cost arduino-IDE programmable board! (read more)
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.