-->
Page 1 of 4

Pcf8523 don't work in deep sleep

PostPosted: Fri Oct 06, 2017 9:09 am
by Paolo Cinaglia
Hi to all.
I'm pretty new to programming, but i've created a data logging system that reads some data and post them on adafruit IO then the system goes in deep sleep.
All works fine except for the RTC that obviously is not so precise in keeping time. Now i need to replace with an external RTC, pcf8523 in my case, but i don't know how to keep the external RTC work when i'm in deep sleep. Any tips to do that? After 3 weeks of searching i've found nothing...

I'm using RTClib.h with Time.h and TimeAlarms.h to set alarms and use them.

My problem it's only to keep the RTC in function everytime; i think after that i will have no other problem to be solved

Thanks
PS: sorry for my english

Re: Pcf8523 don't work in deep sleep

PostPosted: Sat Oct 07, 2017 4:37 am
by gdsports
This is a well known problem. See if Adafruit will replace your board.

https://forums.adafruit.com/viewtopic.p ... 523+losing

Re: Pcf8523 don't work in deep sleep

PostPosted: Sat Oct 07, 2017 9:20 am
by Paolo Cinaglia
gdsports wrote:This is a well known problem. See if Adafruit will replace your board.

https://forums.adafruit.com/viewtopic.p ... 523+losing


Wait a sec. I don't have the time losing problem. I need to set my pcf8523 working even the entire system is in deep sleep so i can use it to wake up the entire system.
If I put the system in deep sleep forever, the pcf8523 don't wake up the system ever. I don't know how say in the code that the pcf8523 must stay out of the deep sleep

Re: Pcf8523 don't work in deep sleep

PostPosted: Mon Oct 09, 2017 3:03 am
by Paolo Cinaglia
gdsports wrote:This is a well known problem. See if Adafruit will replace your board.

https://forums.adafruit.com/viewtopic.p ... 523+losing


Thanks. My problem is to keep the pcf8523 awake when the system is in deep sleep. I don't have the losing time problem. I really need some help to get the pcf8523 working when the entire system is sleeping. If i use my datalogger without deep sleep it works very well. I need to put all in deep sleep except the pcf8523 that keeps time ad wake up the system time by time to do the work