
Coco2
baldengineer/bit-preserve
Project for capturing vintage, classic, aka old computer schematics in KiCad.

PWM DC motor speed controller using 555 timer and IRFZ44N MOSFET — designed in KiCad
DC MOTO speed control PWM is an open-source printed circuit board by marouane-daoudi, from the marouane-daoudi/dc-motor-pwm-controller repository on GitHub. It is a 2-layer board of 50.5 × 53.7 mm with 18 parts on 12 nets, routed with 56 tracks and 5 vias.
It is built around the NE555P. Its parts include 3 resistors, 3 diodes, 2 capacitors, 1 IC and 1 transistor. It belongs with the robots and motor control boards of this library.

A 2-layer PCB implementing a variable-speed DC motor controller using pulse-width modulation (PWM). The PWM signal is generated by a 555 timer in astable mode with an adjustable duty cycle controlled by a potentiometer. The design covers the full engineering workflow from circuit simulation in Proteus through PCB layout in KiCad to manufacturer-ready Gerber files.
| Parameter | Value |
|---|---|
| Supply voltage | 12V DC |
| Motor no-load current | 1.4A |
| MOSFET (Q1) | IRFZ44N — 49A continuous drain current |
| PWM frequency | ~1kHz–20kHz (adjustable via pot) |
| Duty cycle range | ~10% to ~90% |
| Timer IC | NE555 / LM555CN |
| Timing capacitor | 10nF ceramic |
| Speed control | 100kΩ potentiometer |
| PCB layers | 2-layer FR4 |
| Design tool | KiCad |
| Simulation tool | Proteus |

The LM555CN timer can source or sink a maximum of 200mA at its output pin. The DC motor used in this design draws 1.4A under no-load conditions — well beyond what the timer can drive directly. The IRFZ44N N-channel MOSFET (Q1) solves this by acting as a power switch controlled by the 555 output signal. With a rated continuous drain current of 49A and a low drain-to-source on-resistance, it handles the full motor current while being driven by the low-power 555 output.
The NE555 is configured in astable mode, continuously oscillating to produce a PWM square wave at pin 3 (output_PWM_node). The key connections are:
The timing capacitor C1 (10nF ceramic) connects from pot_wiper_node to GND. Its charge and discharge paths are separated by two 1N4148 diodes (D2 and D3) and the 100kΩ potentiometer RV1, which is the key to independent duty cycle control:
The 1N4148 diodes are rated for 300mA forward current, which is appropriate since the timing resistors are in the kΩ range and limit current well below this threshold. The timing equations are:
$$ T_{on} = 0.693 \times (R_3 + R_{pot,left}) \times C_1 $$
$$ T_{off} = 0.693 \times R_{pot,right} \times C_1 $$
$$ T = T_{on} + T_{off} $$
$$ f = \frac{1}{T} $$
$$ D = \frac{T_{on}}{T_{on} + T_{off}} $$
Rotating the potentiometer shifts resistance between the left and right sides, changing the Ton/Toff ratio and therefore the duty cycle — while the frequency stays approximately constant. The 10nF capacitor was chosen to produce a high PWM frequency (~1kHz and above), which ensures smooth motor rotation without audible buzzing or torque ripple.
Pin 7 (discharge) connects to the D3 node to complete the discharge route through the 555's internal transistor switch between pin 7 and pin 1.
The PWM signal at output_PWM_node drives the gate of Q1 (IRFZ44N) through two resistors:
The MOSFET source connects directly to GND. Its drain connects to the negative terminal of the motor.
When the 555 output is HIGH, the gate receives sufficient voltage to turn Q1 fully ON. The drain-to-source channel closes, completing the current path:
12V → SW1 → Motor (+) → Motor (−) → MOSFET Drain → MOSFET Source → GND
The motor runs. When the 555 output goes LOW, the gate discharges through R2, Q1 turns OFF, the current path breaks, and the motor coasts. This switching repeats at the PWM frequency. The motor's mechanical inertia averages the delivered power, producing a speed proportional to duty cycle:
$$ V_average = Duty cycle × V_supply $$
At 50% duty cycle the motor receives an effective average of 6V. At 90% it receives approximately 10.8V — near full speed.
The DC motor is an inductive load. When Q1 switches OFF abruptly, the collapsing magnetic field in the motor coil generates a back-EMF voltage spike that can significantly exceed the supply voltage. D1 (1N4001) is placed across the motor terminals in reverse bias. This diode was chosen for its high peak current rating, providing a safe recirculating path for the back-EMF current and clamping the spike before it can damage Q1.
SW1 (SPDT switch) is placed between the power supply input connector J1 and the power net. It provides a hard power cutoff independent of the potentiometer setting, allowing the motor to be stopped completely without adjusting speed control.
Circuit simulated and verified in Proteus before PCB layout.

Low duty cycle — low motor speed:

Medium duty cycle — medium motor speed:

High duty cycle — full motor speed:

During simulation two issues were identified and corrected:
Issue 1 — Wrong timing capacitor value: The initial capacitor value of 100µF produced a PWM frequency of approximately 5Hz, far too low for motor control and imperceptible on standard oscilloscope settings. Correcting to 10nF raised the frequency to the target range, producing smooth motor operation.
Issue 2 — Insufficient gate drive: With equal 1kΩ values for both R1 and R2, the voltage divider effect reduced gate voltage to approximately 5.25V — insufficient to fully enhance the IRFZ44N, which requires ~10V for minimum on-resistance. This prevented the motor from reaching full speed at 100% duty cycle. The fix was confirmed by ensuring the MOSFET source connects directly to GND with no intervening resistance in the return path.

Gerber files are in the /gerbers folder, verified using
JLCPCB's online Gerber viewer. To order: zip the contents
of the gerbers folder and upload to JLCPCB, PCBWay, or any
standard FR4 PCB manufacturer. 2-layer board, no special
requirements.
| Folder | Contents |
|---|---|
/kicad | KiCad schematic, PCB, and project files |
/gerbers | Fabrication-ready Gerber and drill files |
/simulation | Proteus simulation project file |
/images | 3D renders, PCB layout, waveform captures |
Marouane Daoudi
Electrical Engineering student
Designed in KiCad · Simulated in Proteus
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 3 | 1K | Resistor_SMD:R_0805_2012Metric | R1, R2, R3 |
| 2 | D | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D2, D3 |
| 2 | Screw_Terminal_01x02 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-2-2.54_1x02_P2.54mm_Horizontal | -, J2 |
| 1 | 0.1uF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mm | C2 |
| 1 | 100uF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mm | C1 |
| 1 | D | Diode_THT:D_DO-41_SOD81_P7.62mm_Horizontal | D1 |
| 1 | NE555P | Package_DIP:DIP-8_W7.62mm | U1 |
| 1 | Q_NMOS_GDS | Package_TO_SOT_THT:TO-220-3_Vertical | Q1 |
| 1 | R_Pot | Potentiometer_THT:Potentiometer_Bourns_PTV09A-1_Single_Vertical | RV1 |
| 1 | SW_SPDT | myFootprints:SW_1825255-1 | SW1 |

baldengineer/bit-preserve
Project for capturing vintage, classic, aka old computer schematics in KiCad.

The-Invent0r/8-bit-Computer-PCB
These are the KiCAD files for my 8-Bit Computer.

DarcyJProjects/touchtone555
An open-source DIY, NE555-based analogue synthesizer - play notes with a stylus



benjiaomodular/SynthCard
I designed this project with the help of PCBWay. You can get a copy of these cards through the PCBWay Shared Projects page.

fortinsylvain/MyCpu
Home brew CPU Hardware with 1-bit ALU implementation using 74LSxx, a micro-code and assembler coded in C#.

hackup/C128Diag
Replica of the Commodore C128 Diagnostic Test cartridge Assy No. 325093-01.
It measures 50.5 × 53.7 mm and has 2 copper layers, 1.6 mm thick.
18 parts, built around the NE555P. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the marouane-daoudi/dc-motor-pwm-controller repository on GitHub, at the commit this page was made from: the board is Kicad/DC_MOTO_speed_control_PWM.kicad_pcb and its schematic Kicad/DC_MOTO_speed_control_PWM.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask marouane-daoudi before reusing the design.