esp32-dali-clock
This is an ESP32 recreation of the "Dali" digital clock where the digits "melt" into one another. Watch a full demonstration on YouTube
Stretch Goal for Sponsors!
About the project
The Dali clock was first written in 1979 by Steve Capps for the Xerox Alto and later ported to the Macintosh (see xdaliclock for the full history, including a link to a super trippy film from the 1974s that inspired this whole madness). 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 code with that version.
This project is a follow up to my earlier project, the arduino-dali-clock, but instead of driving a TFT panel, it generates composite video output for any NTSC or PAL television or monitor. Putting it together is ridiculously simple, requiring only two wires. All configuration is done via a web interface YouTube and clock's time is synchronized via the Internet.
This project includes modified code from rossumur's esp_8_bit and bitluni's ESP32CompositeVideo. These changes are also available in my standalone project ESP32CompositeColorVideo, which also includes a write up on what bits I borrowed from where.
Adafruit HUZZAH32:
Wiring for an- Use an alligator clip to connect the pin labeled "GND" on the Adafruit HUZZAH32 to the outside barrel of the RCA plug
- Use an alligator clip to connect the pin labeled "A1/DAC1" on the Adafruit HUZZAH32 to the central pin of the RCA plug
- Connect the other end of the RCA cable to the yellow jack on your TV or monitor
License (esp32-dali-clock)
DaliClock by (c) 2021 Marcio Teixeira
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
To view a copy of the GNU General Public License, go to the following
location:
.
xdaliclock)
License (xdaliclock - a melting digital clock
Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2001, 2006
Jamie Zawinski
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation. No representations are made about the suitability of this
software for any purpose. It is provided "as is" without express or
implied warranty.
esp_8_bit)
License (Copyright (c) 2020, Peter Barrett
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
ESP32CompositeVideo)
License (CC0. Do whatever you like with the code but I will be thankfull
if you attribute me. Keep the spirit alive :-)
- bitluni