Home    Master Clock   LCD Master Clock    Kenley Weather

Section   Top  Specs   Intro   Background  Schematic Construction   Reading The Displays  Code

 

 

 

CLOCK/SITE UNDER CONSTRUCTION

Arduino Word Clock with minute resolution of time in words and linear display of seconds.

There are also modes for digital & analogue clocks, temperature & humidity, & also three games, Game of Life, Simon & Tetrix

Credits

Based on the original Word Clock by Wouter Devinck     Facebook      Instructable      GitHub

and the "Catalan" Pijuana Word Clock  based on Wouter Devinck's clock (this is a fork off the original Wouter Devinck design) here GitHub

 

 

Changes

I have made the following changes to the design.

 

The main clock body is built from 2 x sheets of 12 mm MDF rather than a single 18mm sheet

The main display is built direct to the display LEDs with no PCB

The display driver boards for the MAX7219 I/C use modified LED matrix boards

An Arduino Nano is used to drive the clock

A PIR sensor module is used to shutdown the display when no one is in the room (this can be disabled to keep the display always on)

Synchronisation to my master clock system every 30 seconds

 

The software is mainly based on the "Catalan" Pijuana version of the word clock so this has been translated into English for the display

Credits modified to show the current software version number, my name and also the year of build

 

I have made the following changes to the English wording from the Wouter Devinck Clock

I have removed the words indicating the temperature on the word clock

These have been replaced with Sync status, PIR ON/OFF and Linear display of seconds

I have changed "MINUTES" to "MINUTE" at 1 minutes past and 1 minute to the hour

I have added an "A" before the "QUATER" past and "QUATER" to the hour

I have added the missing "ELEVEN" from Wouter Devinck clock as per his notes

At Midday I have changed time to read TWELVE OCLOCK IN THE AFTERNOON

At Midnight I have changed time to read TWELVE OCLOCK AT NIGHT

After Midnight the clock will always say IN THE MORNING

 

 

Modes

Credits, Word Clock, Digital Time, Temperature & Humidity, Analogue Clock, Game of Life, Simon & Tetris

 

 

 

Functions

Auto display dimming using an LDR

Auto display On/Off using a PIR sensor module

 

Dimesions

500mm x 500mm x 24mm

 

 

 

 

 

Atmega 328 Pin Connections

Pin label numbers refer to Arduino IDE number

 

 

 

 

 

TTP223 Touch Sensor Module

 

 

 

 

MAX7219 Display PCB with LED Matrix in place.

The LED matrix is removed and wires are soldered to the PCB on the solder side of the display holder pins.

 

 

 

 

MAX7219 Display PCB with LED Matrix removed

 

 

 

 

 

 

1088AS LED Dot Matrix display view of lower edge Pins 1 to 8 left to right

 

 

 

MAX7219 Display PCB Schematic

 

 

Four of these display boards are required making 256 LEDs in total.

Note the LED display matrixes are rotated anti-clockwise 90 degrees from each other starting from display matrix 01.

Display Matrix 01 input is wired to the Arduino CLK,DIN and LOAD the output is taken to the input of Display matrix 02 etc etc.

 

 

 

 

 

 

Prototyping/Testing

The Clock can be prototyped and tested using the original DOT Matrix LED on the display board.

This means you can try out your software/word layout modifications in miniature before committing to the full size version.

 

The wiring to the DOT Matrix LED will have to be modified to match the software connections.

The pic below shows how the Module is wired before modification.

The modification is quite straight forward.

First of all bend the following LED Matrix pins 90, the top pins up and the bottom pins down.

Pins 16, 15, 3, 4,10 & 11.

Insert the LED Matrix in the socket on the display PCB the above pins will now not be connected.

Solder the following link wires from the back of the socket of the display PCB to the LED Matrix pins that are sticking out.

LEDA to Dot Matrix Pin 16

LEDB to Dot Matrix Pin 15

LEDG to Dot Matrix Pin 3

LEDF to Dot Matrix Pin 4

LEDE to Dot Matrix Pin 10

LEDC to Dot Matrix Pin 11

 

 

The Table below shows where the software pin number differ from the LED pin numbers on the display board.

 

TOP

PCB Pin LEDG LEDF LED1 LEDDP LED3 LEDE LEDC LED0
LED PIN 16 15 14 13 12 11 10 9
S/W PIN 3 4 14 13 12 10 11 9
                 
                 
                 
                 
                 
                 
                 
                 
S/W PIN 1 2 16 15 5 6 7 8
LED PIN 1 2 3 4 5 6 7 8
PCB Pin LED4 LED6 LEDA LEDB LED7 LEDD LED5 LED2

BOTTOM

 

 

 

 

To test your word layouts print out a miniature version of your word display 62mm x 62mm on plain white paper.

 

 

Cut the printed layout into quarters.

 

 

 

 

These will then fit over the four LED Matrix displays.

 

 

 

 

The individual LEDs will light up the letters.

Note the orientation of the LED Display boards to match the software layout.

 

 

 

 

Fully working prototype on my test bench.

The small push button below the temp/humidity sensor is used to test the 30 second synchronisation.

The touch button modules are on the bottom left of the breadboard mounted sideways.

 

 

PIR Controlled Display Shutdown

The PIR when enabled on the Word Clock menu (bott left PIR On, bott right PIR Off) turns on the display when movement is detected in the room.

When no movement is detected the display turns off after a set period of time.

When the PIR is enabled the displays shows "PIR ON" and when disabled (display always on) it shows "PIR OFF"

Note when the PIR is not enabled the display is always On.

 

 

 

 

 

 

 

Controls

There are TTP223 touch control modules on the clock, top left, top right, bottom left and bottom right corners of the display.

below 20 second looped animation

 

The buttons have different functions depending on what mode the clock is in, see chart below.

  Button Location
Clock Mode Top Left Top Right Bottom Left Bottom Right
Credits Previous Mode Next Mode None None
Word Clock Previous Mode Next Mode PIR On (Enabled) PIR Off (Display always on)
Digital Clock Previous Mode Next Mode Set Time Set Time
Temp/Humidity Previous Mode Next Mode None None
Analogue Clock Previous Mode Next Mode None None
Game of Life Previous Mode Next Mode    
Simon Previous Mode Next Mode Start Game Start Gane
TETRIS Previous Mode Next Mode Start Game Start Game
         
Digital Clock Button Location
Sub Menu Top Left Top Right Bottom Left Bottom Right
Set Time (Hours) Hour Decrement Hour Increment Set Minutes Accept Displayed time
         
Digital Clock Button Location
Sub Menu Top Left Top Right Bottom Left Bottom Right
Set Time (Minutes) Minute Decrement Minute Increment Set Hours Accept Displayed time
         
Simon Button Location
Sub Menu Top Left Top Right Bottom Left Bottom Right
Game Contols Select Top Left Select Top Right Select Bottom Left Select Bottom Right
         
TETRIS Button Location
Sub Menu Top Left Top Right Bottom Left Bottom Right
Game Contols Move Left Move Right Select Bottom Left Select Bottom Right

 

 

 

Display Modes

Startup

On startup or if mode 1 is selected the clock displays the following
  • software version number

  • makers name

  • clock name

  • year of build