Any suggestions for things you would do with this type of keypad? Or do you know of an simpler one!? Sorry about some of popping in the audio, I've changed a lot recently (new computer, new editing software, new version of OBS) so I haven't got everything dialed in yet
Can i recording the video streaming? and Can i send a command or a signal from arduino to start or stop record video?! finally, how i can upload this video wich it recorded to cloud or server?! Thank you for your reply
@@mahmoudghanim3717 yes. You can do the same way in the hotkeys menu in obs. Uploading.... Just do through the browser. If you want live then that's a bit more complicated. But also possible in OBS
just found out that you have to select the correct arduino in the tools section of arduino IDE in order to get no error messages. I think Arduino Leonardo is the correct one but you might need to try different ones! ;)
There's another few problems with the Digispark: it's a flaky little shit due to software USB, sometimes it connects, sometimes it doesn't. And when you make a poopoo, debugging is proper hell. I really like the borderline disposable nature of the Digispark and its compact footprint but i don't like actually dealing with it. I always have an urge to use the big pile of STM32 Blue Pills i have here, but then that's just me. They're so cheap, why are they so cheap? OK they need one resistor fitted to really work with USB, big deal. And it's nicer to use a $2 dedicated programming device, because then you don't need Boot0 and can use the rear debug pins rather than figuring out every time where the goddamn RX/TX pins are.
I have a blue pill sitting here for about two years and to my shame I've never used it! I also had some issues with the Digispark for printing, sometimes it just missed characters.
@@BrianLough i used a digispark with an optical endstop switch to simulate the coin insert in my arcade machine: when the coin passes between the 2 "pillars", it sends the 1 coin key to MAME :)
@@BrianLough a sensor like this (beware, the item refers to 10pcs): www.banggood.com/TWO-TREES-10pcs-Optical-Endstop-Light-Control-Limit-Optical-Switch-for-3D-Printer-p-1510313.html
I don’t know if you saw the live stream I did a few weeks a ago, I used a pro micro and a pir sensor to automatically switch cameras when I moved to my electronics bench, I’m going to add a capacitive button panel to allow me to configure different camera views on the fly with the automatic switcher, am planning on doing a project video on the whole thing.
If you want to type a message such as "hello world" replace the sendMacroCommand() with Keyboard.print("hello world"). www.arduino.cc/reference/en/language/functions/usb/keyboard/
To help with programming you can set an enable pin on one of the leftover pins. So if say pin 10 is connected to ground it just skips the loop and waits 1 min and then checks again. That way when you want to reprogram the Keypad you can jumper 10 to ground and your keypad won't output anything.
I got busy and put it together tonight (1 Oct 2019.) Found a plastic project box just the right size for the keypad, and put the pro micro inside. Tomorrow, I am going to add a power-on LED to the face of the box as well as an LED which lights whenever a button is pushed. (That's to compensate for the poor tactile feedback from the membrane keyboard.) It's going to help tremendously with OBS. Thanks a bunch for the idea and the code.
Thanks for your video! I used it, added some mouse functionality and made some macros and shortcuts for Cubase, since my finger is broken and my left arm has a casting on atm, which is very inconvenient when working in a larger program, where shortcuts really cut time. Now I can at least work on some recordings, while I'm on sick leave for 6 weeks :) And while I was at it, I made some automations (move mouse, scroll, klick, enter text), that were in my mind since I began to use the software package.
I have to say that i totally forgot the content of this video.. 😞 ! Because the keyboard.h explanation on the arduino site does not really explain how to mod the program to allow the SHIFT+KEY thing, and you simply showed it in your script with a bas ic "if-then" loop. Now all i need to find out is how the thing with diodes works, so i can use multiple keys at the same time.. or 2x 4x4 pads if this doesnt work due to pins number i will simply grab another pro micro and hook up the Shift+Fkey on there.. Thank You ! (Havent heard/seen from you long time, youtube doesnt promote you anymore)
Awesome Brian! I have creating a login switch box and username and password set up for systems that require this all day long, using the Micro. I was using only the keyboard.h library for printing text and wiring up my little boxes with momentary push buttons. I like this plug and play keypad version! Will save me time and money! I have the code for making requirements so it doesn't get stuck in a loop. I am trying to figure out how to add a Control alt delete, then return function to the code I already have. The code does the following with 1 button press: types in a username, tabs to password bar and types in the password and then returns. I am not quit sure how to add the control alt delete then return to this same button function. Would be happy to share what I have for the keyboard.print to get any suggestions. Thanks again for this video!!!
Hi Brian, Nice vid as usual! If you want to go overboard with the project, you could make change it to use an es8266 and have a web gui set up for customizing the keys. Howbowdah? :)
I really wanna build this one, but I have an official arduino micro instead of an aliexpress one. How do I connect the wires up? The official one has more pins
I tried copying thr code to arduino but keep getting the error 'Keyboard' not found. does anyone know how to fix this. I'm still very new with all this
Aaaand here i'm back again . I will build A F13 to F24 for StarCitizen. (i plan to will to build to..) And if i get my head around it another row with Shift-F13 to Shift F24
If you got stuck with automatic text not allowing you to re-program the thing, you could probably resort to using ICSP for programming. But, as you said, best to avoid that pitfall if possible.
SO this is my situation and need help, I got an Arduino Pro Micro and MX keys, I've programmed it to send (SHIFT +A-J) fire it up open note pad, and bingo works ABCDEFGHIJ / Opened OBS assign the hotkeys to my scenes, scene 1 SHIFT + A etc , test it with my computer keyboard and it works... but when I try it from my macro keypad it jumps to other scenes or nothing at all.. any help?
Can anyone know how to do the same thing using NODEMCU? I tried with the same code given above but I shows some errors, please let me know anyone knows the way to do it using the NodeMCU
HI Brian .. thanks for the tutorial . it's a very well-documented tutorial. could you make the tutorial for customising shortcut via local web manager ?
you could, but making separate ones is easier. Depending on how many io pins you have left, you could expand the rows or columns and map the extra keys to the new columns or rows.
Oh this is exactly what I was looking for. All the other projects use expensive keyboards and shit. I just wanted something for 10 dollars to use for my soundboard. Thank you
I just made one for my son's birthday. I bought a numeric keypad, decoded the key matrix (5*6!) and hooked it up. Soldering the USB D+ and D- to the tiny 22 ohm resistors was a PITA, but it works! Saves me a good USB cable. This is so cool, I just might make one for myself too.
Very informative video - thank you! You also have a very pleasant voice and are easy to understand. I'm going to try programming my keypad for the most common functions I use for the Blender app. If I'm successful, I'll attempt to turn this into a macro pad with 3d printed keys.
I absolutely love the juxtaposition of your bone-dry tone of voice with the neon-flashing "I'm also very lazy" light effect at 2:09. Really made me laugh.
thanks / excellent video May I say a word to those 'Technical' people who post videos : Please make the assumption that your watchers are all beginners and they need preliminary details to make things work
Hi thanks for your video...i have the same hardware and i am looking to do a similar a similar thing. But as my use case is as a keypad for flight simulations, i need it to send Directx inputs (like joystick buttons) and not keyboard commands. Is there a simple way to do that?Thanks
I wanna know can I make launchpad with that setup I actually make something like that with arduino nano and the code you make is similar but it is not see as usb device so if I change my arduino nano to arduino pro micro can make the think more easier (Sorry I can't explain think I want with english very well)
I made myself one as my first arduino projet. Thanks for the video and the code ! (That of course I tweaked a little) I made a case for it with custom keys that I designed and laser cut (inspired by 70s sci fi). If you're interested, you can find pictures on Instagram (Ernest Fabrique des Trucs). Anyway, thank you very much !!!
I know this is quite old now, but can you use it to input a string of buttons. to get to the menu I want i need to press alt+n, then the down button 10 times. I purchased a cheap macro pad but can only input 5 buttons per key press which isn't enough.
Dont know if you still need it, but I just built a keypad and coded what you want. when tested, it correctly registered alt+n and 10 down keystrokes, it took me a bit to get it right since im new to coding, but it was easy to achive with arduino's guide of the keyboard library
Thanks ! (it work for 3*4 matrix you just have 2or3 things to change!)
4 роки тому
Great project! completed one board today with 3d printed case to come. I was wondering how you would go about launching a program with the arduino, Like your email client or a browser? Thanks for the video!!!
I don't always to be honest, I do most of my social media interaction on my phone when I'm in between doing other things (Right now I'm replying while brushing my teeth before bed 😅) and the youtube studio app on the phone is really not great. I reply to people on discord a lot quicker just cause the app is better! (BLoughie/discord if you'd like to join)
How was I not subbed to you?! Oh well that was an easy fix :P I have an idea for something like this that has changeable overlay cards for the buttons which I can swap out on the fly and which will have printed different characters, macros, strings of text etc. I'm looking for something like an array of those metal tact domes, though I might have to build it :O
Nice video, thanks! Could I use this same library to hook up the keys on the keypad from F13 to F24? Or is it limited only to the keys present in normal keyboards?
First, thanks for the video and info. Second, I hope you still watch this space and reply. I have no clue what I am doing but thought this looked easy enough to try but it seems I have an error msg. Now I thought I got the same hardware and it looks the same but I had to select LilyPad Arduino USB rather than the Arduino/Genuino Micro so it seems that part I sorted. The thing is thought my layout looks like yours I get an error anytime I attempt to upload to the device. No clue if this is enough info but this is a part of that error. note: 'void loop()' previously defined here void loop() { ^~~~ exit status 1 redefinition of 'void setup()' Hopefully you have some ideas or can point me to where I might need to learn more of this type error and how I might correct it. Thank you.
@@AlNexus I figure I got a bum board as it wouldn't power on properly so I abandoned the project since I didn't care to order and wait for a replacement.
@@AlNexus At least the boards are really cheap, what has my interest now but I am not yet decided if I will pursue it is a MUCH better-looking option that is still really cheap. www.instructables.com/A-Bluetooth-ESP32-TFT-Touch-Macro-Keypad/?
Any suggestions for things you would do with this type of keypad? Or do you know of an simpler one!?
Sorry about some of popping in the audio, I've changed a lot recently (new computer, new editing software, new version of OBS) so I haven't got everything dialed in yet
Yeah I think I might make something for video editing with a rotary encoder as well, I think it might be nice
I'm waiting for your reply plz plz plz,
About ESP32 cam
Can i recording the video streaming?
and Can i send a command or a signal from arduino to start or stop record video?!
finally, how i can upload this video wich it recorded to cloud or server?!
Thank you for your reply
@@2000jago what is that?
And i think this is not your business
@@mahmoudghanim3717 yes. You can do the same way in the hotkeys menu in obs. Uploading.... Just do through the browser. If you want live then that's a bit more complicated. But also possible in OBS
Keyboard' not found. Does your sketch include the line '#include '?
just found out that you have to select the correct arduino in the tools section of arduino IDE in order to get no error messages. I think Arduino Leonardo is the correct one but you might need to try different ones! ;)
There's another few problems with the Digispark: it's a flaky little shit due to software USB, sometimes it connects, sometimes it doesn't. And when you make a poopoo, debugging is proper hell. I really like the borderline disposable nature of the Digispark and its compact footprint but i don't like actually dealing with it.
I always have an urge to use the big pile of STM32 Blue Pills i have here, but then that's just me. They're so cheap, why are they so cheap? OK they need one resistor fitted to really work with USB, big deal. And it's nicer to use a $2 dedicated programming device, because then you don't need Boot0 and can use the rear debug pins rather than figuring out every time where the goddamn RX/TX pins are.
I have a blue pill sitting here for about two years and to my shame I've never used it! I also had some issues with the Digispark for printing, sometimes it just missed characters.
@@BrianLough i used a digispark with an optical endstop switch to simulate the coin insert in my arcade machine: when the coin passes between the 2 "pillars", it sends the 1 coin key to MAME :)
@@BrianLough a sensor like this (beware, the item refers to 10pcs): www.banggood.com/TWO-TREES-10pcs-Optical-Endstop-Light-Control-Limit-Optical-Switch-for-3D-Printer-p-1510313.html
I don’t know if you saw the live stream I did a few weeks a ago, I used a pro micro and a pir sensor to automatically switch cameras when I moved to my electronics bench, I’m going to add a capacitive button panel to allow me to configure different camera views on the fly with the automatic switcher, am planning on doing a project video on the whole thing.
This sounds exactly what I would want to use, heading to your channel to subscribe so I don't miss this.
What that video called please? don't know which one I'm looking for.
If you want to type a message such as "hello world" replace the sendMacroCommand() with Keyboard.print("hello world"). www.arduino.cc/reference/en/language/functions/usb/keyboard/
To help with programming you can set an enable pin on one of the leftover pins. So if say pin 10 is connected to ground it just skips the loop and waits 1 min and then checks again. That way when you want to reprogram the Keypad you can jumper 10 to ground and your keypad won't output anything.
That's a good idea
GREAT just what i wanted to ask you about, thought i'd look around first and there you are ;-)
Very good video brother. I made something similar with an ESP but it is wireless and hijacks the x server on linux to activate shortcuts
How do you make a key simulate a mouse click?
I got busy and put it together tonight (1 Oct 2019.) Found a plastic project box just the right size for the keypad, and put the pro micro inside. Tomorrow, I am going to add a power-on LED to the face of the box as well as an LED which lights whenever a button is pushed. (That's to compensate for the poor tactile feedback from the membrane keyboard.) It's going to help tremendously with OBS. Thanks a bunch for the idea and the code.
Thanks for your video! I used it, added some mouse functionality and made some macros and shortcuts for Cubase, since my finger is broken and my left arm has a casting on atm, which is very inconvenient when working in a larger program, where shortcuts really cut time. Now I can at least work on some recordings, while I'm on sick leave for 6 weeks :) And while I was at it, I made some automations (move mouse, scroll, klick, enter text), that were in my mind since I began to use the software package.
Seeking a cure for YDPPIS.
"UA-cam Demonstrated Produce Purchase Inducement Syndrome"
Pronounced "You'd piss"?
I have to say that i totally forgot the content of this video.. 😞 !
Because the keyboard.h explanation on the arduino site does not really explain how to mod the program to allow the SHIFT+KEY thing,
and you simply showed it in your script with a bas ic "if-then" loop.
Now all i need to find out is how the thing with diodes works, so i can use multiple keys at the same time.. or 2x 4x4 pads
if this doesnt work due to pins number i will simply grab another pro micro and hook up the Shift+Fkey on there..
Thank You !
(Havent heard/seen from you long time, youtube doesnt promote you anymore)
Can i use a arduino nano, arduino uno or arduino mega 2560?
Awesome Brian! I have creating a login switch box and username and password set up for systems that require this all day long, using the Micro. I was using only the keyboard.h library for printing text and wiring up my little boxes with momentary push buttons. I like this plug and play keypad version! Will save me time and money! I have the code for making requirements so it doesn't get stuck in a loop. I am trying to figure out how to add a Control alt delete, then return function to the code I already have. The code does the following with 1 button press: types in a username, tabs to password bar and types in the password and then returns. I am not quit sure how to add the control alt delete then return to this same button function. Would be happy to share what I have for the keyboard.print to get any suggestions. Thanks again for this video!!!
Hi Brian,
Nice vid as usual! If you want to go overboard with the project, you could make change it to use an es8266 and have a web gui set up for customizing the keys. Howbowdah? :)
2:06 lmao same bro
I really wanna build this one, but I have an official arduino micro instead of an aliexpress one. How do I connect the wires up? The official one has more pins
I tried copying thr code to arduino but keep getting the error 'Keyboard' not found. does anyone know how to fix this. I'm still very new with all this
it works except for the function key. how to control volume using this macro keyboard.
sorry for my english, but i love you. in one evening, you solved my problem. 1000 thanks
Can I connect this to ipad and use this as procreate shortcut macropad ????
Please reply..
Sorry I'm 3 years late.
What happens if you press 2 or more keys at the same time?
Aaaand here i'm back again .
I will build A F13 to F24 for StarCitizen. (i plan to will to build to..)
And if i get my head around it another row with
Shift-F13 to Shift F24
Edit: Darnit... Star Citizen doesnt know F13 to F24 😞
Maybe i can use Left ALT + Right ALT + F1 to F12 .. meh..
Worked like a charm! Thanks for all the effort in putting this together!
If you got stuck with automatic text not allowing you to re-program the thing, you could probably resort to using ICSP for programming.
But, as you said, best to avoid that pitfall if possible.
SO this is my situation and need help, I got an Arduino Pro Micro and MX keys, I've programmed it to send (SHIFT +A-J) fire it up open note pad, and bingo works ABCDEFGHIJ / Opened OBS assign the hotkeys to my scenes, scene 1 SHIFT + A etc , test it with my computer keyboard and it works... but when I try it from my macro keypad it jumps to other scenes or nothing at all.. any help?
Can anyone know how to do the same thing using NODEMCU? I tried with the same code given above but I shows some errors, please let me know anyone knows the way to do it using the NodeMCU
Nodemcu can't emulate USB in this way so it doesn't work
Very cool, this could be useful...cheers
how do you do Fn key with this?
HI Brian .. thanks for the tutorial . it's a very well-documented tutorial. could you make the tutorial for customising shortcut via local web manager ?
I have a question, can you setup multiple keypad/matrix to one arduino board?
you could, but making separate ones is easier. Depending on how many io pins you have left, you could expand the rows or columns and map the extra keys to the new columns or rows.
Oh this is exactly what I was looking for. All the other projects use expensive keyboards and shit. I just wanted something for 10 dollars to use for my soundboard. Thank you
I just made one for my son's birthday. I bought a numeric keypad, decoded the key matrix (5*6!) and hooked it up. Soldering the USB D+ and D- to the tiny 22 ohm resistors was a PITA, but it works! Saves me a good USB cable. This is so cool, I just might make one for myself too.
Very informative video - thank you! You also have a very pleasant voice and are easy to understand.
I'm going to try programming my keypad for the most common functions I use for the Blender app. If I'm successful, I'll attempt to turn this into a macro pad with 3d printed keys.
i can use Arduino uno ?
I'm subscribing purely because this man is irish
Top of the morning to ya!
Can i use arduino mega 2560 for this project?
Not really, doesn't natively support HID
very, very nice... i would like to control F11 and F12 in Bandicam on an old windows xp computer. thanks a lot...:)
I absolutely love the juxtaposition of your bone-dry tone of voice with the neon-flashing "I'm also very lazy" light effect at 2:09. Really made me laugh.
A great tutorial and crafty use for OBS. I may very well take advantage of this. Very smart. Thanks for sharing.
thanks / excellent video
May I say a word to those 'Technical' people who post videos :
Please make the assumption that your watchers are all beginners and they need preliminary details to make things work
Hi thanks for your video...i have the same hardware and i am looking to do a similar a similar thing. But as my use case is as a keypad for flight simulations, i need it to send Directx inputs (like joystick buttons) and not keyboard commands. Is there a simple way to do that?Thanks
Thanks for sharing this very useful info, just what I needed.
fantastic video, do you know of any way to get the arduino to send media next, media play/pause, etc type messages using the keypad?
I wanna know can I make launchpad with that setup
I actually make something like that with arduino nano and the code you make is similar but it is not see as usb device so if I change my arduino nano to arduino pro micro can make the think more easier (Sorry I can't explain think I want with english very well)
I made myself one as my first arduino projet. Thanks for the video and the code ! (That of course I tweaked a little) I made a case for it with custom keys that I designed and laser cut (inspired by 70s sci fi). If you're interested, you can find pictures on Instagram (Ernest Fabrique des Trucs). Anyway, thank you very much !!!
I know this is quite old now, but can you use it to input a string of buttons. to get to the menu I want i need to press alt+n, then the down button 10 times. I purchased a cheap macro pad but can only input 5 buttons per key press which isn't enough.
Yeah you can code it do whatever you want! You can do a million clicks if you want 😅
Dont know if you still need it, but I just built a keypad and coded what you want. when tested, it correctly registered alt+n and 10 down keystrokes, it took me a bit to get it right since im new to coding, but it was easy to achive with arduino's guide of the keyboard library
hallo, do anyone know how I can send a keycommand as long as i push the button?
i've spent all day trying to figure this out, and still got nothing
Seems like this library didn't exist now.
Which one?
Thanks ! (it work for 3*4 matrix you just have 2or3 things to change!)
Great project! completed one board today with 3d printed case to come. I was wondering how you would go about launching a program with the arduino, Like your email client or a browser? Thanks for the video!!!
nice video, I expected to see it based on the esp32 😅
On the todo list!
@@BrianLough is it done?
@@matthewgaming831 yes, it's on my channel now
ua-cam.com/video/4sIkW7wogrE/v-deo.html
@@BrianLough awesome. I was not even expecting you to message back most youtubers don't nowadays.
I don't always to be honest, I do most of my social media interaction on my phone when I'm in between doing other things (Right now I'm replying while brushing my teeth before bed 😅) and the youtube studio app on the phone is really not great.
I reply to people on discord a lot quicker just cause the app is better! (BLoughie/discord if you'd like to join)
How was I not subbed to you?!
Oh well that was an easy fix :P
I have an idea for something like this that has changeable overlay cards for the buttons which I can swap out on the fly and which will have printed different characters, macros, strings of text etc.
I'm looking for something like an array of those metal tact domes, though I might have to build it :O
I might be working on something that fits this description! It's capacitive touch though
Nice, I was wondering how to use those keypads for OBS and now I wondering about building a custom keyboard.
Thanks
Very cool, Thanks I've been looking for something like this for a while. Thanks again
Can I make one of this with digispark,?????Only 4 button needed
It's included in the Digispark software - there are several examples out there, just search for "Digispark keyboard".
I do wonder if it's possible to use double keys, like CTRL + C. Everybody is doing videos about the single press keys.
This video has triple keys being pressed (CTRL +SHIFT + F1 etc)
Nice video, thanks!
Could I use this same library to hook up the keys on the keypad from F13 to F24? Or is it limited only to the keys present in normal keyboards?
This supports f13-24 if I remember correctly!
Thanks for the tutorial, I'd rather use real keyboard keys but they are kind of expensive and I couldn't find any membrane ones
3d print one and just place the keypad under it as keyboard switches essentially
salvage from an old keyboard
just to make sure, this would also work with an Arduino nano, right?
No, it's because the nano can't be used/recognised as a USB device. This function is fundamental for this type o projects to work the way they should
Great video. Thanks a lot for sharing.
Glad you enjoyed it!
Very helpful. Thanks.
First, thanks for the video and info.
Second, I hope you still watch this space and reply. I have no clue what I am doing but thought this looked easy enough to try but it seems I have an error msg. Now I thought I got the same hardware and it looks the same but I had to select LilyPad Arduino USB rather than the Arduino/Genuino Micro so it seems that part I sorted. The thing is thought my layout looks like yours I get an error anytime I attempt to upload to the device. No clue if this is enough info but this is a part of that error.
note: 'void loop()' previously defined here
void loop() {
^~~~
exit status 1
redefinition of 'void setup()'
Hopefully you have some ideas or can point me to where I might need to learn more of this type error and how I might correct it.
Thank you.
Did you fix it?
@@AlNexus I figure I got a bum board as it wouldn't power on properly so I abandoned the project since I didn't care to order and wait for a replacement.
@@Tw3akst3r Sad to hear that.
@@AlNexus At least the boards are really cheap, what has my interest now but I am not yet decided if I will pursue it is a MUCH better-looking option that is still really cheap. www.instructables.com/A-Bluetooth-ESP32-TFT-Touch-Macro-Keypad/?
@@Tw3akst3r Woah, thanks for sending that, looks really nice. Good luck on making that one!
Thanks Brian, this is great.
Awesome project!
i get 'Keyboard' niet gevonden. Bevindt de lijn '#include ' zich in uw schets?
error any idea how to fix wana use it for exel copy paste
hey dude! did you fix this error?
cuz , i get this too :(