<p>&nbsp;</p>
<h2>Using IRF520 MOSFET Switch button for Arduino</h2>
<p style="font-size: medium;">This code is for IRF520 MOSFET module to control DC load using arduino without any relay. This device can work with up to 100V and continuously control a 2A load. With proper heat sink it can handle up to 9A but we have tested it up to 4A.</p>
<img src="https://robojax.com/learn/arduino/robojax-IRF520-MOSFET_schematic.jpg" alt="Schematic diagram for IRF520 MOSFET Module" style="font-size: medium;" /><span style="font-size: medium;"></span>
<ul style="font-size: medium;">
   <li><a href="http://www.irf.com/product-info/datasheets/data/irf520ns.pdf" target="_blank">IRF520 Data sheet (IRF International)</a></li>
   <li><a href="https://www.vishay.com/docs/91017/91017.pdf" target="_blank">IRF520 Data sheet (Vishay)</a></li>
   </ul>