Arduino Leonardo Macro Keyboard (Modified)

by ItzEric in Circuits > Arduino

591 Views, 0 Favorites, 0 Comments

Arduino Leonardo Macro Keyboard (Modified)

IMG_0382.JPG

I made this modification since the previous person made it so that you need special buttons and an add-on board for his extra pins.

This is the link to the original idea by ConnorC44: https://www.instructables.com/Macro-Keyboard-With-Leonardo/

I modified to change the buttons into jumper wires connected to 10k ohm resistors, then change the code of pin 16 to pin 11, pin 14 to pin 12, and made it accessible to everyone who doesn't have the add-on board.

Since remembering all of the macros on a keyboard is hard, this circuit can help you with an easy and simple press on the wire to do the macro for you.

Who can benefit from this?

People I aimed for in this macro keyboard are new to the keyboard and don't know some macros, like copying, pasting, cutting, etc. My main target is for 5 - 6 graders, since that is usually the time that they got their hands on their first keyboards, and that's what happened to me, I don't know any macros, and with this, I can type faster during my 5 - 6 grade school life, when I was a beginner.

Materials Needed

ARD_LEONARDO_WOH_01.png
21020-dscn0140-2.jpg
1363c3bc-2ab8-4c53-9d05-67383977ea35_1.0947ee6bdaa70f92f87867573730ed1c.jpeg
00-750x750.jpg
  1. Arduino Leonardo board
  2. Breadboard
  3. 6 10k Ohm resistors
  4. 32 jumper wires

Wiring

IMG_0382.JPG
circuit.jpg

Set up the wires by this picture above, use the second image for reference.

Code

Downloads

Process of Creating

  1. Start the wiring
  2. Put in the code
  3. Plug the USB cable to Arduino Leonardo
  4. Make the two exposed wires touch to do the process indicated inside the description in the code
    • Pin 7 is paste (Ctrl + v)
    • Pin 8 is cut (Ctrl + x)
    • Pin 9 is copy (Ctrl + c)
    • Pin 10 is bold text (Ctrl + b)
    • Pin 11 is italic text (Ctrl + i)
    • Pin 12 is underline text (Ctrl + u)
  5. (optional) Change the code via personal requirements

Outer Shell

IMG_0383.JPG

I've used a 23cm * 23cm * 15cm box to make the outer shell, but it can be smaller, the extra space reserved is for power banks, but I've carved a small hole so the cable can run into the Arduino board.

Original Video

Arduino Leonardo Macro Keyboard

Final Video

Arduino Macro Keyboard (Final)