MIAC Easy Clock Adjustment + Day & Date Display

For MIAC users to discuss projects, applications, and any other issues related to the MIAC unit.

Moderators: Benj, Mods

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8412
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2401 times
Been thanked: 3434 times
Contact:

MIAC Easy Clock Adjustment + Day & Date Display

Postby medelec35 » Mon Dec 10, 2012 1:00 am

This is really about developing a clock and date adjustment system.
Since a MIAC has not got a full keypad, I wanted to make it as easy as possible to adjust time and date with just the four cursor keys.
Adjust Date and Time2.png
Adjust Date and Time2.png (75.85 KiB) Viewed 2939 times
The digit to be altered flashes.
To increase it's up cursor key.
To decrease it's down cursor key.
Next digit left...left cursor key.
Next digit right.... right cursor key.

As an added bonus when the date is set, the correct day of the week (hopefully :P ) Should be automatically displayed.
Adjust Date and Time.png
Adjust Date and Time.png (30.56 KiB) Viewed 2939 times

The date should take into account leap years and how many days are in the month.
So you should not see 31/09/2012 since that date does not exist.
Any additional functions can be added if the interest is there. E.g alarms.
Clock should be fairly accurate (within 0.014%), more accurate version is planned soon when I have a bit more time spare.
You don't have to go with the 'F1 Adjust Time' etc, Display menu can be whatever you like!

Note: This clock system is not using any RTC. All functions are built from within.


Martin
Attachments
MIAC Setting Date Time.fcf
(66.95 KiB) Downloaded 205 times
These users thanked the author medelec35 for the post (total 3):
Enamul (Mon Dec 10, 2012 12:42 pm) • DavidA (Mon Dec 10, 2012 6:11 pm) • Benj (Wed Dec 12, 2012 12:38 pm)
Rating: 15.79%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8412
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2401 times
Been thanked: 3434 times
Contact:

Re: MIAC Easy Clock Adjustment + Day & Date Display

Postby medelec35 » Wed Dec 12, 2012 8:30 am

attached is a version with an accuracy of 0.0053%
Over the course of 10 hours clock has gained just under 2 seconds.
Attachments
MIAC Setting Date Time V2.fcf
(68.41 KiB) Downloaded 221 times
These users thanked the author medelec35 for the post (total 2):
LeighM (Wed Dec 12, 2012 10:09 am) • Benj (Wed Dec 12, 2012 12:38 pm)
Rating: 10.53%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.