The PC817 part of the circuit it a great one if you have something like a paddle...

@RueNahcMohr@infosec.exchange

The PC817 part of the circuit it a great one if you have something like a paddle switch with momentary contacts that you want to have toggle on and off a circuit.