northernwidget / ds3231_logger Goto Github PK
View Code? Open in Web Editor NEWA simplified clock interface for the DS3231 RTC
License: GNU General Public License v3.0
A simplified clock interface for the DS3231 RTC
License: GNU General Public License v3.0
Device alarm fails to account for leap year, so ends up missing one day of events. At rollover from 02/28 -> 02/29 the device instead sets the alarm from 02/28 -> 03/01 (since it is not accounting for the existence of 02/29 due to leap year), so device should trigger, but not until a day later.
Implement conditional testing for leap year (see conditions), use this condition to determine the number of days in February to prevent pre-mature rollover for leap years
Include array of next 10 leap years, test year value against list, if year value is member of list, then take modulus so that February contains proper number of days.
Hopefully this will push the problem off until I am enjoying my cushy Fijian retirement...
It has been reported that when using a logging interval other than 1 minute (software set), that the system fails to set a new alarm when the month rolls over (additional testing required)
Investigate the calculation and setting procedure and find why the month is not incremented (suspected cause)
Alarm seems not to get set/triggered when the time is set to year 2000, test and verify this is the issue, if so find a fix
Currently negative temperature calculation rolls over, example (real data):
Thermistor Temp [C] | RTC Temp [C] |
---|---|
10.25 | 10.75 |
6.19 | 7.50 |
1.72 | 3.50 |
- 0.3 | 1.50 |
-2.01 | 254.25 |
-3.52 | 253.75 |
-6.24 | 252.00 |
Fix calculation to allow for negative outputs (first glance looks like a 2s complement to float issue?)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.