Searching \ for '[EE]:Re: How to switch 8 volts with a PIC' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page:
Search entire site for: 'Re: How to switch 8 volts with a PIC'.

Exact match. Not showing close matches.
PICList Thread
'[EE]:Re: How to switch 8 volts with a PIC'
2000\08\28@231009 by David Huisman

You can use 2 transistors
Port pin via resistor to base of NPN
Then NPN collector to PNP Base
Resistor from NPN collector to PNP Emitter
PNP Emitter to 8V.
NPN Emitter to PNP Collector
Vout from PNP Collector

If it is small current then just
Port pin to FET Gate (say 2N7000)
FET Source to Ground
FET Drain to 8V via Resistor (i = 8v/R)
Output from FET Drain.

Say you want 1mA drive, R = 8k2.

Then drive pin inverted. "1" = off, "0" = on

David Huisman

-- Going offline? Don't AutoReply us!

2000\08\28@234254 by Tony Nixon

picon face
>Aside from using a relay, is there a simple way to use a I/O pin from a PIC
>(running at 5 volts) to switch a higher voltage (say, 8 volts).  The
>current is negligible.   I'm assuming a bipolar transistor switch is not
>going to work here because I'm attempting to switch a voltage that is
>higher than that which is applied to the base.

Seeing as you only want to switch a very low current, why not directly
use the RA4 open collector pin. As far as I know it can handle 12V or

I wouldn't switch any inductive loads with it though.

Best regards



-- Going offline? Don't AutoReply us!

2000\08\29@004304 by Plunkett, Dennis

It will take the maximum 16V of CMOS, but you have to watch the current.


{Quote hidden}

-- hint: To leave the PICList>

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...