Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The 2mA through the switch will drain a 9V alkaline battery in a couple of weeks. You should use a normally open switch if possible, and ditch the transistor. If that's not possible, use a small MOSFET like 2N7000 or 2N7002, and your pullup resistor can then be large, like 1 Megohm.bitem2k said:I need the transistor to invert the input of the switch.
I have got rid of the second transistor and my circuit now looks like this, thanks to the input of people on another thread.
many thanks.