DS3231 ALARM

Post and discuss new components that you have created.
max.tisc
Posts: 55
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 5:40 pm
Been thanked: 5 times

Re: DS3231 ALARM

Post by max.tisc »

HI
thank you very much for your job and the very fast answers, loaded the component but the connection pins are disapper again

mnfisher
Valued Contributor
Posts: 938
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 502 times

Re: DS3231 ALARM

Post by mnfisher »

Oops sorry - hit #<enter> when I saved the file and then went back a step...

So - with transaction i2c and the missing pins!
DS3231.fcpx
(6.34 KiB) Downloaded 175 times

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 469 times

Re: DS3231 ALARM

Post by medelec35 »

mnfisher wrote:
Fri Apr 29, 2022 10:43 pm
The component doesn't simulate or display nicely on the 2d panel (if anyone would like to assist?)
Hi Martin.
I can see if I can get to look right if you would like to post or PM the source, along with any used images.
Martin

max.tisc
Posts: 55
Joined: Thu Dec 10, 2020 5:40 pm
Been thanked: 5 times

Re: DS3231 ALARM

Post by max.tisc »

thank you
I'll try today

mnfisher
Valued Contributor
Posts: 938
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 502 times

Re: DS3231 ALARM

Post by mnfisher »

Good luck...

Martin (medelec) kindly added an icon to the component so it should show up on the dashboard.
ds3231.zip
(9.13 KiB) Downloaded 195 times
Martin

max.tisc
Posts: 55
Joined: Thu Dec 10, 2020 5:40 pm
Been thanked: 5 times

Re: DS3231 ALARM

Post by max.tisc »

many thanks to all
the component seems to me that it works well and you can also see the new icon, I could not test all its features, also because it would take a manual to do this, but it is read / written, and the alarm every minute with reset works with ESP32 , now I'm waiting for the new RPY PICO board to arrive and hope it works well there too, I'll let you know
Thanks mnfisher and Medelec35

mnfisher
Valued Contributor
Posts: 938
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 502 times

Re: DS3231 ALARM

Post by mnfisher »

Glad to hear you have it working. Any questions or suggestions then please ask...

Martin

max.tisc
Posts: 55
Joined: Thu Dec 10, 2020 5:40 pm
Been thanked: 5 times

Re: DS3231 ALARM

Post by max.tisc »

Hello everyone
I was able to test the RTC ds3231 component on RPI Pico but the alarms do not work while the reading and writing of the time and date work, the strange thing is that it no longer works even on ESP32, the output always remains at 0, if I do not have wrong should bring to 1 at the end of the minute, at the moment I have not inserted the reset alarm I am attaching the test file ESP32 so that you can see if I have done something wrong
thank you
Attachments
ESP32_RTC_DS3231_test2.fcfx
(14.44 KiB) Downloaded 170 times

mnfisher
Valued Contributor
Posts: 938
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 502 times

Re: DS3231 ALARM

Post by mnfisher »

Sorry - missed this message....

I'm not sure - what are you trying to achieve? I don't have a Pico to test on - but it doesn't look in the code as though you are accessing the alarm signal - just outputting time etc every 500ms..
What result are you getting - and what should you get here?

Martin

max.tisc
Posts: 55
Joined: Thu Dec 10, 2020 5:40 pm
Been thanked: 5 times

Re: DS3231 ALARM

Post by max.tisc »

hello mnfisher
yesterday I saw your post and I picked up the ds3231 again and on ESP32 it started working (at the stroke of the minute I saw the ESP32 output lower and then return to high and this happened every minute) I was happy but confused because it was a while I got nothing out of the way, and then suddenly there it was. at this point I create the same program for RPI PICO, I connect the DS3231 but nothing comes out, I reconnect the DS to the ESP32 but I have no response from the output, I recreate the same program for an old arduino 2560 I read the date and time but the output does not respond, on this file I added an interrupt that is connected to the DS output that turns on a led in case it goes from a high to low logic level
I am attaching the file
thank you
Attachments
2560_RTC_DS3231_test2.fcfx
(16.55 KiB) Downloaded 162 times

Post Reply