Quote Originally Posted by EddyCurrent View Post
Irving, you are right, I just threw the drawing together on Paint and I have indeed got e and c crossed over. What would your plan be to make it failsafe ?

Maybe this ? (sorry for poor drawing, no tools at hand on this pc)

Click image for larger version. 

Name:	cprev2.jpg 
Views:	2746 
Size:	6.6 KB 
ID:	10832
that'll do it. i'd put a series resistor between BOB and base of transistor, value depends on pull-up on BOB. If there is no pull-up (i.e. its an o/c output) use 10k to 5v rail.

R needs to be something like 2k7 0.5W rating if connected to 24v, or 470R 0.125W if connected to 5v rail.

BD679 is fine as output transistor if a bit of an overkill. Any small signal NPN with a gain >50, Vce >40v and Ic >200mA will do for the input transistor e.g 2N3904, BC337 or similar