Loading simulator…
A 2 ms trigger pulse is too brief to directly maintain an output for tens of milliseconds. The solution charges a capacitor rapidly through a diode, then lets it discharge through a much larger resistor to extend the useful pulse duration.
R_CHARGE = 100 Ω and D1 between TRIGGER_IN and the output node HOLD_OUT, with the supplied C1 = 10 µF from HOLD_OUT to ground.TRIGGER_IN returns to 0 V, D1 blocks the fast reverse path. The capacitor discharges mainly through R_DISCHARGE = 8.2 kΩ, giving .Apply a 2 ms HIGH pulse to TRIGGER_IN. Inspect HOLD_OUT at the end of the pulse, then at 50 ms and 150 ms after it ends. Expect ≥3.3 V, ≥2 V, and ≤0.8 V, respectively. Try a larger R_DISCHARGE and notice how the later voltage stays higher.