1. You are trying it in a lab and you have fluorescent lights on 2. The 12V power supply is weak and drops when the relay pulls in In both cases adding a 1uF capacitor between base and collector should help. Peter -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu