Help Needed: Best Approach for ESP32 Bluetooth Mesh with Sensor Integration

Joyes12
Posts: 1
Joined: Sat Nov 30, 2024 4:36 pm

Help Needed: Best Approach for ESP32 Bluetooth Mesh with Sensor Integration

Postby Joyes12 » Sat Nov 30, 2024 4:41 pm

Hello Everyone,

I’m currently working on a project involving an ESP32-based Bluetooth Mesh network to collect environmental data from a set of sensors. My goal is to have multiple ESP32 nodes, each equipped with a temperature and humidity sensor (DHT22 or similar), and have the data transmitted efficiently across the network to a central ESP32 gateway.

I’ve done some research and successfully set up a basic Bluetooth Mesh using the ESP-IDF framework, but I’m facing challenges in optimizing the system. Here are a few specific questions where I’d love your input:

Efficient Data Transmission:
What’s the best way to handle periodic sensor data updates in a Bluetooth Mesh? Should I batch multiple sensor readings into one message, or transmit each reading individually to reduce latency?

Power Optimization:
For battery-powered ESP32 nodes, what strategies have you found effective for minimizing power consumption in a Bluetooth Mesh setup? Are there specific settings or techniques that work particularly well?

Error Handling:
In cases where mesh nodes lose connectivity temporarily, how do you ensure data integrity? Is it better to implement a retry mechanism, or simply log and skip missed readings?

Alternative Suggestions:
If anyone has experience with similar projects, are there alternative protocols or setups you’d recommend over Bluetooth Mesh for this type of application?

I’d greatly appreciate any advice, sample code, or resources that could help me overcome these hurdles. Thank you in advance for sharing your expertise.

joyesgcp

Who is online

Users browsing this forum: Majestic-12 [Bot] and 90 guests