help in digital clock project using 555 timer

Discussion in 'Homework Help' started by mr.harm, Oct 19, 2009.

  1. mr.harm

    Thread Starter Member

    Nov 24, 2008
    29
    1
    Hello,
    I have been asked to design a Digital clock using a 555 timer as clock generator and a 7-segment display to display clock.

    I have no idea how to start, could u give me some hints.

    many thanks,,,,,,
     
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    What kind of circuits are you allowed to use in your assignment?
     
  3. mr.harm

    Thread Starter Member

    Nov 24, 2008
    29
    1
    the gates to be used were not specified, if it is possible, I need to use the simplest available gates. The thing is that I don't even know how to use 555 timer in this case,
     
  4. Wendy

    Moderator

    Mar 24, 2008
    20,766
    2,536
    [​IMG]

    Use one of the circuits on the bottom row, pick a cap (say 1µF), then adjust the resistors to match. Ra should be 1/10 value of Rb.
     
  5. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    You will need to use some logic ICs.

    TTL and 4000-series CMOS have been around for years, and are still pretty readily available. You will need to chose one logic family to work with.

    TTL (54xx/74xx series) requires a voltage supply of 5v; minimum 4.5v max 5.5v.

    CMOS can work over a voltage range of around 3v to 16v, and requires much less current than TTL.

    This link has pages that describe in general terms a good portion of TTL (74xx series) and CMOS (4xxx series) ICs:
    http://www.kingswood-consulting.co.uk/giicm/

    A couple of handy ICs that you will need are BCD to 7-segment drivers.
    There are TTL versions in the 7446, 7447
    CMOS has the 4033, 4511 and a few others.

    You will need some decimal/BCD counters (NOT Decade/Johnson counters). I suggest that you avoid HEX/binary counters, as that will make extra work for you.

    You may also need AND, OR, NAND, NOR, XOR gates and inverters.
    The 4093 is a very handy IC to know about; it is a quad Schmitt-trigger NAND gate. You can construct any other logic gate using combinations of NANDs.
    http://en.wikipedia.org/wiki/NAND_logic
    The Schmitt-trigger input is very useful for "squaring up" slowly transitioning waveforms.
     
    Last edited: Oct 21, 2009
  6. Wendy

    Moderator

    Mar 24, 2008
    20,766
    2,536
    There are lots of chips that count either to 6 or to 10, with mates that can decode that to a digital display. With TTL it is a 7492 and 7490, not sure of the CMOS numbers (but I know they are out there).

    It occured to me after seeing Wookie's reply that you meant the project as a whole, not just the 555 clock.
     
  7. mr.harm

    Thread Starter Member

    Nov 24, 2008
    29
    1
    Thanks a lot Bill_Marsden, I started to get the idea, I am stuck now to get an output pulse from the 555 with a width of 1s.

    -am I right in the 1s width?-
     
  8. Wendy

    Moderator

    Mar 24, 2008
    20,766
    2,536
    Not really, 1 second frequency. Width is ½ second, assuming a symetrical square wave (which isn't really important).

    You have the formula's on the sheet I posted, try using the procedure I posted. Start with a 1µF cap, 1KΩ for Ra, and work out the resistor value for Rb.

    As for the rest...

    [​IMG]

    This is a generic block diagram I drew up a while back. The first 2 counters are replaced with your 555 timer time base.
     
  9. mr.harm

    Thread Starter Member

    Nov 24, 2008
    29
    1
    mr.Bill, I have succeeded in connecting the six 74ls160 ICs to the 7-segment displays. I tried giving clocks with different frequencies from a function generator. The seconds, minutes and hours are being showed correctly. --:--:--. My problem now is to get the right input frequency to the first counter, what's the right frequency? I want to try supplying it firstly using the function generator then I will design the 555 timer according to this frequency.

    (first counter is for seconds --:--:--'the one in red')
     
    Last edited: Oct 20, 2009
  10. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    - 60 Hz.

    (pad, pad, pad.)
     
  11. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    @mr.harm
    What happened to your ingenuity and engineering gene?
     
  12. Wendy

    Moderator

    Mar 24, 2008
    20,766
    2,536
    The first counter is 1 Hz. You have all the information in front of you, I've given you two of three components to make a 555 1 Hz oscillator, the rest is algebra.
     
  13. Taha TK

    New Member

    Nov 30, 2013
    1
    0
    tel me how do i reset my clock from 13 to 01. it can be easy to bring in 00 but its difficult for me to make 00.
     
Loading...