IRL530N mosfet with BS2
Hi All,
Sitting here wondering why I can't get this logic level IRL530N mosfet to
work with my BS2.
Trying to control a small relay, I know this can be done with a transistor
but just wanted to see how these mosfets worked too.
Anyway I have the Gate pin 1 on the IRL530 hooked up to P0 on the BS2, got
the Drain pin 2 going to the relay, got the source pin 3 hooked up to
ground.
The program on the BS2 flashed an LED no problem but when I hook it up to
the Gate nothing happens. I took the LED out to in case it was fouling
things up. I also reversed the drain and source connections too to see if
that would make it work, this last try just made the relay stay on.
Anyone got any hints??
TIA,
Mark
Sitting here wondering why I can't get this logic level IRL530N mosfet to
work with my BS2.
Trying to control a small relay, I know this can be done with a transistor
but just wanted to see how these mosfets worked too.
Anyway I have the Gate pin 1 on the IRL530 hooked up to P0 on the BS2, got
the Drain pin 2 going to the relay, got the source pin 3 hooked up to
ground.
The program on the BS2 flashed an LED no problem but when I hook it up to
the Gate nothing happens. I took the LED out to in case it was fouling
things up. I also reversed the drain and source connections too to see if
that would make it work, this last try just made the relay stay on.
Anyone got any hints??
TIA,
Mark
Comments
Your circuit sounds OK. I like to add a 1k resistor between the Stamp pin
and gate to prevent FET oscillations. The IRL530 should operate from Stamp
output. Your relay should be connected from a positive supply to the drain.
A suppressor diode is needed to protect the FET when it turns off. When the
Stamp pin goes high, the relay should close. Make sure the relay power
supply negative is connected to the Stamp supply gnd. If you ground the FET
drain with a jumper, the relay should close. If not, something is wrong
with your wiring or relay supply.
A few suggestions,
Ray McArthur
Original Message
From: techno masai <plunkettm@e...>
To: <basicstamps@yahoogroups.com>
Sent: Saturday, February 24, 2001 5:23 PM
Subject: [noparse][[/noparse]basicstamps] IRL530N mosfet with BS2
> Hi All,
>
> Sitting here wondering why I can't get this logic level IRL530N mosfet to
> work with my BS2.
>
> Trying to control a small relay, I know this can be done with a transistor
> but just wanted to see how these mosfets worked too.
>
> Anyway I have the Gate pin 1 on the IRL530 hooked up to P0 on the BS2, got
> the Drain pin 2 going to the relay, got the source pin 3 hooked up to
> ground.
>
> The program on the BS2 flashed an LED no problem but when I hook it up to
> the Gate nothing happens. I took the LED out to in case it was fouling
> things up. I also reversed the drain and source connections too to see if
> that would make it work, this last try just made the relay stay on.