Yep, that's exactly what's on my mind but I don't know how to build a circuit for that. Tried to search on google but there's no exact or simply closer idea for that circuit.This is only an idea but you could makeba circuit that puts out a pulse when the two digits in the hours part of the circuit changes to "12" and use that toggle a flip-flop that drives the AM/PM LED.
Our professor told us to build a 12 hour clock with 2 LEDs for AM/PM indication. We will actually connect some pins on circuit to the corresponding GPIO pins on Altera DE1 Board (Quartus - Cyclone II Device) and program the logic gates used to make it run as how it should be.Unless it's an alarm clock, why do you want an AM/PM indication?
It should not be difficult logic to come up with. Do you know what the BCD patterns corresponding to 1 and 2? It should be an easy circuit, the "2" is only displayed in the hours digit two times. A binary-to-decimal decoder and some AND gates driving a flip-flop could do it.Yep, that's exactly what's on my mind but I don't know how to build a circuit for that. Tried to search on google but there's no exact or simply closer idea for that circuit.
He is using the CD4026 chip (counter to 7-seg driver). There is no accessible BCD. He will need to grab the evidence of a 1 and 2 on the hour display from the 7-segment inputs into glue logic and output that to his flip/flop toggle.It should not be difficult logic to come up with. Do you know what the BCD patterns corresponding to 1 and 2? It should be an easy circuit, the "2" is only displayed in the hours digit two times. A binary-to-decimal decoder and some AND gates driving a flip-flop could do it.
Wouldn't that change the am/PM toggle as the clock clicks from 12:59 to 01:00? Am/PM toggles from 11:59 to 12:00.If the hour MSD can only be 0 or 1 or have lead zero blanking,
It looks like you only have to look at one segment of the hour MSD with the flip flop input.
What??If our ancestors had not harbored a pathological fear of the number zero, this programming challenge would not be an issue.
You might want to read beyond the title as well. It is not about leading zeros or the numeral "0" or the second digit of the number 10. It is about the concept of nothingness or beginning and similar mathematical starting points necessary to use math to solve problems and the representation thereof.There is a great book you should read. ZERO "The biography of a dangerous idea" by Charles Seife.
!?!?bump
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
![]() |
24 hour digital clock logic circuit | Homework Help | 92 | |
![]() |
Hour of my digital clock skips | Power Electronics | 5 | |
D | 12 Hour Digital Clock | Homework Help | 5 | |
K | 12 Hour Clock Design Help! | General Electronics Chat | 3 | |
C | Logical Circuit for 24 Hour Digital Alarm Clock | Homework Help | 6 |