Continue to Site

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.

  • 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.

Need help in digital clock (hour, minute, and second) circuit

Status
Not open for further replies.

dj_ash1983

New Member
Hello to all. I'm new here, and I'm kinda noob on electronics stuff.

Recently, our Digital Circuits instructor is throwing yet another project on us to complete this week, and it's about making a digital clock made out of only pulse generator (analog circuit using LM555), decade counters (74LS90), BCD decoders (74LS47), AND Gate ICs (74LS08), and 7-segment LEDs. Our instructor intentionally gave us only the second-hand section of the diagram so that we have to use or brains to figure out the rest of the circuit (the minute-hand and the hour-hand). Yeah, it was a challenge to me coz I really got interested in these kind of projects, but I'm about to give it up already coz I'm all out of ideas. So far, I got only the "ones" part of the minute-hand section, and I had a really hard time to figure out the "tens" part. If you're getting confused about what I just said, let me elaborate you about this using an illustration:

**broken link removed**
This is what should look like in a clock, right?

**broken link removed**
But this is what I got so far.

As for the circuit diagram, you can take a look at it here:
https://i13.photobucket.com/albums/a251/dj_ash1983/circuit.jpg

I really need help from you guys so I can pass it on time. Thanks in advance, I really appreciate it.
 
Clock circuit.

Hi dj ash1983,

The circuit looks OK for the first two 74LS90's, forget the third one.
If you copy this part of the circuit twice you've got two divide by 60
counters. The clock of the third 74LS90 should be connected to the
output of the nand gate of the second 74LS90. Done that you've got
seconds "ones" and "tens" and minutes "ones" and "tens". The last part
is a divide by 24 counter. The clock of the fifth 74LS90 should be
connected to the output of the nand gate of the fourth 74LS90.
And here's the schematic of the last two counting sections.

on1aag.
 

Attachments

  • divide by 24 counter.GIF
    divide by 24 counter.GIF
    8.3 KB · Views: 9,053
on1aag said:
Hi dj ash1983,

The circuit looks OK for the first two 74LS90's, forget the third one.
If you copy this part of the circuit twice you've got two divide by 60
counters. The clock of the third 74LS90 should be connected to the
output of the nand gate of the second 74LS90. Done that you've got
seconds "ones" and "tens" and minutes "ones" and "tens". The last part
is a divide by 24 counter. The clock of the fifth 74LS90 should be
connected to the output of the nand gate of the fourth 74LS90.
And here's the schematic of the last two counting sections.

on1aag.
I got the hour-hand section (it went pretty smooth coz i just have to tinker the output wires to get the 12-hour format), but I think I had a hard time with the minute-hand part.

You said that "If you copy this part of the circuit twice", what part you are referring about? Oh yeah, I did copied the whole second-hand part of the cicuit but what I get was that the "ones" part is the only functional and not the "tens" part which is always "0".

Also, about what your said "The clock of the third 74LS90 should be connected to theoutput of the nand gate of the second 74LS90", there are 4 outputs (QA, QB, QC, and QD), right? Which of them should I connect?

Sorry to bother you, but can you make the whole second-hand and minute-hand circuit? Don't worry about the hour-hand, I got it already. :D

Thanks so much for your help. I really appreciate it. :D
 
Last edited:
Clock Circuit.

Hi dj ash1983,

Here's the rest of the circuit, it isn't that difficult.
If I do your homework, do I also get your degree ?
I always wanted a degree in chemistry. :D

on1aag.
 

Attachments

  • Clock circuit.GIF
    Clock circuit.GIF
    9.1 KB · Views: 12,138
Lol :D You're making it sound kinda harsh y'know, hehehe :D

Like I said, I'm still a noob with this. I always rely on my group members when it comes to school projects at our while I'm the "financer". :D But I came to realize that I have to do these things on my own y'know. And I think electronics stuff is an interesting thing to have as a hobby. :D

And BTW, I didn't take Chemistry. I took Computer and Electronics Technology, but it's much more on PC troubleshooting/networking rather than electronics. Although I'm noob at electronics, I'm pretty good at PCs and IT-related technology. :D

Anyways, you really helped me a lot. Thanks so much. :D
 
Last edited:
Oh yeah, I have to set it to 12-hour format aside from 24-hour.

Getting the 24-hour format is a cinch, but I had a hard time to analyze how to set the clock to 12-hour. During the time I was working with the minute-hand section (and got pissed off coz I still don't make it work right, that is before I showed up here in this board :D), I noticed that instead of resetting back to "0" when it reaches "9", it skips to "1". If only I remember how did I just do it...

Anyways, sorry to bother you again, but I really need your help. :( Oh yeah, I always stick to the only required parts I mentioned above.
 
Last edited:
I will post a schema from a TTL clock in the next couple of days.
I have built 6 of these with no major problems over the last 15 years for family.
Very important is to decouple each IC with a 100nF ceramic capacitor.
Regards
Raymond
 
Hey guys, it's been a long time since my last post here. :D

Seems like our li'l school project (which I passed with flying colors) took a bit of attention from some people here. How nice, hehehe :D

As for the schematic diagram, you may refer to the on1aag's attached pic (the 2nd pic). There's no more detailed that that anyway. And as for the "full" schematic diagram of the clock itself, the only part missing on on1aag's diagram is the clock pulse trigger diagram using LM555. Refer to my very diagram on my very first post.

If you guys REEEEEEEEEEEEALLY need a nice and neat schematic diagram, I can make one and post it here, but you guys have to wait since I have to find the circuitmaker pro from my backup cds first so I can verify it if it's working or not.
 
can u show to me the diagram for hours my IC is 74LS192 that connected the up count to the minute output. i need it badly the output of my hours is 0-12 what should i do to make it 1-12 plsssss post a reply or show me the circuit plssssss
 
since you are using the 7490 i advice you to search 'how digital clock works' on howstuffworks.com. they have shown a very ingenious way of making mod6 and mod10 oout of the 7490 with out using any gate circuitry. and i think i still have my old simulation of this clock back when i built it. i made in ewb. i will look for it and if you need it then tell me.
 
can u show to me the diagram for hours my IC is 74LS192 that connected the up count to the minute output. i need it badly the output of my hours is 0-12 what should i do to make it 1-12 plsssss post a reply or show me the circuit plssssss

I don't think you can make a 12-hour format out of 74LS92 ICs. I've tried that before, but I'm stuck at 24-hour format. There are other ICs out there that can do 12-hour format, but doing that in 74LS is impossible. Correct me if I'm wrong.
 
Last edited:
hello do u guys really want circuit of the digital clock using 7490?if yes than do tell i m hving schematic and pcb layout both,it was published in one of the magazines for electronics called "EFY" but i dont know that it works or not bcoz i hv not tried .so if u want than do tell me frankly.ya but i will b sorry for late reply.
 
i could use the schematic for the digital clock, i got it to count up to 59 seconds and reset but i cant get the the minute hand started
 
hey dj_ash1983 did you ever finish the schematics on your digital clock...if so can you help me out?
 
please i want also the diagram of digital clock counter with two switshes to set hours and minutes (its also my faculty graduation project)
 
hi..people i almost gor the full digital clock,..but i have one problem in hour part.i cant solve it.................,my prolem is to convert 12 hour to 1,instead of to go back in 0..i use this kind os I.C,74192,555,7447.
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top