3D printed MEDIA CONTROL volume knob - Arduino basics
Vložit
- čas přidán 24. 07. 2024
- blog.prusaprinters.org/3d-pri...
Check the full article ;)
Arduino IDE: www.arduino.cc/en/Main/Software
Project source code: prusa3d.com/downloads/others/...
Click encoder library: github.com/0xPIT/encoder
How to create an infinitely rotatable and clickable dial that can play/pause your current song or skip to next one on double click without you ever leaving currently opened application!
Cameos by:
3DPrintingNerd - / @3dprintingnerd
Tom's 3D - / thomassanladerer
3DMN - / @3dmakernoob
Estefanniegg - / estefanniegg
Clare from E3D - e3d-online.com/blog/author/cl...
Pooch - / repkord
Music:
Ocean - KV
Skydive - Loxbeats - Věda a technologie
1:16 that little macropad with mechanical switches looks cool!
www.thingiverse.com/thing:2822140 this is a simmilar version with 8 keys
I made one for myself with a clone-arduino board, did the cad for myself from scratch in Fusion 360 (as I wanted 10-key in a 3-4-3 layout and sitting on the front edge of my desk), printed it on my (genuine) Prusa i3 mk2. Biggest expense was fancy "re-legendable" keycaps (the two-part type where you can put a printed label insert in) which are kinda un-necessary. The genuine Cherry MX Brown switches weren't stupidly expensive. It was my first ever arduino project, mostly using someone else's source code but with a few little changes, and I'm really pleased with it. The Arduino sends keys F13 - F22 (the standards for USB keyboards defines F1 to F24, it's just most keyboards stop at F12), I have F13,14,15 doing stuff with a simple AutoHotKey script (to open My Computer, my NAS box, my NextCloud cloud-sync folder) and the other ones I assign directly as hotkeys in software like OBS Studio and Discord.
@@MattFowlerBTR there's a special firmware for mechanical keyboards - it's called QMK firmware and it's really powerful. You can program macros and shortcuts very easily with it.
What switches/hardware was used there? would like to build one myself.
@@nunosousa7698 For macropad like this you need arduino pro micro, some cherry-mx styled switches (gateron, kailh, outemu), keycaps (you can 3d print them) and diodes to make matrix. But you can also make it without diodes and connect each switch to one arduino pin.
Definitely I would like more videos mixing Arduino and 3d print :-)
I Also really would like to see the tutorial of the macropad (1:16)
YEEEES!!!
Mee too
Samee!
Yesss
same here
I love these little Arduino projects.
Yes we need more projects like this. Love it.
These 3D printing/Arduino combo project videos are great!
Yes, definitely more project tutorials! This one is a *great* example.
absolutely make more of this style video! The media controller at the end with 6 logo buttons should be the next one!!
The teleporting youtubers was hilarious!
It is always good to see usable stuff from a 3D printer.
Josef, I love the combination of 3D printing projects with the Arduinos!
Yes, Yes and Yes! More like this, please! Thanks for doing this, will def be trying it out.
Printing this right now! electronics on the way. Too cool. More please!
I would love to see more Arduino Projects
Cool project. Would love to see more!!
Awesome! Would like to see that taken one step further using a bluetooth shield and maybe a powerbank or connected to a phone for power.
I just ordered parts. This gonna be sooo useful for me
Nice project! Gonna print that later on :)
If you not have a Arduino with HID (that can be a keyboard), you can send the encoder data to serial interface with println() and use a simple python script to listen the serial port and execute the keyboard commands(volume+, vol-, play, pause...) with help of pynput library
Also, it may be easier to change behavior based on the current open window, since the keyboard commands is being sended on the host device
Ohhhh I want the tutorial of the macropad (1:16)
Great idea please do more. I know I will have to watch this many times before I get it. Could you slow down, zoom in more, or both, thanks and keep them coming
What a fantastic project! This is so good for STEM programs
A really great idea - a future project for me I think! 👍
Love these projects, more please.
I would really like a lot more of these kind of tutorials with arduino :)
Very good video , im gonna try this project :)
Great Ideas! Would like to see more such Arduino projects. ;-)
Excellent project 👍 I like it
muchas gracia! mi primer proyecto Arduino, muy fácil e increíblemente funcional! me encanta!
Hey Prusa Team
Nice Video!
Wath do you think about a special keyboard with short cuts for for example fusion 360?
Greetings Erik
thank you. brilliant and so useful that there's now an emergency stop for the music! I'm looking for a remix of a 3D volume control model that exploits the existence of the red LED underneath and the LED that flashes as the knob turns. These lights feels a bit wasted but I'm stuck for a way to use this as a cool lighting effect.
himm magic reappearing filament that slowly fades back into existence after 3DMN takes it...
Absolutely do more like these!
nice project, is it posibile to make with this also a 3d-Mous?
Wow, even better than all the buttons is the fact that Prusa has invented teleportation!! Check the "stolen" spool of filament at 0:23
Cool tutorial!!
I have built this about two years ago. Designed in SketchUp, printed on MK2 and assembled with Digispark, which is cheaper than pro micro and also smaller.
Asking for other Project Ideas, what about your own Version of a 3D Connexion SpaceMouse based on arduino and an analog Stick / 4 axis Controller?
Yep, it's mentioned at the end of the full article linked in the video description. There is an open-source reverse engineered driver for the SpaceMouse, so that would be cool to implement.
Stop giving me more awesome hobbies I don't have time for! :-)
Where can I get the files of the keycaps you used on the little cherry mx controller in 1:16?
Very nice. Thank you!
Really great, man
Thank you very much! In my market i don't have these arnuinos.. I have the "ARDUINO NANO 3.0 US
"
Will work the same?
Very useful project
very cool project
Fantastic project.......❤️❤️
Can you map the button to change scroll wheel functionality? For example, one click to set the wheel to change volume, and two clicks to set the wheel to seek through a video.
You definitely could. Just split the loop based on the state the button is in, and have those two inputs swap states.
The cool Josef we have is the Josef we deserve
I love to see a guide to the macro keyboard
Is there anywhere to buy one of these knobs. I would just like to control the volume on my laptop. (i do not have external speakers). thanks
Using an sd card reader attached to the arduino, and a small speaker, would it be possible to turn the media nob into a media player?
More Arduino Projects please!
i made one, its cool. how can i setup the windows logoff by click? dont get it work
Omg the one with the mecanical switches ô-ô . I want to do that .
Does it work with the Arduino Nano Every?
Thank you for the video.
Please share more arduino projects.
Greetings from Portugal
Nice ! I am trying to do the same but for controlling picoreplayer with Logitech Media server via WiFi. I didn't succeed for now 😅
Great project. How about taking this a bit further and have a rotary encoder with a numeric keypad in one. This allows you to use it for CAD and video editing etc. Keep the content coming.
Hahaha awesome video!
Is there a guide how to build the media controler at 7:37 ?
Can you do one showing how you teleport people?
Thanks - Cool tutorial. IDEA - What about a control box with 8-10 buttons / knobs to help with the most common features of Fusion 360 (e.g. knob to zoom in/out/reset, buttons to change view TOP/FRONT/RIGHT, button "E" to extrude, etc.)?
Is there a version for Raspberry Pi Zero W?
Very cool and fast project, but on my Windows 11 OS volume increments is 4% by one rotary encoder click, is it possible somehow change to 1% ?
Making a remote controller for recording software will be my take on this concept :)
Joseph, I saw you on the Barcelona marker with David Cuartielles !!!! I hope someday I have money for the MK3, s
More, yes, please more...
Can you use something else than Atmega32u4 ? Like STM8S103F3P6 ?
What's the name of the sound played in the beginning of the video? Can any one say it?
Very nice
Is it somehow possible to make a controll knob for a smartphone?
is it possible to do it with an arduino nano?
How big the knob & button will be?
*Yes*
Just... thank you!
would this work with a pi pico?
Yes! more arduino o raspberry please!
I should see if I can manage this with a tiny STM32F030 that's like 0.3$ and is Soo tiny but the USB communication would suck since there's no Arduino
What rotary encoder did you use?
Neat! Thanks !!
How do I use this with an Uno? The HID-Project library says that Uno and Mega can be used with HoodLoader 2. How do I do that?
The projects's wiki has pretty in-depth instructions:
github.com/NicoHood/HoodLoader2/wiki/Hardware-Installation
Hello i have a small problem. My arduino board is a 32bit not a avr. But it does to Hid device because i can do a keyboard on it. However one problem i ran into it is the Timerone. It only runs on avr and not 32bit. Do you think there might be a way to fix that problem?
The timerone library is used for the detection of the rotary encoder spinning. It's very likely you can replace it with a different library that will run fine on your board. I would try to search for the "name of your arduino board" + "rotary encoder example". If you find an example of a code that works on your board, you can copy/paste the parts that handle the encoder from this project to the media control one. -Mikolas
Great turorial! I follow the video and I it work! But a problem came up with the step each time I rotate. I have two types of rotary encoder to test, one of them goes 2 step each time I rotate the encoder once, and the other one goes 4 steps at once, may I ask is it because the code or my encoder? I just want it to go one step at a time🙂
nevermine~I just found out the solution in comment. But there seems to be another problem, when I rotate anticlockwise sometimes it would bounce a little, just ocassionaly, I don'k know if it's because of the code
To be more specific, when I rotate anticlockwise it will initiate a click when I just only on half a notch, when doing clockwise it needs to be a whole notch to initiate, so sometimes it would bounce when rotating anticlockwise
sir please help i dont know what happening I uploaded same sketch as you shown same libariry and my arduino pro micro is showing in arduino ide softwair but when ever I upload it stuck on uploading and show some oringe lines stay showing uploading please help this is my second pro micro board
The button click doesn't work. I see the light blink but nor pause or skip. I tried in VLC and Windows Media Player. Anyone get it to work? Is it only for certain apps?
Volume works great.
Seems like a reboot of the windows PC with the Arduino connected fixes it (sometimes). Now try and fix it all in the box and secure it. No one seems to show pics of that part.
Are you going to make a video about the macropad at 1:16 ? Otherwise this was a great video !
Whoa 0:30 prusa research can teleport filament spools :D
Just what I was looking for. I don't have a Prusa though, I have an Ender 3. So I'll have to do some fiddling, maybe design my own box and knob. (Or figure out how to translate the code...still new at 3d printing!) The source for the Arduino is what I really wanted.
Wish I'd seen this before ordering a Contour ShuttleXpress... oh, well.
All the included models can be sliced for your Ender 3 as well :)
There is even a built-in profile for Ender 3 in PrusaSlicer now, so you can use that open the model file :)
-Mikolas
works great, but i have to unplug and replug it after every reboot in order to function. has anyone a fix for this problem?
I get this eror
In file included from E:\DOWNLOADS\oversized_volume_knob\oversized_volume_knob.ino:5:0:
C:\Users\Daniel\Documents\Arduino\libraries\HID-Project\src/HID-Project.h:35:2: error: #error HID Project can only be used with an USB MCU.
#error HID Project can only be used with an USB MCU.
^~~~~
how do i fix it?
Can you link to the personalities that are in the intro? I know some of them but not all and they always deserve credit for all the awesome work they do.
Love this project by the way, great write up!
Done ;)
hello how to put bluetooth on it
Can you post the code that teleports youtubers...
cannot do the same thing on digispark attiny85
does it work on raspberry pi?
Love it! Like to see more projects of this nature and circuitpython boards. Maybe circuit playground express or ESP 32s
Any alternatives?
Yes please more
What is name of this black filament?
Prusament Galaxy Black :)
A System were see the prusa printer an your Mobile like octoprint but only for prusa printer
Would love this ported to the esp32 :)
Powerbank will be cool