

The Arduino Pro Micro is a compact microcontroller board developed by Arduino, featuring the ATmega32U4 microcontroller. This board is designed for projects requiring USB connectivity, as it includes a built-in USB interface. The Pro Micro can emulate USB devices such as keyboards, mice, or game controllers, making it ideal for applications in human-computer interaction, custom input devices, and small-scale prototyping.








The following table outlines the key technical details of the Arduino Pro Micro:
| Specification | Details |
|---|---|
| Microcontroller | ATmega32U4 |
| Operating Voltage | 5V |
| Input Voltage (recommended) | 7-12V |
| Input Voltage (limit) | 6-12V |
| Digital I/O Pins | 12 |
| PWM Channels | 5 |
| Analog Input Pins | 4 |
| Flash Memory | 32 KB (4 KB used by bootloader) |
| SRAM | 2.5 KB |
| EEPROM | 1 KB |
| Clock Speed | 16 MHz |
| USB Interface | Native USB |
The Arduino Pro Micro has a total of 24 pins, including power, digital I/O, and analog input pins. Below is a detailed description of the pin configuration:
| Pin | Type | Description |
|---|---|---|
| RAW | Power Input | Unregulated power input (6-12V). |
| VCC | Power Output | Regulated 5V output. |
| GND | Ground | Ground connection. |
| RST | Reset | Resets the microcontroller. |
| TX0 | Digital Output | UART Transmit pin. |
| RX1 | Digital Input | UART Receive pin. |
| D2-D10 | Digital I/O | General-purpose digital input/output pins. |
| A0-A3 | Analog Input | Analog input pins (can also be used as digital I/O). |
| SDA | Digital I/O | I2C data line. |
| SCL | Digital I/O | I2C clock line. |
| MISO | Digital I/O | SPI Master-In-Slave-Out pin. |
| MOSI | Digital I/O | SPI Master-Out-Slave-In pin. |
| SCK | Digital I/O | SPI clock pin. |
| 3.3V | Power Output | 3.3V output (limited current). |
Powering the Board:
Programming the Board:
Connecting Peripherals:
The following example demonstrates how to use the Pro Micro to emulate a USB keyboard:
#include <Keyboard.h> // Include the Keyboard library
void setup() {
// Initialize the Keyboard library
Keyboard.begin();
}
void loop() {
// Send the letter 'A' every second
Keyboard.print('A'); // Emulates pressing the 'A' key
delay(1000); // Wait for 1 second
}
Note: Ensure the
Keyboardlibrary is installed in your Arduino IDE. Disconnect the Pro Micro from your computer if the code causes unintended behavior.
The board is not recognized by the computer:
Unable to upload code:
USB device emulation is not working:
Keyboard or Mouse library is included in your code. Can the Pro Micro operate at 3.3V?
No, the Pro Micro is designed to operate at 5V. For 3.3V applications, consider using a different board, such as the Arduino Pro Mini.
What is the maximum current output of the VCC pin?
The VCC pin can supply up to 500mA, depending on the input power source.
How do I reset the board?
Briefly connect the RST pin to GND to reset the microcontroller.
By following this documentation, you can effectively integrate the Arduino Pro Micro into your projects and troubleshoot common issues.