ToolSphere
All perfboard layouts

555 PWM Motor Controller Perfboard Layout

A variable-resistance NE555 astable switches a low-side IRLZ44N. This simple example varies both duty and frequency; it is not a full-range or constant-frequency controller.

555 PWM + MOSFET motor control perfboard layoutJ1 9VJ2 MOTORJ3 POT 100kJ4 STOPU1 NE555Q1 IRLZ44NR1 10kR2 1kR3 100RR4 100kR5 10kD1 1N5819C1 10nC2 10nC3 100nC4 100u
Open this layout in the simulator Connection check: no shorts, 10 named nets

Red wires carry power, white is ground, yellow and blue are signals. Every hole is an isolated pad; connections are the wires shown. In the simulator you can move parts, add your own and re-run the check.

Parts list

As an Amazon Associate, ToolSphere earns from qualifying purchases.

How it works

The example uses a regulated 9 V supply suitable for the actual motor. RA is 10 kΩ and RB is a fixed 1 kΩ plus an external 100 kΩ potentiometer used as a rheostat. Timing capacitance is 10 nF. The fixed resistor keeps the discharge path from reaching zero resistance.

Using the timer tool's exact equations, a midpoint pot setting gives 1288.1 Hz and 54.46% high duty. At the two resistance extremes, the nominal range is approximately 680.5–12022.5 Hz and 52.36–91.67% duty. These are RC estimates, not measured motor speeds. Frequency changes with the adjustment and may be audible. The stop input pulls RESET low to turn the output off; the pot does not provide a zero-duty position.

J3 is a four-pin connector for an external pot, not a fabricated pot footprint. Connect the pot's ends to A/B, its wiper to W, and leave NC empty. W and B are tied on the board, retaining a resistance path if the wiper loses contact. Identify the actual pot's terminals before wiring its cable.

The output drives the MOSFET gate through 100 Ω; a 100 kΩ gate pulldown keeps the gate referenced to source. The source goes to ground and the drain to the motor's negative lead. The flyback diode has its anode at drain and cathode at the positive motor rail. Check the IRLZ44N documentation for gate drive, package pinout and thermal constraints; verify the timer's limits too. Do not substitute a non-logic-level FET based only on a similar name.

The layout does not establish a motor-current rating. Match the motor, diode, supply, wiring and heatsinking to the real stall/transient load. Build it on isolated pads with insulated jumpers; there are no stripboard cuts.

Building it, step by step

  1. Fit the DIP socket, MOSFET and connectors. Check G/D/S against the actual device and do not connect the metal drain tab to ground.
  2. Wire the supply/ground and timing network, including the separate control-pin bypass and supply decoupling.
  3. Cable the external potentiometer to A/W/B on J3, leaving NC unused; verify the wiper-to-end resistance range unpowered.
  4. Wire output through the gate resistor, fit the pulldown and orient the flyback diode with its cathode on the positive motor rail.
  5. Wire the optional normally open stop switch between RESET and GND. Check the unpowered board, then test with the motor mechanically secured and the actual power path appropriately rated.

Tools for this build

Frequently asked questions

Does this cover zero to full speed?

No. It has a limited duty range and the motor speed also depends on load and supply. Use RESET or disconnect power to stop; a different PWM design is needed for a wider control range.

Why does the frequency change?

The standard astable changes both its charge and discharge timing when RB changes. This is deliberately not described as a constant-frequency controller.

Why is the potentiometer drawn as a connector?

The actual pot is external and connected by its three electrical terminals. The fourth connector position is unused; no unsupported mechanical pot pin layout is invented.

Which way round does the flyback diode go?

Cathode to the positive motor rail and anode to the MOSFET drain. Check its polarity and suitability for the actual motor current before applying power.