• RTC Alarms

     Lukas updated 1 month ago 2 Members · 3 Posts
  • Columbo818

    Member
    July 31, 2021 at 1:54 pm

    The datasheet for the RTC used within the Controllino states that it has support for alarms.

    Datasheet here: https://www.mouser.co.uk/datasheet/2/530/RV_2123_C2-2308134.pdf

    My goal is that an interrupt would be recieved, at which point I close a relay and start a 30 second timer on the RTC, and when the timer is finished I’ll open the relay.

    The pinout table provides the pin number on which the interrupt would be received, but there doesn’t seem to be any library support for the alarm functions. Is this currently possible or will I need to develop this myself? If I have to develop this myself i’ll open a PR in hopes that the functions are made available to all.

    Is this possible?

    Thanks in advance.

    • This discussion was modified 1 month, 2 weeks ago by  Columbo818. Reason: Added extra info
  • Columbo818

    Member
    August 2, 2021 at 8:56 am

    Started with alarms – PR is here: https://github.com/CONTROLLINO-PLC/CONTROLLINO_Library/pull/47

    Will try to get timers implemented too.

    • Lukas

      Member
      August 17, 2021 at 8:34 am

      Thank you! I will check the PR and merge it.

      Best regards,

      Lukas

Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now