Page 1 of 1

Decrease Power consumption

Posted: Mon Apr 04, 2022 3:57 pm
by saruhan
Hello

I read mpu6050 register value every 300ms .
WiFi off Bt off adc off .

ESP32 current is 15-20ma.

I need decrease, lowe power consumption . is it possible? if it is how can i do lower power consumption?

Best regards.

Re: Decrease Power consumption

Posted: Mon Apr 04, 2022 4:14 pm
by alanesq
Andreas Spiess has done a lot of videos on low power projects, you may find some helpful/interesting info here:
https://www.youtube.com/c/AndreasSpiess/videos

Re: Decrease Power consumption

Posted: Mon Apr 04, 2022 5:25 pm
by A001FF
- Deep_sleep for 300ms.
- Power sensors (and pull up I2C resistor) from I/O pin.

Re: Decrease Power consumption

Posted: Mon Apr 04, 2022 6:01 pm
by saruhan
alanesq wrote:
Mon Apr 04, 2022 4:14 pm
Andreas Spiess has done a lot of videos on low power projects, you may find some helpful/interesting info here:
https://www.youtube.com/c/AndreasSpiess/videos
I looked these videos but ididny find any video under 20mA power consumption.

Re: Decrease Power consumption

Posted: Mon Apr 04, 2022 6:42 pm
by WiFive
Power saving methods are light sleep, deep sleep, dynamic frequency scaling, ulp coprocessor, and wake stubs. Pick what works best for you.

Re: Decrease Power consumption

Posted: Mon Apr 04, 2022 7:57 pm
by alanesq

Re: Decrease Power consumption

Posted: Tue Apr 05, 2022 3:46 pm
by saruhan
I downloaded ulptool https://github.com/duff2013/ulptool but it seems error please tell me what is my fault.


Code: Select all

c:/users/delphi/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Delphi\AppData\Local\Temp\arduino_build_460710\sketch\ulp_adc.ino.cpp.o:(.literal._Z5setupv+0x14): undefined reference to `_binary_ulp_main_bin_end'
c:/users/delphi/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Delphi\AppData\Local\Temp\arduino_build_460710\sketch\ulp_adc.ino.cpp.o:(.literal._Z5setupv+0x18): undefined reference to `_binary_ulp_main_bin_start'
c:/users/delphi/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Delphi\AppData\Local\Temp\arduino_build_460710\sketch\ulp_adc.ino.cpp.o:(.literal._Z5setupv+0x30): undefined reference to `ulp_temperature'
c:/users/delphi/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Delphi\AppData\Local\Temp\arduino_build_460710\sketch\ulp_adc.ino.cpp.o:(.literal._Z5setupv+0x3c): undefined reference to `ulp_entry'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board ESP32 Dev Module.
I tried add library but it seems another error:

Code: Select all

Specified folder/zip file does not contain a valid library

Re: Decrease Power consumption

Posted: Wed Apr 06, 2022 6:13 am
by vanBassum
Here is a handy dandy overview of the different power modes.
https://lastminuteengineers.com/esp32-s ... nsumption/