I need a component/circuit which will output 1 if a 1 has been input at any time in the last 1-2ms.
I could make such a circuit out of several shift registers, an oscillator and several OR gates, or I could use an MCU.
Is there a simpler (maybe analogue) alternative? I've considered:
bus -->|--+--+-- out | | = R | | _ _ - - _ >| diode = capacitor - GND R resistor
but the 1V diode drop is quite big, making the circuit very sensitive to the bus being driven at less than 3V3. There may be slew issues, with the output component not recognising an edge.
Maybe a 555 can do this?
The required logic looks like:
_ ____ _ __ bus __| |________________________| |_| |_| |______________________ _____________________ _________________________________ out __| |____| |__ |<----- 1-2ms ----->| |<----- 1-2ms ----->|