-
Notifications
You must be signed in to change notification settings - Fork 3
Energy consumption
Ivan edited this page Jun 8, 2020
·
4 revisions
Here is my thoughts about how to reduce energy consumption.
I need to read all data from all sensors by ulp coprocessor, while main processor is in deep sleep. Ulp coprocessor has i2c interface and I need to use i2c sensors. I can run ulp program once at start and this program should read all data in RTC slow memory. Once some amount of data stored in RTC SLOW MEMORY main esp32 processor should wake up and store it on SPI flash. As I can assume, I can't read big amount of samples because MAX30100 stored raw samples data for heart bits (not counter), but esp32 have only 8kb slow memory. (i have only - MAX30100/MAX30102 and can't find something else)
- I need use only special RTC PINS for reading data from sensors, it means I need to use non standard i2c pins
- I need to separate sensor logic from display (in case I use i2c display)
- Can i write small asm code for 5 sensors? (8kb limit for data and code!)
- I need to read data via ulp and via main processor concurrental (at least at first time)
- calculate energy consumption via INA219 (almost ready)
- read step counter
- read body temperature
- read DS3231
- read pulse/HR data