Creative Dial For Video/Photo Editing (4 Programmable Buttons And Rotary Encoder) 3D Printer Model

Author: @
License: CC BY-SA
File formats: txt,STL
Download type: zip
Size:371.1KB

The file 'Creative Dial For Video/Photo Editing (4 Programmable Buttons And Rotary Encoder) 3D Printer Model' is (txt,STL) file type, size is 371.1KB.

Summary

I am an idiot, use any of my ideas with extreme caution...

I've been seeing people using these dials for editing photos and video, and it seemed like it might be fun, but the Logitech one costs like $200. Then I saw that you can have a microcontroller act as a keyboard or mouse for inputs, so I figured I could make my own for a lot less, albeit with significantly fewer features.

There are 4 programmable buttons, plus a rotary encoder with a center push button as well. I edit on a Mac and I set it up for myself, if you want it to do different things, you're smart, you've got it. Reference the Keyboard.h library for what buttons do what on your computer (https://docs.arduino.cc/language-reference/en/functions/usb/Keyboard/). I used these rotary encoders (https://www.amazon.com/dp/B07T3672VK?ref=ppx_yo2ov_dt_b_fed_asin_title) which have a sort of clicky detent as you rotate them, they feel pretty nice. The whole thing runs off a Seeed Xiao (https://a.co/d/3va3ogk) since thats what I had laying around, but you could use just about anything as long as it runs the Keyboard library. Rather than messing with a battery and bluetooth nonsense I just connect with a USB-C cable, it powers everything and communicates so it's easy.

My wiring is a dumpster fire, apologies for that. Really just get the wires connected to the right pins (listed in the code), you'll be fine. Only thing you really need to know on that is to put individual ~10kOhm resistors to ground each button so that when you push one you don't power them all through the ground (personal lesson). I used whatever prototype board I had laying around, with minor customization, and the buttons are the super standard little pushbuttons, you'll find something I'm sure. Screws are 2-56 and 4-40, I didn't need to tap them.

NOTE: Do NOT give this thing access to your keyboard until you are POSITIVE that you have it wired correctly and coded correctly. Comment out the keyboard inputs and uncomment the serial ones for testing. I accidentally gave it access to the delete button, which it held down and I had to figure out how to push new code to it before it deleted the whole script...

Here are the shortcuts I chose to program, do whatever you like or leave it as is, again you're smart:

Dial:
CW ........................ Right Arrow Key
CCW ...................... Left Arrow Key
B1 + CW ................ Down Arrow Key
B1 + CCW ............. Up Arrow Key
Buttons:
Dial Button (B5) ..... CMD + K once on release (insert edit)
B1 .......................... 'c' once on press, 'v' once on release (Razor tool then select tool)
B2 .......................... Option while held
B3 .......................... CMD + Shift + E once on press (Clip enable/disable)
B4 .......................... Delete key once on press
B1 + B2 ................. Space once
B2 + B3 ................. CMD + C (Copy)
B2 + B1 ................. CMD + V (Paste)
B2 + B4 ................. CMD + Z (Undo)

*For the combination buttons, the order of the button press matters

Hope thats helpful for someone, feel free to change or improve because as stated at the top I'm an idiot. It was a fun little project though.

EditingDialCode.txt 9.0KB
Editing_Button-2.STL 77.4KB
Editing_Dial_Base-2.STL 196.8KB
Editing_Dial_Knob-2.STL 1002.0KB
Editing_Dial_Top-3.STL 178.0KB