Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

flavian112/internet_clock

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
11 Commits
 
 
 
 
 
 

Repository files navigation

Internet Clock

A digital clock that syncs it's time with the internet over WiFi.

Repositories

Resources

Files

Schematic

Schematic

Board

Board

3D View

3D View 3D View Back

Clock Display

The clock display is controlled by the MM5451 chip. To turn the segments of the display on, the chip has to be interfaced with a clock and a data line. The chip can control up to 35 segments, 34 of which are used here. The data is transmitted by enabling the clock (at max 500 kHz) and then signaling that the data transmission starts by pulling the data line high for one pulse. Data is read on the rising edge of the clock. Then the 35 bits are transmitted. The following table shows which bit corresponds to which display segment. Note the first bit is unused in our case.

Clock Display

MM5451 Display Example

Usage

The clock is configured via Serial over USB at 9600 Baud. The following commands can be used:

  • pt print the current datetime
  • pz print the current timezone
  • ps print the current ssid
  • pp print the current password
  • sz <timezone> sets the timezone, i.e. CET-1CEST,M3.5.0,M10.5.0/3 (see Posix TZ DB)
  • ss <ssid> sets the ssid
  • sp <password> sets the password

Images

Breadboard Prototype

Completed 1

Completed 2

About

A digital 7-segment clock, synced via internet.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.