Do you have an example using this module with node.js? Perhaps using a package like, https://www.npmjs.com/packa...
JaneYu 2017-09-30 08:34:10 8 Views17 Replies Do you have an example using this module with node.js? Perhaps using a package like, https://www.npmjs.com/packa...
Hi,
Anyone could please advise me on as why this RTC module unable to use DateTime? Thanks
DateTime was not declared
rtc.adjustRtc(DateTime(F(__DATE__), F(__TIME__)));
JaneYu Your welcome. Even if we can set alarm with this library, there are no code about how to use interrupt to wake board from sleep. May be that library does not include such features in source. So disappointing for such nice product.
JaneYu You seriously need to give more examples with other functionalities. For example Alarm set.
JaneYu Hi, it's been a long time ago but what did you do K.Negishi to fixe your problem. I'm having the same, when I disconnected my arduino, and connected again, the clock didn't remember and started from the setting time.
Thanks for the help
JaneYu Hi, At the first startup, use rtc.adjustRtc in void setup to set the time.
After that, you can comment out rtc.adjustRtc by adding // in front of it.
The module works just fine. I did just read in the manuel for the sensor that I need to connect to other pins to get the timer to function I think
JaneYu Hi Mr White. Did you work out some code to trigger an interrupt after 5 minutes? I'm not having much luck with this as the syntax from other examples I find on the web is not compatible with this module.
Thanks for any help you can give.
Yes, you can do that, but why do you want to countdown from 5 mins, why not just count for 5 mins each time to wake Arduino up.
JaneYu This RTC module can remember the real time since it has a battery, which means when you restart Arduino, it still can give current time. Do you mean you want to store the time when you press the reset button? what if use an SD module to save the time data?
JaneYu I do not want to save the time when I pushed the reset button, rather I do not want to initialize the time even if I reset it.
When I recorded data using the SD module, the recorded data was recorded the initialized time after the reset.
Since it is said that initialization of time is not the specification of the product, I will purchase the same product again and try it.
thank you for your answer.


