My project involves collecting data every 5 minutes. In addition to collecting data, it will also have a prediction system. In short, some variables are required to persist.
Currently, I'm using the delay function to span the 5 minutes. I know that the delay function doesn't help with power consumption at all. Therefore, I would like to use sleep instead.
I'd rather not risk it with EEPROM (because of the limited write cycles), so I want to ask: how deep can I go into sleep state while preserving variable values?