The Vietduino Uno USB-C is a versatile microcontroller board developed by Makerlabvn. It is based on the ATmega328P microcontroller and is designed to be an easy-to-use platform for electronics enthusiasts, hobbyists, and professionals alike. The board is compatible with a wide range of shields and accessories, making it suitable for a variety of applications, from simple LED control to more complex robotics projects.
Common applications of the Vietduino Uno USB-C include:
Pin Number | Function | Description |
---|---|---|
1 | RESET | Used to reset the microcontroller |
2-13 | Digital I/O | Digital pins, PWM available on pins 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 | AREF | Analog reference voltage for the ADC |
23 | 3V3 | 3.3V output from the onboard regulator |
24 | D13/LED_BUILTIN | Digital pin 13 and built-in LED |
25 | SDA | I2C data line |
26 | SCL | I2C clock line |
27 | IOREF | This pin on the board provides the voltage reference |
28 | RESET | Another pin to reset the microcontroller |
29 | 3V3 | 3.3V output from the onboard regulator |
30 | 5V | Regulated 5V output |
31 | GND | Ground |
32 | GND | Ground |
33 | Vin | Input voltage to the board |
34 | 5V | Regulated 5V output |
35 | GND | Ground |
36 | GND | Ground |
37 | Vin | Input voltage to the board |
Powering the Board:
Connecting to a Computer:
Writing a Sketch:
Accessing I/O Pins:
Here is a simple example code that blinks 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 select "Vietduino Uno USB-C" as your board when uploading this sketch if it is listed in the Arduino IDE, or select "Arduino/Genuino Uno" if it is not.
This documentation provides an overview of the Vietduino Uno USB-C board. For more detailed information, refer to the datasheets and resources provided by Makerlabvn.