The Vietduino Uno USB-B is a microcontroller board based on the ATmega328P, designed and manufactured by Makerlabvn. It is fully compatible with Arduino Uno, making it an excellent choice for hobbyists, educators, and professionals for rapid prototyping and educational purposes. The board is equipped with a USB-B connector for programming and serial communication, which differentiates it from boards using other USB interfaces.
Pin Number | Function | Description |
---|---|---|
1 | RESET | Used to reset the microcontroller |
2-13 | Digital I/O | Digital pins for input/output. PWM available on 3,5,6,9,10,11 |
14-19 | Analog Input | A0-A5 analog input pins |
20 | GND | Ground |
21 | AREF | Analog reference voltage for the ADC |
22 | 3V3 | 3.3V supply generated by the onboard regulator |
23 | D13/LED_BUILTIN | Built-in LED connected to digital pin 13 |
24 | 5V | Regulated 5V supply voltage |
25 | GND | Ground |
26 | Vin | Input voltage to the board |
27-28 | I2C (TWI) | SDA and SCL pins for I2C communication |
29-30 | RX/TX | Serial communication pins |
31 | RESET | Reset pin, also accessible externally |
32 | GND | Ground |
33 | USB-B | USB interface for programming and communication |
Powering the Board:
Programming the Board:
Using Digital and Analog Pins:
Board not recognized by the computer:
Sketch not uploading:
Unexpected behavior in circuits:
// Blink the onboard LED connected to pin 13
void setup() {
pinMode(LED_BUILTIN, OUTPUT); // Initialize the LED pin as an output
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // Turn the LED on
delay(1000); // Wait for a second
digitalWrite(LED_BUILTIN, LOW); // Turn the LED off
delay(1000); // Wait for a second
}
This example code will blink the onboard LED of the Vietduino Uno USB-B. It is a simple test to ensure that the board is functioning correctly. Remember to select the correct board and port in the Arduino IDE before uploading the sketch.