ds3231 Alarm mask


+ Reply to Thread
Results 1 to 3 of 3

Thread: ds3231 Alarm mask15 days old

  1. #1
    Junior Member run75's Avatar
    Join Date
    Jan 2020
    Posts
    8
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    0

    0 Not allowed!

    Default ds3231 Alarm mask

    Hi everybody!
    I started working on a ds3231 RTC clock module, but I can't figure out how to set the alarms.
    It goes so far as to set the Alarm clock, date, enable interrupt, but I don't know how the alarm match is to be set.
    Does anyone know an example?

Attention

This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

The advertisements we display are relevant to this web site and your browsing history

Please consider supporting us by disabling your ad blocker.


Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

If you can, please report issues in the forum area WebSite / Forum Issues


Thank you for your attention.

  • #2
    Junior Member run75's Avatar
    Join Date
    Jan 2020
    Posts
    8
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    0

    0 Not allowed!

    Default Re: ds3231 Alarm mask

    I found out!


    'ALARM 1---------------------------------------

    'Alarm when date, hours, minutes, and seconds match
    HBusOut WriteAddress, $0A, [%10000000]

    'Alarm when day, hours, minutes, and seconds match
    HBusOut WriteAddress, $0A, [%11000000]

    'Alarm when minutes and seconds match in date
    HBusOut WriteAddress, $0A, [%10000000]
    HBusOut WriteAddress, $09, [%10000000]

    'Alarm when minutes and seconds match in day
    HBusOut WriteAddress, $0A, [%11000000]
    HBusOut WriteAddress, $09, [%10000000]

    'Alarm once per second in day
    HBusOut WriteAddress, $0A, [%11000000]
    HBusOut WriteAddress, $09, [%10000000]
    HBusOut WriteAddress, $08, [%10000000]
    HBusOut WriteAddress, $07, [%10000000]


    It may help others

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #3
    Prolific Poster charliecoultas's Avatar
    Join Date
    Sep 2010
    Posts
    1,384
    Thumbs Up
    Received: 48
    Given: 39
    Total Downloaded
    3.45 GB

    0 Not allowed!

    Default Re: ds3231 Alarm mask

    Well done. And thanks for posting the solution, it probably will help others.

    Charlie

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

       

    Similar Threads

    1. DS3231 Alarm settings anybody
      By bravo in forum Projects discussion
      Replies: 14
      Last Post: 1st December 2019, 17:02
    2. Problem with DS3231
      By Mentcleer in forum Proton Plus Compiler v3
      Replies: 8
      Last Post: 26th August 2016, 12:58
    3. Oh dear. Strange things with a DS3231
      By Daniel in forum RTC Module
      Replies: 4
      Last Post: 11th February 2016, 23:49
    4. Hardware I2C and DS3231 RTC Problems
      By SimonJA in forum Proton Plus Compiler v3
      Replies: 3
      Last Post: 9th June 2010, 21:44
    5. [SOLVED !] PCB Solder Mask
      By swright in forum PCB Production
      Replies: 5
      Last Post: 6th December 2007, 22:14

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts