Switching switches?
ajs2001tx
Posts: 25
I am way out of my depth here so I need a little guidance being a simple farmer.· I need to switch·5 inductance relays (100 mA, 12 vdc) with a stamp and here is what I think I have learned by searching·through the other threads on switching with transistors.· Please tell me if this is right or wrong.
It seems that everyone agrees that switching the ground and NOT the supply voltage is the way to go.
It looks like the two most popular options are a transistor array such as the ULN2003 or a MOSFET.
Use a diode across the load on the relay.
From running the numbers from the "Don't get to HOT switching with a transistor" help page that I think John Williams provided in another thread, it seems that the ULN2003 can "sink plenty of ground" for my application while only using around 2 mA.·
My questions are as follows:
Do I need a resistor between the stamp pins and the base pins on the ULN2003?
Do I want to use a·diode across the relay magnet as well?·
Why would I want to go ahead and go with a MOSFET?
Do I need a resistor between the stamp pins and the gate on the MOSFET?
Do I need a diode with a MOSFET?
Do MOSFETs come in an array form?·
Is there anything else I need to know before I get going?
Thanks for your help, this forum and being able to search it is an invaluable tool.
Andy
Post Edited (ajs2001tx) : 9/26/2005 4:20:28 AM GMT
It seems that everyone agrees that switching the ground and NOT the supply voltage is the way to go.
It looks like the two most popular options are a transistor array such as the ULN2003 or a MOSFET.
Use a diode across the load on the relay.
From running the numbers from the "Don't get to HOT switching with a transistor" help page that I think John Williams provided in another thread, it seems that the ULN2003 can "sink plenty of ground" for my application while only using around 2 mA.·
My questions are as follows:
Do I need a resistor between the stamp pins and the base pins on the ULN2003?
Do I want to use a·diode across the relay magnet as well?·
Why would I want to go ahead and go with a MOSFET?
Do I need a resistor between the stamp pins and the gate on the MOSFET?
Do I need a diode with a MOSFET?
Do MOSFETs come in an array form?·
Is there anything else I need to know before I get going?
Thanks for your help, this forum and being able to search it is an invaluable tool.
Andy
Post Edited (ajs2001tx) : 9/26/2005 4:20:28 AM GMT
Comments
I don't mean to pick apart your post, but I also don't want to leave part of your post unclarified. Sorry to burst your bubble, but NOT everyone agrees that switching the ground is an appropriate switching method. I would only do it under great duress, and ONLY with low voltage circuits. Granted, yours IS a low voltage application.
I'll let others respond to your questions from an electronics point of view, but I'm going to take my corner with electrical SAFETY in responding to part of your question, and to show why switching the ground CAN be DANGEROUS. Please don't be offended :-)··There is a very valid safety reason for always switching the HOT (positive) leg of a circuit, instead of switching the neutral (negative or ground). Consider the two figures below labelled Figure 1 and Figure 2.
········· Figure 1························· Figure 2
·· A· + -/
B······· A· +
B
···························· |··································· |
··········· SAFE········· |················· UNSAFE······ |
···························· |··································· |
·· E· - ----D
· C······· E· - --/ -D
· C
······ Positive switched··········· Neutral switched
···· Voltages as measured in circuits above with switch OPEN (OFF!)
·········· Table 1································· Table 2
··· B --> ground = 0············ B --> ground = full voltage potential
··· C --> ground = 0············ C --> ground = full voltage potential
··· D --> ground = 0············ D --> ground = full voltage potential
I'll leave it to the reader if they want to expose themselves, or anyone else to that much LIVE VOLTAGE in a circuit that is ostensibly OFF! I, for one, switch the HOT ONLY.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Post Edited (Jon Williams (Parallax)) : 9/26/2005 12:36:24 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Do you have a Stamp Tester yet?
http://hometown.aol.com/newzed/index.html
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Where can I get a stripboard in the Dallas/Frisco area?· Tanner was out and radio shack has no clue.· Any ideas?
Thanks
Andy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
One of those boards where the entire line of each row is common and you strip off the copper in between rows where you do not want·connection.
Thanks
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Never create anything you can't control"
"The amount of intelligence on the planet is fixed... the population is growing"