Description The module is designed to switch heavy DC loads from a single digital pin of your microcontroller. Its main purpose is to provide a low-cost way to drive a DC motor for robotics applications, but the module can be used to control most high-current DC loads. You can use this module to switch a common negative with high currents easily by only using 5V volts. This unit can be used with a microcontroller as long as the microcontroller can give 5V out. IRF520 MOSFET Module board Specification: IRF520 MOSFET, the gate can be driven via PWM output Allows Arduino to drive up to 24V loads, such as LED strips, DC motor, micro pump, and solenoid valves Voltage: 3.3V/5V Interface: digital level Output load voltage: 0~24V Output load current: < 5A Suitable for Arduino, SCM, ARM, and Raspberry Pi IRF520 MOSFET Module board sample code: You can simply use the Arduino basic blink sketch to get started and connect the signal pin on the Mosfet board to Arduino digital pin13. void setup() { // initialize digital pin 13 as an output. pinMode(13, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(13, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }




