The Adafruit USB Boarduino is a versatile, breadboard-friendly development board based on the ATmega328 microcontroller. It is designed for hobbyists, educators, and professionals who need a compact, easy-to-use platform for electronic projects and prototypes. The Boarduino's USB interface simplifies programming and provides a convenient way to communicate with a computer.
Pin Number | Function | Description |
---|---|---|
1 | RESET | Used to reset the microcontroller |
2-13 | Digital I/O | Digital input/output pins, PWM on 3, 5, 6, 9, 10, 11 |
14-19 | Analog Input | Analog input pins A0-A5 |
20 | AREF | Analog reference voltage for the ADC |
21 | GND | Ground |
22 | AVCC | Supply voltage for the ADC |
23 | 5V | Regulated 5V supply generated by the onboard regulator |
24 | 3.3V | Regulated 3.3V supply |
25 | VIN | Input voltage to the Boarduino |
Powering the Boarduino:
Programming the Boarduino:
Using Digital I/O Pins:
pinMode()
function.digitalRead()
function.digitalWrite()
function.Using Analog Input Pins:
analogRead()
function.Using PWM Outputs:
analogWrite()
function.// Blink an LED connected to pin 13
void setup() {
pinMode(13, OUTPUT); // Set pin 13 as an output
}
void loop() {
digitalWrite(13, HIGH); // Turn the LED on
delay(1000); // Wait for a second
digitalWrite(13, LOW); // Turn the LED off
delay(1000); // Wait for a second
}
Boarduino not recognized by computer:
Sketch not uploading:
Unexpected behavior in circuits:
Q: Can I use the Boarduino with a 3.3V system? A: The Boarduino operates at 5V, but it has a 3.3V output pin that can be used to interface with 3.3V components. Be cautious with logic level conversions.
Q: How do I connect sensors to the Boarduino?
A: Sensors can be connected to the analog or digital I/O pins depending on their output type. Use the analogRead()
or digitalRead()
functions to read sensor data.
Q: Is the Boarduino compatible with all Arduino shields? A: The Boarduino is breadboard-friendly and may not be directly compatible with all Arduino shields designed for the standard Arduino form factor. However, you can wire compatible shields to the Boarduino using jumper wires.