I'm trying to use a Raspberry Pi to switch on and off another circuit. This other circuit draws a LOT of current, so I'm using a power supply dedicated to that load.
I tried to do a simple op-amp comparator (1.65V coming from a resistor divider off the Pi into the V-, 0 or 3.3V coming from the GPIO pin on the Pi to the V+, and then 0 and 9V from external battery to the VS- and VS+ pins), with the output then connected to my load and to the external battery ground.
However, I then realized that op-amps can apparently only have up to 25mA passing through them when there's no feedback. (Just a figure I found, it might not be exact.) My load can take up to 1A or higher.
I was thinking of doing a CMOS switch, but as far as I can tell I would need to have some sort of negative voltage source as well as positive to be able to make the switch. I'm not sure how to do that with just batteries, though.
Is there any way to do the CMOS switch, or just have another switch mechanic in general?