Is possible to break down the current consumption keeping the BLE connection?

thoraz
Posts: 27
Joined: Tue Jan 28, 2020 4:02 pm

Is possible to break down the current consumption keeping the BLE connection?

Postby thoraz » Mon Sep 13, 2021 9:36 am

I have two ESP32 Mini modules. One of them is a BLE server powered by a power line, the other one is a BLE device powered by a battery. When the system is active, the device connects itself to the server to send information about its state. These informations are sent only if there is a change in the state of device, so not with fixed timing.
Once the device connects to the server, its current consumption is about 30mA, that is too much for my purposes. I've seen that the sleep modes on the ESP32 disable the RF module, so I think that every wake up I need to reconnect the device to the server.

What's the best way to save the device power consumption in my scenario?
Is possible to break down the current consumption keeping the BLE connection? Cause I think that every reconnection envolves spikes in current that make the situation worse. But I might be wrong.

Some suggestions?

nhedlund
Posts: 7
Joined: Sun Sep 12, 2021 3:11 pm

Re: Is possible to break down the current consumption keeping the BLE connection?

Postby nhedlund » Mon Sep 13, 2021 12:58 pm

I have zero experience with sleep modes and current consumption, but it sounds to me like the best scenario for you is to wake up periodically to take your measurement and then only enable BLE if you have anything to "new" to transmit. Also if timing of event is not a factor, maybe you can store the data and only transmit if you have buffered up an large enough amount of "new data" to minimize the amount of transfers in a day or so.

Sounds like a fun project you got going there! :)

Who is online

Users browsing this forum: Google [Bot], KMTsvetanov and 106 guests