Ks0173 keyestudio Nano ch340: Difference between revisions
Keyestudio (talk | contribs) |
Keyestudio (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
[[image:KS0173.png|thumb|700px|right|Keyestudio 2560 R3 Board Advanced ]] | |||
==Introduction== | ==Introduction== | ||
keyestudio | The keyestudio Nano CH340 is a small, complete, and breadboard-friendly board based on the ATmega328P-AU. Compared with ARDUINO NANO, the USB-to-serial port chip used in keyestudio Nano is CH340G, so that the using method is the same except the driver installation file. | ||
It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 8 analog inputs, a 16 MHz quartz crystal, a mini USB port, an ICSP header and a reset button. | |||
Note that ICSP (In-Circuit Serial Programming) header is used to program the firmware to ATMEGA328P-AU, but generally the chip have been preburned before leave the factory. So use it less. | |||
The keyestudio Nano can be powered via the Mini-B USB connection, or female headers Vin/GND (DC 7-12V). | |||
==TECH SPECS== | |||
{| class="wikitable" cellpadding="1" cellspacing="1" | |||
|- | |||
! scope="row" | Microcontroller | |||
|ATmega328P-PU | |||
|- | |||
! scope="row" | Operating Voltage | |||
| 5V | |||
|- | |||
! scope="row" | Input Voltage (recommended) | |||
| 7-12V | |||
|- | |||
! scope="row" | Digital I/O Pins | |||
| 14 (D0-D13) (of which 6 provide PWM output) | |||
|- | |||
! scope="row" | PWM Digital I/O Pins | |||
| 6 (D3, D5, D6, D9, D10, D11) | |||
|- | |||
! scope="row" | Analog Input Pins | |||
| 8 (A0-A7) | |||
|- | |||
! scope="row" | DC Current per I/O Pin | |||
| 40 mA | |||
|- | |||
! scope="row" | Flash Memory | |||
| 32 KB of which 2 KB used by bootloader | |||
|- | |||
! scope="row" | SRAM | |||
| 2 KB (ATmega328P-PU) | |||
|- | |||
! scope="row" | EEPROM | |||
| 1 KB (ATmega328P-PU) | |||
|- | |||
! scope="row" | Clock Speed | |||
| 16 MHz | |||
|- | |||
! scope="row" | LED_BUILTIN | |||
| D13 | |||
|- | |||
|} | |||
==Details== | |||
* PCB Dimensions: 18mm x 45mm | |||
* Weight: 7g | |||
<br>[[Image:ks0173 size.jpg|800px|frameless]]<br> | |||
==Element and Interfaces= | |||
Here is an explanation of what every element and interface of the board does: | |||
<br>[[Image:ks0173 pinout.jpg|800px|frameless]]<br> | |||
{| width="80%" cellspacing="0" border="1" | |||
|- | |||
| align="center" | 1 | |||
| align="center" | '''ICSP Header''' | |||
| align="light" | '''ICSP (In-Circuit Serial Programming) Header''' | |||
ICSP is the AVR, an micro-program header consisting of MOSI, MISO, SCK, RESET, VCC, and GND. It is often called the SPI (serial peripheral interface) and can be considered an "extension" of output. In fact, slave the output devices under the SPI bus host. | |||
When connecting to PC, program the firmware to ATMEGA328P-AU. | |||
|- | |||
| align="center" | 2 | |||
| align="center" | '''LED indicator(RX)''' | |||
| align="light" | Onboard you can find the label: RX(receive ) | |||
When control board communicates via serial port, receive the message, RX led flashes. | |||
|- | |||
| align="center" | 3 | |||
| align="center" | '''LED indicator(TX)''' | |||
| align="light" | Onboard you can find the label: TX (transmit) | |||
When control board communicates via serial port, send the message, TX led flashes. | |||
|- | |||
| align="center" | 4 | |||
| align="center" | '''LED indicator(POW)''' | |||
| align="light" | Power up the control board, LED on, otherwise LED off. | |||
|- | |||
| align="center" | 5 | |||
| align="center" | LED indicator(L) | |||
| align="light" | There is a built-in LED driven by digital pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off. | |||
|- | |||
| align="center" | 6 | |||
| align="center" | RX0(D0)TX1(D1)D2-D13 | |||
| align="light" | It has 14 digital input/output pins D0-D13 (of which 6 can be used as PWM outputs). These pins can be configured as digital input pin to read the logic value (0 or 1). Or used as digital output pin to drive different modules like LED, relay, etc. | |||
|- | |||
| align="center" | 7 | |||
| align="center" | RST | |||
| align="light" | Reset pin: connect external button. The function is the same as RESET button. | |||
|- | |||
| align="center" | 8 | |||
| align="center" | MEGA 328P | |||
| align="light" | Each board has its own microcontroller. You can regard it as the brain of your board. | |||
Microcontrollers are usually from ATMEL. Before you load a new program on the Arduino IDE, you must know what IC is on your board. This information can be checked at the top surface of IC. | |||
The board’s microcontroller is ATMEGA328P-AU. | |||
More info. see the [http://101.96.10.64/ww1.microchip.com/downloads/en/DeviceDoc/Atmel-42735-8-bit-AVR-Microcontroller-ATmega328-328P_Summary.pdf datasheet ] | |||
|- | |||
| align="center" | 9 | |||
| align="center" | MINI USB | |||
| align="light" | The board can be powered via Mini-B USB connection. Also upload the program to the board via USB port. | |||
|- | |||
| align="center" | 10 | |||
| align="center" | 3V3 pin | |||
| align="light" | rovides 3.3V voltage output | |||
|- | |||
| align="center" | 11 | |||
| align="center" | REF | |||
| align="light" | Reference external voltage (0-5 volts) for the analog input pins. Used with [https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/ analogReference()]. | |||
|- | |||
| align="center" | 12 | |||
| align="center" | A0-A7 | |||
| align="light" | The Nano has 8 Analog Pins, labeled A0 through A7. | |||
|- | |||
| align="center" | 13 | |||
| align="center" | 5V pin | |||
| align="light" | Provides 5V voltage output | |||
|- | |||
| align="center" | 14 | |||
| align="center" | GND | |||
| align="light" | Ground pin | |||
|- | |||
| align="center" | 15 | |||
| align="center" | VIN | |||
| align="light" | Input an external voltage DC7-12V to power the board. | |||
|- | |||
| align="center" | 16 | |||
| align="center" | Reset Button | |||
| align="light" | Used to reset the control board | |||
|- | |||
| align="center" | 17 | |||
| align="center" | CH340G | |||
| align="light" | USB-to-serial port chip, converting the USB signal into Serial port signal. | |||
|- | |||
| align="center" | 18 | |||
| align="center" | AMS1117 | |||
| align="light" | Convert the external voltage input DC7-12V into DC5V, then transfer it to the processor and other elements.. | |||
|- | |||
|} | |||
==Resources== | ==Resources== |
Revision as of 17:00, 27 August 2018
Introduction
The keyestudio Nano CH340 is a small, complete, and breadboard-friendly board based on the ATmega328P-AU. Compared with ARDUINO NANO, the USB-to-serial port chip used in keyestudio Nano is CH340G, so that the using method is the same except the driver installation file. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 8 analog inputs, a 16 MHz quartz crystal, a mini USB port, an ICSP header and a reset button. Note that ICSP (In-Circuit Serial Programming) header is used to program the firmware to ATMEGA328P-AU, but generally the chip have been preburned before leave the factory. So use it less. The keyestudio Nano can be powered via the Mini-B USB connection, or female headers Vin/GND (DC 7-12V).
TECH SPECS
Microcontroller | ATmega328P-PU |
---|---|
Operating Voltage | 5V |
Input Voltage (recommended) | 7-12V |
Digital I/O Pins | 14 (D0-D13) (of which 6 provide PWM output) |
PWM Digital I/O Pins | 6 (D3, D5, D6, D9, D10, D11) |
Analog Input Pins | 8 (A0-A7) |
DC Current per I/O Pin | 40 mA |
Flash Memory | 32 KB of which 2 KB used by bootloader |
SRAM | 2 KB (ATmega328P-PU) |
EEPROM | 1 KB (ATmega328P-PU) |
Clock Speed | 16 MHz |
LED_BUILTIN | D13 |
Details
- PCB Dimensions: 18mm x 45mm
- Weight: 7g
=Element and Interfaces
Here is an explanation of what every element and interface of the board does:
1 | ICSP Header | ICSP (In-Circuit Serial Programming) Header
ICSP is the AVR, an micro-program header consisting of MOSI, MISO, SCK, RESET, VCC, and GND. It is often called the SPI (serial peripheral interface) and can be considered an "extension" of output. In fact, slave the output devices under the SPI bus host. When connecting to PC, program the firmware to ATMEGA328P-AU. |
2 | LED indicator(RX) | Onboard you can find the label: RX(receive )
When control board communicates via serial port, receive the message, RX led flashes. |
3 | LED indicator(TX) | Onboard you can find the label: TX (transmit)
When control board communicates via serial port, send the message, TX led flashes. |
4 | LED indicator(POW) | Power up the control board, LED on, otherwise LED off. |
5 | LED indicator(L) | There is a built-in LED driven by digital pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off. |
6 | RX0(D0)TX1(D1)D2-D13 | It has 14 digital input/output pins D0-D13 (of which 6 can be used as PWM outputs). These pins can be configured as digital input pin to read the logic value (0 or 1). Or used as digital output pin to drive different modules like LED, relay, etc. |
7 | RST | Reset pin: connect external button. The function is the same as RESET button. |
8 | MEGA 328P | Each board has its own microcontroller. You can regard it as the brain of your board.
Microcontrollers are usually from ATMEL. Before you load a new program on the Arduino IDE, you must know what IC is on your board. This information can be checked at the top surface of IC. The board’s microcontroller is ATMEGA328P-AU. More info. see the datasheet |
9 | MINI USB | The board can be powered via Mini-B USB connection. Also upload the program to the board via USB port. |
10 | 3V3 pin | rovides 3.3V voltage output |
11 | REF | Reference external voltage (0-5 volts) for the analog input pins. Used with analogReference(). |
12 | A0-A7 | The Nano has 8 Analog Pins, labeled A0 through A7. |
13 | 5V pin | Provides 5V voltage output |
14 | GND | Ground pin |
15 | VIN | Input an external voltage DC7-12V to power the board. |
16 | Reset Button | Used to reset the control board |
17 | CH340G | USB-to-serial port chip, converting the USB signal into Serial port signal. |
18 | AMS1117 | Convert the external voltage input DC7-12V into DC5V, then transfer it to the processor and other elements.. |
Resources
Datasheet:
https://drive.google.com/open?id=1CVYjd4b_uw2zGvzXAvA1VkyLY944J6w0
Drive link:usb_ch340:
https://drive.google.com/open?id=1MEES7PWMN1aaqZ7wzcxIkv21xYf3CNNi
Get One Now
Official Website
http://www.keyestudio.com/keyes-ch340-chip-nano-3-0-development-board-with-usb-cable-for-arduino.html