Skip to content
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

Reduce power consumption on ESP32 #2

Open
JshStadler opened this issue Jun 26, 2023 · 2 comments
Open

Reduce power consumption on ESP32 #2

JshStadler opened this issue Jun 26, 2023 · 2 comments

Comments

@JshStadler
Copy link

The below can be added to the YAML for the ESP to reduce the clock speed of the ESP32 to lower power consumption. It's the lowest speed that supports Wi-Fi, and it works perfectly for me:

esphome:
  platformio_options:
    board_build.f_cpu: 80000000L

I'm not sure how to share this here without logging an "issue".

@wernerhp
Copy link
Owner

wernerhp commented Sep 3, 2023

How much does it reduce the power by? Is it a significant amount? Do you have any benchmarks?

@JshStadler
Copy link
Author

@wernerhp
Not exactly, but it does make a slight difference. And just for controlling the gate it doesn't need the extra speed.
Below are some indications, but I can't confirm how accurate they are.

https://esp32.com/viewtopic.php?t=2662#:~:text=At%2080%20MHz%2C%20with%20two,one%20CPU%20it%20consumes%2040mA.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants