keep track of time of day with GSM module


i have gsm arduino sensor hook sleeps 15 minutes before uploading data database. want turn off overnight , considering using external clock or light sensor, figured gsm module has it's own ability check time.

do of have easy way keep track of time using atmega internal cycles? problem being millis doesn't work while sleeping. i'm guessing i'll have keep track of number of sleep cycles (x 8s per cycle) + millis while arduino awake , use estimate time of day. that'll close enough, maybe every few days check , reset clock. or there i'm missing?



Arduino Forum > Using Arduino > Project Guidance > keep track of time of day with GSM module


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'