The A-Star 32U4 Mini LV is a compact, Arduino-compatible microcontroller board powered by the ATmega32U4 AVR microcontroller. It is designed by Pololu and features integrated USB functionality, which eliminates the need for a separate USB-to-serial adapter. This board is particularly suitable for projects where space is at a premium and low power consumption is crucial. Common applications include wearable devices, small robots, and portable instrumentation.
Pin Number | Function | Description |
---|---|---|
1 | GND | Ground |
2 | AREF | Analog reference voltage for ADC |
3 | GND | Ground |
4 | VCC | Positive supply voltage |
5-10 | PD0-PD5 | Digital pins 0-5, PD4 used for LED |
11-12 | PD6-PD7 | Digital pins 6-7, PWM available on PD6 |
13-14 | PB0-PB1 | Digital pins 8-9, PWM available on both |
15-18 | PB2-PB5 | Digital pins 10-13, PB3 (OC0A) used for PWM |
19 | AVCC | Supply voltage for the ADC |
20 | PC7 | Digital pin 13, used for LED |
21-22 | PF0-PF1 | Analog pins 0-1 |
23-24 | PF4-PF5 | Analog pins 2-3 |
25 | RESET | Reset input |
26 | GND | Ground |
27 | VBUS | USB VBUS supply voltage |
28 | D- | USB Data minus |
29 | D+ | USB Data plus |
30 | GND | Ground |
To use the A-Star 32U4 Mini LV in a circuit:
The A-Star 32U4 Mini LV can be programmed using the Arduino IDE:
Q: Can I power the A-Star 32U4 Mini LV directly from a battery? A: Yes, you can power the board directly from a battery within the recommended voltage range.
Q: What is the difference between the A-Star 32U4 Mini LV and the Arduino Leonardo? A: The A-Star 32U4 Mini LV is similar to the Arduino Leonardo in terms of the microcontroller used but is much smaller in size and has a different pinout.
Q: How do I reset the board? A: You can reset the board by briefly connecting the RESET pin to GND.
For further assistance, consult the Pololu support forum or the extensive resources available on the Pololu website.
Below is a simple example of how to blink the onboard LED on the A-Star 32U4 Mini LV using the Arduino IDE:
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
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
}
This code will toggle the onboard LED on and off every second. Remember to select "Arduino Leonardo" as the board when uploading this sketch to the A-Star 32U4 Mini LV.