A remote changes fan speed
The IR remote's +/- drives a 12 V fan; it halves itself when the room goes dark.
Actuator
load_mosfetPWMChecklist
Why this support circuit is added
The load draws straight from VIN (7–12 V); the MCU only toggles the gate. PWM-dimmable. Above 2 A swap in the IRLZ44N (TO-220).
Grounded in the catalog and golden patterns (real open-source circuits). Every auto-inserted part comes with a reason.
Using this part in a project adds the circuit below, each element with its reason.
Amps of load current can't come from an MCU pin: a logic-level N-MOSFET switches the low side, 100 Ω limits gate inrush and 10 kΩ keeps the gate defined while the MCU resets.
Clamps the back-EMF of inductive loads (motor, solenoid) on switch-off (Arduino transistor motor-control circuit); harmless for LED strips.
Code alone can't reveal this part, so it lives on the module checklist. When added, it is bound to a free sketch pin with a matching direction.
Run them in the browser, no login needed.
The IR remote's +/- drives a 12 V fan; it halves itself when the room goes dark.