Decrease Power consumption

saruhan
Posts: 12
Joined: Tue Nov 02, 2021 7:42 pm

Decrease Power consumption

Postby saruhan » Mon Apr 04, 2022 3:57 pm

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.

alanesq
Posts: 86
Joined: Thu Dec 14, 2017 8:38 pm

Re: Decrease Power consumption

Postby alanesq » 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

A001FF
Posts: 12
Joined: Sat Apr 02, 2022 3:41 pm

Re: Decrease Power consumption

Postby A001FF » Mon Apr 04, 2022 5:25 pm

- Deep_sleep for 300ms.
- Power sensors (and pull up I2C resistor) from I/O pin.

saruhan
Posts: 12
Joined: Tue Nov 02, 2021 7:42 pm

Re: Decrease Power consumption

Postby saruhan » Mon Apr 04, 2022 6:01 pm

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Decrease Power consumption

Postby WiFive » Mon Apr 04, 2022 6:42 pm

Power saving methods are light sleep, deep sleep, dynamic frequency scaling, ulp coprocessor, and wake stubs. Pick what works best for you.

alanesq
Posts: 86
Joined: Thu Dec 14, 2017 8:38 pm

Re: Decrease Power consumption

Postby alanesq » Mon Apr 04, 2022 7:57 pm


saruhan
Posts: 12
Joined: Tue Nov 02, 2021 7:42 pm

Re: Decrease Power consumption

Postby saruhan » Tue Apr 05, 2022 3:46 pm

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

vanBassum
Posts: 68
Joined: Sun Jan 17, 2021 11:59 am

Re: Decrease Power consumption

Postby vanBassum » Wed Apr 06, 2022 6:13 am

Here is a handy dandy overview of the different power modes.
https://lastminuteengineers.com/esp32-s ... nsumption/

Who is online

Users browsing this forum: No registered users and 90 guests