corpuralx
Junior Member level 3
- Joined
- Oct 12, 2013
- Messages
- 26
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 253
The basics of the basics. We're doing a project using only basic gates (some advance ones), I already made a circuit on proteus, simulated it, and everything's fine.
[PHASE1]
The logic of our project, a five minutes count down timer with (2) 7-segment display counter that comes with a switch [which will be our COIN SLOT]. The time the source is plugged in, the countdown timer starts and the counter is automatically sets to 01. Each time the countdown timer reach 0:00 and restarts to 5:00, the counter increases by 1s, so after after 01, it turns 02, then 03 and vice versa till it reach 99. For the switch[logicstate in proteus], each time it is pressed, the counter is reduced by 1s, e.g 04 to 03 then 02.
The countdown timer is made using a 555 timer, 3 counter ic 74LS192 and 3 bcd decoder 74LS47, with conditions to make it 5:00 mins. The 1st 74LS192 ic that hold the minute display, has a condition that once it reach 5, it ups the counter by 1s.
The counter is made using 2 counter ic 74LS192 and 2 bcd decoder 74LS47, with condition [for the down switch], each time the "oneths" segment reaches 9, it will down the "tenths" segment by 1 [E.G. 10 -> 09], this only occurs during the down switch is pressed. However, by means of the timer (not by the switch), it will not down the "tenths" segment.
[THE PROBLEM]
Now, the breadboard part, the down switch I used was a microswitch, connected to a debouncer, [https://3.bp.blogspot.com/_vh8XDhY5...AAABA/8tIEO7LV4A4/s1600/switch+debouncer.BMP]. I observed that the switch, even it is not pressed, it generates a small signal/a small voltage, which contradict/conflict with the condition I made in the counter section part. So meaning, it is always on, even its just 0. Which at proteus, we're only using LOGICSTATE so its only 0 or 1, so what happens, the condition which occurs only when the switch is pressed also works on the timer. After the 08 display, its supposed to dispaly 09, but instead displays 99. It means it down the tenths segment due to the debouncer, i replace the switch and debouncer with a coin slot and they are just the same.
I tried other debouncers, that doesn't have the same concept with the first, but the circuit does not work, counter doesn't work as well. Any suggestions? Ideas what to do?
[PHASE2]
Due to the problem, I decided to remove the other segment on the counter section so it would only count 1 to 9. I then replaced the microswitch with a coin slot, the next problem is, Instead it count down by 1, each time i insert a coin, the counter downs the counter by either 2s, e.g. 8->6 or 3->1. It means, that the microswitch 1st debouncer as well as the coin slot has the same concept, which has small signal or voltage even it is idle. Any suggestions?
Is there any methods how to supress the small signal into 0 [no voltage] which comes from the coin slot? any working debouncers? Thanks
[PHASE1]
The logic of our project, a five minutes count down timer with (2) 7-segment display counter that comes with a switch [which will be our COIN SLOT]. The time the source is plugged in, the countdown timer starts and the counter is automatically sets to 01. Each time the countdown timer reach 0:00 and restarts to 5:00, the counter increases by 1s, so after after 01, it turns 02, then 03 and vice versa till it reach 99. For the switch[logicstate in proteus], each time it is pressed, the counter is reduced by 1s, e.g 04 to 03 then 02.
The countdown timer is made using a 555 timer, 3 counter ic 74LS192 and 3 bcd decoder 74LS47, with conditions to make it 5:00 mins. The 1st 74LS192 ic that hold the minute display, has a condition that once it reach 5, it ups the counter by 1s.
The counter is made using 2 counter ic 74LS192 and 2 bcd decoder 74LS47, with condition [for the down switch], each time the "oneths" segment reaches 9, it will down the "tenths" segment by 1 [E.G. 10 -> 09], this only occurs during the down switch is pressed. However, by means of the timer (not by the switch), it will not down the "tenths" segment.
[THE PROBLEM]
Now, the breadboard part, the down switch I used was a microswitch, connected to a debouncer, [https://3.bp.blogspot.com/_vh8XDhY5...AAABA/8tIEO7LV4A4/s1600/switch+debouncer.BMP]. I observed that the switch, even it is not pressed, it generates a small signal/a small voltage, which contradict/conflict with the condition I made in the counter section part. So meaning, it is always on, even its just 0. Which at proteus, we're only using LOGICSTATE so its only 0 or 1, so what happens, the condition which occurs only when the switch is pressed also works on the timer. After the 08 display, its supposed to dispaly 09, but instead displays 99. It means it down the tenths segment due to the debouncer, i replace the switch and debouncer with a coin slot and they are just the same.
I tried other debouncers, that doesn't have the same concept with the first, but the circuit does not work, counter doesn't work as well. Any suggestions? Ideas what to do?
[PHASE2]
Due to the problem, I decided to remove the other segment on the counter section so it would only count 1 to 9. I then replaced the microswitch with a coin slot, the next problem is, Instead it count down by 1, each time i insert a coin, the counter downs the counter by either 2s, e.g. 8->6 or 3->1. It means, that the microswitch 1st debouncer as well as the coin slot has the same concept, which has small signal or voltage even it is idle. Any suggestions?
Is there any methods how to supress the small signal into 0 [no voltage] which comes from the coin slot? any working debouncers? Thanks