The Arduino Pro Mini is a compact, no-frills Arduino board built for projects that need to stay small. It offers the familiar capabilities of the ATmega328P microcontroller in a compact form, making it a great choice for embedded projects, wearables, and other builds where a full-size Arduino board would be too large.
To make the most of the Pro Mini, you’ll need to understand its pinout. In this guide, we’ll walk you through the different types of pins on the Arduino Pro Mini, what they do, and how they are used.
So grab your Pro Mini, and get ready to dive into this pin-tastic adventure!
Arduino Pro Mini Pinout
The Arduino Pro Mini has a total of 34 pins. The pinout is as follows:

Let’s take a closer look at the pins and their functions, starting with the digital pins.
Arduino Pro Mini Digital I/O Pins
The Pro Mini has 20 digital I/O pins, labeled D0 through D19.

These pins can be configured as either inputs or outputs. When set as inputs, they can read digital signals (HIGH or LOW), and when set as outputs, they can send digital signals to control external components like LEDs, motors, and relays.
To read an input, you use pinMode(pin, INPUT) followed by digitalRead(pin). To control an output, you use pinMode(pin, OUTPUT) followed by digitalWrite(pin, HIGH) or digitalWrite(pin, LOW).
The following example reads a button on pin 2 and mirrors its state to an LED on pin 13.
const byte inPin = 2;
const byte outPin = 13;
void setup() {
pinMode(inPin, INPUT_PULLUP); // Set pin as input (internal resistor on)
pinMode(outPin, OUTPUT); // Set pin as output
}
void loop() {
int val = digitalRead(inPin); // Read the input pin
digitalWrite(outPin, val); // Write that state to the output pin
}Current Limits
Please note that these pins operate at 3.3 or 5 volts logic level (depending on the model), and each pin can source or sink a maximum of 40 mA of current.
Warning:
The voltage level of every I/O pin follows the version of the board. On the 5 V model, signals operate around 0 V and 5 V. On the 3.3 V model, they operate around 0 V and 3.3 V. You should therefore not apply a 5 V signal directly to an input on the 3.3 V version. Likewise, a 5 V Pro Mini output can damage a 3.3 V-only sensor. Use suitable voltage-level conversion when devices operate at different logic voltages.
Internal Pull-up Resistors
Each digital pin on the Pro Mini has a built-in pull-up resistor. This feature is especially useful when a pin is used as an input and nothing is connected to it. Without a pull-up resistor, an input pin can “float” and pick up random electrical noise, making it hard for the Arduino to tell if it’s HIGH or LOW. The internal pull-up resistor weakly pulls the pin’s voltage up to HIGH, keeping it steady.
The value of this pull-up resistor is not exact, but it usually falls between 20 kΩ and 50 kΩ.
To turn on the internal pull-up resistor, you use pinMode(pin, INPUT_PULLUP) instead of just pinMode(pin, INPUT).
The following example uses a button on D2 to control the built-in LED.
const byte buttonPin = 2;
void setup() {
pinMode(buttonPin, INPUT_PULLUP);
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
bool pressed = digitalRead(buttonPin) == LOW;
digitalWrite(LED_BUILTIN, pressed ? HIGH : LOW);
}Arduino Pro Mini Interrupt Pins
Interrupt pins are special digital input pins that can trigger a specific block of code (an interrupt service routine or ISR) when an external event occurs, such as a change in voltage level (HIGH to LOW or vice versa). This allows the Arduino to respond immediately to events without constantly checking the pin’s state in the main loop of your code.
The Pro Mini has two dedicated hardware interrupt pins: D2 (INT0) and D3 (INT1).

The following trigger configurations are supported:
| Mode | Trigger condition | Example use |
RISING | Changes from LOW to HIGH | Detecting the start of a positive pulse |
FALLING | Changes from HIGH to LOW | Detecting an active-low sensor signal |
CHANGE | Changes in either direction | Detecting both edges of a signal |
LOW | Remains LOW | Responding to a device that holds its request LOW |
The attachInterrupt() function is used to configure the interrupt:
attachInterrupt(interrupt, ISR, mode);Here interrupt is the interrupt number (0 for D2, 1 for D3), ISR is the function that runs when the interrupt occurs and mode defines the trigger condition (RISING, FALLING, CHANGE, or LOW).
Remembering which interrupt number belongs to which pin can be confusing. To make things easier, Arduino provides the digitalPinToInterrupt(pin) function. Instead of entering the interrupt number yourself, you can simply give it the Arduino pin number.
Therefore, a convenient modern way to configure an interrupt is:
attachInterrupt(digitalPinToInterrupt(pin), ISR, mode);For a suitable active-low sensor connected to D2, the setup can look like this:
volatile bool eventDetected = false;
void sensorEvent() {
eventDetected = true;
}
void setup() {
pinMode(2, INPUT_PULLUP);
attachInterrupt(digitalPinToInterrupt(2), sensorEvent, FALLING);
}
void loop() {
// Other code can check eventDetected and respond to the sensor.
}Note:
Please keep in mind that Interrupt 0 (pin 2) has higher priority than Interrupt 1 (pin 3). If both interrupts are triggered simultaneously, Interrupt 0 will be serviced first.
Arduino Pro Mini PWM Pins
PWM stands for Pulse-Width Modulation. A PWM output repeatedly switches between LOW and HIGH, and the duty cycle describes the percentage of each cycle spent HIGH. Increasing the duty cycle makes an LED appear brighter or lets a suitable motor driver deliver more power to a motor.
The Pro Mini has six PWM pins: D3, D5, D6, D9, D10, and D11.

The PWM output is an 8-bit signal, meaning it can take any value from 0 to 255. This translates to 256 discrete levels of duty cycle.
The pinMode(pin, OUTPUT) function is used to set the desired PWM pin as an output. The analogWrite(pin, value) function is then used to set the PWM value on a pin. Here, pin is the PWM-capable pin number, and value is an integer between 0 and 255.
const byte pin = 2;
void setup() {
pinMode(pin, OUTPUT);
analogWrite(pin, 0); // Sets the duty cycle to 0% (always off).
analogWrite(pin, 127); // Sets the duty cycle to approximately 50%.
analogWrite(pin, 255); // Sets the duty cycle to 100% (always on).
}
void loop() {
}PWM Frequency
PWM frequency is the number of complete switching cycles per second.
The pins use the three timers inside the ATmega328P. Because the 3.3 V version runs at half the clock frequency of the 5 V version, its standard PWM frequencies are also approximately half as high.
The approximate frequencies are as follows.
| PWM pins | Timer | 5 V / 16 MHz version | 3.3 V / 8 MHz version |
| D5, D6 | Timer 0 | 980 Hz | 490 Hz |
| D9, D10 | Timer 1 | 490 Hz | 245 Hz |
| D3, D11 | Timer 2 | 490 Hz | 245 Hz |
The exact frequency is normally not important when simply dimming an LED, but the difference can matter in projects where timing is important.
You can manipulate the timers directly to change the frequency of PWM by configuring the registers of the ATmega328P microcontroller. However, doing this also affects functions like delay() and millis(), which rely on Timer 0.
Arduino Pro Mini ADC Pins
Analog input pins are designed to read continuous analog signals, such as the output from a potentiometer. The Pro Mini converts these analog signals into digital values using an Analog-to-Digital Converter (ADC), allowing you to process and analyze the data within your Arduino code.
The Pro Mini has eight analog inputs, A0 through A7.

| Analog pins | Analog input | Digital I/O | Other important function |
| A0–A3 | Yes | Yes | General analog or digital use |
| A4 | Yes | Yes | I2C SDA |
| A5 | Yes | Yes | I2C SCL |
| A6–A7 | Yes | No | Analog input only |
The Pro Mini’s ADC has 10-bit resolution, which means it can detect 1024 (2^10) discrete analog levels.
By default, the ADC uses the board’s supply voltage as its reference. On the 5 V model, one conversion step is approximately 5 V / 1024 ≈ 4.88 mV. On the 3.3 V model, it is approximately 3.3 V / 1024 ≈ 3.22 mV.
This level of precision is generally sufficient for most of our projects, but for more precise measurements, an external ADC with a higher resolution should be used.
To read an analog value from a pin, you use the analogRead(pin) function. This function returns an integer value between 0 and 1023, representing the measured voltage on the pin. For example, if the pin is measuring a voltage of 2.5V (half of the maximum 5V), the analogRead() function will return approximately 512.
void setup() {
Serial.begin(9600);
}
void loop() {
int reading = analogRead(A0);
Serial.println(reading);
delay(200);
}Changing Analog Reference Voltage
By default, the ADC measures voltages from 0V to VCC (5 V on the 5 V Pro Mini or 3.3 V on the 3.3 V Pro Mini), but this range can be adjusted using the analogReference(type) function.
analogReference(DEFAULT); // Use VCC: normally 5 V or 3.3 V.
analogReference(INTERNAL); // Use the internal reference, about 1.1 V.Note:
Unlike the Arduino Uno, the Pro Mini does not provide an AREF pin on its normal headers. Although the ATmega328P microcontroller supports an external analog reference, using one on the Pro Mini would require modifying the board.
Arduino Pro Mini I2C Pins
I2C, or Inter-Integrated Circuit, allows the Arduino to communicate with many sensors and devices using only two wires called SDA and SCL.
On the Pro Mini, SDA is connected to analog pin A4, and SCL is connected to analog pin A5.

To use I2C communication in your Arduino sketch, you first need to include the Wire library at the top of your code. Inside the setup() function, you then initialize the I2C system. Once I2C is initialized, you can send data to a connected I2C device. Each I2C device has its own address, which the Arduino uses to know which device it is talking to.
The following example shows how to send data to a device with address 0x20 and how to properly close the connection afterwards:
#include <Wire.h>
void setup() {
Wire.begin();
Wire.beginTransmission(0x20);
Wire.write(byte(0x00));
Wire.write(byte(0x01));
Wire.endTransmission();
}
void loop() {
}Arduino Pro Mini SPI Pins
The Pro Mini also supports SPI, which stands for Serial Peripheral Interface. SPI is another type of serial communication, and it is generally faster than I2C. SPI uses separate pins for sending data, receiving data, and synchronizing communication with a clock signal.
On the Pro Mini, these pins support SPI communication:
| Pin | Signal | Function |
| D11 | MOSI | Sends data to the peripheral |
| D12 | MISO | Receives data from the peripheral |
| D13 | SCK | Provides the clock |
| D10 | SS | Selects the peripheral |

The following example selects a device on D10, sends one byte, and releases it:
#include <SPI.h>
const int ssPin = 10;
void setup() {
pinMode(ssPin, OUTPUT); // Set ssPin pin as output
SPI.begin(); // Initialize SPI bus
digitalWrite(ssPin, LOW); // Pull ssPin low to start communication with the device
SPI.transfer(0x42); // Send a single byte (0x42) over SPI
digitalWrite(ssPin, HIGH); // Pull ssPin high to end communication
}
void loop() {
}Arduino Pro Mini UART Pins
UART is a serial interface that sends data through transmit and receive lines.
The Pro Mini has one hardware serial port, accessed as Serial, on D0 and D1.

Note:
The Pro Mini uses the same hardware UART for both uploading sketches and normal serial communication. Because of this, any device connected to the RX and TX pins can interfere with the upload process. If you have another device connected to these pins, it is best to disconnect it while uploading a sketch and reconnect it afterward.
If you need more UART channels, Arduino has a library called SoftwareSerial, which allows you to create additional software-based UART connections on other digital pins. However, SoftwareSerial has limitations in terms of speed and reliability compared to hardware UART.
Arduino Pro Mini Programming / Serial Header
Unlike the Arduino Uno or the classic Nano, the Pro Mini doesn’t have a built-in USB port. Instead, it relies on a row of six pins at the edge of the board, known as the programming header.

To upload code, you need to connect an external FTDI-style USB-to-serial adapter to these pins. Here is a simple breakdown of how the programming header works and how to wire it up:
- VCC and GND: Provide power and a common ground reference between your adapter and the board.
- TXO and RXI (Transmit and Receive): These are the communication lines.
- DTR (Data Terminal Ready): This is the “auto-reset” pin. It connects to the board’s reset circuit through a tiny capacitor. When you click “Upload” on your computer, the DTR pin sends a quick pulse to restart the Pro Mini. This forces the board into bootloader mode so it is ready to accept your new sketch.
How to Wire the Adapter
If you are using jumper wires to connect your adapter manually, remember that the transmit and receive lines cross
| Pro Mini header | Adapter header | |
| GND (BLK) | GND | |
| GND | CTS | |
| VCC | VCC | |
| RXI | TXD | |
| TXO | RXD | |
| DTR (GRN) | DTR |
Arduino Pro Mini ISP Connections
The Pro Mini does not have the usual separate 2×3 ICSP header, but its microcontroller supports In-System Programming, or ISP. This allows a compatible AVR programmer to install or restore the bootloader, or write a program directly without using the serial bootloader. The required signals are available on the existing board connections.
| Programmer signal | Pro Mini connection |
| MOSI | D11 |
| MISO | D12 |
| SCK | D13 |
| Target RESET | RST |
| Target supply/reference | VCC |
| Ground | GND |
Arduino Pro Mini Power Pins
The Pro Mini has several pins dedicated to power. Here is what each one does and how to use it safely in your projects

RAW pin allows you to supply power to the Pro Mini using an unregulated power source, like a battery pack. It connects directly to the board’s onboard MIC5205 voltage regulator, which steps the voltage down to a safe level (either 5 V or 3.3 V, depending on your board) to power the microcontroller. The input voltage range for RAW is typically 5–12 V for the 5 V model and 3.35–12 V for the 3.3 V model.
Note:
For the best results, supply a voltage slightly higher than your board’s rating. This gives the regulator enough “headroom” to work smoothly without causing a voltage drop. For example, a 6–7 V source works very well for a 5 V board, and a 5 V source works well for a 3.3 V board.
VCC This pin has two different jobs, depending on how you power the board:
As an input: If you already have a perfectly regulated 5 V or 3.3 V power source, connect it here to bypass the onboard regulator entirely.
As an output: If you are powering the board via the RAW pin, VCC will output a stable 5 V or 3.3 V, which you can use to power low-current external sensors or modules.
Warning:
Never connect a higher voltage (like 9 V or 12 V) directly to VCC. This pin connects directly to the microcontroller’s supply rail and bypasses the voltage regulator. Applying RAW-level voltage to VCC will permanently damage the microcontroler.
GND is the common ground connection for your electrical circuit.
Power Isolation Jumper (labeled as SJ1 on the schematic) is a special feature for battery-powered projects (like remote data loggers) that need to run for months on a single charge.
Even when you put the Arduino into “deep sleep” via code, the tiny power LED and voltage regulator constantly drain battery life (using a few milliamps).
By cutting the tiny metal trace between these pads, you physically disconnect the LED and regulator. This drops the board’s sleep current from milliamps down to a tiny 4–5 microamps (µA).
However, once you cut this jumper, the RAW pin will no longer work. You must supply properly regulated power directly to the VCC pin.
Regulator Current
The MIC5205 regulator used on the Pro Mini is rated for up to 150 mA. However, this does not mean that the full 150 mA is always available for external devices. The Pro Mini itself consumes some current. For this reason, motors, servos, relays, long LED strips, and other higher-current loads should normally use their own suitable power supply rather than being powered through the Pro Mini’s small onboard regulator.
Arduino Pro Mini Special Function Pins

Pin D13 (Built-in LED): Pin 13 is directly wired to the tiny LED on the board itself. In your Arduino code, you can use the standard LED_BUILTIN command to control it—setting it HIGH turns the LED on, and LOW turns it off. Because the LED and its internal resistor draw a tiny amount of electrical current, it is best to avoid using Pin 13 to read basic inputs like push-buttons. Additionally, Pin 13 shares a connection with the board’s SPI communication lines; if you attach SPI modules (like an SD card reader) to your board, you will see this LED flicker as data is transferred.
RST (Reset): This pin allows you to restart the board. It is an “active-low” pin, meaning that briefly connecting it to Ground (GND) forces the microcontroller to reboot and start running your code from the beginning. While the Pro Mini already has a tiny built-in reset button that does this, the RST pin is highly useful if you mount your board inside a case. You can simply wire your own external push-button between the RST and GND pins to create an easily accessible reset switch.