The relay coil should be in the supply side, the source grounded (the fet is turned on by the gate-source potential, so that should be +5v = on):

            +24
             |
         relay coil
             |
           drain
  pic ---- gate      N Channel Hexfet
          source
             |
            gnd

-- Alan

At 05:50 PM 12/8/99 , you wrote:
David,

I agree with Tony.
I am using a IRLZ44N with my load on the drain side and it works fine with
+5v

David


----- Original Message -----
From: Fansler, David <DFANSLER@AUTOCYTE.COM>
To: <PICLIST@MITVMA.MIT.EDU>
Sent: Wednesday, December 08, 1999 5:27 PM
Subject: Logic Level HEXFET's


> I am working on a project that uses a PIC to operate 3 logic level
HEXFET's
> (IRLIZ44N & IRLD014) that is driving me crazy.  I was under the impression
> that logic level HEXFET's would (when +5V is applied to the gate) would
open
> up an pass whatever voltage was on the drain to the source (within the
> limits of the device).  Ain't happening.  All I get is 6 - 7 v through the
> device, with 24vdc on the drain.  And yes, I do have the gate, drain,
source
> pins correctly identified.  I have tried high side, low side and would try
> third side if I knew how.
>
> Basic circuit is
>            &nbs p;    +24vdc
>            &nbs p;  |
>            &nbs p;    Drain
>  +5V------Gate
>            &nbs p;    Source
>            &nbs p;  |
>            24 vdc relay coil
>            &nbs p;  |
>            &nbs p; GND
>
> To date I have not even put the PIC in the circuit, but rather just fed 5v
> from the power supply.
> Any ideas or help would be greatly appreciated - I am beginning to doubt
my
> manhood!
> Thanks
> David
>