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+

Комментарии • 72

  • @AmalMathewTech
    @AmalMathewTech 6 лет назад +14

    Favorited on instructable ❤️

    • @SeanHodgins
      @SeanHodgins  6 лет назад +1

      Thank you!

    • @akuno7294
      @akuno7294 3 года назад

      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?

    • @carmelolennon6259
      @carmelolennon6259 3 года назад

      I know I am kinda off topic but do anybody know a good website to stream newly released tv shows online?

    • @reedbruno8527
      @reedbruno8527 3 года назад

      @Carmelo Lennon Flixportal xD

    • @carmelolennon6259
      @carmelolennon6259 3 года назад

      @Reed Bruno Thank you, signed up and it seems to work :D I really appreciate it!

  • @proxxxxxy
    @proxxxxxy 6 лет назад +36

    Somewhere, a flight simulator enthusiast is having lots of ideas on how to use this on their 737.

  • @SeanHodgins
    @SeanHodgins  6 лет назад +10

    I think I may start making my own productivity tools from now on. I have a few other ideas.

  • @sonicaxy
    @sonicaxy Год назад

    Finally I got the information for my mfd buttons to DCS a10c ii

  • @pyrojason
    @pyrojason 6 лет назад +1

    Finally something to do with those momentary arcade buttons!

  • @doron910
    @doron910 5 лет назад

    thank you so much im just starting with arduino and i could have not found anything better than this anywhere

  • @nassav3
    @nassav3 6 лет назад +3

    Nice project! Might do this one some day in the future.

  • @sillynapalm
    @sillynapalm 4 года назад

    Great video. I just got my first Arduino and I'm just learning to code. You've explained the code so well. Thank you.

  • @StereoPT
    @StereoPT 6 лет назад +8

    This would be great for Streamers. Change the Camera, Mute the Microphone, Change Monitors... The Possibilities are endless.

    • @getsturdy
      @getsturdy 3 года назад +1

      Oh wait,... it already exists... It´s called an Elgato Stream Deck

  • @BrianLough
    @BrianLough 6 лет назад +2

    Nice project, I have something similar on my backlog for a while!

  • @aptech2933
    @aptech2933 6 лет назад

    Those SAMD21 chips are awesome so awesome I ended up making my own breakout board for the thing.

    • @SeanHodgins
      @SeanHodgins  6 лет назад

      They are! I use them for most of my projects now.

  • @ChunkySteveo
    @ChunkySteveo 6 лет назад +4

    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

    • @ChunkySteveo
      @ChunkySteveo 6 лет назад

      Aha - I was right about the APA 2020 LEDS, sweet!

  • @hydrolisk1792
    @hydrolisk1792 5 лет назад

    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.

  • @bjbundgaard233
    @bjbundgaard233 4 года назад

    THE BEST RUclipsR EVER!!👍

  • @qzorn4440
    @qzorn4440 3 года назад

    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...:)

  • @hotfreshrider
    @hotfreshrider 6 лет назад

    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.

    • @SeanHodgins
      @SeanHodgins  6 лет назад +1

      Oh yeah, there are lots of ways to do this, its nice having large clicky buttons to hit.

  • @Phantomwalker
    @Phantomwalker 6 лет назад

    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. :)

    • @SeanHodgins
      @SeanHodgins  6 лет назад

      Yeah the Trinkets are great for USB stuff. And wow, I wonder how many descriptions I need to fix! Haha

  • @garydavies5238
    @garydavies5238 3 года назад

    Please can you give it bluetooth capabilities?

  • @XanderCDN
    @XanderCDN 3 года назад

    is that a Lee Valley bag on your desk?

  • @user-pc2fd5wg6w
    @user-pc2fd5wg6w 5 лет назад

    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

  • @miquelaumedes6407
    @miquelaumedes6407 6 лет назад +1

    Amazing!

  • @vetonabdiu7566
    @vetonabdiu7566 6 лет назад

    i think you can make a decent diy tutorial for "home automation", like turn on/off a light ... ;)

  • @zupaxis
    @zupaxis 2 года назад

    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?

  • @PietroZambon
    @PietroZambon 6 лет назад

    Nice video! I was thinking to do a similar thing for special ascii characters

  • @Jettie828
    @Jettie828 Год назад

    Are these Normally Open or Normally Closed style buttons??

  • @MrWilliamRook
    @MrWilliamRook 2 года назад

    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?

  • @tanleproe
    @tanleproe 3 года назад

    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.

  • @RyanSheppard
    @RyanSheppard 6 лет назад

    Great video

  • @berkutmig8319
    @berkutmig8319 4 года назад

    what other micros could I achieve this with? Adafruit products get a bit expensive here in Mexico

  • @Kreazive
    @Kreazive 6 лет назад

    This happens with only Leonardo kind for Arduino?

  • @crearte4794
    @crearte4794 3 года назад

    Beautiful project! I can use arduino uno instead of Trinket M0?

  • @CheveeDodd
    @CheveeDodd 6 лет назад

    I need this in my life! Do you mind if I make a similar project (with a twist) on my channel?

  • @robotixlab
    @robotixlab 3 года назад

    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.

  • @diamondrey
    @diamondrey 4 года назад

    Would this work with maybe discord? To bind a button to use for push to talk?

  • @ioanniskontos9439
    @ioanniskontos9439 4 года назад

    Hey, nice! Will it work if i make two differnet version of keys and connect them both on pc?

  • @23edsa
    @23edsa 5 лет назад

    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?

    • @SeanHodgins
      @SeanHodgins  5 лет назад

      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.

  • @Omerodaci
    @Omerodaci 4 года назад

    can it use for any text editor on pc ?

  • @GabrielViana-mg3vh
    @GabrielViana-mg3vh 4 года назад

    Where can you get those buttons?

  • @Wiqkszon
    @Wiqkszon 6 лет назад

    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?

    • @SeanHodgins
      @SeanHodgins  6 лет назад +1

      No an UNO won't work, you will need a microcontroller that can do native USB. Atmega32U4, or any SAMD boards

  • @ganf
    @ganf 4 года назад

    Would it be possible to map the F13 to F24 Keys to one of these?

    • @SeanHodgins
      @SeanHodgins  4 года назад

      You should be able to do any regular keyboard press, yep!

  • @MajorArchitect-0
    @MajorArchitect-0 4 года назад

    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

    • @fata__morgana
      @fata__morgana 4 года назад

      Make sure the library Keyboard.h is installed even if it comes built-in.

  • @DarshanRayate1
    @DarshanRayate1 6 лет назад

    Nice 👌👍😉🔥

  • @springwoodcottage4248
    @springwoodcottage4248 6 лет назад

    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.

    • @SeanHodgins
      @SeanHodgins  6 лет назад +1

      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?

    • @springwoodcottage4248
      @springwoodcottage4248 6 лет назад

      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.

  • @sainathaniyer
    @sainathaniyer 3 года назад

    which mechanical keyboard are you using?

    • @SeanHodgins
      @SeanHodgins  3 года назад

      Its an older DasKeyboard with Browns

    • @sainathaniyer
      @sainathaniyer 3 года назад

      @@SeanHodgins Thankyou So Much

  • @AlexBolm
    @AlexBolm 6 лет назад

    Sean, how many time you spend for making your projects? how many hours in a day, in a week?

    • @SeanHodgins
      @SeanHodgins  6 лет назад +1

      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.

    • @AlexBolm
      @AlexBolm 6 лет назад

      Sheanhodgins, and what your most time spending project at this day? If it's not secret 😉

  • @leonalexander26
    @leonalexander26 6 лет назад

    Wich Arduino are you using ?

    • @SeanHodgins
      @SeanHodgins  6 лет назад

      In this project I'm using the Adafruit Trinket M0, which can be programmed with CircuitPython or the Arduino IDE.

    • @SeanHodgins
      @SeanHodgins  6 лет назад

      In this project I'm using the Adafruit Trinket M0, which can be programmed with CircuitPython or the Arduino IDE.

  • @johnewald3148
    @johnewald3148 4 года назад

    Those button suck