Hadn't factored in the internal protection diodes, thanks. I need to do this with 8 outputs, and only one OC output. I started with a 2 transistor circuit (1 NPN + 1 PNP), but thought I could simplify it this way. Cheers, -Neil. Dario Greggio (in giro) wrote: > > > Internal protection diodes of PIC's pins will make your transistor > conduct all the time - since they shunt to 5.3Vcc (VDD+0.3 or so). > > You should use a true Open Collector pin. Or place an intermediate > transistor in between. > > -- > Ciao, Dario > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > -- View this message in context: http://www.nabble.com/-PIC--%2B12V-high-side-transistor-switch--tp17782399p17792261.html Sent from the PIC - [PIC] mailing list archive at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist