I've built a counter using j-k flip flops and i've denounced the input switches( the one going in an the one going out) using schmitt trigger 7414
so my project is about counting people for eg going inside a supermarket and the ones leaving the supermarket(both are done by the denounced switches)
and i subtract them with a 74283 4 bit full adder to see how many clients are left inside the market. to denounce the switches i've built an RC network.
10k pull-up is connected to 5v and another 1 k is connected to the input of the schmitt trigger and parallel to that a 10micro farad capacitor. the input of the switch come from the 1k resistor and from the other side of the switch to ground.. i'll show you the circuit i've built attached to the document.
the problem and the only one(all the circuit is working properly as expected) is that when i want to leave 8 people, sometimes 4 and 8 binary leds are tuned on instead of of the 8 bit is on and sometimes it works well.why? what is wrong ?do i need a 15 micro farad capacitor?
so my project is about counting people for eg going inside a supermarket and the ones leaving the supermarket(both are done by the denounced switches)
and i subtract them with a 74283 4 bit full adder to see how many clients are left inside the market. to denounce the switches i've built an RC network.
10k pull-up is connected to 5v and another 1 k is connected to the input of the schmitt trigger and parallel to that a 10micro farad capacitor. the input of the switch come from the 1k resistor and from the other side of the switch to ground.. i'll show you the circuit i've built attached to the document.
the problem and the only one(all the circuit is working properly as expected) is that when i want to leave 8 people, sometimes 4 and 8 binary leds are tuned on instead of of the 8 bit is on and sometimes it works well.why? what is wrong ?do i need a 15 micro farad capacitor?
Attachments
-
293.4 KB Views: 215
-
301 KB Views: 188
-
298.5 KB Views: 141
-
303.8 KB Views: 88
-
298 KB Views: 94
Last edited: