This is an ART-Pi expansion board for Bluetooth mesh. Since the AP6212 network adapter on the ART-Pi cannot perform Bluetooth mesh operations, this expansion board contains an nrf52832 module that is connected to the main control chip through the serial port protocol to connect to the mesh device. .
The expansion board is equipped with a LAN8720A chip to connect to Ethernet, and you can also use the motherboard's Wi-Fi module for networking.
In addition, I also added the LD3320 speech recognition module and JR6001 voice broadcast module to achieve voice interaction.
The expansion board leads out all pins exactly according to the ART-Pi pin layout, and the unused pins of the expansion board can continue to be used by other external modules.
Regarding Bluetooth mesh, here are some materials I translated during my study: Introduction to Bluetooth mesh
Program solution architecture:
Communication sequence diagram:
Problems encountered during program development:
Note: Use nRF Mesh app for mesh configuration.
Find Mesh nodes:
POST /cgi-bin/board_control HTTP/1.1
Host: 192.168.1.211
cache-control: no-cache
{
"opcode": 193
}
Get the node list:
GET /cgi-bin/basic_info HTTP/1.1
Host: 192.168.1.211
cache-control: no-cache
Set up node:
POST /cgi-bin/board_control HTTP/1.1
Host: 192.168.1.211
Content-Type: application/json
cache-control: no-cache
{"address": 79, "opcode": 195, "data":"01"}
Read node data:
POST /cgi-bin/board_control HTTP/1.1
Host: 192.168.1.211
Content-Type: application/json
cache-control: no-cache
{"address": 57, "opcode": 195}
Note:
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet