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: massmind.org/techref/microchip/devices.htm?key=pic
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

flavicon
face
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

Regards
David Huisman

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
use spam_OUTlistservTakeThisOuTspammitvma.mit.edu?body=SET%20PICList%20DIGEST>

2000\08\28@234254 by Tony Nixon

flavicon
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
so.

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

--
Best regards

Tony

ICmicro's
http://www.picnpoke.com
.....salesKILLspamspam@spam@picnpoke.com

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
use listservspamKILLspammitvma.mit.edu?body=SET%20PICList%20DIGEST>

2000\08\29@004304 by Plunkett, Dennis

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

Dennis



{Quote hidden}

--
http://www.piclist.com hint: To leave the PICList
KILLspampiclist-unsubscribe-requestKILLspamspammitvma.mit.edu>

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