DIY Arduino Hot-Key Button Panel
HTML-код
- Опубликовано: 20 авг 2024
- While waiting for some parts to arrive for another project I decided to do this one day build using some buttons I had laying around. I wrote an Instructables. Go check it out and vote for it please! - www.instructab...
GitHub: github.com/Idl...
HackADay.io: hackaday.io/pr...
Instructables: www.instructab...
PCBWay Affiliate Link(Get $5): bit.ly/2yvyB26
Some Tools(Amazon Affiliate):
Soldering Iron Hakko FX888D - amzn.to/2inegFS
ESD Safe Tweezers - amzn.to/2x7r4mj
Rework Station - amzn.to/2xRFZFJ
Power Supply - amzn.to/2yUD0fM
Oscilloscope - amzn.to/2xQVJnt
3D Printer - bit.ly/2yuHVDs
Tech Instagram: / idlehandsdev
Website: Idlehandsdev.com
Twitter: / idlehandsdev
Instrumentals Produced By Chuki
/ chukimusic
Camera: Canon T2i
Camera 2: Canon S120
Lens 1: Sigma 30mm Art F1.4
Lens 2: Rokinon 14mm F2.8
Mic 1: Rode Videomic Pro
Mic 2: Rode SmartLav+
Favorited on instructable ❤️
Thank you!
Hey, thank you for the video. I was able to do this neat project in a very short time, thanks to your help. I have just 1 question. I use the Arduino trinket m0 to send a shortcut by pressing a physical button. that shortcut activates or deactivates my microphone. The program I use for this is "micemute". Now when I work from home, I have to remote into my work computer with "rdp". When I'm in the RDP window, my shortcut gets send to the work PC. I would like to tell my Arduino to always send any command to my home PC and never to any other program or remote desktop. Is this possible and how would you program that?
I know I am kinda off topic but do anybody know a good website to stream newly released tv shows online?
@Carmelo Lennon Flixportal xD
@Reed Bruno Thank you, signed up and it seems to work :D I really appreciate it!
Somewhere, a flight simulator enthusiast is having lots of ideas on how to use this on their 737.
I think I may start making my own productivity tools from now on. I have a few other ideas.
Finally I got the information for my mfd buttons to DCS a10c ii
Finally something to do with those momentary arcade buttons!
thank you so much im just starting with arduino and i could have not found anything better than this anywhere
Nice project! Might do this one some day in the future.
Great video. I just got my first Arduino and I'm just learning to code. You've explained the code so well. Thank you.
This would be great for Streamers. Change the Camera, Mute the Microphone, Change Monitors... The Possibilities are endless.
Oh wait,... it already exists... It´s called an Elgato Stream Deck
Nice project, I have something similar on my backlog for a while!
Those SAMD21 chips are awesome so awesome I ended up making my own breakout board for the thing.
They are! I use them for most of my projects now.
The most interesting part of this video is 0:15 Sean - is that a small ESP32 connected 16x16 RGB LED Matrix panel??!!! That looks amazing! Are they 20x20 'dotstar' pixels? 😱
Steve
Aha - I was right about the APA 2020 LEDS, sweet!
You could have made it register as a usb game pad and use Xpadder emulate the keyboard. I've made a ton of "bumpbars" this way and this way you program the device once and your done. This makes it so it is more of a modular device. Then any time you want to change what a button does, just go into Xpadder and a few clicks later, you have a new hotkey. Check into it.
THE BEST RUclipsR EVER!!👍
this is a sweet project... i would like to press the hardware pushbuttons to simulate the F11 function key to pause a program and F12 for resume? thanks a lot...:)
Autohotkey (windows) can do something similar with a joypad, ahk can re purpose any key to do anything else. If it's a media key find it's scancode.
Oh yeah, there are lots of ways to do this, its nice having large clicky buttons to hit.
Hey Sean, Thanks for the tutorial/video. I am an electronics noob who's looking at picking it up a bit as a hobby. I wasn't sure if the trinket was able to talk back via USB to a computer like a teensy can. Luckily you answered that with your video. :) Thanks for that! Also, the link for CHUKI's channel in the description for this video is missing the .com so it doesn't actually resolve to anything. :)
Yeah the Trinkets are great for USB stuff. And wow, I wonder how many descriptions I need to fix! Haha
Please can you give it bluetooth capabilities?
is that a Lee Valley bag on your desk?
How many shortcuts can we make?
For example I want 10 for Photoshop. Zoom in/out, brush size up/down, eraser, brush, free transform, save, undo, redo, lasso, deselect, move
Amazing!
i think you can make a decent diy tutorial for "home automation", like turn on/off a light ... ;)
Hi Sean I am trying to get this to work with my adriuno nano 33 IoT. I only get two buttons since the pins start at 2 and go up from there. Is there a way to change that in the code?
Nice video! I was thinking to do a similar thing for special ascii characters
Great Idea!
Are these Normally Open or Normally Closed style buttons??
hate to bring up an old video, but I can't get gpio 3 and 4 to not continually print, I did initially try to follow your tutorial but things weren't panning out for me and I attributed it to software updates, do you know of a way to define 3 and 4 as PB3 and 4?
Nice instructions! Question: how to program an arcade button on one of those 5 pins of the Trinket MO for the space bar so that it adds multiple spaces on any particular app while the arcade button is held pressed down until released? Please advise. Thanks for your valuable time.
Great video
what other micros could I achieve this with? Adafruit products get a bit expensive here in Mexico
This happens with only Leonardo kind for Arduino?
Beautiful project! I can use arduino uno instead of Trinket M0?
I need this in my life! Do you mind if I make a similar project (with a twist) on my channel?
Great one! Would it be possible to use this project as "save as" destination hotkeys. i.e. I have an electronics folder, a coding folder, a 3D printing folder and when I want to download something online instead of dumping it to downloads I just press the red key, or the blue key or the yellow key to set the proper folder in the save as window.
Would this work with maybe discord? To bind a button to use for push to talk?
Hey, nice! Will it work if i make two differnet version of keys and connect them both on pc?
How would this kind of device interpret a CTRL button hold for example, or if two buttons are mapped to CTRL and the other for ALT will it understand the fact both are pressed?
The Arduino will mimic an actual keyboard with keypresses. So its no different than a keyboard. You could have it press every button at the same time with one physical button push. Have a look at the code to understand. When you have a button pressed in the code, you also need to release it, otherwise it thinks you're holding it down forever.
can it use for any text editor on pc ?
Where can you get those buttons?
Great video, I'm really new on this can I use an arduino uno on this proyect? If I can use it how I connect everything with an arduino uno what pins do I need to connect?
No an UNO won't work, you will need a microcontroller that can do native USB. Atmega32U4, or any SAMD boards
Would it be possible to map the F13 to F24 Keys to one of these?
You should be able to do any regular keyboard press, yep!
I've tried on 2 computers with fresh installs of Arduino 1.8.10 and I always get this message:
'Keyboard' not found. Does your sketch include the line '#include '?
it also says DIYhotkey:101:18: error: 'altKey' was not declared in this scope
but I assume that is because of the other error
been stuck on this for hours
Make sure the library Keyboard.h is installed even if it comes built-in.
Nice 👌👍😉🔥
Where I got confused is how does your laptop & desktop both have access to the code you write on your desk top? I can understand how a button push causes the laptop which has the trinket connected to it to e.g. upload your latest code, but how does the laptop access the data on your desktop? Is this a shared drive, wireless, cloud or something else? Quite possibly I am greatly misunderstanding what you are doing, so any clarification would be nice.
Basically, the code and the program are on the laptop, and in this case my button panel is also connected to the laptop as well as whatever Arduino device I'm currently working on. The computer and laptop are both on the same network and share files. I have the file located on the laptop open on my computer over the network in Notepad++, the Arduino IDE on the laptop is set to external editor, and when I press the button on the Hot-Key panel, it tells the laptop to upload the code. As long as I have saved the code on my main computer, it updates the code on the laptop in the Arduino IDE(this is what external editor mode does). Otherwise I would have to keep going over to my laptop keyboard and hitting ctrl+u. You could also do this with remote desktop, and/or synergy, but they would still require more mouse movements and clicks over this. Does that help?
SeanHodgins Thank you that makes complete sense. It was how both machines got at the data that was confusing me & I wondered if I was missing something. I also dislike having to do many keystrokes specially as if I am typing fast the odds on making mistakes are high which vexes me more, so I see where you are coming from & the good ergonomics of your button design. Thank you for clarifying & sharing.
which mechanical keyboard are you using?
Its an older DasKeyboard with Browns
@@SeanHodgins Thankyou So Much
Sean, how many time you spend for making your projects? how many hours in a day, in a week?
It makes up most of my waking hours, but in that time I'm also working on projects for my school and other projects that are in development but not going to end up on RUclips. They all kind of blend together and it is my full time job. In the case of a project like this. I like to start and finish it in one day, the video editing might go into the next day. I enjoy doing this stuff so I try to fill my time with it.
Sheanhodgins, and what your most time spending project at this day? If it's not secret 😉
Wich Arduino are you using ?
In this project I'm using the Adafruit Trinket M0, which can be programmed with CircuitPython or the Arduino IDE.
In this project I'm using the Adafruit Trinket M0, which can be programmed with CircuitPython or the Arduino IDE.
Those button suck