|
KiCADKicad
|
|
|
FreeCad |
|
|
|
Microsoft Excel |
DC Motor Circuit
The DC motor consists of a magnet and an armature coil used as an electromagnet, causing constant rotation when direct current is applied. This project uses a potentiometer to adjust the motor speed. As well, it has a slide switch that is used as a gate for the whole circuit. I will admit this circuit was a lot more challenging than I thought it would be due to the amount of heat 6V will generate in a MOSFET. Controlling a DC motor linearly causes the driver transistor to dissipate excess energy as heat, which can lead to thermal shutdown or component damage. To prevent this, an NE555P timer is used to generate a Pulse-Width Modulation (PWM) signal. By switching the MOSFET fully ON and fully OFF at a high frequency, the motor speed is smoothly controlled while keeping power dissipation across the MOSFET minimal. The cycle times and frequency depend entirely on the potentiometer, R3, D2, and C2 sub-circuit.
NE555N Pins:
- The inverter (-) on comparator 1 is connected to the non-inverter (+) on comparator 2. The trigger is connected to the threshold, causing the timer to flip-flop.
- When Pin 2 goes below 1/3 of Vcc, the comparator switches to high; when Pin 6 goes above 2/3 of Vcc, the comparator switches to high, resetting the flip-flop.
- Pin 7 discharges when Pin3 (Output) is low and Q̄ is high. When Q̄ is high turns on the base of the internal discharge transistor. The discharge pin is connected to the collector side of the transistor, which will discharge when the current in the base is sufficient.
- Pin 4 (Reset) is tied directly to (Pin 8) to keep the timer active and prevent accidental resets
- Pin 3 is the output.
- Pin 5 is used to eliminate Vcc noise with a bypass capacitor.
Mechanical & Mounting Notes for 3D PCB Stand:
Hardware Compatibility: Both the DC motor mount and the PCB spacers use M3 screws.
DC Motor Mount: Uses ISO regular metric holes sized for M4, providing adequate clearance and alignment for M3 hardware.
PCB Spacers (33° Print Angle): Because these holes are 3D-printed at an angled orientation of 33°, slicing and layer stepping will cause an M4 hole to fit too loosely.
Tapping Procedure:
Model the spacer mounting holes with an undersized diameter of 3.5 mm (M3.5).
Post-print, chase and thread the printed holes using an M3 × 0.5 HSS tap to create clean, secure threads for the M3 fasteners.
Tip: When tapping 3D-printed thermoplastic, turn the tap slowly with a drill and back it out periodically to clear plastic shavings.

Figure 1
Breadboard/Prototype Instructions:
- Place the green LED and R1 in series with the 2nd pin of the switch and the GND rail.
- Connect the 3rd pin of the switch to GND.
- Connect the 1st pin of the switch to the Positive rail.
- Test the switch to make sure the green LED turns on.
- Connect the 1st pin of the potentiometer to the second pin of the slide switch.
- Attach the 2nd pin of the potentiometer to the 3rd pin.
- 555 Timer connections
- Once you’ve completed the green LED sub-circuit, connect the 2nd pin of the slide switch to pin 8 of the timer.
- Attach pin 8 to pin 4.
- Connect pin 7 to the 3rd pin of the potentiometer.
- Put D2 and R3 in parallel and connect the cathode end to pin 6 and the other end to the 3rd pin of the potentiometer.
- Connect C2 to GND and the Anode of D2.
- Connect pin 6 in conjunction with pin 2.
- Attach C1 to pin 5 and the GND rail.
- Attach pin 3 with R2 in series to the Gate pin of the MOSFET.
- Attach pin 1 to the GND rail.
- Place R4 in series with the red LED between the Positive rail and the Drain pin of the MOSFET.
- Attach the negative pin of the motor and the Anode of D5 to the Drain pin of the MOSFET.
- Connect the other wire of the motor and the Cathode (striped end) of D5 directly to the Positive (+6V) rail.
- Attach the aluminum heatsink to the MOSFET with the screw, nut, and washer. Over time, the MOSFET can get hot, whereas the heatsink will help dissipate the heat. Once you attach the heatsink to the MOSFET, make it snug.
- Plug the battery pack into the DC-to-DC regulator and make sure it’s set at 6V.
- Flip the slide switch to turn the green LED on.
- Slowly rotate the potentiometer to gradually increase the brightness of the red LED and the rotation of the motor shaft.
Decoupling Sub-Circuit
Another crucial part of the circuit is the decoupling sub-circuit. As shown in Figure 3, without adequate decoupling, Pin 8 exhibits voltage overshoot spikes during switching transitions, and supply instability severely distorts the internal timing thresholds. In Figure 2, with the decoupling sub-circuit installed, the input stabilizes into a smooth sawtooth waveform.
Decoupling is the practice of isolating an integrated circuit from electrical noise, voltage dips, and inductive spikes in the circuit.
When the timer switches output states, its internal totem-pole driver briefly demands sudden, rapid bursts of current. Because PCB copper traces have inherent parasitic resistance and inductance, they cannot deliver this instantaneous charge without causing local supply rails to suddenly sag or jump.
- Electrolytic Capacitor (C4): Connected across the timer’s power Vcc and ground pins to act as a local energy reservoir, supplying instantaneous current during switching periods to prevent or at least lessen supply sag.
- Ceramic Capacitor (C3): Placed in parallel with C4 close to the IC to shunt high-frequency switching transients and motor brush EMI directly to ground before they can mess up internal comparator reference levels.
Decoupling effectively isolates the timer's local power needs from heavy load fluctuations elsewhere in the system. Without it, severe inductive spikes can cause excessive conduction or latch-up, causing erratic triggering and excessive component heating.

Figure 2

Figure 3
DC Motor Circuit
Project images are for reference only. Actual production is based on the manufacturing files on the project page.
Please review the designer's notes (e.g., PCB thickness) and select the appropriate options.
PCBWay is not responsible
for issues caused by unsuitable parameter selections.
For more important ordering information, please refer to
Read More
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Preston Fabbi
-
DC Motor Circuit
The DC motor consists of a magnet and an armature coil used as an electromagnet, causing constant ro...
-
Breathing LED Circuit
Breathing LED CircuitThis dual-LED breathing circuit uses a classic NE555 timer in astable mode to s...
-
Vibration Motor
Vibration Motor PCBThere are numerous things the vibration motor is used for, such as video game con...
-
-
Power Proto Board 100 x 50 mm (built-in 5 V + 3.3 V supply)
624 0 0 -
-
-
-
BorePilot - ESP32-S3 Smart Borewell Pump Controller
497 0 0 -
-
-
AudioLink – USB & Bluetooth LE Audio / Auracast Receiver with Balanced Line Outputs (nRF5340)
667 0 2 -
-







