HomeEngineering Projects For YouOne Flip, One Pulse: The NE555 Trick

One Flip, One Pulse: The NE555 Trick

Turn any toggle switch into a momentary push-button with one NE555 and a handful of common parts. Within just ‘2 hours’, you can build this ‘low’ complexity circuit for under ₹200!

A toggle switch stays ON until you flip it back, but many systems expect a brief press, like a push-button. In a flight-simulator cockpit, for example, controls respond to keystrokes held for roughly 100-500 ms, and a toggle wired across the key lets the PC’s auto-repeat keep firing the function, which disrupts time-sensitive controls. This NE555 circuit solves that by converting a toggle switch’s change of state into a clean 1.1-second pulse, so a toggle can emulate a momentary push-button. An input from an external signal or toggle switch is turned into a sharp trigger by an AC-coupling and edge-detection stage, which triggers the NE555 one-shot to generate a single pulse of fixed duration. The output driver amplifies this pulse, and an indicator LED confirms it before it is delivered as a clean pulse output. Fig. 1 shows the author’s prototype.

Fig. 1: Author’s breadboard prototype

What will you learn?

  • How the NE555 timer can turn a simple toggle input into a useful momentary control pulse.
  • How to detect a rising edge using an RC network and a diode.
  • How to configure the NE555 in monostable mode.
  • How to calculate and adjust the pulse width using the timing resistor and capacitor.
  • How to drive a relay to control an external circuit with a short pulse.
  • Why a flyback diode is needed to protect the circuit from the voltage spike a relay coil produces when switched off.

How it works

Fig. 2 shows the circuit diagram of the toggle-to-pulse switch converter. It is built around the popular NE555 timer IC and provides a simple, practical method for converting a toggle-switch input into a momentary pulse output. It generates a short, clean output pulse whenever a rising edge is detected at the input.

Fig. 2: Circuit diagram

The 2-pin connector CON1 serves as the input terminal and accepts a 5V DC signal from an external toggle switch or other circuit. A push-to-on switch S1 is also provided for manual testing of the circuit.

Rising-edge detection is achieved through AC coupling using 47nF capacitor C5, which couples the input transition to the threshold pin6 of NE555 timer IC1. The threshold pin6 is normally held low by 10kΩ pull-down resistor R2, ensuring stable operation. A 1N4148 diode (D1) is connected across the input to suppress the response to the falling edge, allowing the circuit to respond primarily to the rising edge.

The RC network R4-C4 sets the pulse duration. When triggered, the NE555 generates a short pulse to energise relay RL1. To protect the circuit from back-EMF, a 1N4007 diode (D2) is wired across the relay coil, functioning as a freewheeling diode. A red LED (LED1) provides visual feedback, indicating the relay’s status during operation. Thus, each rising edge at CON1 converts the toggle-switch signal into a momentary relay action. CON2 provides an isolated pulse output for interfacing with other circuits or loads.

Bill of Materials
ReferenceComponentValue/TypeQuantityCost (`)
IC2Timer ICNE555125
D1Signal diode1N41481








Miscellaneous ~175
D2Rectifier diode1N40071
LED1LED5 mm, red1
R1, R2Resistor10kΩ, ¼ W, 5%2
R3Resistor2.2kΩ, ¼ W, 5%1
R4Resistor47kΩ, ¼ W, 5%1
C1Electrolytic capacitor100µF, 16 V1
C2Ceramic capacitor100nF1
C3Ceramic capacitor10nF1
C4Electrolytic capacitor22µF, 16 V1
C5Ceramic capacitor47nF1
RL1Relay5V SPDT1
S1Push-to-on switchTEST1
CON1-CON4Connector2-pin4
–General-purpose PCB or breadboard, jumper wires–As needed
–Power supply5V DC adaptor1Not included
Estimated total200

Construction

Assemble the circuit on a general-purpose PCB. To ensure stability and prevent erratic behavior, place the timing components R4 and C4 as close as possible to Pins 6 and 7 of the NE555; this minimises stray capacitance. For a cleaner layout, use solid-core hookup wire to make neat point-to-point connections on the underside of the PCB. Alternatively, the circuit can be quickly prototyped on a breadboard as shown in the author’s prototype (Fig. 1).

Testing

  • Power up. Connect a regulated 5V DC power supply to the input terminal (CON4).
  • Manual trigger. Momentarily press the TEST switch (S1). This action manually triggers the NE555 timer, which should instantly illuminate LED1 (Red).
  • Relay verification. Listen closely for a distinct clicking sound from the RL1 (5V SPDT) relay, confirming that its internal switch contacts have successfully actuated.
  • Timing check. After approximately 1.1 seconds, the timing cycle will complete. LED1 should turn off, and the relay should click a second time as it de-energises and drops back into its standby state.

Troubleshooting

If your circuit isn’t behaving as expected, use this systematic checklist to diagnose and resolve the issue:

1. Relay chatter or random triggering.

  • Cause. Often triggered by 5V supply dips, ripples, or electrical noise.
  • Fix. Ensure your power supply is clean and stable. Verify that proper decoupling capacitors are connected close to the IC pins.

2. Incorrect or unstable relay ON-time.

  • Cause. Faulty, incorrectly rated, or loose connections in the R4/C4 timing network, or electrical noise affecting the control-voltage (Pin 5) pin.
  • Fix. Re-check the values and soldering of R4 and C4. If the timing varies randomly, add a small ceramic capacitor (typically 0.01µF) from Pin 5 to ground to filter out noise.

3. Immediate NE555 IC failure.

  • Cause. A missing, faulty, or backward-installed flyback diode (D2) across the relay coil. Without it, inductive voltage spikes from the coil can instantly destroy the IC.
  • Fix. Ensure D2 (e.g., 1N4007) is correctly connected in reverse-bias directly across the relay coil terminals.

4. External trigger failure.

  • Cause. Component faults or bad solder joints within the input network consisting of CON1, C5, R1, R2, or D1.
  • Fix. Trace the trigger pulse at Pin 2 using an oscilloscope or multimeter. Remember that the NE555 triggers on a LOW pulse; ensure that Pin 2 rests HIGH and briefly drops LOW only when the external trigger is applied.

General circuit check

  • Double-check all component values, structural orientations (especially polarised capacitors and diodes), and look for cold solder joints.
  • Verify that your grounding is solid across the entire PCB layout.

Applications

Use this circuit for control panel applications, or to drive momentary-input devices such as power buttons, gate triggers, and latching relays.


T.K. Hareendran is an electronics designer, hardware beta tester, technical author, and product reviewer

Loading form…
T.K. Hareendran, Electronic Design Freelancer, AspenCore
T.K. Hareendran, Electronic Design Freelancer, AspenCore
T. K. Hareendran is a veteran electronics expert, educator, and technology writer with over 30 years of hands-on experience in the field of electronics and embedded systems. His journey began with a deep curiosity about how technology works, which evolved into a lifelong passion for understanding and building electronic systems. Over the decades, Hareendran has witnessed and actively engaged with the evolution of electronics—from early circuit designs and discrete components to modern microcontrollers, embedded platforms, and advanced digital systems. His expertise spans circuit design, hardware development, and practical electronics, backed by extensive real-world experience. Known for his ability to simplify complex concepts, he has dedicated many years to knowledge sharing, helping students, hobbyists, and professionals navigate the intricacies of electronics. His writing focuses on making technical subjects accessible, combining clarity with practical insights that readers can apply in real-world scenarios. Hareendran continues to contribute to the electronics community through educational content and hands-on guidance, driven by a strong belief in the power of curiosity, continuous learning, and shared knowledge.

SHARE YOUR THOUGHTS & COMMENTS

Latest DIY Projects

Truly Innovative Electronics

Electronics News

Electronics Components

Electronics Jobs