Pages: [1]   Go Down
Author Topic: Master Clock Mk2  (Read 1064 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have been building my new Arduino DCF77 Master clock for some time now. The clock uses 1" (25mm) Green 7 segment displays, a Yellow LCD display, LEDs and Bluetooth to monitor time, decoding and clock pulses. The clock will drive my various slaves and clock chimes.

Mock up of approx design


The clock has auto display dimming and PIR detection to turn the 7 segment display and LCD back-light on and off when triggered by someone entering the room.




I have also fitted a Blue Tooth board so I can program/update my clock remotely from my Windows PC.  The Blue tooth module also means I can read the clock stats and test the PIR detection from my Android mobile.




The DCF77 signal is decoded using the fantastic new DCF77 library written by Udo Klein. See his site here http://blog.blinkenlight.net/experiments/dcf77/dcf77-library/

More details on my clocks progress including test videos  here http://home.btconnect.com/brettoliver1/Master_Clock_MK2/Master_Clock_MK2.htm
« Last Edit: June 08, 2014, 01:40:29 am by oliverb » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Completed Master Clock






The DCF77 signal is decoded using the fantastic new DCF77 library written by Udo Klein.


Latest 1 min test video shows clock from 09:00 to 09:01 and includes test of PIR auto display control.

http://youtu.be/Q6HFfloORoA
« Last Edit: September 03, 2014, 01:40:25 pm by oliverb » Logged

Global Moderator
Netherlands
Online Online
Shannon Member
*****
Karma: 227
Posts: 14039
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

super!
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Master Clock Bluetooth  to Samsung S3 by Brett Oliver, on Flickr
Udo Klein has now added "Auto Tune" to his DCF77 library. When the DCF77 reception is good the DCF77 library now tunes the on-board quartz crystal to the DCF77 signal. In the event of the signal being lost the quartz crystal is able to keep the clock running for days without loosing a second.

I have now added this to my clock. The LCD display now also shows the tuned quartz crystal frequency and accuracy.
You can see a video of this working along with many others on my Master Clock Mk2 site here http://home.btconnect.com/brettoliver1/Master_Clock_MK2/Master_Clock_MK2.htm

The clock has the following functions

Arduino 328 Microprocessor is used to decode Time & date from the DCF77 "Atomic" Clock in Mainflingen near Frankfurt Germany

The DCF77 signal is decoded using the fantastic new DCF77 library written by Udo Klein meaning the clock stays in sync even with a massive amount of noise on the received DCF77 signal

Udo Klein's DCF77 library continually "Auto Tunes" the quartz crystal so in the rare event the signal can't be decoded the clock remains accurate within 1 sec over a number of days

The clock provides the following pulses to drive slave clocks 1 sec alternating, 30 sec, 1 min , 1 hour, 24 hr, 15 min chime of quarter hours, hourly chime of hours

Primary display of time in hours, minutes & seconds are displayed on 1" (26mm) green LED 7 segment displays

Secondary 4x20 I2C LCD display is used to display time & date, fast or slow seconds, summer winter correction, display brightness, sync information, signal quality, auto tune'd frequency, auto tuned quartz accuracy and summer winter time mode

The primary and secondary displays are auto dimmed using and LDR and Pulse Width Modulation

The primary and secondary displays are shutdown during daytime and are activated by Passive Infrared detection when someone enters the room

Manually triggered automatic Summer/Winter time correction of 30 second slave clocks

Blue-Tooth link for programming, clock pulse status and PIR adjusting

Auto leap second adjustment of 30 second slave and 1 second slave clocks time and date of leap second can be read via Blue-tooth on your PC or Android mobile or tablet

Recording of fast or slow 1 second slave clock pulses on the LCD display as well as time and date stamping of last fast or slow pulse accessible by Blue-Tooth on your PC or Android mobile or tablet


« Last Edit: September 03, 2014, 01:59:51 pm by oliverb » Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27425
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How does the blue tooth programming work?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You just turn on the Blue tooth power switch choose the com port connected to the EZ Link Bluetooth Serial Board and upload as normal. It's exactly the same as programming over USB.

To read the clock info use a terminal program or use an Android device. I use an Android app called Blueterm.
Link below.
https://play.google.com/store/apps/details?id=es.pymasde.blueterm

 
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have made a 1 min video in Ulta HD showing the clock working.

http://youtu.be/gwhSe5WHQ7c


Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27425
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Very nice sound!
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Crossroads.
The Quarter chime is an electronic sample and the hour chime is an electromechanical Longcase clock bell struck by a modified 30 sec slave clock movement.

Logged

Pages: [1]   Go Up
Jump to: