en:ocrobot:alpha:8f328p-u:main
差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版 | |||
en:ocrobot:alpha:8f328p-u:main [2018/12/09 01:49] – fangtiqiang | en: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 " | ||
+ | |||
+ | 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 | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Buy this product ===== | ||
+ | [[https:// | ||
+ | |||
+ | ===== 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/ | ||
+ | ===== parameter ===== | ||
+ | ^ MCU | LGT8F328P | ||
+ | ^ FLASH | 32Kbytes | ||
+ | ^ SRAM | 2Kbytes | ||
+ | ^ E2PROM | ||
+ | ^ PWM | 8ways | | ||
+ | ^ Main frequency | ||
+ | ^ ADC | 6 channels and 12 bits | | ||
+ | ^ DAC | 1 channel and 8 bits | | ||
+ | ^ UART | 1 way | | ||
+ | ^ SPI | exist | | ||
+ | ^ TWI(I2C) | ||
+ | ^ GUID(Globally Unique Identifier) | ||
+ | ^ Internal benchmark | ||
+ | ^ System logic level | default voltage is 5V (can be switched to 3V3 through the pad) | | ||
+ | ^ 3V3 Maximum output current | ||
+ | ^ PCB size | 50.8mmX25.4mm | ||
+ | ^ Pin spacing | ||
+ | =====Reference picture ===== | ||
+ | {{: | ||
+ | {{: | ||
+ | <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: {{ : | ||
+ | </ | ||
+ | <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 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. | ||
+ | </ | ||
+ | |||
+ | ===== Compatible Priority vs Performance Priority ===== | ||
+ | OCROBOT IDE's LGT support package After the 0.1.2 version, select the LGT core product, the " | ||
+ | |||
+ | **Compatibility Priority**: LGT 0.1.1 and previous versions remain compatible. This version branch inherits Arduino' | ||
+ | |||
+ | **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: ** | ||
+ | \\ {{ : | ||
+ | \\ {{ : | ||
+ | |||
+ | ** Schematic: ** | ||
+ | \\ {{ : | ||
+ | ===== ALPHA Application Notes ===== | ||
+ | [[learing: | ||
+ | \\ [[learing: | ||
+ | \\ [[learing: | ||
+ | \\ [[learing: | ||
+ | ===== 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. | ||
+ | \\ {{ : | ||
+ | \\ {{ : | ||
+ | ===== 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. | ||
+ | |||