The Nano 3.0 ATmega328P Type-C USB CH340 Controller Board by HiLetgo is a compact and versatile microcontroller development platform. It is based on the popular ATmega328P microcontroller and features a Type-C USB port for programming and power, with the CH340 chip serving as the USB-to-serial converter. This board is widely used in electronics projects, from simple DIY tasks to complex prototypes, due to its small form factor and ease of use.
Common applications include:
Pin Number | Function | Description |
---|---|---|
1 | RESET | Used to reset the microcontroller |
2-13 | Digital I/O | Digital input/output pins, PWM on pins 3, 5, 6, 9, 10, and 11 |
14-21 | Analog Input | Analog input pins A0-A7 |
22 | 5V | Output from the onboard 5V regulator |
23 | 3V3 | Output from the onboard 3.3V regulator |
24 | GND | Ground |
25 | REF | Reference voltage for the analog inputs |
26 | RESET | Another pin for resetting the microcontroller |
27-30 | GND, RST, VCC, 2X3 PINS | ISP header for direct programming of the microcontroller |
Powering the Board:
Programming the Board:
Connecting Peripherals:
Board not recognized by the computer:
Incorrect voltage output:
Program not running as expected:
Q: Can I power the Nano 3.0 board with more than 12V? A: While the board can technically handle up to 20V, it is recommended to stay within the 7-12V range to prevent overheating and potential damage.
Q: How do I reset the board? A: You can reset the board by briefly connecting the RESET pin to GND or by pressing the onboard reset button.
Q: What should I do if I'm getting upload errors? A: Check your connections, ensure the correct board and processor are selected, and that the correct COM port is chosen. Also, verify that the bootloader on the board is functioning correctly.
// 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
}
Note: The above code is for demonstration purposes and assumes an LED is connected to pin 13 with a suitable current-limiting resistor.