In my project I want to control multiple buttons with only one to two pins of microcontroller so I made shift register with D-flipflops when I give the desired signal like 1011 it shifts and after a while clock signal is continuous so my values didn't match to the desired value so I put Latch to store the values and put a transistor to stop clock pulse so my values gets stored in the latch the pulse which i give from Proteus is 2 Hz and in Arduino code I put delay so my desired logic worked .
but in real time I am giving it pulse from timer and it is very fast I changed the delay it worked for a second but after sometimes it fails how will I able to do this and in real time If somehow clock signal is generated correctly how will I be able to do this ..
but in real time I am giving it pulse from timer and it is very fast I changed the delay it worked for a second but after sometimes it fails how will I able to do this and in real time If somehow clock signal is generated correctly how will I be able to do this ..
Attachments
-
40.7 KB Views: 14
-
14.2 KB Views: 10