Hi, I am having trouble putting together the code for programming the 14M2 and the DS3231 to set and use alarm interrupts. I've been searching all over for examples to use; perhaps I'm overlooking a source of information but presently I'm just stuck.
I need to have the 14M2 sleep until it receives an alarm interrupt every 90 minutes from the DS3231. Then the 14M2 wakes up, performs a variety of tasks, resets the alarm, and goes back to sleep. This goes on for four months, so I am trying to conserve power as much as possible.
I know how to set the clock's time using Picaxe commands. I have some knowledge of the commands used for setting up the 14M2 for the interrupt (SETINT). I have looked at this information: https://picaxeforum.co.uk/threads/getting-started-with-the-ds3232-rtc-and-a-brief-comparison-of-some-other-rtc-chips.23739/ . But I seem to need very basic examples or other learning material. Can anyone steer me toward some?
Thank you!
I need to have the 14M2 sleep until it receives an alarm interrupt every 90 minutes from the DS3231. Then the 14M2 wakes up, performs a variety of tasks, resets the alarm, and goes back to sleep. This goes on for four months, so I am trying to conserve power as much as possible.
I know how to set the clock's time using Picaxe commands. I have some knowledge of the commands used for setting up the 14M2 for the interrupt (SETINT). I have looked at this information: https://picaxeforum.co.uk/threads/getting-started-with-the-ds3232-rtc-and-a-brief-comparison-of-some-other-rtc-chips.23739/ . But I seem to need very basic examples or other learning material. Can anyone steer me toward some?
Thank you!
Last edited: