Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Arduino Micro (Rev3): Examples, Pinouts, and Specs

Image of Arduino Micro (Rev3)Design with Arduino Micro (Rev3) in Cirkit Designer

Introduction

The Arduino Micro (Rev3) is a compact microcontroller board based on the ATmega32U4. It is a member of the Arduino family and is notable for its small size, making it ideal for embedding into projects where space is at a premium. The board comes with built-in USB communication, eliminating the need for a secondary processor. This feature allows the Arduino Micro to appear as a mouse or keyboard, in addition to a virtual (CDC) serial / COM port. It is commonly used in prototyping, DIY electronics, educational projects, and interactive artworks.

Explore Projects Built with Arduino Micro (Rev3)

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Arduino Uno R3-Based Voice-Controlled Robot with Servo Actuation and SD Logging: A project utilizing Arduino Micro (Rev3) in a practical application
Arduino Uno R3-Based Voice-Controlled Robot with Servo Actuation and SD Logging

This circuit features an Arduino Uno R3 as the central microcontroller, interfaced with a variety of components. It includes a voice recognition module for audio input commands, an analog thumbstick for manual control, and multiple servos for actuation. Additionally, the circuit integrates an I2C LCD screen for display purposes, an infrared proximity sensor for distance measurement, and a micro SD card module for data storage.

Open Project in Cirkit Designer
Image of ATmega328P-Based Sensor Hub with OLED Display and LIDAR: A project utilizing Arduino Micro (Rev3) in a practical application
ATmega328P-Based Sensor Hub with OLED Display and LIDAR

This circuit features an Mtiny Uno ATmega328P microcontroller as its central processing unit, interfacing with a variety of sensors and peripherals. It includes a 0.96" OLED display and an MPU6050 accelerometer/gyroscope for user interface and motion sensing, respectively. The circuit also integrates a TF LUNA LIDAR for distance measurement, a DHT11 sensor for temperature and humidity readings, and uses a 9V battery with a 7805 voltage regulator for power management. Communication with a computer for programming and data exchange is facilitated by an Adafruit FTDI Friend module.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

Pin Number Function Description
1-7 Digital I/O Digital pins capable of input/output functions.
8-10 PWM Support for Pulse Width Modulation.
14-20 Analog Input Analog pins which can read varying voltages.
21 RESET Used to reset the microcontroller.
22-23 I2C SDA and SCL pins for I2C communication.
24 RX/TX LEDs Indicators for serial communication.
25 USB Connection Micro USB port for power and data.
26 ICSP Header In-Circuit Serial Programming header.
27 3.3V 3.3V power output (limited current).
28 5V Regulated 5V power supply pin.
29 GND Ground pins.
30 Vin Input voltage to the Arduino board.

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the Board:

    • Connect the board to a computer via a Micro USB cable to power it directly.
    • Alternatively, supply power through the Vin pin with an external power source between 7-12V.
  2. Programming the Board:

    • Install the Arduino IDE from the official Arduino website.
    • Connect the Arduino Micro to your computer using a Micro USB cable.
    • Select 'Arduino Micro' from the Tools > Board menu in the Arduino IDE.
    • Write your sketch (program) and upload it to the board using the IDE.
  3. Connecting I/O Devices:

    • Use the digital and analog pins to connect sensors, actuators, and other components.
    • Ensure that the components you connect are rated for the operating voltage and current of the pins.

Important Considerations and Best Practices

Troubleshooting and FAQs

Common Issues Users Might Face

Solutions and Tips for Troubleshooting

Relevant Code Example for Arduino UNO

Here's a simple example of blinking the onboard LED:

// Pin 13 has an LED connected on most Arduino boards.
int led = 13;

// The setup routine runs once when you press reset:
void setup() {                
  // Initialize the digital pin as an output.
  pinMode(led, OUTPUT);     
}

// The loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // Turn the LED on (HIGH is the voltage level)
  delay(1000);               // Wait for a second
  digitalWrite(led, LOW);    // Turn the LED off by making the voltage LOW
  delay(1000);               // Wait for a second
}

Remember to wrap code comments as needed to limit line length to 80 characters. This helps maintain readability in various editors and documentation formats.