bypassable latching switch - How do I simulate

I'm designing a guitar pedal that has the option to be used in either latching mode, or momentary mode, with a single footswitch. There will be a second switch that changes the mode. How do I simulate the two switches in different states? I need the following:

Momentary mode:

Latch off, footswitch down -> signal on

Latch off, footswitch up -> signal off

Latch Mode:

Latch on, footswitch down -> signal on

Latch on, footswitch up -> no change

Latch on, footswitch down -> toggle signal (this mode needs to oscillate a few times)

So how would I go about simulating this in Circuit Lab?

by jayfehr
September 01, 2015

This sort of thing might help get you started:

https://www.circuitlab.com/circuit/d66f6n/voltage-controlled-spdt-switch-01/

https://www.circuitlab.com/circuit/j937m4/voltage-controlled-switch-driven-by-clock-signal/

https://www.circuitlab.com/forums/support/topic/gez457uy/voltage-controlled-switch-not-working/

https://www.circuitlab.com/forums/support/topic/36938w6z/time-domain-simulation-voltage-controlled-switch/

by signality
September 01, 2015

In order to use those I can't use the same switch types that'll be used in my final design.

I get that this is how to do it, but I find it to be a hack.

Thanks for your reply

by jayfehr
September 01, 2015

Post a Reply

Please sign in or create an account to comment.

Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.