Cy Clock User Manual
Introduction
Cy Clock is designed around an Altera-Intel MAX 10M08 evaluation board, a Newhaven Display OLED display module, a Grayhill keypad, and a custom circuit board to connect the pieces together. The clock is named Cy Clock because I designed it with my grandson, Cy, as a teaching tool. If you lose this manual it is available online. Search my name, Matthew (or Matt) Proujansy, and go to mattproengineering.com.
Powering the Clock
On rare occasions, when plugging the USB connector into the clock to power it, the display will not come on. This is because power is not applied smoothly. Try again and it will probably work. Alternatively, plug the USB connector into the clock first and then plug the USB power supply into an outlet. This will provide power smoothly.
Modes
Three modes of clock control are implemented: time setting, display format, and daylight saving time adjustment.
Modes Operations—General Rules
Mode entering, exiting, and parameter setting are controlled using the keypad.
To enter a mode press * followed by the mode number.
Note that when * is pressed, a red LED (D1 on the MAX 10 board) will light. This indicates that mode entry is active and a valid mode number (0, 1, or 2) is expected to be entered.
However, if mode entry is to be cancelled, then pressing any key other than 0, 1, or 2 will cause mode entry to become inactive and LED D1 will turn off.
Examples: ** or *# or *9 will activate then cancel mode entry, while *1 will cause entry into mode 1.
To exit a mode that has been entered press #.
Each mode has a set number of parameters (characters) that need to be entered to implement its function. Time setting requires 7 characters. Display format requires 1 character. Daylight saving time adjustment requires 1 character.
If the full set of parameters is entered, followed by the # (i.e. exit) key, the mode function will be implemented.
If no parameters or only a partial set of parameters is entered, followed by the exit # key, the mode will be exited without the mode function being implemented.
Time Setting—Mode 1
Enter the Time Setting mode by pressing *1.
The display will prompt entry by showing Set Time:HHMMSSap.
Enter hours, minutes, seconds, and 0 for am or 1 for pm.
Out of range characters will be ignored.
For hours, minutes, or seconds less than 10 enter a leading zero e.g. 09.
Press # to exit the Time Setting mode.
When exiting, if fewer than 7 characters have been entered, a new time will not be set.
To tell exactly what time it is I use the web site “time.is”.
Display Format—Mode 0
There are three possible display formats. Since the display is quite bright, one may want the display to be turned off. One format blanks the display.
A second format displays the current time including seconds.
If the display is, for example, near a TV, the changing of seconds can be distracting. Therefore, a third format displays time without seconds being shown.
Enter the Display Format mode by pressing *0.
To blank the display enter 0. To display time including seconds enter 1. To display time without seconds enter 2.
Parameters other than 0, 1, or 2 will be ignored.
Press # to exit the Display Format mode.
When exiting, if no parameter (0,1, or 2) has been entered the display will remain in its current state.
When entering parameters, if 0, 1, or 2 is pressed more than once the last parameter entered will be the parameter used. For example, *0 210 # will blank the display.
When the display is blanked, time keeping will still be active, and when the display is shown the time will be correct.
Daylight Saving Time Adjustment—Mode 2
Mode 2 is used for incrementing or decrementing time by one hour to accommodate daylight saving time adjustments.
Enter Daylight Saving Time adjustment mode by pressing *2.
To leave the clock as is, enter 0. To advance the clock 1 hour (spring forward), enter 1. To retard the clock 1 hour (fall back), enter 2.
Press # to exit the daylight saving time adjustment mode.