Simple Pulse Generator
This pulse generator circuit is very useful for testing and running things like counters, stepping relays, and so on. It gets rid of the need to set a switch to make the right number of p…

Know the mission before touching a wire.
Understand what you are making, prepare the right tools, and make the workbench safe.
Project details
Simple Pulse Generator is a electronics project. This pulse generator circuit is very useful for testing and running things like counters, stepping relays, and so on. It gets rid of the need to set a switch to make the right number of p…
- Source pages
- 304-305
- Named parts
- 1
- Build goal
- Working, tested prototype
Tools you need
- Digital multimeter
- Wire stripper and side cutters
- Soldering iron with a fine tip
- Current-limited bench supply
Use eye protection, good lighting, and a clean insulated surface throughout the build.
Safety precautions
- Disconnect every power source before changing a connection.
- Check component polarity, pinout, and supply voltage twice.
- Use a current limit for the first power-up.
- Keep liquids, loose metal, and uninsulated wires away from the bench.
Gather, identify, and understand every part.
Use the standardized inventory, then open What's this? to learn each part's role, advantages, limitations, handling, and specifications.
What's this?Image, role, pros, cons, handling & specifications
SEMICONDUCTOR LEARNING VIEWCD4017
A semiconductor stage performs switching, amplification, regulation, rectification, or logic.
What it does hereIt controls current or signal flow at a defined point in the circuit.
Buy / compare this part ↗Advantages
- Fast and efficient
- Compact
- Can control larger loads from smaller signals
Limitations
- Pin order varies
- Sensitive to overvoltage and reverse polarity
- May need cooling or bias components
Handling
- Verify the datasheet pinout
- Avoid static and soldering heat
- Check notch, stripe, or flat-face orientation
Specifications to verify
- Use the exact model, value, package, and rating listed for CD4017; similar-looking parts are not always interchangeable.
- Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
Connect one verified path at a time.
Explore the named components and standardized signal flow, then use Source Check to verify exact physical pins, values, and topology before applying power.
Trace this circuit.
Simple Pulse Generator: interactive parts, standardized terminals, responsive anchored wires, student explanations, and the original circuit reference in one shared system.
Trace before wiring
Follow power, ground, inputs, processing, and outputs in that order. Never guess a pin from package shape alone.
Connect with power off
Make short, labelled connections and share a common ground only where the schematic requires it.
Inspect every joint
Check continuity, polarity, adjacent shorts, and loose connections before the first power-up.
Open all source diagrams and build views 1 visuals

Confirm the hardware-only control path.
This project does not include firmware in the source. The circuit itself provides the required behaviour.
How to connect
- Match every controller label to the circuit view and source pin map.
- Join grounds before signal wires when separate low-voltage supplies are used.
- Keep motors, relays, pumps, and other loads on a suitable driver and external supply.
Common mistakes
Reversed VCC/GND, board-label versus GPIO-number confusion, missing common ground, and charge-only USB cables.
Troubleshoot
Disconnect loads, continuity-test one path at a time, then test with a current limit.
Software preparation
No IDE, board package, library, or firmware upload is required for this project.
If you add a programmable controller as an extension, document its pin map separately.
How to upload code
The original design is implemented entirely in hardware, so proceed after verifying the circuit and supply.
Assemble, deploy, test, and troubleshoot.
Use the complete source notes in build order, then pass the final checks before calling the project finished.
Build in functional stages
- Power and regulation
- Controller or processing stage
- Inputs and sensors
- Outputs and loads
- Enclosure and strain relief
Power up safely
- Inspect unpowered continuity first
- Apply the lowest safe current limit
- Measure supply rails before signals
- Add one load at a time
- Record expected and actual results
Work from simple to complex
- Confirm power, ground, polarity, and orientation
- Compare each pin with the source
- Test inputs separately from outputs
- Replace only one variable at a time
- Power off before every correction
Follow the documented instructions.
These notes come from this project's source and remain in their original order.
Project overview
Project build noteThis pulse generator circuit is very useful for testing and running things like counters, stepping relays, and so on. It gets rid of the need to set a switch to make the right number of pulses. By pressing the right switches S1 through S9, one can get from 1 to 9 clock pulses that go in the wrong direction. Pulse Generator Circuit Schmitt trigger NAND gate N1 of IC2, resistor R1, and capacitor C1 are wired together to make clock pulses. These pulses are sent out through NAND gate N3, which is controlled by decade counter CD4017 (IC1). At first, none of the switches from S1 to S9 are pressed, so the LED is on. As resistor R3 pulls up pins 5 and 6 of NAND gate N2, its output pin 4 goes low. This stops the NAND gate N3 from setting its output pin 10 to high, so there is no pulse.
The Q outputs of IC1 are usually low because it is a decade counter. When clock pulses are sent to it, each of its Q outputs goes high in turn, from Q0 to Q1 to Q2 to Q3 to Q4 and so on. If any of the switches S1 through S9, say S5 (for five pulses), is briefly pressed, pins 5 and 6 of the NAND gate N2 go low. This makes its output pin 4 high, which fully charges capacitor C2 through diode D. At the same time, the high output of N2 turns on NAND gate N3, and clock pulses come out of pin 10. This is the number of pulses our device needs to check itself. Circuit operation When the clock pulses are sent to IC1's clock-enable pin 13, counting begins. As soon as the output pin 1 (Q5) of IC1 goes high, the input pins 5 and 6 of NAND gate N2 will also go high through switch S5. This is because the high-frequency clock allowed five pulses per momentary press. This high input to N2 gives a low output at pin 4, which turns off NAND gate N3 and leaves no pulse for counter IC1 to move forward. Before the next use, the counter IC1 must be in the "standby" state, which means that the output of Q0 must be "high." To do this, a time-delay pulse generator with a NAND gate N4, a resistor R4, a diode D, a capacitor C2, and a differentiator circuit with C3 and R5 is used. When NAND gate N2's output pin 4 is low, it slowly empties capacitor C2 through resistor R4. When the voltage across capacitor C2 drops below the lower trip point, the output pin 11 of NAND gate N4 goes high, and a high-going, sharp pulse is made at the junction of capacitor C3 and resistor R5. This sharp pulse resets the counter IC1, and its Q0 output (pin 3) goes high. This is shown by the way LED lights up. Make sure the red LED is on before going on to the next step to get the next pulse. If you briefly press any of the switches, the LED will light up. If the switch is held down, the counter keeps counting and you can't tell how many pulses it has counted.
You built Simple Pulse Generator.
You followed the full workflow from understanding the mission to testing the finished project. That is a real engineering achievement - well done.
Browse all 500 projects