Digispark-based USB volume knob that works on Windows/Mac/Linux PCs and laptops, using standard multimedia HID codes.
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
Lid v1.stlStandard Tesselated Geometry - 28.21 kB - 08/29/2024 at 10:28 |
|
|
Chassis v1.stlStandard Tesselated Geometry - 96.57 kB - 08/29/2024 at 10:28 |
|
|
Knob v1.stlStandard Tesselated Geometry - 39.34 kB - 08/29/2024 at 10:28 |
|
|
DigisparkVolumeKnob.inoino - 3.60 kB - 08/29/2024 at 10:28 |
|
Print the 3 STLs in the repository: Chassis v1.stl, Knob v1.stl (unless you're using the knob that came with the encoder, but I preferred my minimal design) and Lid v1.stl.
Mock the parts up inside the chassis to get an idea for wire lengths, then solder it all together outside of the chassis for better access. Check the encoder's Data Sheet for pinouts if you're not sure, but the general idea is:
The code to load onto the Digispark is just the Adafruit "Trinket USB Volume Knob" code, as their Trinket uses the same Attiny85 chip as the Digispark so they're 100% compatible. If you know what you're doing, you can copy/paste the code from my repository (don't forget to add the "TrinketHidCombo.h" library before compiling) or if you need more details, follow their tutorial here and make sure you use the extra code from the "Add a Mute Button" page if you got an encoder with clicky switch.
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates
About Us Contact Hackaday.io Give Feedback Terms of Use Privacy Policy Hackaday API Do not sell or share my personal information