555 PWM motor speed controller
Build it step by step
0 of 6 doneBuild the astable
555 pin 8 and pin 4 to +12 V, pin 1 to GND, pins 2 and 6 joined, 10 nF from pin 5 to GND.
Add the timing network
1 kΩ from +12 V to pin 7. D1 from pin 7 to one pot end, D2 from the other pot end to pin 7, wiper to pins 2 and 6, and 100 nF from there to GND.
Add the MOSFET
Pin 3 to the gate, source to GND, fan between +12 V and the drain.
Add the flyback diode
1N4007 across the fan, stripe towards +12 V.
Power up with the pot centred
The fan should run at roughly half speed.
Sweep the pot
Speed changes from slow to full. Watch pin 3 with an oscilloscope if you have one.
How do you build a 555 PWM motor speed controller?
A 555 timer makes a variable duty cycle that controls a 12 V DC fan through a MOSFET. You need NE555 Timer IC, MOSFET IRLZ44N, Signal Diode 1N4148 × 2, Rectifier Diode 1N4007, Potentiometer 10 kΩ, Resistor 1 kΩ, Ceramic capacitor 10 nF, Ceramic Capacitor 100 nF, 12 V DC fan 80 mm, 12 V 2 A DC adapter, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm). It takes 6 steps and about 60 minutes.
- Level
- Beginner
- Time
- About 60 min
- Parts
- 12
Parts list
- Integrated CircuitsBuyNE555 Timer IC × 1
- SemiconductorsBuyMOSFET IRLZ44N × 1
- SemiconductorsBuy
- SemiconductorsBuy
- PassivesBuy
- PassivesBuyResistor 1 kΩ × 1
- PassivesBuy
- PassivesBuy
- Motors & ActuatorsBuy
- PowerBuy
- PrototypingBuy
- PrototypingBuy
Tick what you already own. It saves to My Garage, so “Build with what I have” knows.
Wiring
| From | To | Why |
|---|---|---|
| 12 V adapter + | 555 pin 8, pin 4 and the fan + | Supply |
| 12 V adapter - | 555 pin 1, MOSFET source | Common ground |
| 1 kΩ | 12 V to the 555 pin 7 node | Pull-up for the charge path |
| Diode D1 (1N4148) | Anode at pin 7 node, cathode to pot end A | Charging path |
| Diode D2 (1N4148) | Anode at pot end B, cathode at pin 7 node | Discharging path |
| Pot wiper | Pins 2 and 6 joined, and 100 nF to GND | Timing capacitor node |
| Pin 5 | 10 nF to GND | Control voltage decoupling |
| Pin 3 (output) | MOSFET gate | PWM drive |
| MOSFET drain | Fan - and 1N4007 anode | Low-side switch |
| 1N4007 cathode | 12 V + | Flyback diode across the fan |
No code needed
No code. The pot splits the timing resistor between the charge and discharge paths through the two diodes, so the period stays about the same while the duty cycle changes. With a 10 kΩ pot and 100 nF the frequency is roughly 1.4 kHz.
Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Pot centred | Fan about half speed, duty near 50 % |
| Pot at each end | Fan nearly off and nearly full speed |
| Frequency on a scope | Near 1.4 kHz and unchanged as the pot turns |
| MOSFET after 5 minutes | Cool to the touch |
If it does not work
Fan does not run at all
Check the MOSFET pins: gate, drain, source face-up from left to right on an IRLZ44N.
Fan whines
PWM frequency is audible. Use 10 nF instead of 100 nF to raise it, or accept the sound.
Speed does not change
Check the diodes' directions: D1 and D2 face opposite ways.
555 gets hot
The 1 kΩ pull-up is shorted or the supply is above 16 V.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the 555 PWM motor speed controller?
NE555 Timer IC, MOSFET IRLZ44N, Signal Diode 1N4148 × 2, Rectifier Diode 1N4007, Potentiometer 10 kΩ, Resistor 1 kΩ, Ceramic capacitor 10 nF, Ceramic Capacitor 100 nF, 12 V DC fan 80 mm, 12 V 2 A DC adapter, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
How long does the 555 PWM motor speed controller take to build?
About 60 minutes for a beginner maker, in 6 steps.
How do I know the 555 PWM motor speed controller works?
Pot centred: Fan about half speed, duty near 50 %. Pot at each end: Fan nearly off and nearly full speed. Frequency on a scope: Near 1.4 kHz and unchanged as the pot turns.
Fan does not run at all: what should I check?
Check the MOSFET pins: gate, drain, source face-up from left to right on an IRLZ44N.
Fan whines: what should I check?
PWM frequency is audible. Use 10 nF instead of 100 nF to raise it, or accept the sound.
Speed does not change: what should I check?
Check the diodes' directions: D1 and D2 face opposite ways.
555 gets hot: what should I check?
The 1 kΩ pull-up is shorted or the supply is above 16 V.
