

The Adafruit Metro Mini (Manufacturer Part ID: 2590) is a compact microcontroller board based on the ATmega328P, designed for easy integration into a wide range of electronic projects. It offers USB connectivity for programming and power, making it a versatile and user-friendly choice for both beginners and experienced developers. The Metro Mini is fully compatible with the Arduino IDE, allowing seamless development and deployment of projects.








The Adafruit Metro Mini is packed with features that make it a powerful yet compact microcontroller board. Below are its key technical specifications:
The Metro Mini features a total of 20 pins, including digital, analog, power, and communication pins. Below is a detailed description of the pin configuration:
| Pin Number | Function | Description |
|---|---|---|
| D0 - D1 | UART (RX, TX) | Serial communication pins |
| D2 - D13 | Digital I/O | General-purpose digital input/output pins |
| D3, D5, D6, D9, D10, D11 | PWM Output | Pulse Width Modulation capable pins |
| Pin Number | Function | Description |
|---|---|---|
| A0 - A5 | Analog Input | Analog-to-digital conversion (10-bit) |
| Pin Name | Function | Description |
|---|---|---|
| VIN | Input Voltage | External power input (7-9V recommended) |
| 5V | Regulated 5V Output | Provides 5V output for external components |
| 3.3V | Regulated 3.3V Output | Provides 3.3V output for external components |
| GND | Ground | Common ground for the circuit |
| RESET | Reset | Resets the microcontroller |
| Pin Name | Function | Description |
|---|---|---|
| SDA | I2C Data | Data line for I2C communication |
| SCL | I2C Clock | Clock line for I2C communication |
| MOSI | SPI Master Out Slave In | SPI data output from master |
| MISO | SPI Master In Slave Out | SPI data input to master |
| SCK | SPI Clock | Clock line for SPI communication |
The Adafruit Metro Mini is designed for ease of use, especially for those familiar with Arduino boards. Below are the steps and best practices for using the Metro Mini in your projects.
Powering the Board:
Programming the Board:
Connecting Components:
Using Communication Protocols:
Below is an example code snippet to blink an LED connected to pin D13:
// Blink an LED connected to pin D13
// This example demonstrates basic digital output functionality
void setup() {
pinMode(13, OUTPUT); // Set pin D13 as an output
}
void loop() {
digitalWrite(13, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(13, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
Board Not Recognized by Computer:
Sketch Fails to Upload:
Components Not Responding:
By following this documentation, you can effectively integrate the Adafruit Metro Mini into your projects and troubleshoot common issues with ease.