Ham Clock Raspberry Pi

Last content update: 21. December 2019

The following instructions are no longer up to date. Check out the YouTube page of KM4ACK. There you can find current information about Rasperry Pi and ham radio. https://www.youtube.com/c/KM4ACK/videos

Install Ham Clock on a Raspberry Pi3 with a 7inch touch display

Download the Raspbian Image from https://www.raspberrypi.org/downloads/ and install it on a sd card. For this i use https://www.balena.io/etcher/. Put the sd card in the Raspberry Pi and start the system. Make the basic setup as you like. For the first installation it makes sense to connect a keyboard and mouse to the Raspberry Pi. This will not be necessary later. Alternatively, access is also possible via VNC.

Before I install new software I start an update. I start the terminal and enter the following command

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Start the terminal again and install Ham Clock

curl -o ESPHamClock.zip http://www.clearskyinstitute.com/ham/HamClock/ESPHamClock.zip
unzip ESPHamClock.zip
cd ESPHamClock
make -j 4 hamclock

This example command will build HamClock at 800×480 pixels for X11. Type make help for a complete list of other sizes and desktop environments

Now you can start Ham Clock with


After start you can take some setups. That’s all. Is that easy.

Many thanks to Elwood, WB0OEW. It looks beautiful and works great.

For more information about Ham Clock, operating instructions and much more have a look here: http://www.clearskyinstitute.com/ham/HamClock/. There you can also read what to do if another monitor is used.

Supplementary Tips

Touch Display 7 inch

I use the original 7 inch touch display https://www.raspberrypi.org/products/raspberry-pi-touch-display/. There are many ready-made cases for this on the Internet. For my case i must rotate the screen. It is easy. Open the config.txt file

sudo nano /boot/config.txt

and add the following text to the beginning of the config.txt file


After that please save the file and reboot.

lcd_rotate=0 normal
lcd_rotate=1 90 degree
lcd_rotate=2 180 degree
lcd_rotate=3 270 degree

If you want to disable the screen saver it is easiest to install a screen saver utility

Start the terminal and enter

sudo apt-get install xscreensaver

After that please reboot. Open the utility and deactivate the screen saver.

Create desktop shortcut

Create an empty “HamClock.desktop” file on the desktop and open it with a text editor and add the following content

[Desktop Entry]
 Comment=Open HamClock


Please note the software/information available on this website are provided “as is” without warranty of any kind, either expressed or implied and such software is to be used at your own risk.

The use of the software links on this website is done at your own discretion and risk and with agreement that you will be solely responsible for any damage to your computer system or loss of data that results from such activities. You are solely responsible for adequate protection and backup of the data and equipment used in connection with any of the software linked to this website, and we will not be liable for any damages that you may suffer connection with downloading, installing, using, modifying or distributing such software. No advice or information, whether oral or written, obtained by you from us or from this website shall create any warranty for the software.

Have fun…
VY 73, Karl-Heinz, DL1GKK