Yet another Arduino clock

Does the world need more Arduino clocks? Maybe not. But I needed another Arduino project as I had made a K3NG morse keyer. I love this keyer because it is unique in supporting a display where you can see what you send.

But I wasn’t using the morse keyer all the time, so I wanted the hardware to serve two purposes. That’s the excuse for also making a clock. Its main features are:

The hardware for the K3NG keyer includes a speed pot and a memory bank selector (to the right) as well as four push buttons on top for selecting memories. These controls are not used by the clock, except for button 1. With it I can toggle the clock through various displays as shown below.
Local time, solar and lunar state
Line 1: Local day, date, time
Line 2: Sunrise, maximum solar elevation (actual solar angle during the day), sunset
Line 3: Civil dawn, local time at maximum solar elevation, civil dusk
Line 4: Lunar phase, arrow showing that it is rising, days since new moon

UTC and position display
Line 1: UTC time, locator
Line 3: latitude, longitude
Line 4: Altitude, number of GPS satellites
Dual time display with local time, UTC time, and locator
What I would like to have as well is an indication of lunar visibility at the actual location with azimuth and elevation for the moon. So far I haven’t had success in finding a suitable Arduino library for that, but I’m hoping that a reader of this blog may help me.

The post “Yet another Arduino clock” first appeared on the LA3ZA Radio & Electronics Blog.

Sverre Holm, LA3ZA, is a regular contributor to and writes from Norway. Contact him at [email protected].

One Response to “Yet another Arduino clock”

Leave a Comment

Subscribe FREE to's
Amateur Radio Newsletter
News, Opinion, Giveaways & More!

Join over 7,000 subscribers!
We never share your e-mail address.

Also available via RSS feed, Twitter, and Facebook.

Subscribe FREE to's
Amateur Radio Newsletter

We never share your e-mail address.

Do you like to write?
Interesting project to share?
Helpful tips and ideas for other hams?

Submit an article and we will review it for publication on!

Have a ham radio product or service?
Consider advertising on our site.

Are you a reporter covering ham radio?
Find ham radio experts for your story.

How to Set Up a Ham Radio Blog
Get started in less than 15 minutes!

  • Matt W1MST, Managing Editor

Sign up for our free
Amateur Radio Newsletter

Enter your e-mail address: