I'm using a double NE555 (called '556'), in which both halves act as a
one-shot. I need them to be retriggerable, that is, if a trigger pulse
comes before the completion of an ongoing pulse, the ongoing pulse is
extended by an amount equal to the preset time constant.
I found several ways on the 'net to achieve this:
1. 2.
http://sam.electroastro.pagesperso-orange.fr/dossiers/555/555.htm
(see "montages" n. 2 and 3)
3.
(Starting with a 555 in the usual monostable configuration) It's
achieved by wiring the capacitor between pin 6 and GND and the
resistor between supply voltage and pin 2. Pins 2 and 6 are wired
together, so pin 7 is not used.
4.
Same as the usual 555 in monostable configuration, but reset and
trigger are wired together: at each incoming pulse, the timer is reset
even if the previous output pulse hasn't finished yet.
I'm trying to build a device that tells me if an incoming signal
(Horizontal sync from a VGA card) has a frequency that is below or
above a certain value. The first one-shot has a time constant
corresponding to the period of this fixed frequency value (54 us, 18.5
KHz). The incoming signal is wired to the trigger pin of the first
half of the chip. When the frequency is higher than 18.5 KHz, the
interval between the pulses is less than 54 us, so the first one-shot
is retriggered constantly and stays high. If the frequency drops below
18.5 KHz, the pulses come at a lower rate, thus allowing the one-shot
to basically oscillate at the incoming signal's frequency (for
instance: the incoming signal has a frequency of 15 KHz (66 us): the
one-shot will produce a 54 us pulse every 66 us). The output of the
first one-shot is fed to the second half of the 556 (second one-shot),
which is set with a time constant of 84 us: when the first half stays
high because the frequency is above 18.5 KHz, this one remains low
because it is never triggered; when the first half is oscillating at
the incoming signal's frequency, the triggering pulses will always
come at intervals lower than 84 us, so the device will be constantly
retriggered and give a constantly high output.
Thanks very much for your time.