GOLEM keyboard project

Skip to main content
Keyboard building blog

Pro Micro pinout

Number of pins: 18+2

The Arduino Pro Micro has 18 easily accessible pins, that's theoretically enough for a board with up to 81 keys (9*9).

However, there are 2 more pins, used by the onboard leds, which can be quite easily turned into usable pins. Just follow my Pro Micro upgrade guide and solder your wire to the pad of the removed resistors of the RX/TX LEDs. This way you can wire up a board with up to 100 keys (using the 18+2 pins in a matrix of 10 rows and 10 columns).

The additional pins are B0 and D5 as described in the ATmega16U4 data sheet.

The Atmega32u4 has even more GPIO pins (26), which could be available by soldering directly to the microcontroller, but that's not really for beginners.

Pinout & pin names

If you use QMK, you'll have to translate the pin names marked on your Pro Micro PCB to the AVR ones. Eg. pin 3 on the Pro Micro is called D0 on the Atmega32u4.

Arduino makes it confusing by not mapping its pin numbers to AVR ports, but this is for a reason. Some pins on the AVR can also be used for special purposes such as serial, timer input, PWM output, etc. and they are therefore sometimes labelled by those functions on the Pro Micro.

Here is the mapping:

Voltage

The Pro Micro has a built-in voltage regulator (it was designed to run on batteries).

There are two variants of the Pro Micro: One which feeds the AVR 3.3V, and one which is made to feed it 5V - the 5V version being the most common.

If you do feed it with +5.0V from USB, however, there is a penalty - the voltage regulator will deliver only +4.9V.

The AVR should run well on 4.9V, but you could also bypass the voltage regulator by bridging J1 with solder.

RAW = +5V from the USB port (or power IN if you use battery). VCC = +4.9V (or 3.3V) from the voltage regulator, or +5V if bypassed.

On 3.3V, the AVR is limited to 8 MHz and the firmware needs to be made for it but since most firmwares are made for the Teensy 2.0 which runs always on 5V, if you have the 3.3V of the Pro Micro you should bridge J1 to run that firmware.

Credits

scottc, Findecanon, Ladrigon

References