Skip to content

Time for Wi-Fi and LEDs!

Latest
Compare
Choose a tag to compare
@clockspot clockspot released this 12 Mar 20:08
91c14f4

Operating instructions for v2.0.0

This is a big release, which integrates code from a sister project, arduino-ledclock.

It brings support for the Arduino Nano 33 IoT, which adds:

  • Web-based settings page (via Wi-Fi or own access point)
  • NTP synchronization (when connected to Wi-Fi)
  • Buttonless operation option using accelerometer for tilt control

It also supports a new display type, a MAX7219-based LED matrix, with room for more types in future.

To support this release, lots of maintenance changes were made, including:

  • Code modularized into .h/.cpp files (finally)
  • A fake RTC option, for when DS3231 is not equipped (which works surprisingly well)
  • Persistent storage "wrapper" to support both AVR EEPROM and SAMD flash
  • Sunrise/sunset "rounding error" fixed
  • Relay signal has been split into switch and pulse signals
  • Version number is displayed if Select held briefly at startup; EEPROM is not reset unless it is long-held at startup

Upgrading existing UNDB clocks to this version is not recommended yet – you may wish to stay on v1.9 and wait for v2.1. This release does not bring many benefits for the classic AVR Nano/nixie combo, other than the sunrise/sunset fix; indeed, it is slightly less functional, as tube cleaning and scrolling routines are temporarily deactivated. There are a number of other outstanding bugs and to-dos (see TODO.md), and this code is also not yet tested with a SAMD Nano driving a nixie display or an AVR Nano driving an LED matrix display.