KS0497 Keyestudio V4.0 Development Board(Compatible With Arduino Uno): Difference between revisions
Keyestudio (talk | contribs) (Created blank page) |
Keyestudio (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
== Description == | |||
keyestudio V4.0 development board based on the ATMEGA328P-PU , fully compatible with ARDUINO UNO REV3. | |||
It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, 1 ICSP header, and a reset button. | |||
The built-in ICSP port can burn the firmware for ATMEGA328P-PU directly. This chip is burnt the firmware well before leaving the factory, therefore, we hardly use it. We can power on by USB wire, DC head and Vin GND pins. | |||
To facilitate wiring, a 0.5 m USB wire is provided for you. | |||
== Specification == | |||
* Microcontroller: ATMEGA328P-PU | |||
* USB serial chip:CP2102 | |||
* Operating Voltage: 5V | |||
* Input Voltage (recommended):DC 7-12V | |||
* Digital I/O Pins: 14 (D0-D53) | |||
* PWM Digital I/O Pins:6 (D3 D5 D6 D9 D10 D11) | |||
* Analog Input Pins: 6(A0-A5) | |||
* DC Current per I/O Pin: 20 mA | |||
* DC Current for 3.3V Pin: 50 mA | |||
* Flash Memory: 32 KB (ATMEGA328P-PU) of which 0.5 KB used by bootloader | |||
* SRAM:2 KB (ATMEGA328P-PU) | |||
* EEPROM: 1 KB (ATMEGA328P-PU) | |||
* Clock Speed:16 MHz | |||
* LED_BUILTIN:D13 | |||
== Element and Pin Interfaces == | |||
图 | |||
{| width="80%" cellspacing="0" border="1" | |||
|- | |||
| align="center" | [[Image:KS0001 5-1.png|500px|frameless]] | |||
| align="light" | '''Digital I/O''' | |||
Arduino MEGA has 54 digital input/output pins (of which 15 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. <br> | |||
Using [https://www.arduino.cc/reference/en/language/functions/digital-io/pinmode/ pinMode()], [https://www.arduino.cc/reference/en/language/functions/digital-io/digitalwrite/ digitalWrite()], and [https://www.arduino.cc/reference/en/language/functions/digital-io/digitalread/ digitalRead()] functions.<br> | |||
|- | |||
| align="center" | [[Image:KS0001 5-2.png|500px|frameless]] | |||
| align="light" | '''GND''' | |||
Ground pins | |||
|- | |||
| align="center" | [[Image:KS0001 5-3.png|500px|frameless]] | |||
| align="light" | '''AREF ''' | |||
Reference voltage (0-5V) for analog inputs. Used with [https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/ analogReference()]. | |||
Configures the reference voltage used for analog input (i.e. the value used as the top of the input range). | |||
|- | |||
| align="center" | [[Image:KS0001 5-4.png|500px|frameless]] | |||
| align="light" | '''SDA''' | |||
IIC communication pin | |||
|- | |||
| align="center" | [[Image:KS0001 5-5.png|500px|frameless]] | |||
| align="light" | '''SCL''' | |||
IIC communication pin | |||
|- | |||
| align="center" | [[Image:KS0001 5-6.png|500px|frameless]] | |||
| align="light" | '''RESET Button''' | |||
You can reset your Arduino board | |||
|- | |||
| align="center" | [[Image:KS0001 5-7.png|500px|frameless]] | |||
| align="light" | '''USB Connection''' | |||
Arduino board can be powered via USB connector. <br> | |||
All you needed to do is connecting the USB port to PC using a USB cable. | |||
|- | |||
| align="center" | [[Image:KS0001 5-8.png|500px|frameless]] | |||
| align="light" | '''D13 LED''' | |||
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" | [[Image:KS0001 5-9.png|500px|frameless]] | |||
| align="light" | '''CP2102''' | |||
USB to serial chip, can convert the USB signal into serial port signal. | |||
|- | |||
| align="center" | [[Image:KS0001 5-10.png|500px|frameless]] | |||
| align="light" | '''TX LED''' | |||
Onboard you can find the label: TX (transmit)<br> | |||
When Arduino board communicates via serial port, send the message, TX led flashes. | |||
|- | |||
| align="center" | [[Image:KS0001 5-11.png|500px|frameless]] | |||
| align="light" | '''RX LED''' | |||
Onboard you can find the label: RX(receive )<br> | |||
When Arduino board communicates via serial port, receive the message, RX led flashes. | |||
|- | |||
| align="center" | [[Image:KS0001 5-12.png|500px|frameless]] | |||
| align="light" | '''Crystal Oscillator''' | |||
How does Arduino calculate time? by using a crystal oscillator.<br> | |||
The number printed on the top of the Arduino crystal is 16.000H9H. It tells us that the frequency is 16,000,000 Hertz or 16MHz. | |||
|- | |||
| align="center" | [[Image:KS0001 5-13.png|500px|frameless]] | |||
| align="light" | '''Voltage Regulator''' | |||
To control the voltage provided to the Arduino board, as well as to stabilize the DC voltage used by the processor and other components.<br> | |||
Convert an external input DC7-12V voltage into DC 5V, then switch DC 5V to the processor and other components. | |||
|- | |||
| align="center" | [[Image:KS0001 5-14.png|500px|frameless]] | |||
| align="light" | '''DC Power Jack''' | |||
Arduino board can be supplied with an external power DC7-12V from the DC power jack. | |||
|- | |||
| align="center" | [[Image:KS0001 5-15.png|500px|frameless]] | |||
| align="light" | '''IOREF''' | |||
This pin on the board provides the voltage reference with which the microcontroller operates. A properly configured shield can read the IOREF pin voltage and select the appropriate power source or enable voltage translators on the outputs for working with the 5V or 3.3V. | |||
|- | |||
| align="center" | [[Image:KS0001 5-17.png|500px|frameless]] | |||
| align="light" | '''Power Pin 3V3''' | |||
A 3.3 volt supply generated by the on-board regulator. Maximum current draw is 50 mA. | |||
|- | |||
| align="center" | [[Image:KS0001 5-16.png|500px|frameless]] | |||
| align="light" | '''RESET Header''' | |||
Connect an external button to reset the board. The function is the same as reset button. | |||
|- | |||
| align="center" | [[Image:KS0001 5-18.png|500px|frameless]] | |||
| align="light" | '''Power Pin 5V''' | |||
Provides 5V output voltage | |||
|- | |||
| align="center" | [[Image:KS0001 5-19.png|500px|frameless]] | |||
| align="light" | '''Vin ''' | |||
You can supply an external power input DC7-12V through this pin to Arduino board. | |||
|- | |||
| align="center" | [[Image:KS0001 5-20.png|500px|frameless]] | |||
| align="light" | '''Analog Pins''' | |||
Onboard has 16 analog inputs, labeled A0 to A15. | |||
|- | |||
| align="center" | [[Image:KS0001 5-21.png|500px|frameless]] | |||
| align="light" | '''ICSP (In-Circuit Serial Programming) Header''' | |||
the AVR, an Arduino micro-program header consisting of MOSI, MISO, SCK, RESET, VCC, and GND. <br> | |||
It is often called the SPI (serial peripheral interface) and can be considered an "extension" of the output. In fact, slave the output devices to the SPI bus host.<br> | |||
When connecting to PC, program the firmware to ATMEGA2560-16AU. | |||
|- | |||
| align="center" | [[Image:KS0001 5-22.png|500px|frameless]] | |||
| align="light" | '''Microcontroller ''' | |||
Each Arduino board has its own microcontroller. You can regard it as the brain of your board.<br> | |||
The main IC (integrated circuit) on the Arduino is slightly different from the panel pair. 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 of IC. | |||
|- | |||
| align="center" | [[Image:KS0001 5-23.png|500px|frameless]] | |||
| align="light" | '''Power LED Indicator''' | |||
Powering the Arduino, LED on means that your circuit board is correctly powered on. If LED is off, connection is wrong. | |||
|- | |||
|} | |||
<br> |
Revision as of 08:13, 21 July 2020
Description
keyestudio V4.0 development board based on the ATMEGA328P-PU , fully compatible with ARDUINO UNO REV3. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, 1 ICSP header, and a reset button. The built-in ICSP port can burn the firmware for ATMEGA328P-PU directly. This chip is burnt the firmware well before leaving the factory, therefore, we hardly use it. We can power on by USB wire, DC head and Vin GND pins. To facilitate wiring, a 0.5 m USB wire is provided for you.
Specification
- Microcontroller: ATMEGA328P-PU
- USB serial chip:CP2102
- Operating Voltage: 5V
- Input Voltage (recommended):DC 7-12V
- Digital I/O Pins: 14 (D0-D53)
- PWM Digital I/O Pins:6 (D3 D5 D6 D9 D10 D11)
- Analog Input Pins: 6(A0-A5)
- DC Current per I/O Pin: 20 mA
- DC Current for 3.3V Pin: 50 mA
- Flash Memory: 32 KB (ATMEGA328P-PU) of which 0.5 KB used by bootloader
- SRAM:2 KB (ATMEGA328P-PU)
- EEPROM: 1 KB (ATMEGA328P-PU)
- Clock Speed:16 MHz
- LED_BUILTIN:D13
Element and Pin Interfaces
图
Digital I/O
Arduino MEGA has 54 digital input/output pins (of which 15 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. | |
GND
Ground pins | |
AREF
Reference voltage (0-5V) for analog inputs. Used with analogReference(). Configures the reference voltage used for analog input (i.e. the value used as the top of the input range). | |
SDA
IIC communication pin | |
SCL
IIC communication pin | |
RESET Button
You can reset your Arduino board | |
USB Connection
Arduino board can be powered via USB connector. | |
D13 LED
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. | |
CP2102
USB to serial chip, can convert the USB signal into serial port signal. | |
TX LED
Onboard you can find the label: TX (transmit) | |
RX LED
Onboard you can find the label: RX(receive ) | |
Crystal Oscillator
How does Arduino calculate time? by using a crystal oscillator. | |
Voltage Regulator
To control the voltage provided to the Arduino board, as well as to stabilize the DC voltage used by the processor and other components. | |
DC Power Jack
Arduino board can be supplied with an external power DC7-12V from the DC power jack. | |
IOREF
This pin on the board provides the voltage reference with which the microcontroller operates. A properly configured shield can read the IOREF pin voltage and select the appropriate power source or enable voltage translators on the outputs for working with the 5V or 3.3V. | |
Power Pin 3V3
A 3.3 volt supply generated by the on-board regulator. Maximum current draw is 50 mA. | |
RESET Header
Connect an external button to reset the board. The function is the same as reset button. | |
Power Pin 5V
Provides 5V output voltage | |
Vin
You can supply an external power input DC7-12V through this pin to Arduino board. | |
Analog Pins
Onboard has 16 analog inputs, labeled A0 to A15. | |
ICSP (In-Circuit Serial Programming) Header
the AVR, an Arduino micro-program header consisting of MOSI, MISO, SCK, RESET, VCC, and GND. | |
Microcontroller
Each Arduino board has its own microcontroller. You can regard it as the brain of your board. | |
Power LED Indicator
Powering the Arduino, LED on means that your circuit board is correctly powered on. If LED is off, connection is wrong. |