Skip to content

A over engineered LED matrix clock

Notifications You must be signed in to change notification settings

tubit/arduino-led-matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix Display - Clock and Text scrolling

This little piece of Hard- and software was inspired by Qromes marquee scroller. I used the mentioned components, printed the case but uploaded my little piece of software onto the ESP.

Functions

First of all, it's a clock. The default Timezone will be set to Europe/Berlin and the Time will be fetched from a few timeservers after connecting to your WiFi Network. The choosen Hostname is displayed once after connecting to your WiFi (something with ESP-XXXXXXX)

Thanks to a cheap build in HTTP based API, you have two more options:

  1. Scoll a Text
  2. Display a short animation

How to scroll a Text

With a easy to use commandline tool curl you can scroll a text:

curl -X POST http://ESP-XXXXXX/ \
   -H "Content-Type: application/x-www-form-urlencoded" \
   -d "message=Hallo Welt"

The output of this command will be Requests handled, thank you! if everything worked. You should also see the text scrolling once.

How to show a animation

There a currently 9 different animations implemented (see effects.cpp). You can choose between them via curl as well"

curl -X POST http://ESP-XXXXXX/ \
   -H "Content-Type: application/x-www-form-urlencoded" \
   -d "animation=1"

Using iOS or MacOS shortcuts or Home automations

Shortcuts

I've build some easy to use iOS/MacOS shortcuts to scroll a message or display an animation on one or more of such displays. The shortscuts call eachother for success.

Why so complicated? I've multiple of such displays in my home and with this structure I can select between them.

Home Automation

Create a new automation in your Home App, select a trigger and on the next page select "Create shortcut" on the very bottom of the list of devices. Now you can create a (very limited) shortcut. This example pulls the current temperature from a Homepod and scrolls it as a message:

Example

Configure WiFi

TBD