Dangerous/incorrect usage of transistor?
SimEnzo
Posts: 21
I'm using a Board of Education with a Basic Stamp II. I'm powering the board using a 9v battery.
I have a NPN transistor that I'd like to use to trigger a relay. The dc adapter I'm using for the relay puts out about 16v.
I've attached (as a test) the VDD to the base of the transistor, the relay's ground to the collector pin, and the adapter's ground to the emitter.
My understanding is that for transistor to work, it needs to also connect back to the base's ground (i.e., the Board's vss)... I'm feeling a bit nervous about mixing the adapter's grounding with the battery's. Is this ok to do? Would I put a resistor going from the emitter to vss (in addition to the emitter connecting to the adapter's ground)?
Many thanks!
Post Edited (SimEnzo) : 4/29/2007 8:19:38 PM GMT
I have a NPN transistor that I'd like to use to trigger a relay. The dc adapter I'm using for the relay puts out about 16v.
I've attached (as a test) the VDD to the base of the transistor, the relay's ground to the collector pin, and the adapter's ground to the emitter.
My understanding is that for transistor to work, it needs to also connect back to the base's ground (i.e., the Board's vss)... I'm feeling a bit nervous about mixing the adapter's grounding with the battery's. Is this ok to do? Would I put a resistor going from the emitter to vss (in addition to the emitter connecting to the adapter's ground)?
Many thanks!
Post Edited (SimEnzo) : 4/29/2007 8:19:38 PM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Here's the difference, I believe the schematic that PJ provides depends on the the base and the load to be using the same power source... right? If the base is using a different power source, then it needs grounding too.
Note, the power is coming from the VDD and ground in the VSS of my board, but the schematic has the 9v battery just to be explicit as to what is powering the board.
· Full Stop.
Do you suppose the reason it works in the setup I'm describing is that, in effect, I'm connecting the stamp's vss to the power supply's ground?
In anycase, my main question is still out there: Is this safe?
Post Edited (SimEnzo) : 4/29/2007 9:35:33 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
You definitely need to keep the + voltages separate.
The "common ground" insures that both supply voltages are referenced to the same ground. That's why you connect the grounds.