This tutorial should work on any Arduino Leonardo compatible board like the Sparkfun Pro Micro and the cheaper Pro Micro clones on ebay or Aliexpress with the QFN or TQFP chip package. They’re all the same. I highly recommend the Pro Micro clone in a TQFP package as they are less likely to have shorted pins than the popular QFN package with smaller atmega32u4 chips. I bought hundreds of those TQFP Pro Micros and never had any problem with them while I usually get lots of shorted pins from those QFNs.
You can buy a pre-programmed Pro Micro if you don’t want to do it yourself.
Let’s Get Started (Microsoft Windows):
- First, download and install the latest Arduino IDE at https://www.arduino.cc/en/Main/Software.
- Run the software, create a new file, copy and paste the code from http://www.tinkerboy.xyz/arduino-usb-gamepad/.
- Now let’s install the Arduino Joystick Library. Download the library. On Arduino IDE, click on Sketch > Include Library > Add .ZIP Library…, browse to the zip file you downloaded and click Open. A message should appear at the bottom telling you that “Library added to your libraries. Check “Include library” menu“.
- Plugin in the Pro Micro with a micro usb data cable and let Windows install the device. Take note of the COM port number used by the device (COM9 in this example).
- Now on Arduino IDE, click on Tools > Board > Arduino Leonardo.
- Click on Tools again, choose Port and the port used by your Pro Micro.
- Finally, click the Upload button or press CTR + U to flash/program the Pro Micro. You should see “Done uploading.” at the bottom if it’s successful.
Comment below if this tutorial works for you or not.
Products you might be interested with:
Pro Micro with Atmega32u4(TQFP) – Pre-programmed with Arduino as a USB Gamepad$7.95 Read more
Game Boy Controller v2.2 with Pro Micro(atmega32u4) and PAM8403 Audio Amp$35.00 Read more
Game Boy Controller v2.0 for Game Boy Zero / 3$27.00 Read more
Game Boy Controller v1.1 PCB for Game Boy Zero / 3$9.00 – $9.95 Select options