31e12c83dfd8d0092dfc2265e6abd39b24ba2d23
Board-dat/DVA/DVA1014-dat/2026-02-07-17-55-41.png
| ... | ... | Binary files a/Board-dat/DVA/DVA1014-dat/2026-02-07-17-55-41.png and /dev/null differ |
Board-dat/DVA/DVA1014-dat/2026-05-01-19-24-37.png
| ... | ... | Binary files /dev/null and b/Board-dat/DVA/DVA1014-dat/2026-05-01-19-24-37.png differ |
Board-dat/DVA/DVA1014-dat/DVA1014-dat.md
| ... | ... | @@ -18,8 +18,11 @@ product url - |
| 18 | 18 | |
| 19 | 19 | - [[LDO-dat]] |
| 20 | 20 | |
| 21 | +- [[NWL1010-dat]] |
|
| 21 | 22 | |
| 22 | - |
|
| 23 | +board V2 |
|
| 24 | + |
|
| 25 | + |
|
| 23 | 26 | |
| 24 | 27 | pin definitions |
| 25 | 28 | |
| ... | ... | @@ -35,7 +38,9 @@ pin definitions |
| 35 | 38 | |
| 36 | 39 | on board LED == D3 |
| 37 | 40 | |
| 38 | -programmer pin G / V / R / C / D == GND / VIN / RST / SWC / SWD |
|
| 41 | +on board ADC VOL monitor == A1 |
|
| 42 | + |
|
| 43 | +programmer pin == G / V / R / C / D == GND / VIN / RST / SWC / SWD |
|
| 39 | 44 | |
| 40 | 45 | | arduino | pin | LGT8F328-SSOP20 | function | slave | |
| 41 | 46 | | ----------- | --- | --------------- | ------------ | ------ | |
Board-dat/NWL/NWL1010-dat/NWL1010-dat.md
| ... | ... | @@ -4,6 +4,14 @@ |
| 4 | 4 | |
| 5 | 5 | [NRF24 Mini SMD Wireless Module (NRF24L01 Compatible)](https://www.electrodragon.com/product/nrf24-mini-smd-wireless-module-nrf24l01-compatible/) |
| 6 | 6 | |
| 7 | + |
|
| 8 | + |
|
| 9 | +## board |
|
| 10 | + |
|
| 11 | +- [[DVA1014-dat]] - [[DVA1018-dat]] |
|
| 12 | + |
|
| 13 | + |
|
| 14 | + |
|
| 7 | 15 | ## Pin Info |
| 8 | 16 | |
| 9 | 17 |  |
Chip-cn-dat/LGT-dat/LGT8F328-DAT/2026-02-11-01-42-24.png
| ... | ... | Binary files a/Chip-cn-dat/LGT-dat/LGT8F328-DAT/2026-02-11-01-42-24.png and /dev/null differ |
Chip-cn-dat/LGT-dat/LGT8F328-DAT/2026-05-01-17-54-45.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/LGT-dat/LGT8F328-DAT/2026-05-01-17-54-45.png differ |
Chip-cn-dat/LGT-dat/LGT8F328-DAT/LGT8F328-DAT.md
| ... | ... | @@ -40,7 +40,11 @@ common pin |
| 40 | 40 | |
| 41 | 41 |  |
| 42 | 42 | |
| 43 | - |
|
| 43 | + |
|
| 44 | +view main differences between LGT8F328 and atmega328 - source: https://wolles-elektronikkiste.de/en/lgt8f328p-lqfp32-boards |
|
| 45 | + |
|
| 46 | + |
|
| 47 | + |
|
| 44 | 48 | |
| 45 | 49 | ## LGT8F328-QFP MIN SYS |
| 46 | 50 | |
| ... | ... | @@ -59,6 +63,27 @@ common pin |
| 59 | 63 | |
| 60 | 64 |  |
| 61 | 65 | |
| 66 | +## other MCUs |
|
| 67 | + |
|
| 68 | +LGT8F88A, LGT8Fx8D and LGT8Fx8P main differences |
|
| 69 | + |
|
| 70 | +<br> |
|
| 71 | + |
|
| 72 | +| - | - | LGT8F88A | LGT8Fx8D | LGT8Fx8P | |
|
| 73 | +| :------------------------: | :---: | :-----------------------------------------------------: | :---------------------------------------------------: | :-------------------------------------------------------------: | |
|
| 74 | +| Progmem | KB | 8 | 4/8/16/32 | 8/16/32 | |
|
| 75 | +| RAM | KB | 1 | 0.5/1/1/2 | 1/1/2 | |
|
| 76 | +| Data Flash (EEPROM) | KB | 504 byte | 1/2/4/progmem shared | 2/4/progmem shared | |
|
| 77 | +| DAC (8 bit) | | - | 2 | 1 | |
|
| 78 | +| Internal Reference | V | 1.25/2.56 | 1.25/2.56 | 1.024/2.048/4.096 | |
|
| 79 | +| Analog Comparators (AC) | | 2 | 2 | 2 | |
|
| 80 | +| AC resolution | mV | 6 | 12 | 10 | |
|
| 81 | +| DAP Differential Amplifier | gain | 7.5/15/22.5/30 | - | 1/8/16/32 | |
|
| 82 | +| ACD | bit | 10 | 12 | 12 | |
|
| 83 | +| Max sysclk | MHz | 32 | 32 div 2 internal or 20 external | 32 | |
|
| 84 | +| Extras | | Capacitive touch button controller, <br> Thermal sensor | 2x Operational Amplifier <br> fixed gain = +12 or -11 | DSC (16 bit arithmetic), <br> SPI buffer, SPI 2 wire input mode | |
|
| 85 | +| Package | | QFP32, SSOP28 | QFP32, SSOP28, SSOP24, SSOP20 | QFP48, QFP32, SSOP20 | |
|
| 86 | + |
|
| 62 | 87 | ## APP |
| 63 | 88 | |
| 64 | 89 | ### USB Demo |
| ... | ... | @@ -69,6 +94,10 @@ common pin |
| 69 | 94 | https://www.youtube.com/shorts/CL2-iH4KWQQ |
| 70 | 95 | |
| 71 | 96 | |
| 97 | + |
|
| 98 | + |
|
| 99 | + |
|
| 100 | + |
|
| 72 | 101 | ## ref |
| 73 | 102 | |
| 74 | 103 |
Chip-cn-dat/LGT-dat/LGT8F328-DAT/LGT8F328-SSOP20-dat/LGT8F328-SSOP20-dat.md
| ... | ... | @@ -22,29 +22,29 @@ |
| 22 | 22 |  |
| 23 | 23 | |
| 24 | 24 | |
| 25 | -| arduino | pin | LGT8F328-SSOP20 | function | slave | |
|
| 26 | -| ----------- | --- | --------------- | ------------ | ----- | |
|
| 27 | -| GND | 5 | GND | GND | | |
|
| 28 | -| 3V3 | 4 | 3V3 | 3.3V | | |
|
| 29 | -| RST | 1 | RST | reset | | |
|
| 30 | -| RST + 0.1uf | 1 | RST + 0.1uf | rest + 0.1UF | | |
|
| 31 | -| D2 | 2 | D2 | INT0 | | |
|
| 32 | -| D3 | 3 | D3 | INT1 | | |
|
| 33 | -| RXD | 9 | D6 | UART0 | | |
|
| 34 | -| TXD | 8 | D5 | UART0 | | |
|
| 35 | -| D7 | 10 | D7 | | | |
|
| 36 | -| D9 | 11 | D9 | | | |
|
| 37 | -| x | 6 | PB6 | | | |
|
| 38 | -| x | 7 | PB7 | | | |
|
| 39 | -| D11 | 12 | D11 | MO | | |
|
| 40 | -| D12 | 13 | D12 | MI | | |
|
| 41 | -| D13 | 14 | D13 | SCK | | |
|
| 42 | -| x | 15 | PE0 | SWC | | |
|
| 43 | -| x | 16 | PE2 | SWD | | |
|
| 44 | -| A0 | 17 | PC0 | | | |
|
| 45 | -| A1 | 18 | PC1 | | | |
|
| 46 | -| A4 | 19 | PC4 | SCL | | |
|
| 47 | -| A5 | 20 | PC5 | SDA | | |
|
| 25 | +| arduino | LGT8F328 | pin | alt function | slave | |
|
| 26 | +|-------------|----------|-----|--------------|-------| |
|
| 27 | +| GND | GND | 5 | GND | | |
|
| 28 | +| 3V3 | VCC | 4 | 3.3V | | |
|
| 29 | +| RST | RST | 1 | reset | | |
|
| 30 | +| RST + 0.1uf | x | 1 | rest + 0.1UF | | |
|
| 31 | +| D2 | PD2 | 2 | INT0 | | |
|
| 32 | +| D3 | PD3 | 3 | INT1 | | |
|
| 33 | +| D6 | PD6 | 9 | UART0 RXD | | |
|
| 34 | +| D5 | PD5 | 8 | UART0 TXD | | |
|
| 35 | +| D7 | PD7 | 10 | | | |
|
| 36 | +| D9 | PB1 | 11 | | | |
|
| 37 | +| x | PB6 | 6 | | | |
|
| 38 | +| x | PB7 | 7 | | | |
|
| 39 | +| D11 | PB3 | 12 | MO | | |
|
| 40 | +| D12 | PB4 | 13 | MI | | |
|
| 41 | +| D13 | PB5 | 14 | SCK | | |
|
| 42 | +| x | PE0 | 15 | SWC | | |
|
| 43 | +| x | PE2 | 16 | SWD | | |
|
| 44 | +| A0 | PC0 | 17 | | | |
|
| 45 | +| A1 | PC1 | 18 | | | |
|
| 46 | +| A4 | PC4 | 19 | SCL | | |
|
| 47 | +| A5 | PC5 | 20 | SDA | | |
|
| 48 | 48 | |
| 49 | 49 | |
| 50 | 50 | |
| ... | ... | @@ -74,6 +74,30 @@ upload by [[LGT-SWDICE_MKII-dat]] - [[LGT-dat]] |
| 74 | 74 | |
| 75 | 75 | - programming test D12 |
| 76 | 76 | |
| 77 | + |
|
| 78 | +## pin link |
|
| 79 | + |
|
| 80 | +At the first level, `D11` is explicitly defined as Arduino pin number `11`, with a comment saying it is `PB3`, in |
|
| 81 | + |
|
| 82 | + c:/Users/Administrator/AppData/Local/Arduino15/packages/lgt8fx/hardware/avr/2.0.7/variants/standard/pins_arduino.h. |
|
| 83 | + |
|
| 84 | +So the human-readable alias is direct: D11 -> 11 -> PB3. |
|
| 85 | + |
|
| 86 | +The actual functional linkage comes from the lookup tables in the same file. Entry `11` in `digital_pin_to_port_PGM[]` is `PB`, so Arduino pin 11 belongs to port B in |
|
| 87 | + |
|
| 88 | + c:/Users/Administrator/AppData/Local/Arduino15/packages/lgt8fx/hardware/avr/2.0.7/variants/standard/pins_arduino.h. |
|
| 89 | + |
|
| 90 | +Entry `11` in `digital_pin_to_bit_mask_PGM[]` is` _BV(3)`, which means `bit 3 of that port,` in |
|
| 91 | + |
|
| 92 | +c:/Users/Administrator/AppData/Local/Arduino15/packages/lgt8fx/hardware/avr/2.0.7/variants/standard/pins_arduino.h. |
|
| 93 | + |
|
| 94 | +Then the port tables map `PB` to the actual AVR registers `DDRB`, `PORTB`, and `PINB` in |
|
| 95 | + |
|
| 96 | + c:/Users/Administrator/AppData/Local/Arduino15/packages/lgt8fx/hardware/avr/2.0.7/variants/standard/pins_arduino.h. |
|
| 97 | + |
|
| 98 | + |
|
| 99 | + |
|
| 100 | + |
|
| 77 | 101 | ## ref |
| 78 | 102 | |
| 79 | 103 | - [[LGT-dat]] |
| ... | ... | \ No newline at end of file |
Chip-dat/AVR-dat/atmega-dat/atmega328-DAT/atmega328-DAT.md
| ... | ... | @@ -26,28 +26,28 @@ |
| 26 | 26 | |
| 27 | 27 | Pins table |
| 28 | 28 | |
| 29 | -| arduino | pin | Funcs | Funcs2 | customize | |
|
| 30 | -| ------- | --- | ----- | -------------- | --------- | |
|
| 31 | -| D13 | 17 | PB5 | SPI_SCK/PCINT5 | | |
|
| 32 | -| D12 | 16 | PB4 | SPI_MISO | | |
|
| 33 | -| D11 | 15 | PB3 | SPI_MOSI/PWM | | |
|
| 34 | -| D10 | 14 | PB2 | | | |
|
| 35 | -| D9 | 13 | PB1 | PWM | | |
|
| 36 | -| D8 | 12 | PB0 | | | |
|
| 37 | -| D7 | 11 | PD7 | | | |
|
| 38 | -| D6 | 10 | PD6 | PWM | | |
|
| 39 | -| D5 | 9 | PD5 | PWM | | |
|
| 40 | -| D4 | 2 | PD4 | | | |
|
| 41 | -| D3 | 1 | PD3 | PWM | | |
|
| 42 | -| D2 | 32 | PD2 | irq | | |
|
| 43 | -| D1 | 31 | PD1 | TX | | |
|
| 44 | -| D0 | 30 | PD0 | RX | | |
|
| 45 | -| A5 | | PC5 | SCL | | |
|
| 46 | -| A4 | | PC4 | SDA | | |
|
| 47 | -| A3 | | PC3 | | | |
|
| 48 | -| A2 | | PC2 | | | |
|
| 49 | -| A1 | | PC1 | | | |
|
| 50 | -| A0 | | PC0 | | | |
|
| 29 | +| pin | pin name | arduino | Funcs2 | customize | |
|
| 30 | +| --- | -------- | ------- | -------------- | --------- | |
|
| 31 | +| 17 | PB5 | D13 | SPI_SCK/PCINT5 | | |
|
| 32 | +| 16 | PB4 | D12 | SPI_MISO | | |
|
| 33 | +| 15 | PB3 | D11 | SPI_MOSI/PWM | | |
|
| 34 | +| 14 | PB2 | D10 | | | |
|
| 35 | +| 13 | PB1 | D9 | PWM | | |
|
| 36 | +| 12 | PB0 | D8 | | | |
|
| 37 | +| 11 | PD7 | D7 | | | |
|
| 38 | +| 10 | PD6 | D6 | PWM | | |
|
| 39 | +| 9 | PD5 | D5 | PWM | | |
|
| 40 | +| 2 | PD4 | D4 | | | |
|
| 41 | +| 1 | PD3 | D3 | PWM | | |
|
| 42 | +| 32 | PD2 | D2 | irq | | |
|
| 43 | +| 31 | PD1 | D1 | TX | | |
|
| 44 | +| 30 | PD0 | D0 | RX | | |
|
| 45 | +| | PC5 | A5 | SCL | | |
|
| 46 | +| | PC4 | A4 | SDA | | |
|
| 47 | +| | PC3 | A3 | | | |
|
| 48 | +| | PC2 | A2 | | | |
|
| 49 | +| | PC1 | A1 | | | |
|
| 50 | +| | PC0 | A0 | | | |
|
| 51 | 51 | |
| 52 | 52 | |
| 53 | 53 |
Chip-dat/Nordic-dat/NRF24L01-dat/NRF24L01-dat.md
| ... | ... | @@ -84,6 +84,16 @@ with arduino |
| 84 | 84 |  |
| 85 | 85 | |
| 86 | 86 | |
| 87 | + |
|
| 88 | + |
|
| 89 | +## SDK |
|
| 90 | + |
|
| 91 | +library radiohead - [[radiohead-dat]] |
|
| 92 | + |
|
| 93 | + |
|
| 94 | + |
|
| 95 | + |
|
| 96 | + |
|
| 87 | 97 | ## demo code |
| 88 | 98 | |
| 89 | 99 | - http://electrodragon.com/?p=1134 |
Network-dat/location-dat/location-dat.md
| ... | ... | @@ -16,20 +16,19 @@ |
| 16 | 16 | |
| 17 | 17 | ## boards |
| 18 | 18 | |
| 19 | -- [[NGS1063-dat]] |
|
| 20 | 19 | |
| 21 | -- [[NGS1100-dat]] - [[NGS1101-dat]] - [[NGS1102-dat]] - [[NGS1103-dat]] |
|
| 20 | +- [[quectel-dat]] - [[quectel-gps-dat]] - [[quectel-GNSS-AT-dat]] - [[L86-dat]] - [[L76-dat]] - [[ED20-dat]] - [[BC20-dat]] - [[NGS1100-dat]] - [[NGS1101-dat]] - [[NGS1102-dat]] - [[NGS1103-dat]] |
|
| 22 | 21 | |
| 23 | - |
|
| 24 | -## companies |
|
| 22 | +- [[ATGM336H-dat]] |
|
| 25 | 23 | |
| 26 | 24 | - [[u-blox-dat]] - [[NEO-7-dat]] - [[NEO-6-dat]] |
| 27 | 25 | |
| 28 | -- [[quectel-dat]] - [[quectel-gps-dat]] - [[quectel-GNSS-AT-dat]] - [[L86-dat]] - [[L76-dat]] - [[ED20-dat]] - [[EC20-dat]] - [[BC20-dat]] |
|
| 26 | +### composite function board |
|
| 29 | 27 | |
| 30 | -- [[simcom-dat]] - [[A7670-dat]] - [[SIM7080-dat]] - [[SIM7000-dat]] - [[SIM868-dat]] - [[SIM808-dat]] |
|
| 31 | 28 | |
| 32 | -- [[ATGM336H-dat]] |
|
| 29 | +- [[simcom-dat]] - [[A7670-dat]] - [[SIM7080-dat]] - [[SIM7000-dat]] - [[SIM868-dat]] - [[SIM808-dat]] - [[SIM7600-dat]] |
|
| 30 | + |
|
| 31 | +- [[NGS1063-dat]] - [[EC20-dat]] |
|
| 33 | 32 | |
| 34 | 33 | |
| 35 | 34 |
SDK-dat/LGT-SDK-DAT/LGT8F328-SDK-DAT/2026-05-01-18-09-09.png
| ... | ... | Binary files /dev/null and b/SDK-dat/LGT-SDK-DAT/LGT8F328-SDK-DAT/2026-05-01-18-09-09.png differ |
SDK-dat/LGT-SDK-DAT/LGT8F328-SDK-DAT/LGT8F328-SDK-DAT.md
| ... | ... | @@ -144,9 +144,52 @@ for [[DVA1009-dat]] |
| 144 | 144 | firmware - SSOP20 - C:\Users\Administrator\AppData\Local\Arduino15\packages\lgt8fx\hardware\avr\2.0.7\bootloaders\lgt8fx8ps20\optiboot_lgt8f328ps20.hex |
| 145 | 145 | |
| 146 | 146 | |
| 147 | + |
|
| 148 | + |
|
| 149 | + |
|
| 150 | +#### pin map |
|
| 151 | + |
|
| 152 | +Interfaces |
|
| 153 | + |
|
| 154 | +- [x] UART0: ~~RX = D0 = PD0, TX = D1 = PD1~~ |
|
| 155 | +- [] SPI: SS = D9 = PB1 on SSOP20, MOSI = D11 = PB3, MISO = D12 = PB4, SCK = D13 = PB5 |
|
| 156 | +- [] I2C / Wire: SDA = D18 = PC4 = A4, SCL = D19 = PC5 = A5 |
|
| 157 | +- [] External interrupts: INT0 = D2 = PD2, INT1 = D3 = PD3 |
|
| 158 | +- [] PWM pins: D3, D5, D6, D9, D10, D11 |
|
| 159 | +- [] Built-in LED: D13 = PB5 |
|
| 160 | + |
|
| 161 | +The key definitions are in lgtx8p.h:615, where: |
|
| 162 | + |
|
| 163 | + RXD5 is bit 0 |
|
| 164 | + TXD6 is bit 1 |
|
| 165 | + PMXCR is the port-mux control register |
|
| 166 | + |
|
| 167 | +Then the SSOP20 startup path in main.cpp:93 does: |
|
| 168 | + |
|
| 169 | + GPIOR0 = PMXCR | 0x07; |
|
| 170 | + PMXCR = 0x80; |
|
| 171 | + PMXCR = GPIOR0; |
|
| 172 | + |
|
| 173 | +0x07 sets: |
|
| 174 | + |
|
| 175 | + bit 0 = RXD5 |
|
| 176 | + bit 1 = TXD6 |
|
| 177 | + bit 2 = SSB1 |
|
| 178 | + |
|
| 179 | +So for this board, after startup: |
|
| 180 | + |
|
| 181 | + UART0 RX is on PD5 = Arduino D5 |
|
| 182 | + UART0 TX is on PD6 = Arduino D6 |
|
| 183 | + |
|
| 184 | + |
|
| 147 | 185 | |
| 148 | 186 | ### nullab board |
| 149 | 187 | |
| 188 | +- problem laoding in arduino IDE V2 |
|
| 189 | + |
|
| 190 | +https://github.com/nulllaborg/arduino_nulllab |
|
| 191 | + |
|
| 192 | + |
|
| 150 | 193 | Nulllab_AVR_Compatible_Boards by nullab.org |
| 151 | 194 | |
| 152 | 195 | - most compatible, please use this one |
| ... | ... | @@ -167,6 +210,7 @@ compatible boards:[email protected]: testing local archive integrity: testing archiveche |
| 167 | 210 | ### old 1 |
| 168 | 211 | |
| 169 | 212 | https://github.com/LGTMCU/Larduino_HSP |
| 213 | + |
|
| 170 | 214 | Installation: |
| 171 | 215 | |
| 172 | 216 | - Unzip master.zip |
SDK-dat/arduino-dat/arduino-lib-dat/radiohead-dat/radiohead-dat.md
| ... | ... | @@ -3,16 +3,31 @@ |
| 3 | 3 | |
| 4 | 4 | https://github.com/epsilonrt/RadioHead |
| 5 | 5 | |
| 6 | + |
|
| 7 | + |
|
| 8 | + |
|
| 6 | 9 | RH_RF95 rf95 (27, 6); // CS and DIO0 |
| 7 | 10 | |
| 8 | - // CE 16 CS 15 |
|
| 11 | + |
|
| 12 | + |
|
| 13 | + |
|
| 14 | +## nrf24_client |
|
| 15 | + |
|
| 16 | + |
|
| 17 | +// CE 16 CS 15 |
|
| 18 | + |
|
| 9 | 19 | RH_NRF24 nrf24(16, 15); |
| 10 | 20 | |
| 11 | - // DVA1002 |
|
| 21 | +// DVA1002 (CE, CS) |
|
| 22 | + |
|
| 12 | 23 | RH_NRF24 nrf24(7, 10); |
| 13 | 24 | |
| 25 | +// DVA1014 |
|
| 26 | + |
|
| 27 | + RH_NRF24 nrf24(9, 7); |
|
| 28 | + |
|
| 14 | 29 | |
| 15 | -nrf24_client |
|
| 30 | +output |
|
| 16 | 31 | |
| 17 | 32 | init OK |
| 18 | 33 |