Control your keyboard with Arduino! Automate simple tasks!

Sdílet
Vložit
  • čas přidán 4. 11. 2021
  • 🤩 FREE Arduino Crash Course 👇👇
    bit.ly/get_Arduino_skills
    Want to learn more? Check out our courses!
    bit.ly/3k8kI0u
    We designed this circuit board for beginners!
    Kit-On-A-Shield: amzn.to/3lfWClU
    **Get your Free Trial of Altium PCB design Software**
    www.altium.com/yt/programming...
    SHOP OUR FAVORITE STUFF! (affiliate links)
    ---------------------------------------------------
    Get your Free Trial of Altium PCB design Software
    www.altium.com/yt/programming...
    We use Rev Captions for our subtitles
    bit.ly/39trLeB
    Arduino UNO R3:
    Amazon: amzn.to/37eP4ra
    Newegg: bit.ly/3fahas8
    Budget Arduino Kits:
    Amazon:amzn.to/3C0VqsH
    Newegg:bit.ly/3j4tISX
    Multimeter Options:
    Amazon: amzn.to/3rRo3E0
    Newegg: bit.ly/3rJoekA
    Helping Hands:
    Amazon: amzn.to/3C8IYXZ
    Newegg: bit.ly/3fb03X1
    Soldering Stations:
    Amazon: amzn.to/2VawmP4
    Newegg: bit.ly/3BZ6oio
    AFFILIATES & REFERRALS
    ---------------------------------------------------
    ►Audible Plus Free trial: amzn.to/3j5IGrV
    ►Get LastPass: lastpass.wo8g.net/b3N1vk
    ►Join Honey- Save Money bit.ly/3xmj7rH
    ►Download Glasswire for Free:bit.ly/3iv1fql
    FOLLOW US ELSEWHERE
    ---------------------------------------------------
    Facebook: / programmingelectronics...
    Twitter: / progelecacademy
    Website: www.programmingelectronics.com/
    **About Us:**
    This Arduino lesson was created by Programming Electronics Academy. We are an online education company who seeks to help people learn about electronics and programming through the ubiquitous Arduino development board.
    **We have no affiliation whatsoever with Arduino LLC, other than we think they are cool.**

Komentáře • 149

  • @paparoysworkshop
    @paparoysworkshop Před 2 lety +14

    I got the perfect use for this. Because I have arthritis, playing games on my computer can be difficult and I was thinking about building an input device where I can comfortably place my hand in its natural position and then operate buttons that would be mapped to the keyboard. I was initially planning to use the chip from an old keyboard and build an appropriate matrix, but I think this will be not only easier, but modifiable as well.
    Thank you so much for this video. I've used an Arduino for many projects, but never played with these libraries.

  • @varickveit2245
    @varickveit2245 Před 2 lety +1

    Happy to see you still making videos. Quality content.

  • @frazier283
    @frazier283 Před 2 lety +10

    Great tutorial. Can I add if you find yourself in a keyboard/mouse runaway situation you can press and hold the reset button on your Arduino, the Arduino sketch won't run while the button is held in. Click load on your IDE and simultaneously release the reset button.

  • @edgarbonet1
    @edgarbonet1 Před 2 lety +7

    A couple more small remarks:
    1. @17:07 you say that Keyboard.write() prints ASCII. Actually, this is just a shortcut for press() followed by release(), so it can hit any key you want, like, e.g., Keyboard.write(KEY_PAGE_DOWN).
    2. @19:19 you write
    Keyboard.print("clear");
    Keyboard.press(KEY_RETURN);
    Keyboard.release(KEY_RETURN);
    This can be simplified to
    Keyboard.println("clear");
    As println() is just print() followed by hitting the Return key.

  • @sdwsom4287
    @sdwsom4287 Před 2 lety

    Cool i got an idea.
    I would connect that to a wifi board the i will be able to upload sketches over the air from the cloud.
    So now i can control many of the smart displays like showing and typing things on them.
    All from my control room!
    Thanks mate.

  • @edgarbonet1
    @edgarbonet1 Před 2 lety +5

    Regarding begin() and end(): the purpose of these methods is to future-proof your sketch. If you use them as suggested by the documentation, your sketch should be compatible with future versions of the library. This means: never use another method before begin() nor after end(). Do not assume print() before begin() does nothing, and do not assume it does something either: don't make assumptions, just don't do it. And please, do not teach people to omit begin(). BTW, since version 1.0.4 of the library, begin() is not empty anymore.
    Regarding your example program at the end of the video, you would be better off leaning how to use the “alias” command from bash. The Keyboard library is most useful when you want to build custom input devices, like a game controller or a barcode scanner. For regular task automation, software-only tools tend to be more effective.

  • @NguyenTastic
    @NguyenTastic Před 2 lety +1

    This was very helpful, thank you!

  • @cschmitz
    @cschmitz Před 2 lety +2

    Nice head's up on those library gotchas. Def good to know before diving in to a project

    • @programmingelectronics
      @programmingelectronics  Před 2 lety +1

      Thanks! I was struggling to figure out what was up when using those functions

    • @cschmitz
      @cschmitz Před 2 lety +1

      @@programmingelectronics I def feel you. That was def an "ugh, relatable!!" part of the video. I've def felt that sting before :)

  • @WayneMcNab
    @WayneMcNab Před rokem +1

    Very very good tutorial! Thank you!

  • @mikysantana644
    @mikysantana644 Před 6 měsíci

    I would like to make a macro to repeat actions within a video game, is it possible using Arduino?

  • @peterthinks
    @peterthinks Před 2 lety +1

    Very nice! I was using a HID rubber ducky to TAB and ENTER thru Facebook menus of bots to report all their bot friends as fake accounts. Adding a button would make it smoother to use!

    • @robthom09
      @robthom09 Před 2 lety +1

      Glad that someone is doing this. Too much fake news.

  • @jacobwigent1931
    @jacobwigent1931 Před 2 lety +3

    Great tutorial! I love it

  • @laygoman7547
    @laygoman7547 Před 2 lety +1

    Love your videos. Thank you for helping

  • @dedey0637
    @dedey0637 Před 3 měsíci

    can you explain how to use keyboard.h with the matrix sistem?

  • @hughy2938
    @hughy2938 Před 2 lety

    Does anyone know a modification to this code that would work, I want to use my keyboard keys and not a arduino button

  • @anvarjonovb
    @anvarjonovb Před 6 měsíci +1

    That's cool Bro!!! Thanx a lot!!

  • @benamen5274
    @benamen5274 Před 2 lety +1

    Can you somehow asign additional f-keys to those buttons and like a mouse-wheel to a potentiometer?Would be very nice, because then it could work as a editing keyboard for davinci as an example.Very nice video btw!

    • @programmingelectronics
      @programmingelectronics  Před 2 lety

      I think that is very doable. I think you might consider a rotary encoder over a potentiometer for the spin action, but in general, yes, totally possible.

    • @benamen5274
      @benamen5274 Před 2 lety

      @@programmingelectronics Yes, after a bit of researching that seams like the best option. Not quite sure how to set this up in my editing Software(Davinci), but il find a way.

  • @watch54
    @watch54 Před 2 lety +5

    MickeyMouse!!!!! hahahahahhahahahahhahahahah
    2:40

  • @johnm4962
    @johnm4962 Před 11 měsíci +1

    love this video exactly what i needed !!!!!!!

  • @mradulbhardwaj3147
    @mradulbhardwaj3147 Před rokem +2

    Does ESP32 also support this ??

  • @rdvardi3296
    @rdvardi3296 Před 9 měsíci

    Please how to instal keyboard.h library

  • @test_channel_eg
    @test_channel_eg Před 3 měsíci

    Hi my friend
    I have a problem with
    Arduino pro micro and old trackpad from old hp laptop
    It like just an ordinary laptop touchpad
    But I don't know tk maje right click
    And scroll down and down
    Any help plz

  • @mtalhakhalid1679
    @mtalhakhalid1679 Před 2 lety +2

    I use processing 3 for keyboard and mouse with ardino uno

    • @programmingelectronics
      @programmingelectronics  Před 2 lety

      I LOVE processing! That's what actually got me thinking about using Keyboard/mouse control. We have lessons on connecting to twitter through Arduino/Processing library called twitter4j -but we're using the Processing 4 I think?

  • @yayangmario8550
    @yayangmario8550 Před 2 lety

    sir can you help me for my project ?? I have a project to make digital scales, but here I need a tool to enter an address,,
    can you help me to program a keyboard so that it can connect to the arduino and work

  • @jorencuppens1434
    @jorencuppens1434 Před rokem

    can i also use an arduino uno
    ?

  • @mmaad2165
    @mmaad2165 Před rokem

    I'm using your code but it keeps running without hitting the button why is that

  • @cirdiam1800
    @cirdiam1800 Před 2 lety +1

    So do you connect the Arduino to one USB port on your computer and your actual keyboard to another USB port on your computer? Or do you connect the Arduino to a USB port on the computer and you somehow plug your actual keyboard into the Arduino and the Arduino “passes thru” keyboard presses on the keyboard thru to the computer?

    • @programmingelectronics
      @programmingelectronics  Před 2 lety +1

      Great question! You just keep your normal keyboard plugged in and it works fine. The Arduino then acts as an additional keyboard.

  • @donald-parker
    @donald-parker Před 2 lety

    Can the Arduino emulate other special keyboard keys that don't seem to have predefined constants in keyboard.h (for example, sleep , multimedia keys, PrtScn, and differentiate between main keyboard numbers vs "number pad" numbers)? Is yes, how can we find out what codes to send so we can augment the built in constants with our own? What about maybe trying to find it out by building a keylogger. I suppose I would need to add a host USB port to the Arduino. But can you use a host port and device port at the same time? Or even better, can I control the function of the USB port on my Leonardo and "toggle it" between host port and device port behavior?

    • @edgarbonet1
      @edgarbonet1 Před 2 lety

      Version 1.0.4 of the Keyboard library brings a few more key macros, including KEY_PRINT_SCREEN and all the keys of the numeric keypad. You now have all the keys of a “standard” full-size PC keyboard. No Sleep or multimedia keys though.
      I do not think an Arduino can be used as an USB host. The SAMD based-ones maybe, but not the Leonardo.

  • @hugochavez6170
    @hugochavez6170 Před rokem +1

    Nice tutorial! 👍 What about Unicode characters? Is it possible to press them using hex or binary code?

    • @programmingelectronics
      @programmingelectronics  Před rokem +1

      Great question! I am thinking you could send a a unicode symbol using the keyboard.print() function, but I'll have to check.
      www.arduino.cc/reference/en/language/functions/usb/keyboard/keyboardprint/

  • @lwcfr
    @lwcfr Před rokem

    Can i use it for ps4 or Xbox

  • @WayneMcNab
    @WayneMcNab Před rokem

    Hi. I did not see your video in time. Sure enough that’s what happened. Took some time to get it straighten out. Thanks. If I could ask a question on if else statement. I have nested if- else statements 3 deep. When coming out after executing the inside statement, does the program flow skip over any ‘else’ statement it finds coming out though the outside ‘else’ statements. If that makes any sense

    • @WayneMcNab
      @WayneMcNab Před rokem

      Is there a good way to get out of this keyboard lock. Just happened again and whatever I did last time to get out of it I cannot replicate getting the Arduino to again accept downloads. Sorry for the trouble. Wayne

  • @samtvtest4159
    @samtvtest4159 Před rokem

    Thanks for this nice tutorial. I'm trying to emulate the keyboard library in Bluetooth HID. Tried bleKeyboard library for ESP32 but unfortunately the esp is not connecting.
    Can you recommend a different library for ble Bluetooth?
    Thanks

    • @programmingelectronics
      @programmingelectronics  Před rokem

      Hi Sam, I am working through similar issues right now (you are not alone!), hopefully when I get to the light, I'll be able to post something here!

  • @KeithFiore
    @KeithFiore Před 2 lety +2

    So, (14:30) how did you reprogram the board to stop the key entry or mouse movement? You mentioned that you tried to upload a new sketch. Is the solution to upload a new "bare minimum" sketch?

    • @programmingelectronics
      @programmingelectronics  Před 2 lety +1

      Great question! You can upload any sketch that allows you to get back keyboard/mouse control - the "bare minimum" would be a great option, or you can just comment out/change the lines of the current program, so as not to use the keyboard/mouse.

    • @RicardoPenders
      @RicardoPenders Před 2 lety +2

      @@programmingelectronics That's still not the answer to the question Keith had and I still have, that you can program the bare minimum sketch or to comment out the problematic line of code is the most logical thing to do, but if the Arduino is causing havoc to the input of your computer and really doing something that makes it impossible for you to do anything yourself with your mouse or keyboard.
      Let's say we are in a hypothetical worst case scenario and as soon as you plug in your Arduino it makes everything you want to do impossible and there's nothing you can do, other than unplugging the Arduino to get back the control over your computer, do you have to consider the Arduino to be unusable from that point or is there something you can do to either block the Arduino from taking over your keyboard and or mouse or is there a way to reprogram the Arduino without plugging in the USB connector?
      If I would start tinkering with this keyboard and mouse library for the Arduino, I for sure as hell would have made something either in software that can deal with a worst case scenario to prevent the Arduino from causing havoc or I would made something in hardware that has one very important task which is connect to the Arduino and instantly uploads a minimal sketch, and this would always be ready to use and in close proximity.
      While I'm writing this comment I realize that I came up with the answer myself.
      >> HERE IS THE 5 STEP SOLUTION

    • @programmingelectronics
      @programmingelectronics  Před 2 lety +2

      @@RicardoPenders Awesome! Thanks for adding all these details and steps!

    • @frazier283
      @frazier283 Před 2 lety +2

      If you find yourself with that type of runaway situation you can press and hold the reset button on your Arduino, the Arduino sketch won't run while the button is held in. Click load on your IDE and simultaneously release the reset button. Hope this helps.

  • @paulb36utube
    @paulb36utube Před 2 lety

    I can’t seem to figure out how to
    (action press down) copy ;
    (action release button) paste.
    Any hints? Perhaps a video in the future?
    I’m able to to copy paste from 2 seperate buttons but this one had me confused.

    • @edgarbonet1
      @edgarbonet1 Před 2 lety

      You may want to try a button debouncing library. With the the Bounce2 library, for example, you can write:
      button.update();
      if (button.fell()) {
      Keyboard.press(KEY_LEFT_CTRL);
      Keyboard.press('c');
      Keyboard.releaseAll();
      } else if (button.rose()) {
      Keyboard.press(KEY_LEFT_CTRL);
      Keyboard.press('v');
      Keyboard.releaseAll();
      }

  • @TheUnofficialMaker
    @TheUnofficialMaker Před 2 lety +2

    Is there a way to make a key to do a Command C (copy) for the Mac? On the runaway problem, I just added a 5-second delay in setup. I used the pro micro to make a programmers keypad, so I have separate keys for (), {}, < > etc. works great.

    • @programmingelectronics
      @programmingelectronics  Před 2 lety

      Thanks for adding that about the runaway problem V J!
      As for the copy (and maybe paste as well?) I have not tried this, but I think you would use the press command, the appropriate modifier keys, and then the release command. That would be fun to try!
      Press-> www.arduino.cc/reference/en/language/functions/usb/keyboard/keyboardpress/
      Modifier Keys -> www.arduino.cc/reference/en/language/functions/usb/keyboard/keyboardmodifiers/

    • @TheUnofficialMaker
      @TheUnofficialMaker Před 2 lety

      @@programmingelectronics Yes, but I don' think one can simulate a 'command' button because its some kind of key for the OS only, as far as I can tell. Thanks.

    • @programmingelectronics
      @programmingelectronics  Před 2 lety +1

      Hi @@TheUnofficialMaker - I just check on this, and looks like it is KEY_LEFT_GUI or KEY_RIGHT_GUI to press the CMD Key on Macs - I have it working in a simple sketch to copy and paste a line of text. I'll see if we can get a short video showing how as well - thanks for the great questions!!

  • @dardodiesel5502
    @dardodiesel5502 Před rokem +1

    Excellent video, very clear explanation. But if I don't have a Kit-On-A-Shield, would making a connection with a switch between pin 5 and ground be enough?

    • @programmingelectronics
      @programmingelectronics  Před rokem

      Great question Dardo! I should have been more clear about that in the video.
      You should probably add to that a ~10K pull down resistor from pin 5 to ground as well.

    • @dardodiesel5502
      @dardodiesel5502 Před rokem +1

      @@programmingelectronics Is it possible for the plate to burn out if I do not connect the resistor? Because I saw other tutorials in which they connected the pin directly to ground, in that case it was an arduino pro micro board which is the one I bought. I'm new to this, sorry if my question is too obvious.

    • @programmingelectronics
      @programmingelectronics  Před rokem

      @@dardodiesel5502 Great question! There would be no harm done to the board/circuit/button/etc if you did not connect the resistor.
      This gets a bit convoluted, but...The resistor recommendation was to make sure that your input pin was "pulled down" when not being pressed - that is, so when you are not pressing the button that it reads a LOW voltage. It may already be showing a LOW voltage when the pin is not pressed, but the pin is in a "floating" state if it's set to an input and not connected to a voltage source (aka, ground or 5V). Now what you could do, is sett the input pin to an INPUT_PULLUP using the pin mode function, and then instead of hooking your button to pin 5 and 5V, you connect it to pin 5 and ground. In this case, when you don't press the button, it would read HIGH, and when you press the button it would read LOW, so you just need to adjust your logic in this if statement to trigger on LOW. Sorry for the run on - hope it helps some!

    • @dardodiesel5502
      @dardodiesel5502 Před rokem +1

      @@programmingelectronicsThank you very much for taking the time to answer! Your explanation helped me a lot.

    • @programmingelectronics
      @programmingelectronics  Před rokem

      @@dardodiesel5502 Great!

  • @mtalhakhalid1679
    @mtalhakhalid1679 Před 2 lety +2

    Keyboard library didnt work in arduino uno nano but may worknif i change ots bootloader

    • @programmingelectronics
      @programmingelectronics  Před 2 lety

      I believe these USB libraries will only work on boards using the 32u4 or SAMD micros. If I am not mistaken, I think Nanos use the 328p micro.

  • @hughy2938
    @hughy2938 Před 2 lety +1

    Is there a way to do this without a physical arduino button? Because it would be quite nifty to be able to bind this process to a key on my keyboard, thanks.

    • @chesshooligan1282
      @chesshooligan1282 Před 11 měsíci

      Autohotkey. It can emulate a keyboard and do a lot more at the touch of a key. It can maximise and minimise windows; it can open, move, copy, and delete files; it can run programs, with or without arguments; it can detect the colour of a pixel on the screen; and a lot more. It can also do different things dependent on context. The context can be whether a file exists, a certain window is open, a certain window is active, and so on. It beats the Arduino hands down. I couldn't live without AHK. It has saved me millions of keystrokes and mouse clicks.

  • @PatonMacD
    @PatonMacD Před rokem

    been having a hard time finding how to do with with more than one button. I have a box I made and did this in the past.. but I cant find my project file or resources on how to do it so far! I know it isn't that hard.. but I cant figure out how to do it so far... I have 10 buttons setup in a non matrix style all of the buttons have pull up resisters on it already... plugged into a leostick ...Any ideas?

    • @programmingelectronics
      @programmingelectronics  Před rokem

      Great question - I've been wanting to build a custom keyboard emulator myself for some specific key presses.
      Basically, you just need to read button presses in the loop, and when a specific button is pressed, you have you code execute that keyboard command. It can get a little tricky, because you want to make sure a button press is only registered once per press, and that button presses don't get missed if you're doing other stuff in the program.
      I'll see if i can come up with something for this one...

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl Před 2 lety +2

    Thank You

  • @laygoman7547
    @laygoman7547 Před 2 lety +1

    How would I use rf24 to set pins high or low using 2 Arduino unos and a laptop?

  • @99percent_freedom
    @99percent_freedom Před 2 lety +2

    could you attach a 16 button keypad for 16 cusom functions?

    • @programmingelectronics
      @programmingelectronics  Před 2 lety

      That's the exact kind of thing I have in mind as well! As long as you could register each press, you could assign it a specific task using the library.

  • @MattVSNNL
    @MattVSNNL Před rokem +2

    Is there a way to do this on the Arduino Uno R3?

    • @programmingelectronics
      @programmingelectronics  Před rokem

      I can be done, but it would be very tricky and non-standard.
      arduino.stackexchange.com/questions/991/can-the-2nd-mcu-on-the-uno-r3-be-used-for-keyboard-emulation

  • @Pit.Gutzmann
    @Pit.Gutzmann Před 2 lety +1

    You did not mention Arduino Uno and Mega boards. Do they work with it as well?

    • @programmingelectronics
      @programmingelectronics  Před 2 lety

      Great question! They do not work with this library.

    • @RobinHood-zi9ct
      @RobinHood-zi9ct Před 11 měsíci +1

      @@programmingelectronicsbut this is not anymore the case with UNO rev4 right?

    • @RobinHood-zi9ct
      @RobinHood-zi9ct Před 11 měsíci +1

      Can it also appear as a native keyboard and mouse like 32u4 and SAMD based boards?

    • @programmingelectronics
      @programmingelectronics  Před 11 měsíci

      @@RobinHood-zi9ctThat's right! I believe the new R4 UNO's should work with these libraries.

  • @runargundersen2310
    @runargundersen2310 Před 2 lety

    This is great :)

  • @Pit.Gutzmann
    @Pit.Gutzmann Před 2 lety +1

    And how do you do this "outcommenting" of several lines at once with double slash?

    • @programmingelectronics
      @programmingelectronics  Před 2 lety +1

      Great question!
      If you select multiple lines, and use "Control + /" on PC, or "Command + /" on macOS, it will comment multiple lines. If you select commented lines, and then use the same keyboard shortcut, it will toggle back to un-
      comment

    • @Pit.Gutzmann
      @Pit.Gutzmann Před 2 lety +1

      @@programmingelectronics thank you! I learned something today!

    • @programmingelectronics
      @programmingelectronics  Před 2 lety

      @@Pit.Gutzmann awesome - glad it helped!

  • @ItsKalle231
    @ItsKalle231 Před rokem +1

    Hello, grate video, but can you help me whith the keyboard.press(); command, i realy want to doo that, If you see this, pls reply

  • @atiyos
    @atiyos Před 2 lety +1

    thank you

  • @syedadnan9142
    @syedadnan9142 Před rokem

    How many characters it can type in one second?

  • @freemind1621
    @freemind1621 Před 2 lety +1

    Wonderful

  • @theunofficialprofessional
    @theunofficialprofessional Před 6 měsíci +1

    This would work with the 2560 Mega right?

    • @programmingelectronics
      @programmingelectronics  Před 6 měsíci

      Unfortunately no. These libraries only work with boards that are recognized as HID (human interface devices)

    • @theunofficialprofessional
      @theunofficialprofessional Před 6 měsíci

      Thank you so much for responding,
      There's no way i can add some library? There must be. @@programmingelectronics

    • @programmingelectronics
      @programmingelectronics  Před 6 měsíci

      I don't think so, but I could be mistaken for sure. @@theunofficialprofessional Maybe this is worth exploring? www.instructables.com/How-to-Make-a-Arduino-HID-Keyboard/
      Best of luck!

  • @shubhankarroy7772
    @shubhankarroy7772 Před 8 měsíci

    do it also work in aurdino uno ?

  • @alendmusa6964
    @alendmusa6964 Před 2 lety +1

    do arduino megas work with this?

    • @programmingelectronics
      @programmingelectronics  Před 2 lety +1

      Great question Alend! Unfortunately no, Arduino MEGAs will not with this keyboard library.

    • @alendmusa6964
      @alendmusa6964 Před 2 lety

      @@programmingelectronics Do you know of any way that I could replicate this without the keyboard library?

  • @YashJain-qh5tn
    @YashJain-qh5tn Před rokem +2

    Can i use arduino uno or nano🥺🥺

  • @MrJohnnaz
    @MrJohnnaz Před 2 lety +1

    Will any of this work with a DOS computer?

  • @Qwzdf
    @Qwzdf Před rokem +1

    guys I get error Compilation error: keyboard.h: No such file or director how do I fix it?

    • @programmingelectronics
      @programmingelectronics  Před rokem

      Great question! What board are you using?

    • @Qwzdf
      @Qwzdf Před rokem +1

      @@programmingelectronics uno 3

    • @programmingelectronics
      @programmingelectronics  Před rokem

      @@Qwzdf Unfortunately, these libraries will not work on an Arduino UNO.

    • @TriflingToad
      @TriflingToad Před rokem +1

      @@programmingelectronics will it work on the MEGA? im considering buying it, also which ones are supported?

    • @programmingelectronics
      @programmingelectronics  Před rokem

      Great question @@TriflingToad ! A Mega will not work with this library. An Arduino Leonardo would work.(Zero, Duo, and MKR family)

  • @arkodeepchatterjee
    @arkodeepchatterjee Před rokem

    will this work on Arduino Uno??

  • @ruhruhruhruhruheisjsij

    Hopefully this doesnt get used for any sort of malicious purposes any time soon 😈 (jkjk good video though thanks, really helped me get started with it. Been using this for a custom keyboard ive been making out of a repurposed type writer I find. Really helps with macros especially custom ones for VIm. )

  • @Looki2000
    @Looki2000 Před rokem

    It doesn't work for me at all. I'm using MKR WiFi 1010

  • @spidy8554
    @spidy8554 Před 2 lety +1

    Does it really send keystrokes or just copy paste

    • @programmingelectronics
      @programmingelectronics  Před 2 lety +1

      Good question! I am pretty sure it is sending the keystrokes.

    • @spidy8554
      @spidy8554 Před 2 lety

      @@programmingelectronics did you test it by using keyslogger

  • @guzmadera
    @guzmadera Před rokem +1

    Hola, al ver este video que me ha encantado porque creo que es la solución que andaba buscando varios meses, al fin me parece que voy a solucionar mi problema, gracias y te voy a preguntar si el posible lo que quiero. Hace años compré una aplicación de música STYLE WORK XT y al cambiar de ordenador la aplicación me pide un nuevo pin, escribí varias veces al vendedor, pero me enteré que este señor había fallecido, con lo cual no puedo utilizar esta aplicación. PREGUNTA: si me hago una aplicación en arduino, crees que puedo ir generando pines en la ventana de esta aplicación como si las fuera tecleando manualmente? solo necesito enviar NUMEROS y usar la tecla INTRO, FLECHA IZQUIERDA Y FLECHA DE BORRAR.

    • @programmingelectronics
      @programmingelectronics  Před rokem

      Buen proyecto! Sí, eso suena posible. Vea también los otros videos que tenemos sobre el uso de teclas especiales. ¿Vas a escribir un programa que intente muchas combinaciones de pines hasta que encuentres el pin correcto?
      czcams.com/video/29QYRpppHv8/video.html

    • @guzmadera
      @guzmadera Před rokem +1

      @@programmingelectronics Si eso es lo que intento, ya hice uno con relé de 16 canales soldando a un teclado viejo y funcionó, pero el relé se quemó porque es un pin de 6 dígitos. Voy a ver todos los videos y ya te contaré. Gracias por contestar

    • @guzmadera
      @guzmadera Před rokem

      Gracias por darme ánimos, seguí probando y al final lo he conseguido, saludos

  • @wolf33b
    @wolf33b Před rokem

    came for see is arduino i have can be use as keyboard. suddenly learn how to make it. tbh it kinda same as keyboard library from python. wonder if they are made by same guy
    anyway if you still use a macro or other people plan to make macro like this. im suggesting using python library and bind it to function key like F12 or F1. or maybe just like me using macro keyboard to add F13 and F14(yes it does exist and yes it registered on windows. the only way i know to make this by print it with python script while record macro key on my keyboard. and waila you have extended Function key)
    by doing this you make 0$ macro function instead buy Arduino and buy a button.
    but sure having keyboard library on Arduino does kinda help if you want to fix old expensive keyboard but chip broken.
    im actually planning fix my keyboard that why im coming here to make sure is my board compatible with library

  • @pixelgrafik1146
    @pixelgrafik1146 Před 2 lety +1

    The „normal“ Arduino Uno doesn’t work, right?!

  • @luxraider5384
    @luxraider5384 Před rokem +1

    You don t need an arduino to do that. Just run a script on your pc.

    • @programmingelectronics
      @programmingelectronics  Před rokem

      You're right! Could run a script on a mac as well. The idea is being able to use external hardware to trigger such tasks, aka, button presses, sensors, etc.

  • @syedadnan9142
    @syedadnan9142 Před rokem +1

    bro nice nice nice nice nice nice nice nice nice nice nice nice nice nice nice nice nice nice nice nice nice nice nice nice nice nice very very thank you so much bro 🔥🔥🔥you won my heart

  • @leowribeiro
    @leowribeiro Před rokem

    If you're on Windows just use AutoIt, far more elegant solution than plugging an arduino to simulate a keyboard!

    • @chesshooligan1282
      @chesshooligan1282 Před 11 měsíci

      AutoIt is good but obsolete. There's Autohotkey now.