Board-dat/DVA/DVA9999-dat/DVA9999-dat.md
... ...
@@ -0,0 +1,42 @@
1
+
2
+# DVA9999-dat
3
+
4
+
5
+## Info
6
+
7
+product url -
8
+
9
+### Board Map, Dimension, Pins, chip info, Use Guide, Setup Jumper, etc.
10
+
11
+- [[arduino-dat]]
12
+
13
+- [[LGT8F328-DAT]] - [[LGT8F328-SSOP20-dat]] - [[LGT-dat]]
14
+
15
+- [[]]
16
+
17
+
18
+
19
+- [[EYGC4-dat]] pins
20
+
21
+- D7_RX
22
+- D9_TX
23
+- D2_INT
24
+- BT_STATUS - BT6
25
+- D11_WAKEUP
26
+- GPIO0
27
+- GPIO1
28
+
29
+
30
+
31
+
32
+## Applications, category, tags, etc.
33
+
34
+## Demo Code and Video
35
+
36
+## ref
37
+
38
+- [[]]
39
+
40
+- legacy wiki page
41
+
42
+
Chip-cn-dat/EY-dat/EYGC4-dat/2026-02-07-17-33-34.png
... ...
Binary files /dev/null and b/Chip-cn-dat/EY-dat/EYGC4-dat/2026-02-07-17-33-34.png differ
Chip-cn-dat/EY-dat/EYGC4-dat/EYGC4-dat.md
... ...
@@ -0,0 +1,290 @@
1
+# EYGC4-dat
2
+
3
+EYGC40 is a low-power Bluetooth (BLE) module based on a cost-effective System-on-Chip (SoC). It supports Bluetooth 4.0.
4
+
5
+## Overview
6
+
7
+- Voltage range: 2.0 V to 3.6 V (typical 3.3 V)
8
+- Frequency range: 2402 MHz to 2480 MHz (programmable)
9
+- Modulation: GFSK
10
+- Data rate: 1 Mbps
11
+- Operating temperature: -30 °C to 85 °C
12
+- Dimensions: 18.8 mm × 15.1 mm
13
+- Antenna impedance: 50 Ω
14
+- Antenna: PCB antenna (on-board)
15
+
16
+## Applications
17
+
18
+- 2.4 GHz low-power Bluetooth systems
19
+- Mobile phone accessories
20
+- Sports and leisure equipment
21
+- Consumer electronics
22
+- Human-computer interaction devices (keyboard, mouse, remote)
23
+- USB transceiver dongles
24
+- Healthcare and medical devices
25
+
26
+## Electrical and RF Specifications
27
+
28
+| Parameter | Value |
29
+|---|---:|
30
+| Supply voltage | 2.0 V – 3.6 V (typical 3.3 V) |
31
+| Operating frequency | 2402 MHz – 2480 MHz (programmable) |
32
+| Frequency accuracy | ±20 ppm |
33
+| Modulation | GFSK |
34
+| Data rate | 1 Mbps |
35
+| Max TX power | 7.9 dBm (programmable) |
36
+| RX sensitivity | -94 dBm |
37
+| Sleep current | 8 μA |
38
+| RX current | 12 mA |
39
+| TX current | 20 mA (at 7.9 dBm) |
40
+| Typical range | 100 m (open space) |
41
+| Operating temperature | -30 °C – 85 °C |
42
+| Size | 18.8 mm × 15.1 mm |
43
+
44
+## Pin Definitions
45
+
46
+| No. | Pin | Type | Description |
47
+|---:|---|---|---|
48
+| 1 | VCC | Power | Power input, 2.0 V – 3.6 V (typ. 3.3 V) |
49
+| 2 | GND | Ground | Connect to GND |
50
+| 3 | UART_RX | Digital I/O | UART receive |
51
+| 4 | UART_TX | Digital I/O | UART transmit |
52
+| 5 | OUTPUT_IND | Digital I/O | Data output indicator: outputs a 460 μs low pulse before UART data is sent |
53
+| 6 | CONN_IND | Digital I/O | Connection status indicator: HIGH after reset, LOW when a BLE connection is established |
54
+| 7 | WAKEUP | Digital I/O | WAKE pin: in low-power mode pull this low to enable UART communication (see note) |
55
+| 8 | GPIO0 | Digital I/O | Configurable as input or output |
56
+| 9 | GPIO1 | Digital I/O | Configurable as input or output |
57
+| 10 | GND | Ground | Connect to GND |
58
+| 11 | GND | Ground | Connect to GND |
59
+
60
+## Schematic
61
+
62
+![](2026-02-07-17-33-34.png)
63
+
64
+
65
+
66
+
67
+
68
+
69
+## Indicator & Wake Behavior
70
+
71
+- After reset, the module's `CONN_IND` pin outputs a HIGH level. When a Bluetooth connection is established, `CONN_IND` goes LOW.
72
+- After a connection is established, when the module receives a BLE data packet, `OUTPUT_IND` will first output a 460 μs low pulse to notify the external MCU that data will be sent, and then the module transmits the data over UART.
73
+- In low-power mode the external MCU must pull `WAKEUP` low for at least 10 μs to wake the BLE module before sending UART data.
74
+
75
+
76
+## AT Commands
77
+
78
+Notes:
79
+- All commands and responses use ASCII.
80
+- Each command must end with <CR><LF> (carriage return + line feed) unless otherwise noted.
81
+- If a command is accepted the module responds with the appropriate reply (OK or the requested data); otherwise it responds with: ERROR<CR><LF>.
82
+
83
+1) Mode switch (command/transparent modes)
84
+
85
+- Default after power-up: transparent (data) mode. To enter command mode after power-up, send: AT+MODE=0<CR><LF>.
86
+
87
+Examples:
88
+- Query current mode: Send: AT+MODE<CR>
89
+ - Response: +MODE:<para><CR><LF>
90
+ - para = 0 (command mode) or 1 (transparent/data mode)
91
+- Query supported parameters: Send: AT+MODE?<CR>
92
+ - Response: +MODE:<para><CR><LF>
93
+ - para = 0,1
94
+- Set mode: Send: AT+MODE=<para><CR>
95
+ - para = 0 or 1
96
+ - OK<CR><LF> on success; ERROR<CR><LF> on failure
97
+
98
+2) Advertising (scan) enable
99
+
100
+- Default: advertising enabled.
101
+
102
+Examples:
103
+- Query current advertising state: Send: AT+SCAN<CR>
104
+ - Response: +SCAN:<para><CR><LF>
105
+ - para = 0 (advertising disabled) or 1 (advertising enabled)
106
+- Query supported parameters: Send: AT+SCAN?<CR>
107
+ - Response: +SCAN:0,1<CR><LF>
108
+ - (0 = disable advertising; 1 = enable advertising). This setting only applies when the module is not connected.
109
+- Set advertising state: Send: AT+SCAN=<para><CR>
110
+ - para = 0 or 1
111
+ - OK<CR><LF> on success; ERROR<CR><LF> on failure
112
+
113
+3) Connection interval (link interval)
114
+
115
+- Supported range: 10 ms to 2000 ms, in 10 ms increments. Changes take effect immediately.
116
+
117
+Examples:
118
+- Query current interval: Send: AT+LINKINV<CR>
119
+ - Response: +LINKINV:<para><CR><LF> (current interval in ms)
120
+- Query supported parameters: Send: AT+LINKINV?<CR>
121
+ - Response: +LINKINV:<para><CR><LF>
122
+- Set interval: Send: AT+LINKINV=<para><CR>
123
+ - para = multiple of 10 (ms)
124
+ - OK<CR><LF> on success; ERROR<CR><LF> on failure
125
+
126
+4) UART baud rate
127
+
128
+- Default: 9600, 8N1.
129
+- Supported baud rates: 9600, 19200, 38400, 57600, 115200.
130
+
131
+Examples:
132
+- Query current baud: Send: AT+UART<CR>
133
+ - Response: +UART:<para><CR><LF> (current baud)
134
+- Query supported rates: Send: AT+UART?<CR>
135
+ - Response: +UART:<para><CR><LF>
136
+- Set baud: Send: AT+UART=<para><CR>
137
+ - para = 9600,19200,38400,57600,115200
138
+ - OK<CR><LF> on success; ERROR<CR><LF> on failure
139
+
140
+5) TX power configuration
141
+
142
+- Ten levels available:
143
+
144
+| Level | TX Power (dBm) |
145
+|---:|---:|
146
+| 0 | -19.5 dBm |
147
+| 1 | -16.0 dBm |
148
+| 2 | -13.3 dBm |
149
+| 3 | -9.6 dBm |
150
+| 4 | -5.0 dBm |
151
+| 5 | -3.1 dBm |
152
+| 6 | 0.0 dBm |
153
+| 7 | 3.3 dBm |
154
+| 8 | 6.3 dBm |
155
+| 9 | 7.9 dBm (default) |
156
+
157
+Examples:
158
+- Query current power: Send: AT+RFPW<CR>
159
+ - Response: +RFPW:<para><CR><LF>
160
+- Query supported values: Send: AT+RFPW?<CR>
161
+ - Response: +RFPW:<para><CR><LF>
162
+- Set power level: Send: AT+RFPW=<para><CR>
163
+ - para = 0..9
164
+ - OK<CR><LF> on success; ERROR<CR><LF> on failure
165
+
166
+6) Module name
167
+
168
+- Default name: GCBT40. Maximum length: 18 bytes. Changes take effect after reboot.
169
+
170
+Examples:
171
+- Query name: Send: AT+NAME<CR>
172
+ - Response: +NAME:<para><CR><LF>
173
+- Set name: Send: AT+NAME=<para><CR>
174
+ - para = new name (up to 18 bytes)
175
+ - OK<CR><LF> on success; ERROR<CR><LF> on failure
176
+
177
+7) Advertising interval
178
+
179
+- Supported values: 100, 200, 500, 1000, 2000 (ms). Range: 100 ms to 2000 ms. Changes while advertising take effect immediately.
180
+
181
+Examples:
182
+- Query current advertising interval: Send: AT+ADVT<CR>
183
+ - Response: +ADVT:<para><CR><LF>
184
+- Query supported values: Send: AT+ADVT?<CR>
185
+ - Response: +ADVT:<para><CR><LF>
186
+- Set advertising interval: Send: AT+ADVT=<para><CR>
187
+ - para = 100,200,500,1000,2000
188
+ - OK<CR><LF> on success; ERROR<CR><LF> on failure
189
+
190
+8) Query MAC address
191
+
192
+- Send: AT+GMAC<CR>
193
+ - Response: +GMAC:<para><CR><LF> (MAC address)
194
+
195
+9) Low-power (standby) modes
196
+
197
+- Default: normal mode.
198
+
199
+Examples:
200
+- Query standby mode: Send: AT+STBY<CR>
201
+ - Response: +MODE:<para><CR><LF>
202
+ - 0 = normal mode
203
+ - 1 = low-power mode
204
+- Query supported parameters: Send: AT+STBY?<CR>
205
+ - Response: +MODE:<para><CR><LF> (para = 0,1,2)
206
+- Set standby mode: Send: AT+STBY=<para><CR>
207
+ - para = 0,1,2
208
+ - Mode 2 = deep sleep: after wake the module auto-resets and mode returns to the previous 0 or 1
209
+ - OK<CR><LF> on success; ERROR<CR><LF> on failure
210
+
211
+10) RF test (single-carrier transmit)
212
+
213
+- Send: AT+TEST=P,C<CR>
214
+ - P = TX power level (0..9)
215
+ - C = channel index; frequency = 2402 + C*2 MHz
216
+ - OK<CR><LF> on success; ERROR<CR><LF> on failure
217
+
218
+11) Restore factory defaults
219
+
220
+- Send: AT+DEFA<CR>
221
+ - Response: OK<CR><LF>
222
+ - The module will automatically reboot after this command
223
+
224
+
225
+## BLE Services and Characteristics (Commands)
226
+
227
+Below is a concise, developer-friendly summary of the module's BLE services and characteristics. All UUIDs are 16-bit.
228
+
229
+### 1. Data Services (Service UUID: 0xFF10)
230
+
231
+| Characteristic | UUID | Properties | Length | Function |
232
+|---|---:|---|---:|---|
233
+| Bluetooth data channel | 0xFF11 | Write | 20 bytes | Data written here is forwarded to the UART output |
234
+| UART data channel | 0xFF12 | Notify | 20 bytes | Data from UART is sent to the connected mobile device via notifications |
235
+
236
+### 2. Configuration Service (Service UUID: 0xFF20)
237
+
238
+| Characteristic | UUID | Properties | Function / Notes |
239
+|---|---:|---|---|
240
+| Connection interval config | 0xFF21 | Write | Configure connection interval; supported in multiples of 10 ms. Write the corresponding value to set. On success the status channel returns OK; otherwise ERROR. Query: send '=' to read current config (reply via status channel). Send '?' to query supported values. |
241
+| Rename module | 0xFF22 | Write | Set module name (max 18 characters). Reboot required to apply. |
242
+| UART baud rate config | 0xFF23 | Write | Supported baud rates: 9600, 19200, 38400, 57600, 115200. Query: send '=' to read current value; send '?' to read supported values. |
243
+| TX power config | 0xFF24 | Write | Power levels 0–9 (see table below). Default is level 9 (7.9 dBm). Query: '=' current, '?' supported. |
244
+| Low-power mode enable | 0xFF25 | Write | 0 = normal mode, 1 = low-power mode. Query supported values with '?'. |
245
+| Advertising/connection interval | 0xFF26 | Write | Supports multiples of 10 ms. Write value to set. Query: '=' current, '?' supported. |
246
+| Status reply (operation result) | 0xFF2F | Notify | Returns status for configuration operations. Query replies return the requested data; config operations return OK or ERROR. |
247
+
248
+TX power levels mapping (level -> dBm):
249
+
250
+| Level | TX Power (dBm) |
251
+|---:|---:|
252
+| 0 | -19.5 dBm |
253
+| 1 | -16.0 dBm |
254
+| 2 | -13.3 dBm |
255
+| 3 | -9.6 dBm |
256
+| 4 | -5.0 dBm |
257
+| 5 | -3.1 dBm |
258
+| 6 | 0.0 dBm |
259
+| 7 | 3.3 dBm |
260
+| 8 | 6.3 dBm |
261
+| 9 | 7.9 dBm (default) |
262
+
263
+### 3. GPIO Control Service (Service UUID: 0xFF50)
264
+
265
+| Characteristic | UUID | Properties | Function |
266
+|---|---:|---|---|
267
+| GPIO0 output control | 0xFF51 | Write | Write 0 or 1 to set GPIO0 output |
268
+| GPIO0 mode control | 0xFF52 | Write | 0 = input mode, 1 = output mode |
269
+| GPIO0 status | 0xFF53 | Read | Read GPIO0 state: 0 = low, 1 = high |
270
+| GPIO1 output control | 0xFF54 | Write | Write 0 or 1 to set GPIO1 output |
271
+| GPIO1 mode control | 0xFF55 | Write | 0 = input mode, 1 = output mode |
272
+| GPIO1 status | 0xFF56 | Read | Read GPIO1 state: 0 = low, 1 = high |
273
+| Data storage | 0xFF58 | Read/Write | Read or write up to 18 bytes for persistent storage (retained after power loss) |
274
+| GPIO status notification | 0xFF5F | Notify | Notifies external device of GPIO status changes |
275
+
276
+## 4. Device Information Service (Service UUID: 0x180A)
277
+
278
+| Characteristic | UUID | Properties | Length | Default / Notes |
279
+|---|---:|---|---:|---|
280
+| Module MAC address | 0x2A23 | Read | 8 bytes | Default: 0000xxxxxxxxxxxx (hex); physical address of the module |
281
+| Module model | 0x2A24 | Read | 15 bytes | Default: EYGC40 |
282
+| Software version | 0x2A28 | Read | 4 bytes | Software/firmware version |
283
+| Manufacturer | 0x2A29 | Read | 10 bytes | Default: "BLE Module" |
284
+
285
+
286
+## Notes and Usage Tips
287
+
288
+- Use the `OUTPUT_IND` pulse to synchronize reads from UART if the host MCU sleeps or polls.
289
+- Before sending UART data while the module is in low-power mode, pull `WAKEUP` low for at least 10 μs.
290
+- After changing configuration values that require a reboot (for example the module name), cycle power or issue a software reboot to apply changes.
... ...
\ No newline at end of file
Chip-cn-dat/LGT-dat/LGT8F328-DAT/2025-06-25-14-39-49.png
... ...
Binary files a/Chip-cn-dat/LGT-dat/LGT8F328-DAT/2025-06-25-14-39-49.png and /dev/null differ
Chip-cn-dat/LGT-dat/LGT8F328-DAT/2025-06-25-14-42-46.png
... ...
Binary files a/Chip-cn-dat/LGT-dat/LGT8F328-DAT/2025-06-25-14-42-46.png and /dev/null differ
Chip-cn-dat/LGT-dat/LGT8F328-DAT/LGT8F328-DAT.md
... ...
@@ -3,6 +3,8 @@
3 3
- [legacy wiki page](https://www.electrodragon.com/w/Logicgreen)
4 4
5 5
6
+- [[LGT8F328-DAT]] - [[LGT8F328-SSOP20-dat]] - [[LGT8F328-SDK-DAT]]
7
+
6 8
## comparison to arduino atmega328
7 9
8 10
| pin | LGT | arduino | note |
... ...
@@ -21,17 +23,14 @@ common pin
21 23
## LGT8F328-QFP MIN SYS
22 24
23 25
![](2025-06-25-14-53-56.png)
24
-## LGT8F328P-SSOP20
25 26
26
-![](2025-06-25-14-39-49.png)
27 27
28
-[[arduino-dat]] compatible design
29 28
30
-![](2025-06-25-14-42-46.png)
29
+
31 30
32 31
## periperhals
33 32
34
-- [[I2C-dat]] - [[SPI-dat]] - [[UART-dat]] - [[GPIO-dat]] - [[PWM-dat]] - [[ADC-dat]] - [[DAC-dat]]
33
+![LGT8F328-SSOP20-dat/2025-06-25-14-42-46.png](LGT8F328-SSOP20-dat/2025-06-25-14-42-46.png)- [[UART-dat]] - [[GPIO-dat]] - [[PWM-dat]] - [[ADC-dat]] - [[DAC-dat]]
35 34
36 35
37 36
## LGT8F88A-QFP32 MIN System
Chip-cn-dat/LGT-dat/LGT8F328-DAT/LGT8F328-SDK-DAT
... ...
@@ -1,56 +0,0 @@
1
-
2
-# LGT8F328-SDK-DAT
3
-
4
-
5
-
6
-## Sketch uploads By Arduino IDE
7
-- Pre-loaded bootloder. Just select corresponding board to upload sketch, refer to bootloader sketch below
8
-- Programming pin port same as FTDI [[FT232-dat]], same as arduino pro mini
9
-- A backup method for without DTR, just hold down RESET button when "compiling", then release when "uploading".
10
-
11
-
12
-
13
-
14
-
15
-
16
-## bootloader
17
-
18
-### nullab board
19
-
20
-- most compatible, please use this one
21
-- Nullab Nano/ Maker Nano
22
-- install by this - https://nulllab.coding.net/p/lgt/d/nulllab_lgt_arduino/git/raw/master/package_nulllab_boards_index_zh.json
23
-
24
-
25
-### old 1
26
-
27
-https://github.com/LGTMCU/Larduino_HSP
28
-Installation:
29
-
30
-- Unzip master.zip
31
-- Copy the [hardware] directory to Arduino's sketchbook directory (see below to find out where it normally resides)
32
-- Restart Arduino, you will see new board from [Tools]->[Board] menu.
33
-
34
-### old 2 bootloader
35
-
36
-- Better not used for experiment, your often daily programming learning or testing, although no problem, but if unexpected error cause the board bricked, you need special programmer to re-programme the bootloader.
37
-- Good to migrate to a low cost board instead of original expensive board.
38
-- Same way to upload sketch as pro mini, notice to choose the board
39
- - 8F328P - original IC bootloader, please use this one
40
- - 8F328D - compatible, can also upload code, but don't know if any unknow error.
41
- - Pro mini - also can upload, but active very wired
42
-
43
-
44
-## Chip Note
45
-
46
-- crystal is not soldered, it can work without crystal, unlike [[atmega328]]
47
-
48
-## Programmer
49
-
50
-- arduino UNO can pretend as a chip programmer
51
-- please contact us if you need to order original programmer
52
-
53
-
54
-## ref
55
-
56
-- [[LGT8F328-dat]] - [[LGT-dat]]
... ...
\ No newline at end of file
Chip-cn-dat/LGT-dat/LGT8F328-DAT/LGT8F328-SDK-DAT.md
... ...
@@ -0,0 +1,56 @@
1
+
2
+# LGT8F328-SDK-DAT
3
+
4
+
5
+
6
+## Sketch uploads By Arduino IDE
7
+- Pre-loaded bootloder. Just select corresponding board to upload sketch, refer to bootloader sketch below
8
+- Programming pin port same as FTDI [[FT232-dat]], same as arduino pro mini
9
+- A backup method for without DTR, just hold down RESET button when "compiling", then release when "uploading".
10
+
11
+
12
+
13
+
14
+
15
+
16
+## bootloader
17
+
18
+### nullab board
19
+
20
+- most compatible, please use this one
21
+- Nullab Nano/ Maker Nano
22
+- install by this - https://nulllab.coding.net/p/lgt/d/nulllab_lgt_arduino/git/raw/master/package_nulllab_boards_index_zh.json
23
+
24
+
25
+### old 1
26
+
27
+https://github.com/LGTMCU/Larduino_HSP
28
+Installation:
29
+
30
+- Unzip master.zip
31
+- Copy the [hardware] directory to Arduino's sketchbook directory (see below to find out where it normally resides)
32
+- Restart Arduino, you will see new board from [Tools]->[Board] menu.
33
+
34
+### old 2 bootloader
35
+
36
+- Better not used for experiment, your often daily programming learning or testing, although no problem, but if unexpected error cause the board bricked, you need special programmer to re-programme the bootloader.
37
+- Good to migrate to a low cost board instead of original expensive board.
38
+- Same way to upload sketch as pro mini, notice to choose the board
39
+ - 8F328P - original IC bootloader, please use this one
40
+ - 8F328D - compatible, can also upload code, but don't know if any unknow error.
41
+ - Pro mini - also can upload, but active very wired
42
+
43
+
44
+## Chip Note
45
+
46
+- crystal is not soldered, it can work without crystal, unlike [[atmega328]]
47
+
48
+## Programmer
49
+
50
+- arduino UNO can pretend as a chip programmer
51
+- please contact us if you need to order original programmer
52
+
53
+
54
+## ref
55
+
56
+- [[LGT8F328-dat]] - [[LGT-dat]]
... ...
\ No newline at end of file
Chip-cn-dat/LGT-dat/LGT8F328-DAT/LGT8F328-SSOP20-dat/2025-06-25-14-39-49.png
... ...
Binary files /dev/null and b/Chip-cn-dat/LGT-dat/LGT8F328-DAT/LGT8F328-SSOP20-dat/2025-06-25-14-39-49.png differ
Chip-cn-dat/LGT-dat/LGT8F328-DAT/LGT8F328-SSOP20-dat/2025-06-25-14-42-46.png
... ...
Binary files /dev/null and b/Chip-cn-dat/LGT-dat/LGT8F328-DAT/LGT8F328-SSOP20-dat/2025-06-25-14-42-46.png differ
Chip-cn-dat/LGT-dat/LGT8F328-DAT/LGT8F328-SSOP20-dat/LGT8F328-SSOP20-dat.md
... ...
@@ -0,0 +1,26 @@
1
+
2
+# LGT8F328-SSOP20-dat
3
+
4
+
5
+- [[LGT8F328-DAT]] - [[LGT8F328-SSOP20-dat]] - [[LGT-dat]]
6
+
7
+- [[]]
8
+
9
+
10
+## LGT8F328P-SSOP20
11
+
12
+![](2025-06-25-14-39-49.png)
13
+
14
+
15
+
16
+
17
+[[arduino-dat]] compatible design
18
+
19
+![](2025-06-25-14-42-46.png)
20
+
21
+
22
+
23
+
24
+## ref
25
+
26
+- [[LGT-dat]]
... ...
\ No newline at end of file
Chip-cn-dat/LGT-dat/lgt-dat.md
... ...
@@ -5,7 +5,12 @@
5 5
6 6
![](2025-06-25-14-39-24.png)
7 7
8
-- [[LGT8F328-dat]]
8
+
9
+
10
+
11
+
12
+
13
+- [[LGT8F328-dat]] - [[LGT-dat]]
9 14
10 15
11 16
## repo