Quoting PicDude : > > I need to switch on/off a 12V load, high-side, from a PIC running on 5V, and > tried this circuit, but the output is always on. With the PIC I/O floating > (set as input), the load should be switched off, and with the I/O low, the > load should be switched on. I'm using 1k for R1 and 10K for R2. The load > will be up to ~250mA, btw. Use Bob's method only. Eg. R1 1K 1/4W R2 10K R3 6K8 NPN: 2N/MMBT4401 PNP: 2N/MMBT4403 In most cases you'll also want to add a diode or something similar across the load to tame inductive spikes, even for something like a nominally resistive load with long leads. Best regards, Spehro Pefhany -- "it's the network..." "The Journey is the reward" s...@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist