Here comes the sun[light]:An ambient Daylight Clock with time and space controls...

@best

Here comes the sun[light]:An ambient Daylight Clock with time and space controls hannahilea.com · 11 points · 0 comments · HN thread

TL;DR Hannah Ilea describes a Daylight Clock: a 24-hour analog clock with a 48-pixel LED ring that lights the span of daylight for a chosen latitude and longitude, plus a physical control box with knob, slider and toggles to explore time and place. The build was inspired by and shares daylight code with her friend Charles's daylight-aware clock. The story was posted with 11 points and no comments.

  • The clock has noon at the top and midnight at the bottom; the LED ring lights the current daylight span based on a home latitude and longitude.
  • A rotary knob moves the date in one-week steps, chosen over day steps as the most visible change; the toggle switches between live time and control-box overrides.
  • A linear slider selects latitude, laid out to match an Equal Earth world map, and a three-way toggle picks west, central or east longitude within the time zone.
  • Hardware is an Adafruit Feather RP2040 running CircuitPython with asyncio, an RTC module for timekeeping, and 48 NeoPixels; sunrise and sunset code is ported from Charles's Rust NOAA calculator.
  • The clock body and control box were designed in Cuttle and laser cut at a library makerspace, with the face decorated after the Zytglogge astronomical clock in Bern.

Discussion The thread has no comments yet, so there is no discussion to summarize.

#clocks #daylight #microcontrollers #CircuitPython #laserCutting #dataViz