>
> At 04:07 PM 4/16/97 PDT, you wrote:
> >Hi,
> > If RA4 is open drain, can I put a higher voltage onto it to pull it up.
> > Eg. can I use a 12V relay between +12V and RA4?
> >Thanks for any help in advance,
>
> Brian,
>
> I think you would be asking too much current of the PIC device. You should
> use a transistor to drive the relay, with a field collapse diode as well.
> Take a look at our tutorial, 'Device Control via the PC', for details on how
> to wire this up correctly.
>
> You can download a copy at our web site at
>
http://www.netins.net/showcase/elab in the 'Intergated Circuits' section
> under 'EDE300'.
>
> If your were merely using the relay as an example and just wondering if you
> could use +12V to drive a lower current load, take a look at the 'max' specs
> for the chip - they specify .6V above Vdd. I suspect this is because of the
> clamp diodes that are there for protection. So if you can drop enough of
> the voltage across your load to make sure the PIC stays within this range
> (and most of it should be dropped across most any load), and stay within the
> current specs for the device, I think you should be O.K., as the PIC would
> never know it were connected to the +12V, assuming it was dropped before it
> got to the PIC.
>
> I am, however, curious to hear other's opinion on this, as I have never
> tried it.
>
> -Todd Peterson
> E-Lab Digital Engineering, Inc.