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.
@@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.
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
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
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.
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.
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.
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.)?
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 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.
It might be a quite small point, but the original board you are using is an Arduino Micro, not Arduino "pro" micro. The "pro" part is what makes it smaller. As far as I know, arduino have never made a "pro" version of the micro, but there are loads of "clones" (can you call them clones when they don't clone?). That being said, I would REALLY like to see more projects with arduino. Alternativly, micropython.
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.
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
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!
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.
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
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
That's a good idea! It will be pretty complex, but definitely doable. I would send a keystroke, something like F13 and use autohotkey to handle the audio device switch: theitbros.com/hotkey-to-switch-audio-devices/ - Mikolas
"I built my first 3D printer to print my own knobs and faders" (Quote from the road to 100k printers) Only took 9 years. I built my first 3d printer to print parts for my modelship five years ago. Modelship is still in the same state, meanwhile finished the 3rd printer ^^
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
The teleporting youtubers was hilarious!
I love these little Arduino projects.
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
I would love to see more Arduino Projects
Yes we need more projects like this. Love it.
absolutely make more of this style video! The media controller at the end with 6 logo buttons should be the next one!!
Josef, I love the combination of 3D printing projects with the Arduinos!
Ohhhh I want the tutorial of the macropad (1:16)
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.
Wow, even better than all the buttons is the fact that Prusa has invented teleportation!! Check the "stolen" spool of filament at 0:23
It is always good to see usable stuff from a 3D printer.
These 3D printing/Arduino combo project videos are great!
Yes, Yes and Yes! More like this, please! Thanks for doing this, will def be trying it out.
Yes, definitely more project tutorials! This one is a *great* example.
Printing this right now! electronics on the way. Too cool. More please!
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
Cool project. Would love to see more!!
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.
himm magic reappearing filament that slowly fades back into existence after 3DMN takes it...
Excellent project 👍 I like it
I just ordered parts. This gonna be sooo useful for me
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.
What a fantastic project! This is so good for STEM programs
The cool Josef we have is the Josef we deserve
Where can I get the files of the keycaps you used on the little cherry mx controller in 1:16?
Nice project! Gonna print that later on :)
Stop giving me more awesome hobbies I don't have time for! :-)
I love to see a guide to the macro keyboard
I would really like a lot more of these kind of tutorials with arduino :)
Great Ideas! Would like to see more such Arduino projects. ;-)
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.
A really great idea - a future project for me I think! 👍
Love these projects, more please.
muchas gracia! mi primer proyecto Arduino, muy fácil e increíblemente funcional! me encanta!
Making a remote controller for recording software will be my take on this concept :)
Very good video , im gonna try this project :)
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.)?
Can you do one showing how you teleport people?
nice project, is it posibile to make with this also a 3d-Mous?
Hey Prusa Team
Nice Video!
Wath do you think about a special keyboard with short cuts for for example fusion 360?
Greetings Erik
Now someone add a battery and bluetooth and share the build please.
Thats what i thought while watching the video. Where are the heroes? :D
With ESP32 it should be possible. I am working on it, but my coding skills are not the best so it will take some time 😊
@@DanielBadberg Would be awesome, looking forward to hear from your soulution
I am looking into it. I have some ESP32 boards to play with
@@asicdathens You can have a look here: github.com/T-vK/ESP32-BLE-Keyboard.
Some minor issues, but in general it ist working.
Absolutely do more like these!
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 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.
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?
More Arduino Projects please!
Are you going to make a video about the macropad at 1:16 ? Otherwise this was a great video !
It might be a quite small point, but the original board you are using is an Arduino Micro, not Arduino "pro" micro. The "pro" part is what makes it smaller. As far as I know, arduino have never made a "pro" version of the micro, but there are loads of "clones" (can you call them clones when they don't clone?).
That being said, I would REALLY like to see more projects with arduino. Alternativly, micropython.
Omg the one with the mecanical switches ô-ô . I want to do that .
Fantastic project.......❤️❤️
I love the fact you can clearly hear the czech accent in EVERY native czech speaking English.
Is there a guide how to build the media controler at 7:37 ?
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% ?
Whoa 0:30 prusa research can teleport filament spools :D
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
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.
Does it work with the Arduino Nano Every?
Thank you for the video.
Please share more arduino projects.
Greetings from Portugal
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
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 ;)
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.
Yes! more arduino o raspberry please!
Very useful project
Nice ! I am trying to do the same but for controlling picoreplayer with Logitech Media server via WiFi. I didn't succeed for now 😅
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
Cool tutorial!!
It would be great if this worked over Bluetooth. Show us how!
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?
Very nice. Thank you!
Is it somehow possible to make a controll knob for a smartphone?
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
So the bottom line is that by making this knob, the 3d Printing Nerd (or Thomas, or 3DMN...) will appear in my lab? uhm....
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
very cool project
What's the name of the sound played in the beginning of the video? Can any one say it?
Can i let the one tape change between my headphones and my speakers
That's a good idea! It will be pretty complex, but definitely doable. I would send a keystroke, something like F13 and use autohotkey to handle the audio device switch:
theitbros.com/hotkey-to-switch-audio-devices/
- Mikolas
@@Prusa3D Thanks for the advice.
"I built my first 3D printer to print my own knobs and faders" (Quote from the road to 100k printers) Only took 9 years. I built my first 3d printer to print parts for my modelship five years ago. Modelship is still in the same state, meanwhile finished the 3rd printer ^^
This video should have a name "getting started with Arduino - Encoded Knob tutorial"
i made one, its cool. how can i setup the windows logoff by click? dont get it work
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
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
Can you post the code that teleports youtubers...
Love it! Like to see more projects of this nature and circuitpython boards. Maybe circuit playground express or ESP 32s
Really great, man
More, yes, please more...
Gimme that Arduino vids
What rotary encoder did you use?
works great, but i have to unplug and replug it after every reboot in order to function. has anyone a fix for this problem?
Is there a version for Raspberry Pi Zero W?
cannot do the same thing on digispark attiny85
A System were see the prusa printer an your Mobile like octoprint but only for prusa printer
Bluetooth version..?
more tutorial please !!! keyboard for editing premiere & photoshop please
Would love this ported to the esp32 :)
Hahaha awesome video!
is it possible to do it with an arduino nano?
I think 3D printer firmware should be open source, but it makes sense to close the source, with all the development effort that goes into it
Val It is :-) github.com/prusa3d/Prusa-Firmware
does it work on raspberry pi?