You mean you want to generate a short positive pulse in response to a button press?. There are a number of ways to do this, but essentially it's called a monostable circuit - a 555 can do it, as can various configurations of logic gates.
ok, a 555 monostable is getting closer,but i really want the input to change from 0 to 1 , so that it can only be activated once, instead of a push switch
any way of modifying the circuit in the attachment?
ok, a 555 monostable is getting closer,but i really want the input to change from 0 to 1 , so that it can only be activated once, instead of a push switch
any way of modifying the circuit in the attachment?
At a guess, I'd presume you want a single button press to generate a short positive pulse, but only once - after been pressed once it won't work again (until reset in some way).
How about telling us exactly what you are trying to do?.
in the pic here , each time a button is pressed a led comes on.
the 1st press is green, 2nd - red , 3rd - green again, pressing them in any order should follow this pattern
however pressing a button more than once, causes the counter at the top to count another step, which could cause the 'other' led to turn on.. (both undesired)
so i need something to stop each button having any further effect after being pushed once
Yes, it makes sense now - but it didn't on it's own :lol:
As usual, I'm going to suggest a PIC to do it - a PIC 16F628, the switches, LED's and series resistors are all that's required. It would drastically reduce your component count and enable you to do anything you wanted with the buttons.
the best pace to start on a design like this is to draw a flow chart. and have a good look at wha tyou need and what parts of the circuit will be repeated.