just a quick comment.Its not the best use of an NPN transistor I've seen. There is probably a better way.
to prevent say a voltage spike on the 12v side
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16