BLE with external Oscillator and light sleep

hyxamp
Posts: 1
Joined: Sun Nov 15, 2020 4:51 pm

BLE with external Oscillator and light sleep

Postby hyxamp » Sat Mar 20, 2021 11:47 am

Hi,
Im using the ESP32 with Platform IO and Arduino IDE. In my next project, I want to use BLE with the primary goal to keep the power consumption as low as possible. At the moment, the avg current consumption of my esp32 with BLE is about 60-70 mA. That is too much for me. There is a comment on github, which could solve the problem:

https://github.com/espressif/esp-idf/is ... -500312453

I already have an external TCXO which I could use for this project. My question is: what kind of setting do I have to program, if I want to achieve a power consumption of 3 mA as well? The git description is for ESP-IDF and I am not familiar with that. I think its not that hard to implement the settings to my Arduino IDE project, but I dont know how.

It would be great if the esp32 is going to light sleep if the connected client doesnt cause any traffic. If there is any request by the client, the esp32 wakes up and operates in normal mode, as long as there is something to do. After that, he is going back to sleep. Is this a scenario which could be realistic?

Can anybody help me please?
Best regards

Who is online

Users browsing this forum: No registered users and 102 guests