Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:20 17 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Grandfather Clock

Author Message
William Leue
Guru

Joined: 03/07/2020
Location: United States
Posts: 405
Posted: 09:38pm 16 Feb 2021
Copy link to clipboard 
Print this post

As a part of my series of different clocks, I present my new Grandfather Clock, as shown in the image below.

This clock, when configured for your location, displays the times of Sunrise, Sunset, the current Moon phase, the current Sign of the Zodiac, and the current UTC time.

To configure the clock, you only need set the values of 3 constants at the top of the program: LATITUDE, LONGITUDE, and UTC_OFFSET. When you start the program without first configuring it, a screen will appear that gives detailed instructions on how to configure it.

Enjoy!
-Bill





GrandfatherClock.zip
 
William Leue
Guru

Joined: 03/07/2020
Location: United States
Posts: 405
Posted: 10:46pm 16 Feb 2021
Copy link to clipboard 
Print this post

Well, darn! I had an Oops moment and posted the wrong ZIP file.

Here is the correct one.

-Bill


GrandfatherClock.zip
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 10:49pm 16 Feb 2021
Copy link to clipboard 
Print this post

Just got me in time, I was just ready to load it onto a backpack.
It looks interesting.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 11:58pm 16 Feb 2021
Copy link to clipboard 
Print this post

@ William,
           What MM does this run on???
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
William Leue
Guru

Joined: 03/07/2020
Location: United States
Posts: 405
Posted: 01:07am 17 Feb 2021
Copy link to clipboard 
Print this post

It runs on CMM2. That's the only one I own.
-Bill
 
William Leue
Guru

Joined: 03/07/2020
Location: United States
Posts: 405
Posted: 07:11pm 21 Feb 2021
Copy link to clipboard 
Print this post

Here is an upgrade to version 1.1.0 of the Grandfather Clock. There was a bug in the moon phase to moon angle conversion. This one now works correctly. I have tested it for New Moon, Quarter Moon, Full Moon, and 3/4 Moon dates for several months and they all come out right.

My apologies for not adequately testing this before.

BTW, to avoid ugly display flashing and flickering, the moon phase and display is only updated at midnight; that is, once per day. This unfortunately means there is no hour increment to the moon position. So on the next full moon on February 27, you will note that the moon disk is not precisely centered between the two blue hemispheres, but inclined slightly to the right. This is in fact exactly correct, because at midnight the moon phase is 0.53, not 0.5. Unlike physical grandfather clocks, which approximate the true lunar month to about 29 days, my simulation uses the exact lunar month of 29.53 days.

-Bill


GrandfatherClock.zip
 
cletus3x

Newbie

Joined: 31/07/2020
Location: United States
Posts: 17
Posted: 04:25pm 26 Feb 2021
Copy link to clipboard 
Print this post

Clockmaster Bill!

Awesome, I will take a look at this one.
Love your clocks.

-George
CMM2 Demos:
Kit Cat Clock
BCD Clock Video
 
cletus3x

Newbie

Joined: 31/07/2020
Location: United States
Posts: 17
Posted: 04:44pm 26 Feb 2021
Copy link to clipboard 
Print this post

Oh, btw, has anyone else had issue with the RTC not keeping time?

Mine doesn't seem to be working correctly.

-George
CMM2 Demos:
Kit Cat Clock
BCD Clock Video
 
mclout999

Guru

Joined: 05/07/2020
Location: United States
Posts: 492
Posted: 04:50pm 26 Feb 2021
Copy link to clipboard 
Print this post

  cletus3x said  Oh, btw, has anyone else had issue with the RTC not keeping time?

Mine doesn't seem to be working correctly.

-George


See current users manual page 56 = OPTION RTC CALIBRATE
They call me Shai-Hulud (The maker)
 
cletus3x

Newbie

Joined: 31/07/2020
Location: United States
Posts: 17
Posted: 06:29pm 26 Feb 2021
Copy link to clipboard 
Print this post

  mclout999 said  
  cletus3x said  Oh, btw, has anyone else had issue with the RTC not keeping time?

Mine doesn't seem to be working correctly.

-George


See current users manual page 56 = OPTION RTC CALIBRATE


mclout999, you rock!



What a great community here!

-George
CMM2 Demos:
Kit Cat Clock
BCD Clock Video
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025