Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 2.72 KB

README.md

File metadata and controls

39 lines (22 loc) · 2.72 KB

MiniHamClock

This device was inspired by the HamClock software popular with Shortwave Radio listeners and Ham Radio operators. (https://qso365.co.uk/2024/01/hamclock/)

It's a pretty small and relatively trivial version of that, but it's main purpose was just to give me a quick look at what the current UTC time is without having to do arithmetic in my head (sad, I know).

Secondly, every 2 hours it downloads HF propagation conditions from the hamqsl.com website as xml data, parses it, and presents it to the user. Along with the hamqsl.com info, it calculates and displays the day's sunrise and sunset times.

Thirdly, it talks to my MQTT broker (a Raspberry Pi) which has an ESP8266 device in my shed as a client. It publishes the current weather on a 5 minute interval. The clock then plots that data on 3 different line graphs: temperature, relative humidity and barometric pressure for the past 20 hours or so.

All of this information is presented on separate screens as shown below. The user can select the various screens using the rotary encoder fitted to the top of the clock. Left to itself, it will timeout after 60 seconds from the TIME SCREEN and cycle automatically through each of the other screens, each displayed for 10 seconds.

This particular clock is based on the ESP32 S3 in an arduino uno form factor, with an SPI driven TFT display. It's just the hardware I happened to have lying around. If you have other hardware, you can probably adapt the code accordingly without too much trouble. The simple schematic is in this repo.

The STLs and SketchUp models are here for 3D printing, or you can pick them up at https://www.printables.com/model/1090178-esp32-s3-uno-clock-w-22-qvga-tft-display. Note that the model is based on the Uno type microcontroller.

STARTUP SCREEN: PXL_20241205_163916620

MAIN TIME SCREEN: PXL_20241205_163734877

PROPAGATION CONDITIONS: PXL_20241205_163801393

LOCAL WEATHER SUMMARY (it's been snowing for the past little bit): PXL_20241205_163815292

TEMPERATURE GRAPH: PXL_20241205_163824847

RH GRAPH (it was pegged at 100% when I took this shot): PXL_20241205_163836313

BAROMETRIC PRESSURE GRAPH: PXL_20241205_163846771