For driving relays I use an NPN darlington array DIP. Drive 8 relays for $.72 and has the diode built in to protect the pic from inductive spikes. If you are going to do home automation you will probable need many channels and these work very well.
see: ULN2803APG
http://search.digikey.com/scripts/Dk...=ULN2803APG-ND
OOPS I see Jerry already recommended a darlington driver, let me change my answer to "I agree with Jerry on the driver chip"
Last edited by krohtech; - 5th March 2008 at 19:52.
Best Regards,
Kurt A. Kroh
KrohTech
“Goodbye and thanks for all the fish”
Bookmarks