Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Vietduino Uno USB-C: Examples, Pinouts, and Specs

Image of Vietduino Uno USB-CDesign with Vietduino Uno USB-C in Cirkit Designer

Introduction

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:

Explore Projects Built with Vietduino Uno USB-C

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Arduino UNO Bluetooth-Controlled Audio Player with I2C LCD Display: A project utilizing Vietduino Uno USB-C in a practical application
Arduino UNO Bluetooth-Controlled Audio Player with I2C LCD Display

This circuit features an Arduino UNO microcontroller powered by a lipo battery, interfaced with an HC-05 Bluetooth Module for wireless communication and a DFPlayer MINI for audio playback through a connected loudspeaker. An I2C LCD 16x2 Screen is included for display purposes, with the Arduino facilitating control and data exchange between the components. The provided code skeleton suggests that the Arduino is programmed using the Arduino IDE, but the specific functionality is not implemented in the given code.

Open Project in Cirkit Designer

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

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

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the Board:

    • You can power the Vietduino Uno USB-C via the USB-C connection or with an external power supply through the power jack. The recommended voltage range is 7-12V.
  2. Connecting to a Computer:

    • Connect the board to your computer using a USB-C cable to upload sketches and communicate with the board.
  3. Writing a Sketch:

    • Use the Arduino IDE or compatible software to write and upload your code to the Vietduino Uno USB-C.
  4. Accessing I/O Pins:

    • Utilize the digital and analog pins to interface with sensors, actuators, and other components.

Important Considerations and Best Practices

Troubleshooting and FAQs

Common Issues

Solutions and Tips for Troubleshooting

Example Code for Arduino UNO

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.