1
\$\begingroup\$

I'm creating a circuit to switch and control between two different analog signals, and I'm doing so with JFETs and a CD4013. If I'm using a guitar pedal stomp switch to pull up or down the data line, can I use a pull-up resistor in this configuration to mimic an SPDT switch?

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

Yes, your design using a pullup resistor should work fine. It will draw a little more current from the battery when the button is pressed, but it's less than a milliampere and should be negligible.

Sometimes you have to worry about switch contact "bounce" but since your switch data goes through a flip-flop that latches the switch signal, this should not be an issue. Good luck!

\$\endgroup\$
1
  • \$\begingroup\$ Ah yes, flip-flop kills/cures bouncing. \$\endgroup\$
    – tlfong01
    Commented Aug 19, 2020 at 1:30

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.