用户工具

站点工具


en:ocrobot:alpha:8f328p-u:main

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
en:ocrobot:alpha:8f328p-u:main [2018/12/08 08:53] fangtiqiangen:ocrobot:alpha:8f328p-u:main [2023/06/07 04:23] (当前版本) – 外部编辑 127.0.0.1
行 1: 行 1:
 +
 +
 +====== ALPHA 8F328P-U ======
 +ALPHA 8F328P-U is an Arduino compatible development board.You can use the Arduino IDE for development (you need to install it). It is recommended to use the OCROBOT development environment. The LGT support package can be installed directly in the "Development Board Manager".
 +
 +The MCU used in the ALPHA 8F328P-U is the LGT8F328P, an Atmel MEGA328P compatible chip. The USB chip uses the Hetai HT42B534-1, WIN10 and MAC OS X drive-free.
 +
 +The 8F328P architecture is relatively new in design and its peripheral functions are much stronger than Atmel MEGA328. In particular, the program encryption capability is far more than MEGA328. See the data sheet for details.
 +<WRAP center round info 100%>
 +PWM pin number:D3、D5、D6、D9、D10、D11
 +</WRAP>
 +
 +
 +===== Buy this product =====
 +[[https://item.taobao.com/item.htm?id=550310897281|{{:ocrobot:alpha:8f328p-u:taobao.jpg?50|}}]]
 +
 +===== ALPHA 8F328P-U vs Arduino Nano Clone version vs Arduino Pro Mini Clone version =====
 +^ ^ALPHA 8F328P-U^Arduino Nano^Arduino Pro Mini^
 +^Market retail price|8¥|12¥|9¥|
 +^workmanship|Good|general|general|
 +^USB interface|exist|exist|not exist|
 +^ADC accuracy|12bit|10bit|10bit|
 +^DAC output|exist|not exist|not exist|
 +^Internal reference accuracy|±0.5%|±1.5%|±1.5%|
 +^PWM dead zone control|exist|not exist|not exist|
 +^High current push-pull PWM|exist|not exist|not exist|
 +^Highest frequency|32M|16M|16M|
 +^Operational Accelerator (DSC)|exist|not exist|not exist|
 +^Stack extension system|exist|not exist|not exist|
 +^after sales support|exist|not exist|not exist|
 +
 +From the price, quality, function, service and other aspects, ALPHA 8F328D is better than Arduino Nano and Arduino Mini Pro.
 +===== Features =====
 +  - Comes with USB, it is more convenient to use.
 +  - The 8F328D can operate at 16M with 3V3 and 5V power supply, and the level compatibility is excellent.
 +  - Built-in high-precision RC, stable operation without external crystal.
 +  - There are few peripheral parts and the circuit design is simple.
 +  - 12-bit ADC (analog-to-digital conversion)
 +  - Comes with DAC
 +  - Self-contained GUID (unique ID) can be used for chip program encryption
 +  - Comes with internal 1.024V/2.048V/4.096V ±1% calibratable reference voltage source
 +===== parameter =====
 +^  MCU  |  LGT8F328P  |
 +^  FLASH  |  32Kbytes  |
 +^  SRAM  |  2Kbytes  |
 +^  E2PROM  |  Can be configured as 0K/1K/2K/4K/8K (shared with FLASH)  |
 +^  PWM  |  8ways  |
 +^  Main frequency  |  16MHz(Maximum is 32MHz)  |
 +^  ADC  |  6 channels and 12 bits  |
 +^  DAC  |  1 channel and 8 bits  |
 +^  UART  |  1 way  |
 +^  SPI  |  exist  |
 +^  TWI(I2C)  |  exist  |
 +^  GUID(Globally Unique Identifier)  |  exist  |
 +^  Internal benchmark  |  1.024V/2.048V/4.096V ±0.5%  |
 +^  System logic level  |  default voltage is 5V (can be switched to 3V3 through the pad)  |
 +^  3V3 Maximum output current  |  500MA  |
 +^  PCB  size  |  50.8mmX25.4mm  |
 +^  Pin spacing  |  [[ocrobot:alpha:alpha_pin|ALPHA Pin standard]]  |
 +=====Reference picture =====
 +{{:ocrobot:alpha:8f328p-u:328p-ur3未焊接侧面435.png?nolink|}}
 +{{:ocrobot:alpha:8f328p-u:328p-ur3未焊接正面435.png?nolink|}}
 +<WRAP center round download 100%>
 +===== Hetai HT42B534-1 USB drive =====
 +The USB chip used by ALPHA 8F328P-U is Hetai HT42B534-1, which is free of drive under WIN10, MAC OS X and Linux.
 +
 +Windows 7, 8, 8.1 driver: {{ :learing:star:usbbridgesetup_ca.zip |local download}}
 +</WRAP>
 +<WRAP center round important 100%>
 +If it is a lite version of the Windows operating system (any non-Microsoft officially released installation package may be a streamlined system). There will be situations where the driver cannot be installed because these systems are missing a lot of system driver files. In this case, please reinstall the operating system yourself. Be sure to use the official installation package released by Microsoft to install, do not use any version of ghost.
 +</WRAP>
 +
 +<WRAP center round alert 100%>
 +For some unknown reasons (currently still looking for), the 8F328P serial port uses 19200 baud rate, which will cause problems. For example, you can't burn the program again. So please avoid using the 19200 baud rate.
 +</WRAP>
 +
 +===== Compatible Priority vs Performance Priority =====
 +OCROBOT IDE's LGT support package After the 0.1.2 version, select the LGT core product, the "mode" option will appear. The default is "compatibility first"
 +
 +**Compatibility Priority**: LGT 0.1.1 and previous versions remain compatible. This version branch inherits Arduino's timer and register definitions for each function of the Atmel 328P MCU. Maximum compatibility with traditional Arduino UNO (Atmel 328P core) code is guaranteed.
 +
 +**New Features Priority**: The LGT 8F328P is more powerful than the traditional Atmel 328P-AU. These new features will only be available in the new feature priority version. Such as PWM multiplier output, dead zone control, ADC differential input and so on.
 +
 +===== Document =====
 +**Data Sheet: **
 +\\ {{ :ocrobot:alpha:8f328p-u:lgt8fx8p_databook_v1.0.3.pdf |LGT8F328P data sheet v1.0.3 Chinese version}}
 +\\ {{ :ocrobot:alpha:8f328p-u:lgt8fx8p_databook_v1.0.5.pdf |LGT8F328P data sheet v1.0.5 Chinese version}}
 +
 +** Schematic: **
 +\\ {{ :ocrobot:alpha:8f328p-u:ocrobot_alpha_8f328p-u_r3.pdf |OCROBOT ALPHA LGT8F328P-U R3 Schematic}}
 +===== ALPHA Application Notes =====
 +[[learing:alpha:2016042501|01 ALPHA 8F328P-U program burning]]
 +\\ [[learing:alpha:2017050901|02 8F328P unique ID usage]]
 +\\ [[learing:alpha:2017052301|03 8F328P DAC use]]
 +\\ [[learing:alpha:2018110501|04 8F328P output clock frequency]]
 +===== Larduino HSP =====
 +Larduino HSP is the official Arduino support of LGT, if you want to use the Arduino IDE to integrate LGT support. Then you can install HSP yourself into the Arduino. The specific installation location is described in the zip package with a readme file.
 +
 +===== Download =====
 +HSP is the official Arduino support package for 8F328P MCU produced by LGT. If you need to use it in the original Arduino IDE, please download HSP support to build the environment according to the introduction.
 +\\ {{ :ocrobot:alpha:8f328p-u:larduino_hsp_v3.5.rar |HSP v3.5}}
 +\\ {{ :ocrobot:alpha:8f328p-u:larduino_hsp_v3.6.rar |HSP v3.6}}
 +===== Description of the ADC's maximum reading of 4064 =====
 +There is a gain error in the microcontroller sold in the market. The gain error is the degree of deviation between the actual transmission characteristic curve of the ADC and the ideal transmission characteristic curve. The 8F328P has a built-in high-precision internal 1.024\2.048\4.096 reference source in order to make all aspects of the data more accurate. We directly corrected the gain error from the package function of the ADC. The 12-bit output range is 0-4095 because the gain error is mainly present near full scale. So we abandon the data with relatively high gain and relatively large error, limiting the maximum ADC reading to 4064.
 +
 +===== High and low thresholds =====
 +
 +At 3V3 logic level, the low threshold of the 8F328P is between 1.3-1.4V.
 +