TENSTAR ROBOT Pro Micro ATmega32U4

Contents

TENSTAR ROBOT Pro Micro ATmega32U4 Microcontroller User Manual

Model: Pro Micro ATmega32U4

1. Introduction

The TENSTAR ROBOT Pro Micro is a compact microcontroller board based on the ATmega32U4. It offers similar functionality to the Arduino Leonardo but in a smaller form factor, making it ideal for projects where space is a premium. The integrated ATmega32U4 features a built-in USB transceiver, eliminating the need for an external USB-to-serial converter and allowing for direct USB communication and device emulation.

This manual provides essential information for setting up, operating, and troubleshooting your Pro Micro board.

2. Features and Specifications

2.1 Key Features

  • Microcontroller: ATmega32U4
  • Operating Voltage: 5V
  • Clock Speed: 16MHz
  • Digital I/O Pins: 12 (5 of which provide PWM output)
  • Analog Input Pins: 4 (10-bit ADC)
  • Hardware Serial Connections: Rx and Tx
  • On-board USB: Mini USB or Type-C USB connector for programming and communication
  • Integrated Voltage Regulator: Supports various input voltages depending on the board variant.
  • PTC fuse and diode protection on power circuit.
  • Corrected RX and TX LED circuit.

2.2 Technical Specifications

AttributeValue
MicrocontrollerATmega32U4
Operating Voltage5V
Clock Speed16 MHz
Digital I/O Pins12 (5 PWM)
Analog Input Pins4 (10-bit ADC)
Flash Memory32 KB (ATmega32U4) of which 4 KB used by bootloader
SRAM2.5 KB
EEPROM1 KB
Input Voltage (RAW pin)Up to 6V (Blue board), Up to 18V (Black board), 3-15V (Type-C variant)
Package TypeSMD
ApplicationComputer, Embedded Systems

2.3 Board Variants

The Pro Micro is available in different variants, primarily distinguished by their USB connector type and supported input voltage range:

  • Micro USB (Blue Board): Typically supports input voltage up to 6V via the RAW pin.
  • Micro USB (Black Board): Typically supports input voltage up to 18V via the RAW pin.
  • Type-C USB (Purple Board): Supports input voltage from 3-15V via the RAW pin.
Three TENSTAR ROBOT Pro Micro boards (blue, black, purple) with included pin headers.
Figure 1: Various TENSTAR ROBOT Pro Micro board types (blue, black, purple) with pin headers.

3. Setup Guide

3.1 Initial Connection

  1. Connect Pin Headers: Solder the included pin headers to the Pro Micro board if not already attached. This allows for easy integration into breadboards or custom circuits.
    Top view of the blue TENSTAR ROBOT Pro Micro board with pin headers.
    Figure 2: Blue Pro Micro board with pin headers for easy connection.
  2. Connect to Computer: Use a compatible USB cable (Mini USB or Type-C, depending on your board variant) to connect the Pro Micro to your computer.
    TENSTAR ROBOT Pro Micro board with Type-C USB connector, blue PCB.
    Figure 3: Pro Micro board with Type-C USB connector.
  3. Driver Installation: In most cases, Windows will automatically install the necessary drivers. If your computer does not detect the board or installs a non-functional driver, you may need to manually install drivers. Refer to the official Arduino website or the manufacturer's support page for the latest drivers and installation instructions. The Pro Micro is typically recognized as an "Arduino Leonardo" in the Arduino IDE.

3.2 Arduino IDE Setup

  1. Download Arduino IDE: If you don't have it, download and install the Arduino IDE (version 1.0.1 or newer is supported) from the official Arduino website.
  2. Select Board: In the Arduino IDE, go to Tools > Board and select Arduino Leonardo.
  3. Select Port: Go to Tools > Port and select the serial port corresponding to your Pro Micro board. It will usually appear as "Arduino Leonardo" or a similar name.

3.3 Powering the Board

The Pro Micro can be powered via the USB connection or an external power supply.

  • USB Power: Connect the board to your computer via USB. This provides 5V power.
  • External Unregulated Power: For unregulated external power sources (e.g., batteries), connect the positive lead to the "RAW" pin. The on-board voltage regulator will convert this to 5V. Ensure your input voltage is within the specified range for your board variant (e.g., up to 6V for blue, up to 18V for black, 3-15V for Type-C).
  • External Regulated 5V Power: For a regulated 5V power supply, connect the positive lead to the "VCC" pin.
  • Ground: Always connect the negative lead of your power supply to a "GND" pin on the board.
Purple TENSTAR ROBOT Pro Micro board with pin headers, indicating an operating voltage of 3-15V.
Figure 4: Type-C Pro Micro board indicating an operating voltage range of 3-15V for the RAW pin.
Detailed circuit diagram of the Pro Micro board, showing power regulation and ATmega32U4 connections.
Figure 5: Circuit diagram of the Pro Micro board, illustrating power regulation and microcontroller connections.

4. Operation

4.1 Programming the Board

The Pro Micro is programmed using the Arduino IDE. You can write your code (sketches) and upload them directly to the board via the USB connection.

  1. Open the Arduino IDE.
  2. Write or open an Arduino sketch.
  3. Ensure the correct board (Arduino Leonardo) and port are selected under Tools.
  4. Click the "Upload" button (right arrow icon) to compile and upload your sketch to the Pro Micro.

4.2 Pinout Overview

The Pro Micro provides various pins for digital input/output, analog input, and serial communication. Refer to the board's silk screen for specific pin labels.

Top view of the blue TENSTAR ROBOT Pro Micro board, showing components and pin labels.
Figure 6: Pin labels on the blue Pro Micro board.
  • Digital I/O (DIO): Pins labeled 0-18 (some shared with other functions) can be used for digital input or output. Pins 3, 5, 6, 9, 10 are PWM capable.
  • Analog Inputs (ADC): Pins A0-A3 provide 10-bit analog-to-digital conversion.
  • Serial Communication (Rx/Tx): Pins 0 (Rx) and 1 (Tx) are used for hardware serial communication.
  • Power Pins:
    • RAW: Unregulated voltage input (see 3.3 Powering the Board).
    • VCC: Regulated 5V output or input.
    • GND: Ground connection.
  • Reset (RST): Resets the microcontroller.

4.3 USB Device Emulation

Due to the ATmega32U4's native USB capabilities, the Pro Micro can emulate various USB devices, such as:

  • Keyboard
  • Mouse
  • Joystick/Game Controller

This functionality is achieved through specific Arduino libraries (e.g., Keyboard, Mouse, Joystick libraries) that allow your sketches to send USB HID (Human Interface Device) reports to the connected computer.

5. Maintenance

  • Handle with Care: Microcontroller boards are sensitive electronic components. Avoid dropping or subjecting them to physical shock.
  • Static Discharge: Always handle the board by its edges and avoid touching the components directly, especially the microcontroller chip, to prevent damage from electrostatic discharge (ESD).
  • Keep Dry: Protect the board from moisture and liquids, which can cause short circuits and corrosion.
  • Cleanliness: Keep the board free from dust and debris. Use a soft, dry brush or compressed air for cleaning if necessary.
  • Power Supply: Always ensure your power supply voltage is within the specified limits for your board variant to prevent damage to the voltage regulator or the ATmega32U4 chip.

6. Troubleshooting

Issue: Computer does not detect the Pro Micro / Driver issues.

Solution:

  • Ensure the USB cable is fully connected and functional. Try a different USB port or cable.
  • Verify that the correct board (Arduino Leonardo) is selected in the Arduino IDE.
  • If Windows installs a generic or non-working driver, you may need to manually update or install the correct drivers. Check the official Arduino website or the manufacturer's support page for specific driver packages.
Issue: Board keeps reconnecting or fails to upload sketches.

Solution:

  • This can sometimes be resolved by manually resetting the board. Briefly short the "RST" pin to "GND" twice in quick succession, or press the reset button if your board has one, just before uploading the sketch.
  • If using USB libraries (e.g., Keyboard, Mouse) that might interfere with the USB serial connection, consider adding a physical switch to a digital pin on your board. Program your sketch to disable USB functionality when the switch is in a certain state, allowing you to upload new code.
  • Ensure your Arduino IDE is up to date and board definitions are correctly installed.
Issue: Sketch upload fails with "programmer not responding" or similar errors.

Solution:

  • Double-check that the correct board (Arduino Leonardo) and COM port are selected in the Arduino IDE.
  • Ensure the board is properly powered.
  • Try the manual reset procedure described above.
  • Verify that the bootloader on the board is intact. If corrupted, it may need to be re-flashed using an external programmer (not included).
Issue: Not all LEDs are lit upon connection.

Solution: It is normal for not all LEDs to be lit. Typically, a power LED will be on, and RX/TX LEDs will blink during data transmission. If the power LED is off, check your power supply and connections.

7. User Tips

  • Driver Management: While Windows often has a built-in driver, if you encounter issues, always check the official Arduino website or the manufacturer's support page for specific drivers.
  • USB Reconnection: If the board frequently reconnects or disconnects, try shorting the reset pin for a few seconds before uploading a sketch. For persistent issues, especially when using USB libraries, consider adding a switch to disable USB functionality programmatically.
  • HID Capabilities: Leverage the ATmega32U4's native USB capabilities to emulate a keyboard, mouse, or game controller. This is a powerful feature for custom input devices and automation.
  • Powering External Components: When powering external components, ensure the total current draw does not exceed the limits of the Pro Micro's voltage regulator or the USB port.

8. Warranty and Support

For technical support, troubleshooting assistance, or warranty inquiries, please contact TENSTAR ROBOT customer service through the platform where the product was purchased. Please have your product model and purchase details ready.

© 2023 TENSTAR ROBOT. All rights reserved.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.