BLE-MQTT Bridge for ESP32 control BLE power Module

Опубликовано: 20 Июнь 2026
на канале: BrickTrainAuto
92
6

I buy New 8-Way Remote Control Kit With 6.0 Lithium Battery Box Support Bluetooth/APP Program Remote Control MOC Building Blocks Parts for aliexpress

https://th.aliexpress.com/item/100500...

But I need to create own ESP32 program use for control BLE power module. So, this is the process that I sniffer BLE data between BLE power module and controller (I use mobile app for control through BLE)

You need to have nRF52840 Dongle for Sniffer on Wire Shark Program.
I found useful video to explain at    • How to Use nRF52840 Dongle for BLE Sniffin...  

After I got the data between controller and power module, I let ChatGPT analyze, and coding for ESP32 on arduino.
I put the code on Github at
https://github.com/pecpys/pecpys-MQTT...

You can download .ino and flash on your ESP32 by change some setting (follow detail in github)
Then I show how it work.