1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Arduino DCF77 decoder, LCD display, Quartz clock motor drive, slave pulses and chimes

Discussion in 'Code Repository' started by oliverb, Dec 13, 2013.

  1. oliverb

    oliverb Member

    Joined:
    Oct 7, 2005
    Messages:
    212
    Likes:
    6
    Location:
    England
    Here is the Arduino code for my DCF77 LCD Master Pulse clock.
    There are many snippets of code that may be useful for DCF77 display, LCD display, Quartz clock motor drive, slave pulses and quarter/hourly clock chimes.
    Here is an animation of the clock running.



    LCD_Master_Clock.jpg
    There are more details here http://home.btconnect.com/brettoliver1/LCD_Master_Clock.htm

    Code to follow
     
    • Like Like x 1
  2. oliverb

    oliverb Member

    Joined:
    Oct 7, 2005
    Messages:
    212
    Likes:
    6
    Location:
    England
  3. NorthGuy

    NorthGuy Well-Known Member

    Joined:
    Sep 8, 2013
    Messages:
    1,218
    Likes:
    206
    Location:
    Northern Canada
    Wow! That's a Great job!

    I also have an idea of building a WWVB clock (similar to DCF77, but located in Colorado) when I have time. I even ordered a ferrite rod and enamelled wire from eBay so that I would have them when time comes. Mine will not be nearly as beautiful as yours.
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. oliverb

    oliverb Member

    Joined:
    Oct 7, 2005
    Messages:
    212
    Likes:
    6
    Location:
    England

    Thanks for that.
    I got my DCF77 receiver module ready built from Ebay as it's prob the hardest part of the build.
     
  6. ElectroMaster

    ElectroMaster Administrator

    Joined:
    Jul 5, 2002
    Messages:
    2,037
    Likes:
    126
    Location:
    Broadbeach, AU
    fantastic work oliver! Really high quality work :)
     
  7. oliverb

    oliverb Member

    Joined:
    Oct 7, 2005
    Messages:
    212
    Likes:
    6
    Location:
    England
    Thanks ElectroMaster.

    I want to try and add auto summer winter time adjustment to the analogue clock. The clock can't go backwards so summer to winter I will have to stop the clock motor pulse for an hour. Winter to summer I will need to send an extra 3600 pulses to advance the clock an hour. I think the clock motor will only take a max of 2 pulses a second so if I send 2 pulses a second (1 normal and 1 extra) it will correct itself in an hour.
     
  8. oliverb

    oliverb Member

    Joined:
    Oct 7, 2005
    Messages:
    212
    Likes:
    6
    Location:
    England
  9. oliverb

    oliverb Member

    Joined:
    Oct 7, 2005
    Messages:
    212
    Likes:
    6
    Location:
    England
    Last edited: Jan 2, 2014
    • Like Like x 1
  10. oliverb

    oliverb Member

    Joined:
    Oct 7, 2005
    Messages:
    212
    Likes:
    6
    Location:
    England
    Here's an animation showing the LCD display.
    Row 1 Top local time and date
    Row 2 Last sync time and status
    Row 3 Last Missed/corrected pulse time and Total corrections in last day
    Row 4 Pulse length in ms 100=0 200=1 and Cycle time in ms

    LCD.gif
     

Share This Page