How to reduce power consumption on an ESP32 development board. PART1

  Переглядів 10,241

Volos Projects

Volos Projects

День тому

I constantly receive questions related to power consumption, which is why I've decided to conduct a few tests to show you what influences consumption, how to reduce it, and the compromises we may need to make.
In this test i am using LilyGo t-display S3. This is first part!
Development board used: www.lilygo.cc/0cAg0r
Code is here: github.com/VolosR/power
You can buy me COFFEE here: ko-fi.com/volosprojects
Thank you!!

КОМЕНТАРІ: 31
@TD-er
@TD-er 6 місяців тому
When measuring power consumption, a very good tool is the Nordic Power Profiler Kit II (PPK2). Version 2 can deliver upto 1A and does have an incredible resolution so you can also properly measure sleep mode as well as fully powered mode. It also has several GPIO-input pins which can be included in the logs so you can set some pins to add markings when you change state. In the software you can easily compute the consumed energy over some period, which is a lot harder to measure using your USB power meter. You can also set the output voltage of the PPK2, so you can simulate energy consumption when running at different voltages.
@user-qc9yz9jd6r
@user-qc9yz9jd6r 6 місяців тому
Hello Volos, you not need to upload new software to change CPU Mhz, I do it in code: setCpuFrequencyMhz(80); // Below 80 Mhz WiFi doesn't work, low value is saveing battery power (240 Mhz is maxmum speed)
@VolosProjects
@VolosProjects 6 місяців тому
Thank you i did not knew that.
@csabalenart7699
@csabalenart7699 4 місяці тому
Thanks, I just wanted to search for this method.
@billcodey1430
@billcodey1430 6 місяців тому
This is a hugely valuable topic! Thanks.
@antoinenguyen959
@antoinenguyen959 6 місяців тому
Just in time for my project! Needed this
@OlegPanfyorov
@OlegPanfyorov 6 місяців тому
Thanks! Very useful info! Just ordered several
@mojo_jojo
@mojo_jojo 6 місяців тому
I really like your videos and your designs. Please keep it up
@tma1818
@tma1818 5 місяців тому
sve je odlično i puno pomaže. poručio sam liligo. jedino što video gledam na 1.5 brzini 😊
@badushashaik8429
@badushashaik8429 6 місяців тому
I am waiting for yours project ..very nice project
@JonnyWaldes
@JonnyWaldes 6 місяців тому
Banger video Volos!
@csabalenart7699
@csabalenart7699 4 місяці тому
Hi Volos, Thank you very much for this very interesting video. Can't wait for part2. Could you please link that in description if available?
@marshallscholz8629
@marshallscholz8629 Місяць тому
I am really interested in how the amoled board does. And if you can do an "always on display" like a smart watch or phone with the oled in a few milliamps of current or less and have the cpu sleep for most of the time. since you are only powering the active pixels and not a full backlight it should be possible to have a very low power consumption. IT would be helpful if you were able to turn off the display completely on these boards. so we can tell how much power the display takes, and how much the esp32 takes. Really love your videos and examples.
@erikderuiter7475
@erikderuiter7475 6 місяців тому
Your exceeding excellent video's are too SHORT! ;) Thank you so much...!!
@BlondieSL
@BlondieSL 6 місяців тому
I haven't played with the frequency as yet. Can the frequency be changed by code in a sketch on the fly? So perhaps the code and slow the speed until perhaps a touch or some reason to turn on the display?
@robertcloutier8839
@robertcloutier8839 5 місяців тому
Part 2 ???
@abdelnacer7721
@abdelnacer7721 6 місяців тому
Can you do a timer countdown with esp32 tft display+SquareLine Studio, thank you
@remib242
@remib242 6 місяців тому
With an e-ink screen, a refresh rate greater than a minute, no wifi, and the deepsleep of the esp32, you should be able to reach weeks, and also size the battery according to the desired duration if it is not enough. Afterwards you must remove all flashing LEDs from the board, and other voltage regulators which consume too much. In all cases it depends on the needs, on battery, you have to limit everything that is not necessary, the esp32 in deep sleep only consumes a few micro amps.
@fullpower8382
@fullpower8382 6 місяців тому
Nice!
@zaprodk
@zaprodk 6 місяців тому
This is the first time that i notice that it can go slower than 80 MHz. Interesting!
@vavanbonus
@vavanbonus 6 місяців тому
My first pc had 6Mhz and I've played games on it 😂
@viktorhugo8252
@viktorhugo8252 6 місяців тому
Are you sure the battery is directly connected to the ESP-s3? 4,35 Volt is a lot for ESP. I thing there is a low drop regulator on the board.
@nccyr1
@nccyr1 6 місяців тому
Good catch but look at the schematic raw.githubusercontent.com/Xinyuan-LilyGO/T-Display-S3/main/schematic/T_Display_S3.pdf. The BAT voltage does not go through the USB 5V regulator but it is still controlled by some devices(Q2-Q3). I think Volos' voltage report is right though (voltage divider to ADC pin 4).
@VolosProjects
@VolosProjects 6 місяців тому
Hm, i am not sure, i think you are right
@alvarosantosjunior2239
@alvarosantosjunior2239 Місяць тому
Hello Volos, a question about configuration, when I received the new lilygo ESP32S3, it worked on battery power, when I did the first program, it stopped working on battery, it only works on USB-C, do you know if there is any setting to activate battery power? Congratulations on helping the developer community with the tips
@VolosProjects
@VolosProjects Місяць тому
Lcd is conected to pin 15, you need to put ih high on begining of sketch. In setup part of code you can add. pinMode(15,OUTPUT); and digiralWrite(15,1);
@alvarosantosjunior2239
@alvarosantosjunior2239 Місяць тому
@@VolosProjects Thank you so much for the quick response!!
@notsecure
@notsecure 6 місяців тому
I keep getting this error, any ideas? "c:\Users\user1\Documents\Arduino\libraries\WiFi\src/WiFiGeneric.h:33:10: fatal error: esp_eth_driver.h: No such file or directory"
@ytfp
@ytfp 6 місяців тому
Maybe try with red color instead of white for display color, see if there is a difference.
@csabalenart7699
@csabalenart7699 4 місяці тому
I think color affects only oled displays consumption (if you use only 1 led of the 3 colors (red, green or blue), but tft/lcd works differently, but anyway I'm also curious now :D
@HenAndPenn
@HenAndPenn 6 місяців тому
Could you make a real life COD AI battle buddy out of an M5stack device? I know that would get a bunch of views from the COD Gamers! Who else thinks this would be a great project?
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Переглядів 200 тис.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Переглядів 507 тис.
CAN Gateway: Monitoring Cars Wirelessly!
8:02
MrDIY
Переглядів 117 тис.
Best ESP32 board with AMOLED display - LilyGo T4 S3
13:35
Volos Projects
Переглядів 174 тис.
Monitoring  House Power Consumption with ESP32 and Shelly Power Meter
8:39
How to Run Linux on an ESP32
18:53
element14 presents
Переглядів 142 тис.
Tutorial - How to control a PWM fan with an ESP32 and Home Assistant
8:17
The BEST ESP32 project based on ChatGPT | IOT Projects | NextPCB
16:27
inventor aw - This Device is very helpful ,, you can make at home
6:47
How to Change User Interface without reprograming ESP32
10:32
Volos Projects
Переглядів 9 тис.
Как должен стоять ПК?
1:00
CompShop Shorts
Переглядів 621 тис.
Компьютер подписчику
0:40
Miracle
Переглядів 193 тис.
GitHub Copilot just got promoted to Captain
4:01
Fireship
Переглядів 423 тис.