38.1 x 17.8 mm (1.5 x 0.7 inches)
38.1 x 17.8 mm (1.5 x 0.7 inches)
Approximately 10 grams
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
5V
5V to 12V (via onboard voltage regulator)
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
+ Micro-USB connector for programming and data transfer
+ Default baud rate | 9600 bps |
+ UART (Tx, Rx) for serial communication with other devices
I2C Interface |
+ Supports I2C protocol for communication with I2C devices
+ 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 range | 0-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
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.