2020-02-27 06:28 AM
Hi Community,
I am working on deveoping applications on STM32 IoT Doscovery kit. I am interested in the lowe power design aspects as far as the sensor reading is concerned. This is my first time working with sleep modes / reducing power consumption.
Cosnidering i have 3 sensor , thanks to stm32 IoT node, all the sensors are available onboard.
Polling interval referes as to how often the sensor reading should taken, I have implemeted entering stop2 mode and wake up using wake up timer interrupt. So far its working fine.
How can i implement a mechanism where the mcu wake up at different regular intervals and reads the specific sensor data and goes back to sleep. How can one diffrentiate which interrupt was triggered (After 30mins i would have to read both sensor A and B's data, similarly after 45min for all sensors A, B and C ) ? .Is there any way to fulfill all the reading intervals keeping the wake up time as low as possible?
Any guide link or examples in this regard would be much appreciated.