Hello, folks
I have the Arduino UNO and try to activate a valve, therefor we have the N-Channel MOSFET IRL540 (data source: https://www.BANNED.net/circuitry/irl ... t-faq.html. On Gate we have the 0 or 5V signal from the arduino to switch (on/off), on drain we have 12V for the powersupply. But if we give the 5V on gate we only get 2,7V on the Source what is not enought to switch the valve.
Is there anyone have ideas o it? Thank you advance.
Arduino and MOSFET IRL540 Use
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Arduino and MOSFET IRL540 Use
Connect one end of the valve you want to control to 12V, and connect the other end to the mosfet’s drain. Then connect the mosfet’s source to GND.
the mosfet will act like a switch between the valve and GND.
Also remember to put a reverse-biased diode in parallel with the switch to keep flyback voltage from damaging anything:
https://learn.adafruit.com/remote-contr ... -door-lock
the mosfet will act like a switch between the valve and GND.
Also remember to put a reverse-biased diode in parallel with the switch to keep flyback voltage from damaging anything:
https://learn.adafruit.com/remote-contr ... -door-lock
Please be positive and constructive with your questions and comments.