configure PCF8523 alarm

Greetings,

i Have been trying to use the alarm setting on the PCF8523 i have used this 2 libraries.

https://github.com/adafruit/RTClib//jeeblab fork

http://playground.arduino.cc/Main/RTC-PCF8563

the first one i couldnt save the rtc data but it can be complemented easily

the playground one, i coulndt make it work properly maybe because the hardware pins it assign, i change them but it doesnt configure the time.

on the radukalbytes it says it can configure the alarm, i tried to use the setalarm and get alarm function but it always return 0.

its there an example i can follow or a tested library that can use this feature?

Well the GitHub - adafruit/RTClib: A fork of Jeelab's fantastic RTC Arduino library is supposed to work - what's you exact experience and can you share your code and explain what you see failing?

Rakzorg:
GitHub - radikalbytes/PCF8523

on the radukalbytes it says it can configure the alarm, i tried to use the setalarm and get alarm function but it always return 0.

Do you mean set_alarm() and get_alarm() functions? How do they 'return 0' when they don't return anything?

 void set_alarm(uint8_t day_alarm, uint8_t hour_alarm,uint8_t minute_alarm ) ;
 void set_alarm(uint8_t hour_alarm,uint8_t minute_alarm );
 void get_alarm(uint8_t* buf);

How are you detecting the alarm? Is the INT1 pin connected to something? Does it have the required puill-up resistor for an open-drain output? Do you just read bit 3 of the Control_2 register?

i end up using the PCF8563 as a base.

i checked the register byte and it made the interrupt correctly.

i had the interrupt checked with a led and it work fine

thanks for the ideas

I'm losing my sleep with this problem.

Obviously, you need some sleep. You were so tired, you forgot to post your code, and describe what it actually does, and how that differs from what you want.

Leaving the sarcasm aside (very mature, congrat), i had the same problem of Rakzorg. I can't figure out how to set alarms on my pcf8523. I've tried the same libraries with no results. I've asked Rakzorg the solution because after two weeks of searching and trying, I can't find a solution to this problem. He found the solution instead, and i'm asking some help just this.