Isn't that a benefit? It is a debouncer.only if the input pulse is long enough for C1 to be discharged...
Isn't that a benefit? It is a debouncer.only if the input pulse is long enough for C1 to be discharged...
I simulated the circuit and it appears to be triggered on the rear edge -> trigger on the release.This circuit uses a single hex inverter chip to create two monostables with inputs that have extra added hysteresis, and are terminated and current limited for transient protection. Also, the output pulses are the correct polarity.
Look at the switch wiring.I simulated the circuit and it appears to be triggered on the rear edge -> trigger on the release.
Not necessarily. An edge triggered mechanism is completely independent of the input, once it is triggered.That takes feedback and control - hysteresis and an AND function of some flavor.
Take a look at the OP's request. Your circuit assumed an active low input (key presses produced logic 0s), vs. an active high input (key presses produced logic 1s)Look at the switch wiring.
True, but the schematic he posted made it clear that the input level assignment was completely arbitrary. That's why I flagged the switch action on the schematic.Take a look at the OP's request. Your circuit assumed an active low input (key presses produced logic 0s), vs. an active high input (key presses produced logic 1s)
Can you sketch a quick schematic of that?Not necessarily. An edge triggered mechanism is completely independent of the input, once it is triggered.
OkFirst let me be clear here. None of these circuits are "bad" or "wrong". They all work well within certain parameters, and in fact I've used all of them over the years and in posts in other threads here. But if we are drilling down into the subtleties of the requirement is for an output pulse that is completely independent of the input (after the first actuating edge), nothing without feedback will work across the entire ranges of devices and speeds.
The user doesn't have control over the duration of the pulse and its easy to lengthen the pulse duration is needed. Please explain what you mean by "terminated early by releasing" the switch?As for the circuit in post #23, the output pulse is terminated early by releasing the switch. Also, if the contact bounce burst is timed right it will
Not disagreeing but the likeliness is pretty low.show up on the output to the counter. The 40106 has 20% hysteresis (worst case) which reduces the possibility of this, but does not completely eliminate it like the 100% positive feedback of a classic two-NAND or two-NOR monostable.
During a button press, the non-transitioning input of the counter is already in a stable state, so not sure what you mean here?Also, it increments the counter on the trailing edge of the output pulse and leaves the timer in a non-recommended state between pulses.
ak
#I don't know what I'm looking for, or what is the term for it, and i've been searching till 2AM and still no solution.
so, I have a push button and I want an output that is active high and gives a pulse when I depress the button to HIGH.
Figure:
`````````````````````````long press``````````short press
Push Button/ input = ________--------------_________--_______
Output..................= ------------___-----------------------___--------
_----- HIGH
--___ LOW
#I am gonna connect it to DOWN pin in 74LS192 Up/Down counter. pulse should be enough to activate the DOWN pin (maybe 100ms or less) and must be HIGH all the time.
The reason why I need this is because if the DOWN pin stays at LOW, when I activate UP pin, it counts double or triple. It is when I press and hold the push button, giving LOW to DOWN pin, then count UP, it messed up until I release the DOWN push button.
My outputs are Clean when I tested them.
555 monostable doesn't seem to work on what I need. I don't know if I did something wrong.
note:
My time and resources are limited. Logic ICs, 555, Caps, Resistors, and 2N2222 Transistors, and I think it's enough. I can buy or Order some components if needed, but it takes time to arrive, so.. meh.
I am actually making a Coin counter for our project. and I want to avoid multiple counts on a single coin when the Start button (down count) is being depressed.
Keep the questions coming. And I'm not sure it got more complicated, just better defined.Please explain what you mean by "terminated early by releasing" the switch?
Sorry for the questions, just seems like a simply working circuit got more complicated than needed.
OK...good enough for me..Keep the questions coming. And I'm not sure it got more complicated, just better defined.
Looking at the UP half of the circuit in post #23, things start out with C1 discharged; both ends are at GND and U1 out is high. When S1 closes, the left side of C1 is yanked up to Vcc, crossing U1's input transition region and causing the inverter to change state, and U1 out goes low. The right side follows, and then starts to move back toward GND as C1 charges up. Eventually it crosses U1's transition region in the other direction and the output returns high.
But, if the UP switch is opened before C1 has charged up, and U1 out still is low, R2 pulls the left side of C1 back to GND, yanking the right side of C1 below GND, forcing U1 out high immediately. This is how switch bounce can directly affect the width of the output pulse, and even introduce noise into it if the planets are aligned.
Think about that for a second. For any circuit, yours include, there always exists a sufficiently short pulse that the circuit will not respond too. So it seems pointless to use that as a yard stick.One way to gauge true input-to-output independence is to crank up the speed
It is the same basic idea: use a capacitor to convert a level signal (button is high) to an edge signal (button going high).Each press of the PB generates a short pulse to trigger a count.
Again sticking with the boxcar circuit in post #23...Think about that for a second. For any circuit, yours include, there always exists a sufficiently short pulse that the circuit will not respond too. So it seems pointless to use that as a yard stick.