The load is 5V dc. It's just a simple digital switch that I want to replace/control with the pic.
I just need to control the grounding of the "incoming" 5V dc wire.
If we removed the diode and relay, and disconnected "C" from the schematics "VCC" from this circuit: http://www.rentron.com/images/rely-drv.gif
1. Attached a 5V dc voltage wire to the "C" of the 2n2222 transistor.
2. Connected "E" of transistor to ground.
Would the 5V dc wire (connected to "C") be brought to ground when the pic pin is high?
Now, referring to the schematic as it is exactly in that diagram, is the transistor there just bringing the (-) of the relay to ground. In other words, when the PIC pin is brought high or low this action switches the relay (-) to either ground or "no connection"?
Thanks again for the help.
T




Bookmarks