Now with the driver installed go back to Atmel, click the same button and click USB again, this time you should get the option to open. I don't have a drill press so I had to do it by hand, a couple were not straight but a a half-round file was big enough, to fit in and smooth the inside out. A good use case for this might be a custom quick chat keyboard for games. So to start off the code we need to define the keys you are going to use, you do this by writing #define key name KeyID. 3D Printed Arduino Macro Keyboard: This was my first project working with the Arduino Pro Micro. Extra Notes: If you want to use a letter key it will be used like 'V' you can see this in the code below, you can also set a button to print a string with one button press, you do this with the Keyboard.print("Hello World"); so this line of code will print the string inside the " " when the button is pressed. Jumper Wires, one for each button, power and ground pins. I designed my strip board to be in two half's, but they are connected together with a ground wire, but they could be in one piece or you can build it with a breadboard. On my design I used a 5mm drill bit to drill a LED hole into the right side, the LED does not go all the way through because of the thickness of the wood, but it is bright enough that you can tell it is on without looking directly at it. I was wrong, the Leonardo is the hardest arduino board I have worked with so far, my other boards, both Uno and Mega2560 are amazing to work with. A Resistor (I used a Red, Red, Brown also known as a 220 ohm resistor). So you are setting its value. Which triggers the button presses. That's why I've decided to make one on my o… You can use it as a macro keyboard. Hey Arduino Community. To get your Uno to work like a keyboard it will need a firm ware update. This is exactly what I have been looking for Thank you so much. Using this tutorial, you will be able to make a keyboard with all kinds of buttons and sensors. They do exactly what you'd expect. Accordingly the headers for it are close together and it's necessary to solder the miniMACRO5 to each pin, avoiding any shorts. It should work the second time. If you decide to make a wooden housing like I did, you will need tools. Do a dry run to make sure all the piece of the bottom half fit together correctly first. Make sure all saw dust is off the wood, before you apply the varnish, to make sure the varnish will stick. Now that everything is defined, we move into the setup portion of the code, We start by setting the mode of each pin, we do this with pinMode(pinNumber, modeType); The mode type always has to be in full capitals. Load the Arduino-usbserial-uno.hex file, make sure all the check boxes are ticked on the left, then hit the Run button, once it has been checked and all the lights are green, if the verify buttons goes red, load the Arduino-usbserial-uno.hex file again, then hit the run button again. I stuck to two coats as it looked good enough to me. The buttons are placed into the holes with the pins lined up for easy wiring, then hot glued into place, I used a spot of hot glue on the top and bottom of each button. Then go to devices and printers, find your arduino which will be called a keyboard. Then, press the 'load hex' button and select the file. Sand any cut or sharp edges after you have cut all the pieces. Today, I’ll create a macro Keyboard, Mouse with serial data that came with Arduino Pro Micro. The first is the physical one on the board that all arduino's have, the second is a virtual serial port, when you connect the board to the computer it uses the first to check for new code, then swaps to the second for general operation and code loops. VM's macro keyboard. Keyboard to Arduino: To get the arduino back to a normal arduino, you need to load Atmel, plug the arduino uno in. Arduino Uno Macro Keyboard: Hi there.When using my pc with only a keyboard I've noticed that in some programs that it's just not enough. Can i make it using an arduino bluno V2.0 ? The button starts off with a HIGH value, as this is what has been set in the setup. Do this every time you want to edit your code. Once the glue has dried, place the lid on to see if it fits, my inside off cuts that hold the lid in place, were a bit too far over, so I filed the outer edges of them till the box fit on perfectly. 2 years ago. So thank you to these people, for the help these videos and tutorial had on the project of building my own macro box. You will need to repeat until you get the code uploaded, took me about 15 tries to begin with. So all serial HID is possible! Is very timing based.I will explain this better, below the coding in the upload section. You can do this for words that you type a lot, you can even put in URL's, emails or any other string of text you may need.