/8x8wordclock

Attiny85-based word clock

Primary LanguageC++GNU General Public License v3.0GPL-3.0

8x8wordclock

This project is about an Attiny85-based word clock. The underlying kit can be purchased at https://shop.cyntech.co.uk/products/wordclock-kit.

While the original kit is built around a Raspberry Pi, I wanted to use an Adafruit Trinket and a DS3231 RTC instead. The Raspberry Pi just seemed to be overkill.

The source is based on the project of Andy Doro: https://github.com/andydoro/WordClock-NeoMatrix8x8

I've had to heavily modify the code to fit it within 5 KB of Flash and 512 bytes of RAM.

Finished

Hardware

Wiring

  • Connect SDA and SCL of the RTC to the Trinket pins 0 and 2 respectively, VCC to the 5V pin
  • DIN of the RGB matrix goes to pin 1
  • 5VIN of the RGB matrix goes to the USB pin
  • optional: a switch between pin 3 and GND

Software

This code requires the following libraries: