This is an Arduino recreation of the "Dali" digital clock where digits "melt" into one another.
Switch branches/tags
Nothing to show
Clone or download
marciot Various fixes and performance improvements.
- Optimized drawing routines to eliminate multiplications.
- Fixed shine effect that was not working.
- Syncs with RTC every hour to prevent clock drift and update calendar after midnight.
- Drawing code is now independent of display resolution.
- Added ability to change the shadow color.
- Prevented flicker at startup when drawing gradients.
Latest commit 40bbced Aug 1, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DaliClock Various fixes and performance improvements. Aug 1, 2018
DaliFontEncoder Added the source code. Jul 30, 2018
artwork Added the source code. Jul 30, 2018
LICENSE Initial commit Jul 29, 2018
README.md Fixed file extension Jul 30, 2018

README.md

Dali Clock Demonstration

arduino-dali-clock

This is an Arduino recreation of the "Dali" digital clock where the digits "melt" into one another.

The Dali clock was first written in 1979 by Steve Capps for the Xerox Alto and later ported to the Macintosh. Later, Jamie Zawinski re-implemented an X Windows version called xdaliclock.

I began with the ".xbm" font files from Jamie's work, but my implementation does not share any other code with that version. I wrote an encoding program (DaliClockEncoder.ino) to convert the ".xbm" into a packed RLE representation which is used by the clock code (DaliClock.ino).

I wrote the digit blending and time keeping routines from scratch to take advantage of the enhanced capabilities of the [FT810CB] high resolution touch screen.

This program is intended for use with a FT810CB-HY50HD 800x480 graphical touchscreen and a DS1302 based Real Time Clock module from eBay.

For more information on assembling this clock, see my Instructable.