ESP32 communicate with nRF51822 via BLE

preview_player
Показать описание
This is a example in LuaNode to show how to create BLE connection between ESP32 and nRF51822. The ESP32 write "on"/"off" to the characteristics "6e400002-b5a3-f393-e0a9-e50e24dcca9e", the nRF 51822 will receive the string sent by ESP32, and then the nRF51 device will turn on/off the LED on board according to the received string. ESP32 will write to the characteristic each 2 seconds with "on"/"off" in turn, so you will see the LED on nRF51 device blink each 2 seconds.
Рекомендации по теме
Комментарии
Автор

Hi, what kind of nordic nRF51822 board you are using? pca10028? What is the second USB connection for (debug?)? have a nice day

pcbreflux
Автор

hello can you send me code ? thank you.

vblog