I am having an issue with a limit switch to turn on and off a circuit. I am using a L7805 5V regulator with a regular 9V battery as the power supply for my circuit. When I plug in the 9V battery normally, the circuit functions fine, however, if I add a limit switch/microswitch to turn on and off the circuit, the circuit does not function. I've tested countless things to no avail:
- Different limit switches with different current ratings ranging from 2A to 5A and 50V to 250V AC or DC
- Confirmed that the limit switches work properly when pressed using the multimeter's the continuity function
- Made sure that the circuit works fine when I plug in the 9V normally by hand into the 5V regulators
- Switched the breadboards that the circuit is currently onto different breadboards
- Edit: Forgot to include that I've tried putting the limit switch in different places, I tried putting it between the 5V regulator and the 9V battery directly, and the 9V battery's ground and the 5V regulator's ground. Both do not seem to work either
I'm very confused at this point because the limit switches seem to function fine, and the circuit also functions fine without the limit switch. I did a search already and didn't find something similar to my issue, so apologies if this has already been asked. Any possible ideas/or even remote pointers would be much appreciated because I'm still new to electronics. A schematic of my circuit is also attached below in case it helps, its purpose is to drive a servo for a specific amount of time. Much thanks!