loading

PCB art is included in this instructable so you can easily make it!

A 24 hour based clock based on dual decade counters, AND gates, OR gates, BCD to Decimal Converters, and a crystal oscillator. No micro controllers here. This instructable contains PCB art so you can easily make your own.

Quantity is in parentheses. Item number at Digikey.com is in brackets.

(6) 74HC390 Dual Decade Counters [568-1442-5-ND]
(6) 4543 BCD to Decimal Converters [568-3138-5-ND]
(2) 4020 Divide by 16384 Counter [296-2039-5-ND]
(1) 74HC32 Quad OR Gate [568-1434-5-ND]
(1) 74HC08 Quad AND Gate [TC74HC08APF-ND]
(39) 500Ω or 1000Ω drop down resistors for 7 segment displays
(3) 10kΩ Resistors
(6) Common Anode 7-Segment Displays [160-1575-5-ND]
(4) 3 mm Green LEDs
(1) 100 uF Capacitor
(1) 0.1 uF Capacitor across Crystal Oscillator
(1) CMOS 32.768 KHz Crystal Oscillator [SER3618CT-ND]
(3) Momentary Switches [P8071SCT-ND]
(4) 3 mm Green LEDs
(1) Power Plug [CP-102A-ND]
(1) 5V Power Supply

Step 1: The gist of how it works

A 32,768 Hz oscillator provides the clock pulse and this is divided by two CMOS 4020 Divider chips down to 1 Hz. The 1 Hz signal is fed into the first dual decade counter [IC3] that runs from 0-9. The binary coded decimal from IC3 is fed into a 4543 [IC4] that is converted for a seven segment display. The block diagram omits showing the drop down resistors, but they're really there. Use either 500Ω for a bright display or 1000Ω for a dimmer display.

IC3 triggers IC5 by feeding its IC3's q3 output into IC5's clock input. IC5 runs from 0-5 and resets via an AND gate when it hits 6. The AND gate also feeds into IC7 which is the minutes section. IC9 resets at 6 as well. This completes the minutes section. 

The AND gate from the minute section increments the hour section. Another AND gate in the hours section resets IC11 and IC13 simultaneously when  they collectively reach 24. 

This probably sounded all convoluted, dense, and confusing. Refer to the diagrams below for more clarity.

Notice part numbers from DIgikey.com are included in the block diagram
<p>how the drop down resistors for each 7 segment display will be implemented ?<br>will each resistor be implemented at the output and input of the 4543 ?</p>
<p>Each resistor will be placed at the every output of the 4543 IC, connecting with its respective input at the 7-segment display. Use a 500&Omega; resistor for a bright display, or a 1000&Omega; resistor for a dimmer display. Not using any resistor will burn the display.</p>
It looks great but couldn't you just use a 4026 IC to drive the 7-segment display and as the decade counter. It could cut out up to 6 IC's.
<p>Good Day, is there any alternative for 4543 BCD to decimal Coonverter and 4020 Divide by 16384 counter??? any suggestion?? for other IC??? please reply asap thanks or email me on sohaymeenpanontongan@yahoo.com</p>
<p>I made it!</p>
<p>Made the circuit, works great! Can anyone please tell me how to avoid the push buttons mechanical chatter, so when they're depressed to set hour/minute, it will only increment 1 hour or 1 minute at a time? The problem is that for each button press, it is now incrementing more than 1 hour or minute...It's the only &quot;problem&quot; that I'm having. Thanks!</p>
A small cap, maybe 0.1 microfarads in parallel with the switch should do the trick, mostly. Can you post a picture of the completed clock? I'd love to see :)
Thanks for your advice, but unfortunately the solution that you've kindly made don't seems to work. I've done a google search about that problem (how to avoid mechanical chatter or contact bounce) and I can't fix the problem with none of those I've tried. This picture is from the 1st clock that I've made, and the second one, that is not finished yet, has the same problem.<br>Thanks again!<br>Best wishes,<br>Eduardo
<p>Hi, Can i use a normal 32.768 KHz Crystal Oscillator instead of the CMOS one ?</p><p>i mean i want to buy and use a normal Crystal Oscillator NOT the CMOS Crystal Oscillator,and what would be the part number on digikey?</p>
<p>Yeah. Of course you can. But you have to use also 4060 and JK or D FF to divide pulse to standard 1Hz for your circuit. </p>
<p>anyone know how to make the led blink to indicate the second?</p>
<p>You can use CLK pulse from pin 9 of 2nd 4020 IC, through 1 or 2 Transistor connected series with LED. That'll make LED blink as you want.</p>
<p>what is the diode code?</p>
<p>I think 1N4148 is fine for this circuit. Trust me. </p>
<p>I think 1N4148 is fine for this circuit. Trust me. </p>
<p>So I ordered the CMOS 32.768 KHz Crystal Oscillator, how do I wire this thing up? There are no pins on it and it is very small. </p>
<p>No wire... That's an SMD CMOS Crystal Oschillator, you just put it into the squares(look at PCB art). Before, you melt down some tin on it.</p>
<p>Correct. There is no throughole equivalent for this part. I literally let the pins melt into the pads with the pads being pre-soldered.</p>
<p>please any one can help me placing the oscillator. oscillator used in this have four pins out but i got from market the crystal oscillator with two pins out just looks like capacitor but how do i place it instead of that four pin oscillator ? anyone help plz</p>
<p>i want to know how to put the oscillator and the input could you please help me with this problem</p>
<p><a href="http://www5.epsondevice.com/en/products/spxo_32khz/img/sg3030cm_dimension.jpg" rel="nofollow">http://www5.epsondevice.com/en/products/spxo_32khz...</a></p>
<p>and the input is it gonna be from <strong>oscilloscope</strong>or just a 5v power supply</p><p>and i wanna know if i able to remove the oscillator and get the clock and the voltage from the <strong>oscilloscope?</strong></p>
<p>which oscillator do you have ?</p><p>about supply you can put it on two black boxes on uper left corner look in pcb design uper box as positive and lower as negative </p>
<p>The oscillator you will need will be this one, SG3030:</p><p><a href="http://www5.epsondevice.com/en/products/spxo_32khz/img/sg3030cm_dimension.jpg" rel="nofollow">http://www5.epsondevice.com/en/products/spxo_32khz...</a></p><p>You can order it here:</p><p><a href="http://www.digikey.ca/product-detail/en/SG-3030JC%2032.7680KB3:ROHS/SER3618CT-ND/1532566" rel="nofollow">http://www.digikey.ca/product-detail/en/SG-3030JC%...</a></p><p>Or here:</p><p><a href="http://eu.mouser.com/ProductDetail/Epson-Timing/SG-3030JC-327680KB3ROHS/?qs=tC2qD9afNgqPfG0dVvQ1oQ%3d%3d" rel="nofollow">http://eu.mouser.com/ProductDetail/Epson-Timing/SG...</a></p>
<p>Thank you for the response! I still have a couple questions. </p><p>1. How would I solder this to work with a breadboard? I am assuming just solder a couple wires on it and then hook it in? The Oscillator only hooks into the first 4020 correct? So would it matter which of the 4 &quot;pins&quot; I connect to the 4020, versus what I connect a capacitor across? </p><p>2. Is the block diagram accurate enough to wire up this project onto a breadboard? </p>
<p>In the diagram you have the pins which are out to the 4020 or you can check it here:</p><p><a href="http://www5.epsondevice.com/en/products/spxo_32khz/img/sg3030cm_dimension.jpg" rel="nofollow">http://www5.epsondevice.com/en/products/spxo_32khz...</a></p><p>About putting it on the breadboard, yes, you can solder some tin into the pins and put some wires and then put them in the breadboard, but it can have some bad contacts so be careful when soldering them. The SMD pins are very small as well which makes it even more difficulty.</p>
Hey I finally finished mine!<br> <br> I made a few changes:<br> - I used a 4060 to divide a 32.678 crystal down to 2Hz - Which was then divided by a 4024 to 1Hz<br> - Used both &quot;sides&quot; of the 390's to save three ICs<br> - Used some ex-military displays that I salvaged from an old work project. They had the binary to 7 seg portion built in.<br> - Used point to point wiring<br> <br> Still need to sort out a case / way to display it and what power supply I want to use.<br> <br> Anyways thanks again for your help, I don't ever think I would have got the 60/24 reset working.<br> <br> Photo attached (I think)<br> <br> <br> <br> <br> <br> <br>
<p>could you please send me your shematic and your simulation file </p>
Cute design! You really kept the component count down with those embedded chips in the displays themselves. That really cuts down on a lot of wiring. great implementation. <br> <br>I chose to only use one side of each 390 to reduce the trace complexity on my PCB. It made it more linear. <br> <br>How goes the time keeping? I am happy after two months mine has kept excellent time
<p>please i want to know how you connect the crystal to the pcb ?</p><p>and which program you use to make the pcb?</p>
<p>i need proteus schemetic of this circuit becaus i can not understand jumpers used in this project without that orignal Schemetic of this circuit made on that specific software used for PCB layout.. kindly provide me that one schemetic of this circuit on m.ibrar.1996@ieee.org</p>
<p>I don't have a proteus schematic. I drew the thing as a picture in Adobe Illustrator.</p>
<p>kindly answer these questions i have to submit this project next week but confused on two points..</p><p>I have two Questions from you</p><p>1) i don't understand from where input will be given on pcb ?? there is no input connector on Your design tell about input connection location on PCB lay out</p><p>2)In final picture of your project where is Oscillator located ? i mean in schemetic oscillator is before 4020 counter but in PCB lay out and final project picture oscillator is not soldered in that position..</p>
<p>please any one can help me placing the oscillator. oscillator used in this have four pins out but i got from market the crystal oscillator with two pins out just looks like capacitor but how do i place it instead of that four pin oscillator ? anyone help plz</p>
<p>Aren't you supposed to use all chips from the same family?</p>
<p>I mean, using 74HC family should be fine.</p>
<p>Can you(or anyone else) link me/show me what type of crystal oscilator you used please?</p>
<p>I wrote the DigiKey part in the discription.</p>
<p>How to make it without the second ?</p>
<p>anybody knows how to add milliseconds on this/.?</p>
<p>Can anyone send a multisim schematic of this please?</p><p>houseestateaq@gmail.com</p>
<p>I don't have that, sorry.</p>
Can't seem to get the diagram version to work the lcd won't light up
Didn't you use the PCB art? Is it getting power?
<p>can anyone send me the schematic of this digital clock..plz..</p><p>johnny_farjo@live.com</p>
<p>Switches don't work on Proteus, any body else?</p>
<p>Hi, I just want to ask if what is the purpose of the momentary switch you have? And if the circuit has an on-off switch? If yes, will the time still be accurate after it was turned off and then turned on again?</p>

About This Instructable

80,751views

133favorites

License:

More by Mattosx:Digital Calendar Clock made from CMOS Chips 3 foot Enterprise NX-01 with custom electronics Logic Probe with a Paperclip 
Add instructable to: