I need help on using a transistor as a switch.
- cheapNdisgusting
- Posts: 79
- Joined: Sat Feb 12, 2005 1:01 am
- Location: On the bank of, and sometimes in the Castor river
- Contact:
I need help on using a transistor as a switch.
It is a pain to use because the container has to be opened to snap the battery in - then sealed back up.
What I want to do is add a transistor (PN2222A) and have it act as a switch. A base wire and a + wire protruding out of the pill bottle about 1/2" apart (waterproofed of course) and when the call is lowered into the water the conductivity of the water would make the circuit and fire the base with enough voltage. Then when it is removed from the water - it automatically shuts off.
I've done this same thing with the water before using the 2 wires as a water detector - works fine.
My question is just where exactly in the circuit to put the transistor - see the red circles in the schematic. A - B - or C?
Or interrupt the wire going to one or the other bases on the transistors that are already in place and not adding one.
Incidentally anyone is welcome to try this - it works best on drawing minnows into an area.
Thanks in advance for any and all comments.
cNd
-
- Posts: 1920
- Joined: Fri Aug 22, 2003 1:01 am
- Location: Izmir, Turkiye; from Rochester, NY
- Contact:
Re: I need help on using a transistor as a switch.
Location A or B for insertion On/Off switch transistor okay. Location C allows possible leak path through Q2 and Q1.
Let's pick A. Disconnect emitter of Q2 from battery +. Emitter of Q3 (2222) to emitter of Q2. Collector of Q3 to battery + and outside the pill bottle. Base of Q3 outside.
If gain of Q3 is too low, or resistance of water between outside probes to high, then Q3 maybe won't turn on enough to operate the circuit.
Alternate is location B for Q3. That puts the circuit on collector side of Q3, allowing more voltage in base connection.
Disconnect line from battery - that goes to emitter of Q1 and speaker. Connect that to collector of Q3. Connect emitter of Q3 to battery -. Add probe to outside at battery +. A resistor from Q3 base to other outside probe. Value of resistor to allow saturation of Q3 when water between probes.
good luck,
Let's pick A. Disconnect emitter of Q2 from battery +. Emitter of Q3 (2222) to emitter of Q2. Collector of Q3 to battery + and outside the pill bottle. Base of Q3 outside.
If gain of Q3 is too low, or resistance of water between outside probes to high, then Q3 maybe won't turn on enough to operate the circuit.
Alternate is location B for Q3. That puts the circuit on collector side of Q3, allowing more voltage in base connection.
Disconnect line from battery - that goes to emitter of Q1 and speaker. Connect that to collector of Q3. Connect emitter of Q3 to battery -. Add probe to outside at battery +. A resistor from Q3 base to other outside probe. Value of resistor to allow saturation of Q3 when water between probes.
good luck,
Dale Y
- cheapNdisgusting
- Posts: 79
- Joined: Sat Feb 12, 2005 1:01 am
- Location: On the bank of, and sometimes in the Castor river
- Contact:
Re: I need help on using a transistor as a switch.
Thanks Dyarker for the info. I appreciate how in-depth you explained it.
cNd
- cheapNdisgusting
- Posts: 79
- Joined: Sat Feb 12, 2005 1:01 am
- Location: On the bank of, and sometimes in the Castor river
- Contact:
Re: I need help on using a transistor as a switch.
dyarker I tried both of your suguestions and both were correct. Option A - the gain was too low (exactly as you said) and it took touching the probes together to actually turn on Q3.
Then I did option B and it works perfectly.
Thanks again for the help. Much appreciated.
cNd
Then I did option B and it works perfectly.
Thanks again for the help. Much appreciated.
cNd
cNd
Re: I need help on using a transistor as a switch.
I produce a 'water finder' for well depth observations and a darlington as the switch. With no water, the leakage current is nil, so no on/off switch was used.
Len
“To invent, you need a good imagination and a big pile of junk.” (T. Edison)
"I must be on the way to success since I already have the junk". (Me)
“To invent, you need a good imagination and a big pile of junk.” (T. Edison)
"I must be on the way to success since I already have the junk". (Me)
Re: I need help on using a transistor as a switch.
My first thought is to use an Air switch, similar to what I use to turn my garbage disposal on and off. It would be simple, mechanical and no issues with current leakage (not that safety is a concern with a 9V battery). You might need a bigger pill bottle though. For 4 bucks, its worth a try
http://www.ebay.com/itm/Garbage-Disposa ... SwZ8ZW7i5Q
http://www.ebay.com/itm/Garbage-Disposa ... SwZ8ZW7i5Q
Who is online
Users browsing this forum: No registered users and 2 guests