c361795f91481b4be1fdced45e67c9195675b0fd
Board-dat/NBL/NBL1064-dat/NBL1064-dat.md
| ... | ... | @@ -9,13 +9,17 @@ |
| 9 | 9 | |
| 10 | 10 | ### Board Map, Dimension, Pins, chip info, Use Guide, Setup Jumper, etc. |
| 11 | 11 | |
| 12 | +- [[BT-dual-mode-dat]] - [[bluetooth-dat]] - [[BT-SPP-dat]] |
|
| 13 | + |
|
| 12 | 14 |  |
| 13 | 15 | |
| 14 | -on board chip [[STM8-dat]] |
|
| 15 | 16 | |
| 16 | -main bluetooth chip: BC417143B1 - [[BC04-dat]] - https://w.electrodragon.com/w/Category:BC-04 - [[NBL1022-dat]] |
|
| 17 | +on board chip [[STM8-dat]] - [[MCU-dat]] |
|
| 18 | + |
|
| 19 | + |
|
| 20 | + |
|
| 17 | 21 | |
| 18 | -SCH |
|
| 22 | +#### SCH |
|
| 19 | 23 | |
| 20 | 24 |  |
| 21 | 25 |
Chip-cn-dat/EY-dat/EY-08-dat/EY-08-dat.md
| ... | ... | @@ -0,0 +1,11 @@ |
| 1 | +# JDY-08-dat |
|
| 2 | + |
|
| 3 | +- [[NBL1060-dat]] - [[CC2541-dat]] |
|
| 4 | + |
|
| 5 | + |
|
| 6 | + |
|
| 7 | +## ref |
|
| 8 | + |
|
| 9 | +- [[EY-dat]] |
|
| 10 | + |
|
| 11 | + |
Chip-cn-dat/EY-dat/EY-25M-dat/2024-05-15-18-59-17.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/EY-dat/EY-25M-dat/2024-05-15-18-59-17.png differ |
Chip-cn-dat/EY-dat/EY-25M-dat/2024-06-07-15-11-10.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/EY-dat/EY-25M-dat/2024-06-07-15-11-10.png differ |
Chip-cn-dat/EY-dat/EY-25M-dat/EY-25M Super Bluetooth Module Manual.pdf
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/EY-dat/EY-25M-dat/EY-25M Super Bluetooth Module Manual.pdf differ |
Chip-cn-dat/EY-dat/EY-25M-dat/EY-25M-dat.md
| ... | ... | @@ -0,0 +1,215 @@ |
| 1 | + |
|
| 2 | +# EY-25M-dat |
|
| 3 | + |
|
| 4 | +[legacy wiki page](https://www.electrodragon.com/w/EY-25M) |
|
| 5 | + |
|
| 6 | + |
|
| 7 | +- 电源(1.8-3.6V) |
|
| 8 | +- baudrate default 9600bps |
|
| 9 | + |
|
| 10 | + |
|
| 11 | +## boards |
|
| 12 | + |
|
| 13 | + |
|
| 14 | + |
|
| 15 | + |
|
| 16 | +- [[NBL1101-dat]] - [[NBL1107-dat]] |
|
| 17 | + |
|
| 18 | +## Pins |
|
| 19 | + |
|
| 20 | +| Pin | Definition | Function | Description | |
|
| 21 | +| --- | ---------- | ------------------------ | ------------------------------------------------------------- | |
|
| 22 | +| 1 | TXD | Serial port | Serial output, the level is TTL level | |
|
| 23 | +| 2 | RXD | Serial port | Serial input, the level is TTL level | |
|
| 24 | +| 3 | NULL | Null | - | |
|
| 25 | +| 4 | NULL | Null | - | |
|
| 26 | +| 5 | KEY5 | Input 5 | inputs* | |
|
| 27 | +| 6 | KEY4 | Input 4 | inputs* | |
|
| 28 | +| 7 | KEY3 | Input 3 | inputs* | |
|
| 29 | +| 8 | KEY2 | Input 2 | inputs* | |
|
| 30 | +| 9 | NULL | Null | - | |
|
| 31 | +| 10 | KEY1 | Input 1 | inputs* | |
|
| 32 | +| 11 | RESET | Reset | Low level reset, high level working (high level if suspended) | |
|
| 33 | +| 12 | VCC | Power Supply | Supply(1.8-3.6V) | |
|
| 34 | +| 13 | GND | GND | Power ground | |
|
| 35 | +| 14 | PWRC | Sleep wake pin | PWRC descriptions* | |
|
| 36 | +| 15 | ALED | Broadcast LED indication | LED_status* | |
|
| 37 | +| 16 | STAT | Connection status | status* | |
|
| 38 | +| 17 | OUTPUT5 | Output 5 | outputs* | |
|
| 39 | +| 18 | NULL | Null | - | |
|
| 40 | +| 19 | NULL | Null | - | |
|
| 41 | +| 20 | NULL | Null | - | |
|
| 42 | +| 21 | NULL | Null | - | |
|
| 43 | +| 22 | OUTPUT1 | Output 1 | outputs* | |
|
| 44 | +| 23 | OUTPUT2 | Output 2 | outputs* | |
|
| 45 | +| 24 | OUTPUT3 | Output 3 | outputs* | |
|
| 46 | +| 25 | OUTPUT4 | Output 4 | outputs* | |
|
| 47 | + |
|
| 48 | +* outputs = Default low level, support serial instruction control and input KEY pin control in network state |
|
| 49 | +* status = In non mesh mode, low level if not connected, high level after connection In mesh mode (output high level if connect to network successfully, if not, output low level) |
|
| 50 | +* inputs = inputs |
|
| 51 | +* PWRC descriptions = Support PWRC pin wake-up in deep sleep state, and AT instruction sending is supported when the connection status is pulled down |
|
| 52 | +* LED_status = In non mesh mode (flash if not connected, light on after connection) |
|
| 53 | + |
|
| 54 | +## AT commands |
|
| 55 | + |
|
| 56 | +| Num. | CMD | Funcs | Default | |
|
| 57 | +| ---- | ------------ | ----------------------------------- | ---------------- | |
|
| 58 | +| 1 | AT | 测试指令 | - | |
|
| 59 | +| 2 | AT+RESET | 复位 | - | |
|
| 60 | +| 3 | AT+VERSION | 固件版本 | - | |
|
| 61 | +| 4 | AT+LADDR | 读 MAC 地址 | - | |
|
| 62 | +| 5 | AT+NAME | 广播名读写 | EY-25M | |
|
| 63 | +| 6 | AT+PIN | 连接密码设置 | 123456 | |
|
| 64 | +| 7 | AT+TYPE | 是否打开密码连接方式 | 0 | |
|
| 65 | +| 8 | AT+BAUD | 波特率 | 9600 | |
|
| 66 | +| 9 | AT+DISC | 断开连接 | - | |
|
| 67 | +| 10 | AT+STAT | 读取连接状态 | 0 | |
|
| 68 | +| 11 | AT+STARTEN | 开机睡眠设置 | 1 | |
|
| 69 | +| 12 | AT+ADVIN | 广播间隔 | 1 | |
|
| 70 | +| 13 | AT+POWR | 发射功率 | 3 | |
|
| 71 | +| 14 | AT+ROLE | 工作模式设置 | 0 | |
|
| 72 | +| 15 | AT+SLEEP | 睡眠指令 | - | |
|
| 73 | +| 16 | AT+DEFAULT | 恢复出厂配置 | - | |
|
| 74 | +| 17 | AT+INQ | 主机搜索从机广播 | - | |
|
| 75 | +| 18 | AT+STOP | 停止广播 | - | |
|
| 76 | +| 19 | AT+CONN | 连接扫描列表 ID 号 | - | |
|
| 77 | +| 20 | AT+CONA | 指令 MAC 地址连接 | - | |
|
| 78 | +| 21 | AT+BAND | 绑定从机 MAC 地址 | - | |
|
| 79 | +| 22 | AT+CLRBAND | 清除绑定 | - | |
|
| 80 | +| 23 | AT+SRBAND | 连接周边信号最强的从机 | - | |
|
| 81 | +| 24 | AT+MESH | MESH 发数据 | - | |
|
| 82 | +| 25 | AT+KEY | 按键参数配置 | - | |
|
| 83 | +| 26 | AT+NETID | 组网 ID 号配置 | 1189 | |
|
| 84 | +| 27 | AT+MADDR | 组网短地址 | MAC 地址后两位 | |
|
| 85 | +| 28 | AT+MCLSS | 组网设备类型 | 0(路由器) | |
|
| 86 | +| 29 | AT+FRIEND | 添加私密朋友 MAC 地址 | 000000000000 | |
|
| 87 | +| 30 | AT+CLRFRIEND | 清除朋友 | |
|
| 88 | +| 31 | AT+FRTYPE | 朋友类型 | 0 | |
|
| 89 | +| 32 | AT+IBUUID | iBeacon 的 UUID 配置 | |
|
| 90 | +| 33 | AT+MAJOR | iBeacon 的 MAJOR 配置 | 000A | |
|
| 91 | +| 34 | AT+MINOR | iBeacon 的 MINOR 配置 | 0007 | |
|
| 92 | +| 35 | AT+IBSING | iBeacon 的 SING 配置 | |
|
| 93 | +| 36 | AT+ENLOG | 串口输出状态开关 | 1(开) | |
|
| 94 | +| 37 | AT+DATA | 从机多连发数据指令 | |
|
| 95 | +| 38 | AT+CUIO | 串口设置当前模块输出 IO电平 | |
|
| 96 | +| 39 | AT+TGIO | 主机通信时主机控制从机输出 IO电平 | |
|
| 97 | +| 40 | AT+FUNC | 主机设置从机无线参数 | |
|
| 98 | +| 41 | AT+SUBTYPE | 子功能类型(路由模式有效) | 0 | |
|
| 99 | +| 42 | AT+LEARN | 学习开关 | 0 | |
|
| 100 | +| 43 | AT+LEAVAL | 输出 IO 学习参数 | 0,0,0000 | |
|
| 101 | +| 44 | AT+DEVCLSS | 用于一键主机连接周边信号最强的从机 | 0 | |
|
| 102 | +| 45 | AT+KLABEL | 添加标签地址 (支持 10 个标签) | 0,0,000000000000 | |
|
| 103 | +| 46 | AT+KLTIME | 设置标签超时时间 | 3s | |
|
| 104 | +| 47 | AT+KLRSSI | 设置标签灵敏度 (用于接收范围设置) | 99 | |
|
| 105 | +| 48 | AT+ALED | 广播 LED 开关 | 1 | |
|
| 106 | + |
|
| 107 | + |
|
| 108 | +## examples |
|
| 109 | + |
|
| 110 | +| category | Operations | Send | feedback | |
|
| 111 | +| ---------- | ----------------------------------------- | -------------------------------------------- | ------------------------------------------------------------ | |
|
| 112 | +| Networking | AT+MADDR - get broadcasting short address | AT+MADDR | +MADDR=0733 | |
|
| 113 | +| Networking | AT+MESH - broadcasting data | 41 54 2b 4d 45 53 48 00 ff ff 11 22 33 0d 0a | 4F 4B 0D 0A F1 DD 07 07 33 FF FF 11 22 33 (4F 4B 0D 0A = OK) | |
|
| 114 | +| | | AT+PIN | +PIN=123456 | |
|
| 115 | +| | | AT+STAT | +STAT=0 | |
|
| 116 | +| | | AT+POWR | +POWR=4 | |
|
| 117 | +| | | AT+ROLE | +ROLE=5 | |
|
| 118 | +| | set/enquiry --MESH network ID number | AT+NETID | +NETID=1189 | |
|
| 119 | +| Networking | check networking types | AT+MCLSS | +MCLSS=0 | |
|
| 120 | +| | mesh friend | AT+FRIEND | +FRIEND=000000000000 | |
|
| 121 | +| | | AT+IBUUID | +IBUUID=FDA50693A4E24FB1AFCFC6EB07647825 | |
|
| 122 | +| | | AT+ENLOG | +ENLOG=1 | |
|
| 123 | +| | | AT+CUIO | +CUIO=0,0,0,0,0, | |
|
| 124 | + |
|
| 125 | + |
|
| 126 | +## UUID |
|
| 127 | + |
|
| 128 | +UUID List |
|
| 129 | + |
|
| 130 | +| type | uuid | note | |
|
| 131 | +| ------------------- | ---- | ----------------------------------------------------------------------------------------------------------------------------------- | |
|
| 132 | +| Service UUID | FFE0 | (Service UUID) | |
|
| 133 | +| Characteristic UUID | FFE1 | (for pass-through data) | |
|
| 134 | +| Characteristic UUID | FFE2 | (for pass-through data) | |
|
| 135 | +| Characteristic UUID | FFE3 | (for MESH data transmission and reception, MESH command transmission and reception, APP control of IO, and parameter configuration) | |
|
| 136 | + |
|
| 137 | + |
|
| 138 | +### APP commands |
|
| 139 | + |
|
| 140 | +### # APP 透传 (使用特征 UUID:FFE1) |
|
| 141 | + |
|
| 142 | +0XFFE1 为 APP 透传特征 UUID(应用于 IOS、Android 或微信小程序通信) |
|
| 143 | + |
|
| 144 | +#### APP 向 MESH 发送数据或指令 (使用特征 FFE3) |
|
| 145 | + |
|
| 146 | +数据格式 HEAD(2byte) + CMD(1byte) + MADDR(2byte) + data(1-16byte) |
|
| 147 | + |
|
| 148 | + 例子 1:APP 向所有设备广播数据:31323334353637383930 |
|
| 149 | + 指令 1:F101 00 FFFF 31323334353637383930 |
|
| 150 | + 例子 2:APP 向 0008 设备串口发送 1122334455 数据 |
|
| 151 | + 指令 2:F101 00 0008 1122334455 |
|
| 152 | + 例子 3:APP 将所有模块的 OUT1 引脚设置成高电平 |
|
| 153 | + 指令 3:F101 10 FFFF AAB1E70101 |
|
| 154 | + 例子 4:APP 将 0008 模块的 OUT1 引脚设置成低电平 |
|
| 155 | + 指令 4:F101 10 0008 AAB1E70100 |
|
| 156 | + 例子 5:APP 读取 0008 模块的所有 OUT 引脚电平 |
|
| 157 | + 指令 5:F101 31 0008 F0B100 |
|
| 158 | + 例子 6:APP 读取 0008 模块的所有 INPUT 引脚电平 |
|
| 159 | + 指令 6:F101 31 0008 F1B101 |
|
| 160 | + |
|
| 161 | + |
|
| 162 | +## FAQ |
|
| 163 | + |
|
| 164 | +If the transmission distance is relatively long, will it extend the network transmission distance if EY-24M/25M is placed every several dozen meters? |
|
| 165 | +- Answer: Yes |
|
| 166 | + |
|
| 167 | + |
|
| 168 | + |
|
| 169 | +Example: A needs to send data to (C, D, E, F). Due to the long distance, A's signal cannot reach (C, D, E, F). Here, a device B needs to be placed between A and C to solve the communication distance problem between A and C. |
|
| 170 | + |
|
| 171 | + |
|
| 172 | + |
|
| 173 | +## Applications |
|
| 174 | + |
|
| 175 | +### Mesh mode |
|
| 176 | + |
|
| 177 | +#### broadcasting to control the IO of all nodes |
|
| 178 | + |
|
| 179 | +- Configure the network NETID to 1122: AT+NETID1122 |
|
| 180 | +- Configure the current device short address to 0005: AT+MADDR0005 |
|
| 181 | + |
|
| 182 | +- Configure the current KEY1 broadcast to control the OUT3 output IO of all devices in the network: AT+KEY1,0008,3,1 |
|
| 183 | +- Send AT+RESET again to restart and take effect. At this time, KEY1 can control the output IO level of all OUT3 in the network |
|
| 184 | + |
|
| 185 | +low power mode options |
|
| 186 | +- Configure the device as a low-power terminal node: AT+MCLSS1 |
|
| 187 | +- In low-power mode, the current is 3uA, the key is pressed to send data, and the key is released to enter deep sleep |
|
| 188 | + |
|
| 189 | +#### broadcasting to send data to all nodes |
|
| 190 | + |
|
| 191 | +- Configure the network NETID to 1122: AT+NETID1122 |
|
| 192 | +- Configure the current device short address to 0005: AT+MADDR0005 |
|
| 193 | +- Configure the device as a routing node: AT+MCLSS0 |
|
| 194 | +- Configuration takes effect after restart |
|
| 195 | + |
|
| 196 | +Broadcast 1122334455 data to all devices (FF FF) on the network, send the following instructions |
|
| 197 | + |
|
| 198 | + 41 54 2b 4d 45 53 48 00 FF FF 11 22 33 44 55 0D0A |
|
| 199 | + |
|
| 200 | +Send 1122334455 data to device 0008 (00 08) in the network, the instructions are as follows |
|
| 201 | + |
|
| 202 | + 41 54 2b 4d 45 53 48 00 00 08 11 22 33 44 55 0D0A |
|
| 203 | + |
|
| 204 | +Control the OUT1 pin of target 0008 to be low level, and there is an ACK response, the instructions are as follows |
|
| 205 | + |
|
| 206 | + 41 54 2b 4d 45 53 48 11 00 08 AA B2 E7 01 00 |
|
| 207 | + |
|
| 208 | +## ref |
|
| 209 | + |
|
| 210 | +- [[BLE-dat]] |
|
| 211 | + |
|
| 212 | + |
|
| 213 | +- [[EY-25M Super Bluetooth Module Manual.pdf]] |
|
| 214 | + |
|
| 215 | +- [[EY-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/EY-dat/EY-34-dat/EY-34-dat.md
| ... | ... | @@ -27,6 +27,9 @@ Main advantage: high-speed communication. When connected via SPP to a phone or P |
| 27 | 27 |  |
| 28 | 28 | |
| 29 | 29 | |
| 30 | +## boards |
|
| 31 | + |
|
| 32 | +- [[NBL1064-dat]] |
|
| 30 | 33 | |
| 31 | 34 | ## ref |
| 32 | 35 |
Chip-cn-dat/EY-dat/EY-40-dat/2024-10-28-17-58-36.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/EY-dat/EY-40-dat/2024-10-28-17-58-36.png differ |
Chip-cn-dat/EY-dat/EY-40-dat/EY-40-dat.md
| ... | ... | @@ -0,0 +1,25 @@ |
| 1 | + |
|
| 2 | +# JDY-40-dat |
|
| 3 | + |
|
| 4 | +## SCH |
|
| 5 | + |
|
| 6 | + |
|
| 7 | + |
|
| 8 | +## Config |
|
| 9 | + |
|
| 10 | + |
|
| 11 | +| PIN | Description | Pull LOW | Pull HIGH | |
|
| 12 | +| ----- | ---------------- | ----------- | ---------------------- | |
|
| 13 | +| SEL | Mode Select | AT Commands | Data Transmission Mode | |
|
| 14 | +| CS | Chip Select Mode | Wakeup Mode | Sleep Mode * | |
|
| 15 | +| TXD | Data TX | - | - | |
|
| 16 | +| RXD | Data RX | - | - | |
|
| 17 | + |
|
| 18 | + |
|
| 19 | +## ref |
|
| 20 | + |
|
| 21 | +- [[EY-40_English_manual.pdf]] |
|
| 22 | + |
|
| 23 | +- [[EY-dat]] |
|
| 24 | + |
|
| 25 | +- [[EY-40]] - [[EY]] |
Chip-cn-dat/EY-dat/EY-40-dat/EY-40_English_manual.pdf
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/EY-dat/EY-40-dat/EY-40_English_manual.pdf differ |
Chip-cn-dat/EY-dat/EY-dat.md
| ... | ... | @@ -7,8 +7,26 @@ |
| 7 | 7 | |
| 8 | 8 | - [[EY-34-dat]] |
| 9 | 9 | |
| 10 | +- [[EY-08-dat]] |
|
| 11 | + |
|
| 12 | +- [[EY-25-dat]] |
|
| 13 | + |
|
| 14 | +- [[EY-40-dat]] |
|
| 15 | + |
|
| 16 | + |
|
| 17 | + |
|
| 18 | +## repro |
|
| 19 | + |
|
| 20 | +[repro github](https://github.com/Edragon/JDY-MESH) |
|
| 21 | + |
|
| 10 | 22 | |
| 11 | 23 | ## ref |
| 12 | 24 | |
| 13 | 25 | - [[chip-cn-dat]] - [[EY]] |
| 14 | 26 | |
| 27 | + |
|
| 28 | + |
|
| 29 | + |
|
| 30 | +- [[EY-25M-dat]] - [[EY-08-dat]] |
|
| 31 | + |
|
| 32 | +- [[EY-40-dat]] |
Chip-cn-dat/JDY-dat/JDY-08-dat/JDY-08-dat.md
| ... | ... | @@ -1,10 +0,0 @@ |
| 1 | -# JDY-08-dat |
|
| 2 | - |
|
| 3 | -- [[NBL1060-dat]] - [[CC2541-dat]] |
|
| 4 | - |
|
| 5 | - |
|
| 6 | -## ref |
|
| 7 | - |
|
| 8 | -- [[JDY-dat]] |
|
| 9 | - |
|
| 10 | - |
Chip-cn-dat/JDY-dat/JDY-25M-dat/2024-05-15-18-59-17.png
| ... | ... | Binary files a/Chip-cn-dat/JDY-dat/JDY-25M-dat/2024-05-15-18-59-17.png and /dev/null differ |
Chip-cn-dat/JDY-dat/JDY-25M-dat/2024-06-07-15-11-10.png
| ... | ... | Binary files a/Chip-cn-dat/JDY-dat/JDY-25M-dat/2024-06-07-15-11-10.png and /dev/null differ |
Chip-cn-dat/JDY-dat/JDY-25M-dat/JDY-25M Super Bluetooth Module Manual.pdf
| ... | ... | Binary files a/Chip-cn-dat/JDY-dat/JDY-25M-dat/JDY-25M Super Bluetooth Module Manual.pdf and /dev/null differ |
Chip-cn-dat/JDY-dat/JDY-25M-dat/JDY-25M-dat.md
| ... | ... | @@ -1,216 +0,0 @@ |
| 1 | - |
|
| 2 | -# JDY-25M-dat |
|
| 3 | - |
|
| 4 | -legacy wiki page - https://www.electrodragon.com/w/JDY-25M |
|
| 5 | - |
|
| 6 | - |
|
| 7 | -- 电源(1.8-3.6V) |
|
| 8 | -- baudrate default 9600bps |
|
| 9 | - |
|
| 10 | - |
|
| 11 | -## boards |
|
| 12 | - |
|
| 13 | - |
|
| 14 | - |
|
| 15 | - |
|
| 16 | -- [[NBL1101-dat]] - [[NBL1107-dat]] |
|
| 17 | - |
|
| 18 | -## Pins |
|
| 19 | - |
|
| 20 | -| Pin | Definition | Function | Description | |
|
| 21 | -| --- | ---------- | ------------------------ | ------------------------------------------------------------- | |
|
| 22 | -| 1 | TXD | Serial port | Serial output, the level is TTL level | |
|
| 23 | -| 2 | RXD | Serial port | Serial input, the level is TTL level | |
|
| 24 | -| 3 | NULL | Null | - | |
|
| 25 | -| 4 | NULL | Null | - | |
|
| 26 | -| 5 | KEY5 | Input 5 | inputs* | |
|
| 27 | -| 6 | KEY4 | Input 4 | inputs* | |
|
| 28 | -| 7 | KEY3 | Input 3 | inputs* | |
|
| 29 | -| 8 | KEY2 | Input 2 | inputs* | |
|
| 30 | -| 9 | NULL | Null | - | |
|
| 31 | -| 10 | KEY1 | Input 1 | inputs* | |
|
| 32 | -| 11 | RESET | Reset | Low level reset, high level working (high level if suspended) | |
|
| 33 | -| 12 | VCC | Power Supply | Supply(1.8-3.6V) | |
|
| 34 | -| 13 | GND | GND | Power ground | |
|
| 35 | -| 14 | PWRC | Sleep wake pin | PWRC descriptions* | |
|
| 36 | -| 15 | ALED | Broadcast LED indication | LED_status* | |
|
| 37 | -| 16 | STAT | Connection status | status* | |
|
| 38 | -| 17 | OUTPUT5 | Output 5 | outputs* | |
|
| 39 | -| 18 | NULL | Null | - | |
|
| 40 | -| 19 | NULL | Null | - | |
|
| 41 | -| 20 | NULL | Null | - | |
|
| 42 | -| 21 | NULL | Null | - | |
|
| 43 | -| 22 | OUTPUT1 | Output 1 | outputs* | |
|
| 44 | -| 23 | OUTPUT2 | Output 2 | outputs* | |
|
| 45 | -| 24 | OUTPUT3 | Output 3 | outputs* | |
|
| 46 | -| 25 | OUTPUT4 | Output 4 | outputs* | |
|
| 47 | - |
|
| 48 | -* outputs = Default low level, support serial instruction control and input KEY pin control in network state |
|
| 49 | -* status = In non mesh mode, low level if not connected, high level after connection In mesh mode (output high level if connect to network successfully, if not, output low level) |
|
| 50 | -* inputs = inputs |
|
| 51 | -* PWRC descriptions = Support PWRC pin wake-up in deep sleep state, and AT instruction sending is supported when the connection status is pulled down |
|
| 52 | -* LED_status = In non mesh mode (flash if not connected, light on after connection) |
|
| 53 | - |
|
| 54 | -## AT commands |
|
| 55 | - |
|
| 56 | -| Num. | CMD | Funcs | Default | |
|
| 57 | -| ---- | ------------ | ----------------------------------- | ---------------- | |
|
| 58 | -| 1 | AT | 测试指令 | - | |
|
| 59 | -| 2 | AT+RESET | 复位 | - | |
|
| 60 | -| 3 | AT+VERSION | 固件版本 | - | |
|
| 61 | -| 4 | AT+LADDR | 读 MAC 地址 | - | |
|
| 62 | -| 5 | AT+NAME | 广播名读写 | JDY-25M | |
|
| 63 | -| 6 | AT+PIN | 连接密码设置 | 123456 | |
|
| 64 | -| 7 | AT+TYPE | 是否打开密码连接方式 | 0 | |
|
| 65 | -| 8 | AT+BAUD | 波特率 | 9600 | |
|
| 66 | -| 9 | AT+DISC | 断开连接 | - | |
|
| 67 | -| 10 | AT+STAT | 读取连接状态 | 0 | |
|
| 68 | -| 11 | AT+STARTEN | 开机睡眠设置 | 1 | |
|
| 69 | -| 12 | AT+ADVIN | 广播间隔 | 1 | |
|
| 70 | -| 13 | AT+POWR | 发射功率 | 3 | |
|
| 71 | -| 14 | AT+ROLE | 工作模式设置 | 0 | |
|
| 72 | -| 15 | AT+SLEEP | 睡眠指令 | - | |
|
| 73 | -| 16 | AT+DEFAULT | 恢复出厂配置 | - | |
|
| 74 | -| 17 | AT+INQ | 主机搜索从机广播 | - | |
|
| 75 | -| 18 | AT+STOP | 停止广播 | - | |
|
| 76 | -| 19 | AT+CONN | 连接扫描列表 ID 号 | - | |
|
| 77 | -| 20 | AT+CONA | 指令 MAC 地址连接 | - | |
|
| 78 | -| 21 | AT+BAND | 绑定从机 MAC 地址 | - | |
|
| 79 | -| 22 | AT+CLRBAND | 清除绑定 | - | |
|
| 80 | -| 23 | AT+SRBAND | 连接周边信号最强的从机 | - | |
|
| 81 | -| 24 | AT+MESH | MESH 发数据 | - | |
|
| 82 | -| 25 | AT+KEY | 按键参数配置 | - | |
|
| 83 | -| 26 | AT+NETID | 组网 ID 号配置 | 1189 | |
|
| 84 | -| 27 | AT+MADDR | 组网短地址 | MAC 地址后两位 | |
|
| 85 | -| 28 | AT+MCLSS | 组网设备类型 | 0(路由器) | |
|
| 86 | -| 29 | AT+FRIEND | 添加私密朋友 MAC 地址 | 000000000000 | |
|
| 87 | -| 30 | AT+CLRFRIEND | 清除朋友 | |
|
| 88 | -| 31 | AT+FRTYPE | 朋友类型 | 0 | |
|
| 89 | -| 32 | AT+IBUUID | iBeacon 的 UUID 配置 | |
|
| 90 | -| 33 | AT+MAJOR | iBeacon 的 MAJOR 配置 | 000A | |
|
| 91 | -| 34 | AT+MINOR | iBeacon 的 MINOR 配置 | 0007 | |
|
| 92 | -| 35 | AT+IBSING | iBeacon 的 SING 配置 | |
|
| 93 | -| 36 | AT+ENLOG | 串口输出状态开关 | 1(开) | |
|
| 94 | -| 37 | AT+DATA | 从机多连发数据指令 | |
|
| 95 | -| 38 | AT+CUIO | 串口设置当前模块输出 IO电平 | |
|
| 96 | -| 39 | AT+TGIO | 主机通信时主机控制从机输出 IO电平 | |
|
| 97 | -| 40 | AT+FUNC | 主机设置从机无线参数 | |
|
| 98 | -| 41 | AT+SUBTYPE | 子功能类型(路由模式有效) | 0 | |
|
| 99 | -| 42 | AT+LEARN | 学习开关 | 0 | |
|
| 100 | -| 43 | AT+LEAVAL | 输出 IO 学习参数 | 0,0,0000 | |
|
| 101 | -| 44 | AT+DEVCLSS | 用于一键主机连接周边信号最强的从机 | 0 | |
|
| 102 | -| 45 | AT+KLABEL | 添加标签地址 (支持 10 个标签) | 0,0,000000000000 | |
|
| 103 | -| 46 | AT+KLTIME | 设置标签超时时间 | 3s | |
|
| 104 | -| 47 | AT+KLRSSI | 设置标签灵敏度 (用于接收范围设置) | 99 | |
|
| 105 | -| 48 | AT+ALED | 广播 LED 开关 | 1 | |
|
| 106 | - |
|
| 107 | - |
|
| 108 | -## examples |
|
| 109 | - |
|
| 110 | -| category | Operations | Send | feedback | |
|
| 111 | -| ---------- | ----------------------------------------- | -------------------------------------------- | ------------------------------------------------------------ | |
|
| 112 | -| Networking | AT+MADDR - get broadcasting short address | AT+MADDR | +MADDR=0733 | |
|
| 113 | -| Networking | AT+MESH - broadcasting data | 41 54 2b 4d 45 53 48 00 ff ff 11 22 33 0d 0a | 4F 4B 0D 0A F1 DD 07 07 33 FF FF 11 22 33 (4F 4B 0D 0A = OK) | |
|
| 114 | -| | | AT+PIN | +PIN=123456 | |
|
| 115 | -| | | AT+STAT | +STAT=0 | |
|
| 116 | -| | | AT+POWR | +POWR=4 | |
|
| 117 | -| | | AT+ROLE | +ROLE=5 | |
|
| 118 | -| | set/enquiry --MESH network ID number | AT+NETID | +NETID=1189 | |
|
| 119 | -| Networking | check networking types | AT+MCLSS | +MCLSS=0 | |
|
| 120 | -| | mesh friend | AT+FRIEND | +FRIEND=000000000000 | |
|
| 121 | -| | | AT+IBUUID | +IBUUID=FDA50693A4E24FB1AFCFC6EB07647825 | |
|
| 122 | -| | | AT+ENLOG | +ENLOG=1 | |
|
| 123 | -| | | AT+CUIO | +CUIO=0,0,0,0,0, | |
|
| 124 | - |
|
| 125 | - |
|
| 126 | -## UUID |
|
| 127 | - |
|
| 128 | -UUID List |
|
| 129 | - |
|
| 130 | -| type | uuid | note | |
|
| 131 | -| ------------------- | ---- | ----------------------------------------------------------------------------------------------------------------------------------- | |
|
| 132 | -| Service UUID | FFE0 | (Service UUID) | |
|
| 133 | -| Characteristic UUID | FFE1 | (for pass-through data) | |
|
| 134 | -| Characteristic UUID | FFE2 | (for pass-through data) | |
|
| 135 | -| Characteristic UUID | FFE3 | (for MESH data transmission and reception, MESH command transmission and reception, APP control of IO, and parameter configuration) | |
|
| 136 | - |
|
| 137 | - |
|
| 138 | -### APP commands |
|
| 139 | - |
|
| 140 | -### # APP 透传 (使用特征 UUID:FFE1) |
|
| 141 | - |
|
| 142 | -0XFFE1 为 APP 透传特征 UUID(应用于 IOS、Android 或微信小程序通信) |
|
| 143 | - |
|
| 144 | -#### APP 向 MESH 发送数据或指令 (使用特征 FFE3) |
|
| 145 | - |
|
| 146 | -数据格式 HEAD(2byte) + CMD(1byte) + MADDR(2byte) + data(1-16byte) |
|
| 147 | - |
|
| 148 | - 例子 1:APP 向所有设备广播数据:31323334353637383930 |
|
| 149 | - 指令 1:F101 00 FFFF 31323334353637383930 |
|
| 150 | - 例子 2:APP 向 0008 设备串口发送 1122334455 数据 |
|
| 151 | - 指令 2:F101 00 0008 1122334455 |
|
| 152 | - 例子 3:APP 将所有模块的 OUT1 引脚设置成高电平 |
|
| 153 | - 指令 3:F101 10 FFFF AAB1E70101 |
|
| 154 | - 例子 4:APP 将 0008 模块的 OUT1 引脚设置成低电平 |
|
| 155 | - 指令 4:F101 10 0008 AAB1E70100 |
|
| 156 | - 例子 5:APP 读取 0008 模块的所有 OUT 引脚电平 |
|
| 157 | - 指令 5:F101 31 0008 F0B100 |
|
| 158 | - 例子 6:APP 读取 0008 模块的所有 INPUT 引脚电平 |
|
| 159 | - 指令 6:F101 31 0008 F1B101 |
|
| 160 | - |
|
| 161 | - |
|
| 162 | -## FAQ |
|
| 163 | - |
|
| 164 | -If the transmission distance is relatively long, will it extend the network transmission distance if JDY-24M/25M is placed every several dozen meters? |
|
| 165 | -- Answer: Yes |
|
| 166 | - |
|
| 167 | - |
|
| 168 | - |
|
| 169 | -Example: A needs to send data to (C, D, E, F). Due to the long distance, A's signal cannot reach (C, D, E, F). Here, a device B needs to be placed between A and C to solve the communication distance problem between A and C. |
|
| 170 | - |
|
| 171 | - |
|
| 172 | - |
|
| 173 | -## Applications |
|
| 174 | - |
|
| 175 | -### Mesh mode |
|
| 176 | - |
|
| 177 | -#### broadcasting to control the IO of all nodes |
|
| 178 | - |
|
| 179 | -- Configure the network NETID to 1122: AT+NETID1122 |
|
| 180 | -- Configure the current device short address to 0005: AT+MADDR0005 |
|
| 181 | - |
|
| 182 | -- Configure the current KEY1 broadcast to control the OUT3 output IO of all devices in the network: AT+KEY1,0008,3,1 |
|
| 183 | -- Send AT+RESET again to restart and take effect. At this time, KEY1 can control the output IO level of all OUT3 in the network |
|
| 184 | - |
|
| 185 | -low power mode options |
|
| 186 | -- Configure the device as a low-power terminal node: AT+MCLSS1 |
|
| 187 | -- In low-power mode, the current is 3uA, the key is pressed to send data, and the key is released to enter deep sleep |
|
| 188 | - |
|
| 189 | -#### broadcasting to send data to all nodes |
|
| 190 | - |
|
| 191 | -- Configure the network NETID to 1122: AT+NETID1122 |
|
| 192 | -- Configure the current device short address to 0005: AT+MADDR0005 |
|
| 193 | -- Configure the device as a routing node: AT+MCLSS0 |
|
| 194 | -- Configuration takes effect after restart |
|
| 195 | - |
|
| 196 | -Broadcast 1122334455 data to all devices (FF FF) on the network, send the following instructions |
|
| 197 | - |
|
| 198 | - 41 54 2b 4d 45 53 48 00 FF FF 11 22 33 44 55 0D0A |
|
| 199 | - |
|
| 200 | -Send 1122334455 data to device 0008 (00 08) in the network, the instructions are as follows |
|
| 201 | - |
|
| 202 | - 41 54 2b 4d 45 53 48 00 00 08 11 22 33 44 55 0D0A |
|
| 203 | - |
|
| 204 | -Control the OUT1 pin of target 0008 to be low level, and there is an ACK response, the instructions are as follows |
|
| 205 | - |
|
| 206 | - 41 54 2b 4d 45 53 48 11 00 08 AA B2 E7 01 00 |
|
| 207 | - |
|
| 208 | -## ref |
|
| 209 | - |
|
| 210 | -- [[BLE-dat]] |
|
| 211 | - |
|
| 212 | -- https://github.com/Edragon/JDY-25M |
|
| 213 | - |
|
| 214 | -- [[JDY-25M Super Bluetooth Module Manual.pdf]] |
|
| 215 | - |
|
| 216 | -- [[JDY-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/JDY-dat/JDY-40-dat/2024-10-28-17-58-36.png
| ... | ... | Binary files a/Chip-cn-dat/JDY-dat/JDY-40-dat/2024-10-28-17-58-36.png and /dev/null differ |
Chip-cn-dat/JDY-dat/JDY-40-dat/EY-40_English_manual.pdf
| ... | ... | Binary files a/Chip-cn-dat/JDY-dat/JDY-40-dat/EY-40_English_manual.pdf and /dev/null differ |
Chip-cn-dat/JDY-dat/JDY-40-dat/JDY-40-dat.md
| ... | ... | @@ -1,25 +0,0 @@ |
| 1 | - |
|
| 2 | -# JDY-40-dat |
|
| 3 | - |
|
| 4 | -## SCH |
|
| 5 | - |
|
| 6 | - |
|
| 7 | - |
|
| 8 | -## Config |
|
| 9 | - |
|
| 10 | - |
|
| 11 | -| PIN | Description | Pull LOW | Pull HIGH | |
|
| 12 | -| ----- | ---------------- | ----------- | ---------------------- | |
|
| 13 | -| SEL | Mode Select | AT Commands | Data Transmission Mode | |
|
| 14 | -| CS | Chip Select Mode | Wakeup Mode | Sleep Mode * | |
|
| 15 | -| TXD | Data TX | - | - | |
|
| 16 | -| RXD | Data RX | - | - | |
|
| 17 | - |
|
| 18 | - |
|
| 19 | -## ref |
|
| 20 | - |
|
| 21 | -- [[EY-40_English_manual.pdf]] |
|
| 22 | - |
|
| 23 | -- [[JDY-dat]] |
|
| 24 | - |
|
| 25 | -- [[JDY-40]] - [[JDY]] |
Chip-cn-dat/JDY-dat/JDY-dat.md
| ... | ... | @@ -1,12 +0,0 @@ |
| 1 | - |
|
| 2 | -# JDY-dat |
|
| 3 | - |
|
| 4 | -- [[JDY-25M-dat]] - [[JDY-08-dat]] |
|
| 5 | - |
|
| 6 | -- [[JDY-40-dat]] |
|
| 7 | - |
|
| 8 | - |
|
| 9 | - |
|
| 10 | -## ref |
|
| 11 | - |
|
| 12 | -- [[JDY]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/bolutek/BC04-B-dat/BC04-B-dat.md
| ... | ... | @@ -8,6 +8,10 @@ |
| 8 | 8 | |
| 9 | 9 |  |
| 10 | 10 | |
| 11 | + |
|
| 12 | + |
|
| 13 | + |
|
| 14 | + |
|
| 11 | 15 | ## Certificate |
| 12 | 16 | |
| 13 | 17 | The module has BQB certification |
Chip-cn-dat/chip-cn-dat.md
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 | |
| 28 | 28 | - [[CONSONANCE-dat]] |
| 29 | 29 | |
| 30 | -- [[JDY-dat]] |
|
| 30 | +- [[JDY-dat/EY-dat]] |
|
| 31 | 31 | |
| 32 | 32 | - [[Zeming-dat]] |
| 33 | 33 |
Chip-dat/ST-dat/STM8-dat/2026-02-04-18-20-36.png
| ... | ... | Binary files /dev/null and b/Chip-dat/ST-dat/STM8-dat/2026-02-04-18-20-36.png differ |
Chip-dat/ST-dat/STM8-dat/STM8-dat.md
| ... | ... | @@ -5,3 +5,16 @@ |
| 5 | 5 | |
| 6 | 6 | https://www.electrodragon.com/product/stm8-minimum-development-board-stm8s003f3p6-20p/ |
| 7 | 7 | |
| 8 | + |
|
| 9 | +STM8S103F3P6 |
|
| 10 | + |
|
| 11 | + |
|
| 12 | +## SCH |
|
| 13 | + |
|
| 14 | + |
|
| 15 | + |
|
| 16 | + |
|
| 17 | + |
|
| 18 | +## ref |
|
| 19 | + |
|
| 20 | +- [[MCU-dat]] - [[ST-dat]] |
|
| ... | ... | \ No newline at end of file |
Network-dat/Bluetooth-dat/BLE-dat/BLE-dat.md
| ... | ... | @@ -76,7 +76,7 @@ For Android devices, you can directly install the following apps: |
| 76 | 76 | |
| 77 | 77 | - https://play.google.com/store/apps/dev?id=7265678888812659353&hl=en_US |
| 78 | 78 | |
| 79 | -- [[JDY-dat]] - [[JDY-25M-dat]] |
|
| 79 | +- [[JDY-dat/EY-dat]] - [[JDY-25M-dat]] |
|
| 80 | 80 | |
| 81 | 81 | - Wireshark |
| 82 | 82 |
Network-dat/Bluetooth-dat/BT-SPP-dat/BT-SPP-dat.md
| ... | ... | @@ -0,0 +1,20 @@ |
| 1 | + |
|
| 2 | +# BT-SPP-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | +bluetooth classic |
|
| 6 | + |
|
| 7 | + |
|
| 8 | +main bluetooth chip: BC417143B1 - [[BC04-dat]] - https://w.electrodragon.com/w/Category:BC-04 - [[NBL1022-dat]] |
|
| 9 | + |
|
| 10 | +[[NBL1057-dat]] and [[NBL1018-dat]] |
|
| 11 | + |
|
| 12 | +simialr modules - [[BC04-B-dat]] - [[HC05-dat]] - [[HC06-dat]] - [[NBL1012-dat]] |
|
| 13 | + |
|
| 14 | + |
|
| 15 | + |
|
| 16 | + |
|
| 17 | + |
|
| 18 | +## ref |
|
| 19 | + |
|
| 20 | +- [[bluetooth-dat]] |
|
| ... | ... | \ No newline at end of file |
Network-dat/Bluetooth-dat/BT-dual-mode-dat/BT-dual-mode-dat.md
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | |
| 4 | 4 | - [[EY-23A-dat]] - [[NBL1064-dat]] |
| 5 | 5 | |
| 6 | - |
|
| 6 | +- [[EY-34-dat]] |
|
| 7 | 7 | |
| 8 | 8 | |
| 9 | 9 | ## ref |
Network-dat/Bluetooth-dat/bluetooth-dat.md
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 | |
| 28 | 28 | - high price == [[NBL1064-dat]] == [Bluetooth IO Control Board EDR 2.0, BLK_IO](https://www.electrodragon.com/product/bluetooth-io-control-board-edr-2-0-blk_io/) |
| 29 | 29 | |
| 30 | - |
|
| 30 | +- [[NBL1022-dat]] |
|
| 31 | 31 | |
| 32 | 32 | |
| 33 | 33 |
Tech-dat/MCU-dat/mcu-dat.md
| ... | ... | @@ -9,6 +9,8 @@ |
| 9 | 9 | |
| 10 | 10 | - [[STM32-dat]] - [[STM32-clone-dat]] |
| 11 | 11 | |
| 12 | +- [[STM8-dat]] |
|
| 13 | + |
|
| 12 | 14 | - [[microchip-MCU-dat]] - [[AVR-dat]] - [[tinyAVR-dat]] - [[attiny-dat]] - [[atmega-dat]] - [[atsamd21-dat]] |
| 13 | 15 | |
| 14 | 16 | - [[STC-dat]] - [[PIC-dat]] - [[nuvoton-dat]] - [[WCH-dat]] |
| ... | ... | @@ -22,6 +24,8 @@ |
| 22 | 24 | - [[STC-dat]] |
| 23 | 25 | |
| 24 | 26 | |
| 27 | + |
|
| 28 | + |
|
| 25 | 29 | ## other types |
| 26 | 30 | |
| 27 | 31 | - [[FPGA-dat]] - [[CPLD-dat]] - [[DSP-dat]] - [[ARM-dat]] - [[RISC-V-dat]] |