2
\$\begingroup\$

I use a touch sensor (Active Low) to light up a light bulb. here I've used a 74HC74D D flip flop to turn on an off the bulb with the sensor pulse (sensor output is active low which is then converted to a active high with a PNP transistor to make the flip flop work)

my problem is that at the power up the state of the output is not determined. Is there a way to make the output zero at the startup to ensure an powered off bulb at the start up the circuit?

\$\endgroup\$

1 Answer 1

7
\$\begingroup\$

One solution is to use the CLR pin of the flipflop. Place a capacitor to GND and a resistor pulled up to Vcc on the pin. This will create a delayed low level on that pin at power up to clear the flop.

The RC time constant needed will depend a lot on the rise time of the Vcc at power up.

\$\endgroup\$
1
  • \$\begingroup\$ thank you so much this was the solution \$\endgroup\$ Commented Apr 25, 2022 at 10:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.