Stufin
Home Quick Cart Profile

Arduino Pro Micro compatible 5V 16M Mini Leonardo Microcontroller Development Board

Buy Now

Dimensions

38.1 x 17.8 mm (1.5 x 0.7 inches)

Weight

Approximately 10 grams

Mounting Holes

2 x 3mm holes for secure mounting

Microcontroller

ATmega32U4 Microcontroller

+ 32-bit AVR architecture

+ 16 MHz clock speed

+ 16 KB Flash Memory

+ 2.5 KB SRAM

+ 1 KB EEPROM

Power and Voltage

Operating Voltage

5V

Input Voltage Range

5V to 12V (via onboard voltage regulator)

Power Consumption

Typically <20mA (dependent on application)

Digital I/O Pins

20 Digital I/O pins, including

+ 14 Digital pins (D0-D13)

+ 2 Analog pins (A4, A5)

+ 2 PWM pins (D3, D9)

+ 1 I2C pin (SDA)

+ 1 SPI pin (MOSI)

Communication Interfaces

USB Interface

+ Micro-USB connector for programming and data transfer

+ Default baud rate9600 bps

Serial Communication

+ UART (Tx, Rx) for serial communication with other devices

I2C Interface

+ Supports I2C protocol for communication with I2C devices

SPI Interface

+ Supports SPI protocol for communication with SPI devices

Analog Input

5 Analog Input pins (A0-A4) with

+ 10-bit Analog-to-Digital Conversion (ADC)

+ Input range0-5V

Key Features

Arduino Leonardo compatible, with support for Arduino IDE

Onboard voltage regulator for stable power supply

Onboard USB-to-UART bridge for easy programming and debugging

Compact size and low cost make it ideal for prototyping and production

Wide range of compatible shields and expansions available

Applications

The Arduino Pro Micro compatible 5V 16M Mini Leonardo Microcontroller Development Board is well-suited for a wide range of applications, including

IoT projects (e.g., smart home automation, environmental monitoring)

Robotics and automation

Wearable electronics and fashion technology

prototyping and proof-of-concept development

Education and learning platforms

Documentation and Resources

Programming and development guides available through the Arduino website

Comprehensive datasheet and technical documentation available from the manufacturer

Active community support and resources through online forums and social media

Pin Configuration

  • Arduino Pro Micro compatible 5V 16M Mini Leonardo Microcontroller Development Board Pinout Guide
  • The Arduino Pro Micro compatible 5V 16M Mini Leonardo Microcontroller Development Board is a compact and powerful microcontroller board based on the ATmega32U4 chip. It features a total of 18 digital input/output pins, 6 analog input pins, and various other pins for power, communication, and debugging. Here is a detailed explanation of each pin on the board:
  • Digital I/O Pins:
  • 1. D0 (TX): Digital pin 0 is also the transmit (TX) pin for serial communication. It's used to send data from the board to a serial device, such as a computer or another microcontroller.
  • 2. D1 (RX): Digital pin 1 is also the receive (RX) pin for serial communication. It's used to receive data from a serial device.
  • 3. D2: Digital pin 2 is a general-purpose input/output pin.
  • 4. D3: Digital pin 3 is a general-purpose input/output pin and can be used as an interrupt pin.
  • 5. D4: Digital pin 4 is a general-purpose input/output pin.
  • 6. D5: Digital pin 5 is a general-purpose input/output pin and can be used as a PWM (Pulse Width Modulation) output.
  • 7. D6: Digital pin 6 is a general-purpose input/output pin and can be used as a PWM output.
  • 8. D7: Digital pin 7 is a general-purpose input/output pin.
  • 9. D8: Digital pin 8 is a general-purpose input/output pin.
  • 10. D9: Digital pin 9 is a general-purpose input/output pin and can be used as a PWM output.
  • 11. D10: Digital pin 10 is a general-purpose input/output pin and can be used as a PWM output.
  • 12. D11: Digital pin 11 is a general-purpose input/output pin.
  • 13. D12: Digital pin 12 is a general-purpose input/output pin.
  • 14. D13: Digital pin 13 is a general-purpose input/output pin and has an onboard LED connected to it.
  • Analog Input Pins:
  • 1. A0: Analog input pin 0 is a general-purpose analog input pin.
  • 2. A1: Analog input pin 1 is a general-purpose analog input pin.
  • 3. A2: Analog input pin 2 is a general-purpose analog input pin.
  • 4. A3: Analog input pin 3 is a general-purpose analog input pin.
  • 5. A4: Analog input pin 4 is a general-purpose analog input pin.
  • 6. A5: Analog input pin 5 is a general-purpose analog input pin.
  • Power Pins:
  • 1. VIN: The voltage input pin is used to supply power to the board. It can accept a voltage range of 5-12V.
  • 2. 5V: The 5V pin is a regulated 5V output pin that can be used to power external devices.
  • 3. GND: The ground pin is used as a reference point for the board's circuitry.
  • 4. RST: The reset pin is used to reset the microcontroller. It's active low, meaning it's triggered when connected to ground.
  • Communication and Debugging Pins:
  • 1. RX_LED: The RX_LED pin is connected to an onboard LED that indicates serial data reception.
  • 2. TX_LED: The TX_LED pin is connected to an onboard LED that indicates serial data transmission.
  • 3. DW: The DW pin is used for debugging and is connected to the onboard serial debugger.
  • 4. DWGND: The DWGND pin is the ground pin for the onboard serial debugger.
  • Connecting the Pins:
  • When connecting the pins, make sure to follow proper soldering techniques and use the correct gauge wire for your project's requirements. Here are some general guidelines for connecting the pins:
  • Digital I/O pins: Use a 0.1" pitch jumper wire or a breadboard-friendly wire to connect digital pins to sensors, actuators, or other devices.
  • Analog input pins: Use a 0.1" pitch jumper wire or a breadboard-friendly wire to connect analog input pins to sensors or other devices.
  • Power pins: Use a thicker gauge wire (e.g., 20 AWG) to connect the VIN pin to a power source, and a shorter length of wire to connect the 5V pin to external devices.
  • Ground pins: Use a thicker gauge wire (e.g., 20 AWG) to connect the GND pin to a common ground point in your project.
  • Communication and debugging pins: Use a 0.1" pitch jumper wire or a breadboard-friendly wire to connect the RX, TX, RX_LED, and TX_LED pins to a serial device or a computer.
  • Remember to always double-check your connections before powering up your project to avoid damage to the board or other components.

Code Examples

Arduino Pro Micro compatible 5V 16M Mini Leonardo Microcontroller Development Board
Overview
The Arduino Pro Micro compatible 5V 16M Mini Leonardo Microcontroller Development Board is a compact and feature-rich microcontroller board based on the ATmega32U4 chip. It is a popular choice for IoT projects, robotics, and wearable electronics due to its small size, high performance, and compatibility with the Arduino IDE.
Features
Microcontroller: ATmega32U4
 Operating voltage: 5V
 Flash memory: 16MB
 SRAM: 2.5KB
 EEPROM: 1KB
 Clock speed: 16MHz
 I/O pins: 20 (digital: 14, analog: 6)
 USB interface: Native USB 2.0
 Size: 45mm x 18mm (1.77" x 0.71")
Code Examples
### Example 1: Blinking an LED
This example demonstrates how to use the Arduino Pro Micro board to blink an LED connected to digital pin 13.
```cpp
const int ledPin = 13;  // Pin 13 for the built-in LED
void setup() {
  pinMode(ledPin, OUTPUT);
}
void loop() {
  digitalWrite(ledPin, HIGH);  // Turn the LED on
  delay(1000);               // Wait for 1 second
  digitalWrite(ledPin, LOW);  // Turn the LED off
  delay(1000);               // Wait for 1 second
}
```
### Example 2: Reading Analog Input from a Potentiometer
This example shows how to use the Arduino Pro Micro board to read the analog value from a potentiometer connected to analog pin A0 and print it to the serial console.
```cpp
const int potPin = A0;  // Pin A0 for the potentiometer
void setup() {
  Serial.begin(9600);
}
void loop() {
  int sensorValue = analogRead(potPin);  // Read the analog value
  Serial.print("Sensor value: ");
  Serial.print(sensorValue);
  Serial.println(";");  // Print a semicolon for CSV format
  delay(50);  // Wait for 50ms before taking the next reading
}
```
### Example 3: USB Keyboard Emulation
This example demonstrates how to use the Arduino Pro Micro board to emulate a USB keyboard and send keystrokes to a connected computer.
```cpp
#include <Keyboard.h>
void setup() {
  Keyboard.begin();  // Initialize the keyboard
}
void loop() {
  Keyboard.print("Hello, world!");  // Send the keystrokes
  Keyboard.press(KEY_RETURN);  // Press the Enter key
  delay(1000);  // Wait for 1 second
  Keyboard.releaseAll();  // Release all keys
  delay(5000);  // Wait for 5 seconds before sending the next message
}
```
These examples illustrate the versatility of the Arduino Pro Micro compatible 5V 16M Mini Leonardo Microcontroller Development Board and demonstrate its potential for various IoT applications.