ESP32 How to run on 80MHz instead of 240Mhz

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
stefan.erni
Valued Contributor
Posts: 756
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

ESP32 How to run on 80MHz instead of 240Mhz

Post by stefan.erni »

Hi Ben

To save power from the battery, a very simple way is to reduce the clock frequency in general.
With the ESP32 it would still be possible to work with 80MHz
and power consumption would drop significantly.

How can I change the clock of the ESP32 to 80MHz with Flowcode?

regards

Stefan

stefan.erni
Valued Contributor
Posts: 756
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: ESP32 How to run on 80MHz instead of 240Mhz

Post by stefan.erni »

Hi Ben

For the ESP32 it's in the config file but Flowcode has no option for 80MHz.

regards

Stefan

Info about it:
80Mhz_2022-04-14_13-35-37.jpg
80Mhz_2022-04-14_13-35-37.jpg (60.46 KiB) Viewed 1663 times
80MHz_2022-04-14_13-37-03.jpg
80MHz_2022-04-14_13-37-03.jpg (30.09 KiB) Viewed 1663 times

LeighM
Valued Contributor
Posts: 398
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 70 times
Been thanked: 211 times

Re: ESP32 How to run on 80MHz instead of 240Mhz

Post by LeighM »

It's a combo box, you can type in your own speed

stefan.erni
Valued Contributor
Posts: 756
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: ESP32 How to run on 80MHz instead of 240Mhz

Post by stefan.erni »

Hi Leigh

Thanks a lot for the info.
I had to enter 80 few times and then it worked.

My program needs power on 5Volt PSU as follows:

With 80MHz: normal 50-60mA, Bluetooth sending 90-100mA
With 240MHz: normal 70-90mA, Bluetooth sending 110-120mA

Comport and Bluetooth is working nice with both speed.

It's about 20% less, its something but not enough so I have to look further how can I reduce the power consumption

regards

Stefan

Post Reply