Transistor - IRF520 MOSFET field-effect transistor drive module

SKU: BP1003
IRF520 MOSFET driver module, red board with SIG VCC GND header, VIN GND V+ V- screw terminals and TO-220 MOSFET

Transistor - IRF520 MOSFET field-effect transistor drive module

SKU: BP1003
Default
Regular price $3.99
/
  • Free shipping on all orders over $100
  • Secure payments
  • In stock, ready to ship
  • Inventory on the way

Add $94.01 more for free shipping

Tax included. Shipping calculated at checkout.

You'll also need

Choose a quantity and add it to your cart.

Arduino UNO Compatible
$10.9910+ in stock
Breadboard 400 holes
$4.4910+ in stock
Breadboard Jumper Wire - 140pcs
$11.9910+ in stock

An IRF520 MOSFET driver module that lets a microcontroller switch or dim a DC load of up to 24 V with a PWM signal.

The IRF520 module is a ready-built switch: a 3-pin header takes the control signal from an Arduino, ESP32 or Raspberry Pi Pico, and blue screw terminals take the load supply and the load. Use it for LED strips, small fans and other low-voltage DC loads.

MOSFET
IRF520, N-channel
Load voltage
0–24 V DC
Load current
Under 5 A
Control
SIG, PWM, 3.3 V or 5 V

Why choose it

  • Screw terminals for the load — the load supply and the load connect to two blue terminal blocks, so no soldering is needed.
  • PWM dimming and speed control — the SIG input accepts PWM for dimming LED strips and varying the speed of small DC motors.
  • 100 V rated MOSFET — the IRF520 has a drain-source rating of 100 V minimum (Vishay datasheet), well above the module's 0–24 V load range.

Specifications

Switching device
MOSFET IRF520, N-channel power MOSFET, TO-220AB
Drain-source voltage VDS (datasheet) 100 V minimum
On-resistance RDS(on) (datasheet) 0.27 Ω maximum (VGS = 10 V, ID = 5.5 A)
Gate threshold VGS(th) (datasheet) 2.0 V minimum, 4.0 V maximum
Module ratings (supplier)
Control input SIG, digital level, accepts PWM
Control voltage 3.3 V or 5 V
Output load voltage 0–24 V DC
Output load current Under 5 A; add a heat sink above 1 A
Connections and size
Control header 3-pin: SIG, VCC, GND
Screw terminals Two blue terminal blocks, labelled VIN / GND and V+ / V− on the board
Dimensions 33 × 25 mm

Compatibility

Platform Works Notes
Arduino UNO / Nano (5 V) ✓ Yes 5 V gate signal; keep loads light (see Good to know)
ESP32 / ESP8266 (3.3 V) ◐ Light loads 3.3 V is below a full gate drive for the IRF520; expect reduced output
Raspberry Pi / Pico (3.3 V) ◐ Light loads Same 3.3 V limit; Pico GPIO pins are 3.3 V only
Arduino IDE / MicroPython ✓ Yes Plain digital or PWM output, no library needed

In the box

Included
  • 1 × IRF520 MOSFET driver module

Applications

  • Stepless PWM dimming of 12 V LED strips
  • Variable-speed control of small DC motors and fans
  • Switching a DC load on and off from an Arduino, ESP32 or Raspberry Pi Pico

Tutorial

What you'll build: Switch a small 12 V DC load (an LED strip or a fan) from a microcontroller and step its output through 0, 25, 50, 75 and 100% using PWM. About 20 minutes.

How it works

Your board cannot power a 12 V load directly. The module is a switch: a small signal on SIG tells the MOSFET to let the load's own supply flow through it.

  • GND — the return path for electricity. Join the board GND to the module GND so they agree on 0 V.
  • PWM — switching on and off very fast. A longer “on” time looks like more brightness or speed.
  • Load supply — a separate DC supply wired to VIN and GND on the blue terminal. The load connects to V+ and V−.
  • Gate drive — the signal that turns the MOSFET on. The IRF520 is only partly on at 5 V, so choose light loads.
Arduino UNO Tutorial

You need: Arduino UNO R3, a USB data cable, 3 jumper wires, a 12 V DC supply, and a small 12 V load such as an LED strip (keep it under 1 A for this first test).

Arduino UNO R35 V logic D9 (PWM)5VGND IRF520 module SIGVCCGND VINGNDV+V− Load supplye.g. 12 V DC Loadsmall 12 V DC(LED strip, fan) PWM signal5VGND+ in− in+ out− out

■ Power ■ GND / load return ■ Signal (PWM)

# Board pin Module pin Wire Notes
1 D9 (PWM) SIG Yellow PWM output pin
2 5V VCC Red Powers the module
3 GND GND (header) Black Common ground with the module
4 12 V load supply (+) VIN Red Use the supply your load needs (0–24 V DC)
5 12 V load supply (−) GND (screw terminal) Black Switch the supply off while wiring
6 Load (+) V+ Red Positive lead of the load
7 Load (−) V− Black Negative lead of the load

Watch out: The UNO gives a 5 V gate signal. The IRF520 datasheet gives its gate threshold as 2.0–4.0 V and states its on-resistance at 10 V, so at 5 V it is only partly on: keep the first test light and feel for warmth. Follow the labels printed on your module for each terminal.

1
Install the Arduino IDE
Download and install the Arduino IDE. If no port appears when you plug the board in, use a data USB cable and install the USB driver for your board.
2
Wire it with everything switched off
Unplug the USB cable and switch the load supply off. Make the 7 connections in the table above.
3
Upload the example
Plug in the USB cable. Choose Tools → Board → Arduino Uno, choose your port under Tools → Port, paste the code below and click Upload.
▸ Example 1 — Step the load through 0, 25, 50, 75 and 100%
// Wiring: SIG->D9, VCC->5V, GND->GND
// Load: supply + -> VIN, supply - -> GND (screw terminal), load between V+ and V-
const int SIG_PIN = 9;                              // PWM pin on the UNO, matches the pin table
const int LEVELS_PERCENT[] = {0, 25, 50, 75, 100};  // you can change these
const unsigned long STEP_MS = 2000;                 // you can change this

void setup() {
  Serial.begin(115200);                  // speed used by Serial Monitor
  pinMode(SIG_PIN, OUTPUT);
  analogWrite(SIG_PIN, 0);               // start with the load off
  Serial.println("OK - epartners.co.nz test");
}

void loop() {
  for (int i = 0; i < 5; i++) {
    int duty = map(LEVELS_PERCENT[i], 0, 100, 0, 255);   // 0-255 on the UNO
    analogWrite(SIG_PIN, duty);
    Serial.print("Level ");
    Serial.print(LEVELS_PERCENT[i]);
    Serial.println("%");
    delay(STEP_MS);
  }
}
4
Switch on and watch
Open Tools → Serial Monitor and set 115200 baud, then switch the load supply on.

✓ Check: The Serial Monitor prints “OK - epartners.co.nz test” once, then “Level 0%”, “Level 25%” and so on every 2 seconds, and the load gets brighter or faster at each step.

Troubleshooting

Problem Likely cause Fix
The load never turns on Load supply off, VIN/GND or V+/V− wired the wrong way, or grounds not joined Check the 7 connections against the table and join the board GND to the header GND
The load is dim or the module gets hot The gate is only partly on at 5 V, or the load draws too much Use a lighter load, or fit a heat sink (the supplier asks for one above 1 A)
The board resets or acts strangely with a motor Electrical noise from an inductive load Power the load from its own supply and fit a flyback diode across the load (stripe to V+)
No port appears on the computer Charge-only cable, or the USB driver is missing Use a data USB cable and install the USB driver for your board

Try next: Swap the stepped levels for a smooth fade, or turn the load on and off with a button.

Spotted a problem in this tutorial? Email support@epartners.co.nz and we'll check it and update the tutorial.

Good to know
  • For DC loads only. Do not connect mains (230 V AC) to this module. Keep the load within 0–24 V DC and under 5 A, and add a heat sink above 1 A.
  • The IRF520 has a gate threshold of 2.0–4.0 V and its on-resistance is specified at a 10 V gate, so a 3.3 V or 5 V signal turns it on only partly. Use light loads and check that the module stays cool.
  • Fit a flyback diode across motors, relay coils and other inductive loads, and always join the board GND to the module GND.

Video guide

Datasheet

Key figures from the manufacturer's datasheet for the IRF520 power MOSFET, the switching device on this module.

IRF520 power MOSFET
Type N-channel power MOSFET, TO-220AB package
Drain-source voltage VDS 100 V minimum (VGS = 0 V, ID = 250 µA)
On-resistance RDS(on) 0.27 Ω maximum (VGS = 10 V, ID = 5.5 A)
Continuous drain current ID 9.2 A at TC = 25 °C; 6.5 A at TC = 100 °C
Gate threshold VGS(th) 2.0 V minimum, 4.0 V maximum (VDS = VGS, ID = 250 µA)
Gate-source voltage VGS ±20 V maximum
Total gate charge Qg 16 nC maximum (VGS = 10 V, ID = 9.2 A, VDS = 80 V)
Input capacitance Ciss 360 pF typical (VDS = 25 V, f = 1.0 MHz)
Switching times (typical) td(on) 8.8 ns, tr 30 ns, td(off) 19 ns, tf 20 ns
Maximum power dissipation PD 60 W at TC = 25 °C
Thermal resistance RthJC 2.5 °C/W maximum; RthJA 62 °C/W maximum
Operating and storage temperature −55 °C to +175 °C

Download the IRF520 datasheet (PDF)

▸ Preview the datasheet

If the preview does not load on your device, use the download link above.

Source: Vishay Siliconix, IRF520 Power MOSFET datasheet, document 91017, revision S21-0819-Rev. C (02-Aug-2021).

Resources

FAQ

▸ Can I use it with a 3.3 V ESP32 or Raspberry Pi Pico?

Yes for light loads, but the IRF520 will not turn fully on at 3.3 V. Its gate threshold is 2.0–4.0 V and its on-resistance is specified at a 10 V gate, so expect reduced output and check that the module stays cool.

▸ Can it switch mains power?

No. This module is for DC loads of 0–24 V only, and mains (230 V AC) must never be connected to it.

▸ Where do I connect the load?

Use the two blue terminal blocks and follow the labels printed on the board. The control signal goes to SIG on the 3-pin header, with VCC and GND from your board.

▸ How much current can it switch?

The supplier rates the module for under 5 A, with a heat sink above 1 A. For a first test, keep the load under 1 A and check for warmth.

Technical question about this part? Email support@epartners.co.nz with your board and wiring, and we'll help you get it working.

Shipping: $5.99 urban, $9.99 rural. Free shipping on orders of $100 or more.

Order by 10:30am (NZT), Monday to Friday, and we dispatch the same day. Orders placed after 10:30am, on weekends or on public holidays are dispatched the next business day.

Delivery usually takes 1–2 business days after dispatch (2–3 for rural addresses). See our Shipping Policy for full details.

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.

Recently viewed