Project ideas by part

Projects with a MOSFET

10 Mokxi projects use a MOSFET (2 beginner, 6 intermediate and 2 advanced). They run on Arduino Uno and Arduino Mega boards, and 2 need no board at all. Here are all of them, from “MOSFET switch” to “Heated bed PID”. Each card says what the project does, the board and parts it needs and its level, and Open in the simulator runs it in your browser in one click, with no account.

First project

How to pick your first one

  • Start with “MOSFET switch”, a beginner project that needs a resistor, an LED, a MOSFET and 1 more part.
  • Arduino Uno runs 7 of them, Arduino Mega 1 and 2 need no board at all. Start on the board you have, or on an Arduino Uno if you are buying one.
  • The parts used most here are the diode (5 projects), the slide switch (4) and the LED (3). With those on hand, most of this list is open to you.
  • Before you build one on a real bench, open the MOSFET part page for its pins and what each one does.
Projects

10 projects ready to run

  • MOSFET switch, drawn in the Mokxi editor

    MOSFET switch

    A 2N7000 switching an LED from a slide switch, with no gate resistor anywhere: the switch a board pin reaches for.

    Board
    No board
    Parts
    Resistor, LED, MOSFET, slide switch
    Level
    Beginner
    Open in the simulator
  • Motor pinwheel, drawn in the Mokxi editor

    Motor pinwheel

    Hold the button and an IRF520 MOSFET on pin 9 runs a DC motor from a 9 V battery, with a 1N4007 across the motor to catch its kick.

    Board
    Arduino Uno R3
    Parts
    Push button, resistor, MOSFET, diode, DC motor, +1 more
    Level
    Beginner
    Open in the simulator
  • 12 V RGB strip color fade, drawn in the Mokxi editor

    12 V RGB strip color fade

    A 12 V RGB LED strip behind three IRLZ44N MOSFETs: the Uno fades it around the color wheel with PWM on pins 9, 10 and 11.

    Board
    Arduino Uno R3
    Parts
    LED strip, MOSFET, DC voltage source
    Level
    Intermediate
    Open in the simulator
  • BSS138 level shifter, drawn in the Mokxi editor

    BSS138 level shifter

    One channel of the bi-directional 3.3 V to 5 V level shifter: a BSS138 and two 10k pull-ups. Pull either side low and the other follows.

    Board
    No board
    Parts
    MOSFET, resistor, slide switch, multimeter
    Level
    Intermediate
    Open in the simulator
  • Electromagnet hold and drop, drawn in the Mokxi editor

    Electromagnet hold and drop

    An Uno holds a steel plate with a 12 V P20/15 electromagnet through a MOSFET on pin 9, three seconds on and two off, with a diode across the coil.

    Board
    Arduino Uno R3
    Parts
    MOSFET, diode, holding electromagnet, bench power supply
    Level
    Intermediate
    Open in the simulator
  • Solenoid tap, drawn in the Mokxi editor

    Solenoid tap

    An Uno taps a 12 V solenoid once a second through a MOSFET, with a diode across the coil to catch the kick when it lets go.

    Board
    Arduino Uno R3
    Parts
    MOSFET, diode, solenoid, bench power supply
    Level
    Intermediate
    Open in the simulator
  • Lamp inrush, drawn in the Mokxi editor

    Lamp inrush

    An Uno switches a 6 V filament lamp with a MOSFET and samples its current every millisecond: the surge of a cold filament.

    Board
    Arduino Uno R3
    Parts
    MOSFET, resistor, filament lamp, battery: AA
    Level
    Intermediate
    Open in the simulator
  • Leak detector with shutoff valve, drawn in the Mokxi editor

    Leak detector with shutoff valve

    A teaching model: a YF-S201 flow sensor and an EEPROM totalizer watch for water that never stops or a trickle nobody is using.

    Board
    Arduino Uno R3
    Parts
    Water flow sensor, solenoid, bench power supply, MOSFET, diode, +5 more
    Level
    Intermediate
    Open in the simulator
  • Pinball table, drawn in the Mokxi editor

    Pinball table

    A table you can play on a Mega: flippers, pop bumpers on a kicker solenoid, targets, a drain beam and a plunger, with a four-digit score.

    Board
    Arduino Mega 2560 R3
    Parts
    TM1637 four-digit display, WS2812 NeoPixel LEDs, pinball table, MOSFET, diode, +3 more
    Level
    Advanced
    Open in the simulator
  • Heated bed PID, drawn in the Mokxi editor

    Heated bed PID

    A 100k thermistor, a MOSFET heater and a PID loop holding a modeled bed at its target.

    Board
    Arduino Uno R3
    Parts
    Resistor, 10k NTC thermistor, MOSFET, filament lamp, slide switch, +1 more
    Level
    Advanced
    Open in the simulator