Hi Menta,
If your question is how to trigger a relay (5 or 12 volt) then I would use a transistor such as a 2n2222A. A 1K resistor from the PIC pin to the base of the transistor is needed. Don't forget to put a diode across the relay coil to protect the transistor.
HTH,
BobK




Bookmarks