element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum Moving beyond project books; digital clock project?
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 4 replies
  • Answers 4 answers
  • Subscribers 302 subscribers
  • Views 2350 views
  • Users 0 members are here
  • beginner
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

Moving beyond project books; digital clock project?

opalko
opalko over 4 years ago

Hi again folks! Beginner here and worked my way through Platt's Make: Electronics I and a fair amount of book II.  Also built all of the projects in the Mims Digital Logic Workbook 1 & 2.  This has taken me the better part of several months as I have to keep going back to basics on much of it (see a previous post!). It is fun to build these but I would like to make something of my own from scratch at some point. Two projects I have considered are a 12 hour digital clock (not a microcontroller based one - right now anyway) and a very basic calculator.  I don't have any idea where to start on the calculator as I don't know where to start with memory one but the digital clock seems within reach, maybe..lol.  Two questions:

 

1) First - any other ideas for moving beyond these project books for something from scratch?

 

2) For the 12 hour digital clock I considered a 555 timer but internet search says 555 it is way too unstable to use for time keeping.  So I spent a few hours today reading about crystal oscillators.  (at this point I realize I am not clear what the waveform of a crystal oscillator is and I don't have one to test. ) but I think I still need some kind of square wave generator after that, so could I not feed it into a 555? Obviously I don't know if, whatever makes the 555 unstable, would still be unstable with a crystal oscillator in front of it...

 

Then I need a way to go from whatever frequency the crystal is, like 1MHz to 1Hz and started reading about frequency dividers ). So then I came across a 74S124 TTL VCO (mission creep here) which I think, if I understand correctly, has the oscillator and waveform generator in one package. At that point I need to go into a counter of some sort and feed the led displays at the same time.  Am I on the right track here?  I am trying not to look at existing builds or schematics already out there but at the same time I sort of don't know I need a hammer to drive nails if I never saw nails before..does that make sense?  I will add i am doing this as an exercise and not trying to build a super duper accurate/WWV controlled clock.  Is there a better way to go about this than my stumbling approach?

 

Regards,

Robert Opalko

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 4 years ago +6 suggested
    Hi Robert, Both of these projects are very logic gate heavy unless the scope is reduced perhaps for more limited functionality from each. One idea that could be done in a reasonable time, with a good chance…
  • jc2048
    jc2048 over 4 years ago +4 suggested
    If you want to see how a single chip does the oscillator and the divide-down-to-1-second-intervals job for a clock, have a look at the datasheet for this part https://www.ti.com/product/CD4045B That's…
  • renga_68
    renga_68 over 4 years ago in reply to jc2048 +3 suggested
    Hi, If you want to produce 1 PPS, use CD4060BE CD4060BE IC. Download the data sheet and there you can find the circuit for this. Time will be accurate also. Try this one.
  • shabaz
    0 shabaz over 4 years ago

    Hi Robert,

     

    Both of these projects are very logic gate heavy unless the scope is reduced perhaps for more limited functionality from each. One idea that could be done in a reasonable time, with a good chance of success, could be to implement a clock using a couple of 'unipolar stepper motors' which can be very low-cost from (say) aliexpress. The aim could be to make one stepper motor fully rotate once every minute, and then adapt to once every hour. Then the other stepper motor could be added to the circuit and used to rotate once every 12 hours. Anyway it's just an idea.

    I think there's nothing wrong with using a 555 for this, since large circuits are modular anyway, and the 555 could be swapped out one day with a different circuit for more accuracy. Besides, you will gain an appreciation of what resistors and capacitors may help provide more stability, and how the circuit could be trimmed to center closer to the desired frequency.

    A calculator could be simplified to doing just addition and subtraction for say a small range of integers, but it might not have the same sort of user interface that off-the-shelf calculators have, if you wanted to do it within a reasonable amount of circuitry.

    • Cancel
    • Vote Up +6 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jc2048
    0 jc2048 over 4 years ago

    If you want to see how a single chip does the oscillator and the divide-down-to-1-second-intervals job for a clock, have a look at the datasheet for this part

     

    https://www.ti.com/product/CD4045B

     

    That's '4000 series' CMOS logic.

     

    I can remember there being an application note showing the design for a complete clock, so if you were interested I could probably find that for you [or a link to it online]. Even if you didn't want to be influenced by it, you'd have a fall-back if you got into difficulties with your own design.

     

    Watches use much lower frequency crystals than that part: 32.768kHz is common. That requires fewer 'divide by two' stages to get down to 1Hz, so would be more manageable if you wanted to do the divider chain yourself using individual flip-flops or smaller 4-bit or 8-bit counters.

     

    Another possible project might be a frequency counter for measuring frequency or time intervals. It's very similar to a clock in many ways: oscillator, counters, and decoders driving displays.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • renga_68
    0 renga_68 over 4 years ago in reply to jc2048

    Hi,

    If you want to produce 1 PPS, use CD4060BECD4060BE IC. Download the data sheet and there you can find the circuit for this. Time will be accurate also. Try this one.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Andrew J
    0 Andrew J over 4 years ago

    Like you Robert, I worked my way through those books and funnily enough thought about making a clock.  In the end I took one of his projects - ‘rolling a dice with a random output” - and extended it to allow the rolling of two dice controlled by separate ‘players’.  I then added a button for each player to indicate ‘snap’ (I.e. that the die show the same value) and added extra logic to detect who pressed first to lock the other out and to compare the die values to determine if they were right or wrong.  This could then increment an LED display (again, something played with in those books) to keep score.  It requires extra logic chips and LEDs but can be worked out in increments and modularly. 


    you could then take it from breadboard(s) to an actual PCB by installing Kicad and playing with that.  This would not need any special considerations for the PCB and would be easier than you may first think.  Then it could be put in a project box for a complete end-to-end project.

     

    A Clock would be more useful though image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube