-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP NOW current consumption (IDFGH-3015) #5044
Comments
@sagar448 Thanks for reporting, we will look into. Thanks. |
@Alvin1Zhang Thanks for the reply Alvin, is there something I can do on my end? The problem is that espressif does not have one location where it states everything that can be turned on or off to reduce power consumption. Is there some functions you know I can use to turn on or off to reduce the power consumption? Thanks! |
@sagar448 Thanks for the follow-up. May need your help to understand I have a custom board with an esp32 chip, here, does the custom board refer to ESP32-DevKitC-V4 or any other board? If other board, would you please help share the name of the board? Thanks. |
I see the same. |
Hello @Alvin1Zhang The custom board is essentially a esp32-wroom-32D soc module. On a custom PCB. @ArnieO I think your issue maybe related to running the esp32 full out right ...if you were on IDF you can turn off certain features, lowering the power consumption. |
@sagar448 thank you for the follow-up ! But I have made good progress now, and found that the key is to de-initialize ESP-NOW at the transmitter side as soon as the message is sent. This cuts the consumption down to 21/28 mA (CPU at 80/160 MHz), measured on a barebone ESP32-WROOM module. I measured the total transmit duration (including initialization and de-initialization) to be 31-33 ms (mostly 32 ms). If the application allows, a Light Sleep cycle (either timed or using ext0/ext1 wakeup) enables reducing the consumption to below 1 mA. This is my test code for the transmitter:
|
@ArnieO @ArnieO @sagar448 For more infomation, you can refer to the docs for |
Thanks for reporting, feel free to reopen. |
Environment
git describe --tags
to find it):v3.3
xtensa-esp32-elf-gcc --version
to find it):1.22.0-80-g6c4433a5
Problem Description
I have a custom board with an esp32 chip. Everything is working perfectly except for the current consumption of the ESP NOW protocol. It says that the current is meant to be 60ma maximum, whereas the chip is drawing 90ma! This is too much, how would I be able to solve this?
The text was updated successfully, but these errors were encountered: