Main centres: | 1-3 business days |
Regional areas: | 3-4 business days |
Remote areas: | 3-5 business days |
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 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
}