• Become a member
  • Log In
The Institution of Electronics
  • Home
  • About us
    • Our Objectives
    • Our History
    • Governance of the Institution
  • The Electron Magazine
    • 2024
      • 2024 – Winter
      • 2024 – Spring
      • 2024 – Summer
      • 2024 – Autumn
    • 2025
      • 2025 – Winter
      • 2025 – Spring
      • 2025 – Summer
      • 2025 – Autumn
    • 2026
      • 2026 – Winter
      • 2026 – Summer
  • Members
    • Membership Grades and Fees
    • Members’ Resources
      • The Electron Newsletter
      • The Archives
  • Education and Projects
    • National Electronics Competition
    • Student Members’ Projects
    • Arkwright Engineering Scholarships
  • News
  • Contact Us
  • Menu Menu
Uncategorised

Elaborations of yet another Flip-On Flop-Off circuit

Applications for using a single pushbutton to advance a circuit to its next logical state are legion. Typically, there are just “on” and “off” states, but there can be more. The heart of the circuit is a toggle flip-flop (or, for more states, a counter or shift register) which responds to a clock transition.

Wow the engineering world with your unique design: Design Ideas Submission Guide

The successful circuit prevents the contact bounce of the mechanical pushbutton from generating more than one “clock” for every push and release of the button. It’s also desirable for the circuit to initialize upon power-up to a specific state and for the press of the pushbutton (from a human point of view) to immediately cause a state change. The basic circuit of Figure 1 has these features.

Figure 1 U1 is a Schottky inverter and U2 a D-type flip-flop. The diodes are small-signal Schottky types. The pushbutton is normally open. See the text for a discussion of resistor and capacitor values.

Upon loss and discharge of the VDD supply, the Schottky diodes discharge C1 and C2 to nearly zero volts. Time constant R1C1 should be at least 10 times larger than the supply turn-on time so that the power-up sequence starts and ends with U2’s Q being cleared.

Also, upon power up, U1’s output starts out as a logic high and transitions low after R2 charges C2. Since U2’s active clocking transition is low to high, this leaves Q initialized low. The R2C2 time constant should be on the order of 1 second.

R3 is optional and limits initial C2 discharge currents when the normally open pushbutton is pressed. If R3 is used, it should be chosen so that momentary contact bounce closures nearly completely discharge C2 in 10 ms or less.

C2 and R2, along with the Schottky inverter U1, work to prevent contact bounce from producing extra transitions, which would otherwise toggle flip-flop U2. After the pushbutton is released and R2 is starting to charge C2, additional button pushes will not toggle U2. This is because the output of U1 is still high and so cannot transition from low-to-high to toggle U2. This is an argument against making the R2C2 time constant too large.

Figure 2 shows how the circuit of Figure 1 can be extended into a multi-state 10-position switch with only one active high output at a time, or into a digital-to-analog converter (DAC).

Figure 2 A 10-position switch with only one active high output at a time, and a DAC are shown.

If fewer than 10 states are desired for the switch, the U2a “D” input can be connected to a different U3 output. For the DAC, resolution can be extended to 12 bits with 12 resistors. Monotonicity will be somewhat less than that, and even with 0.1% resistors, accuracy will be even less than that. To avoid excessive loading of the outputs, no resistor should be less than 10 kΩ.

Christopher Paul has worked in various engineering positions in the communications industry for over 40 years.

Related Content

  • Flip ON flop OFF
  • Flip ON flop OFF without a flip/flop
  • Latching D-type CMOS power switch: A “Flip ON Flop OFF” alternative
  • Another simple flip ON flop OFF circuit

The post Elaborations of yet another Flip-On Flop-Off circuit appeared first on EDN.

19 June 2025
http://institutionofelectronics.ac.uk/wp-content/uploads/2022/12/IOE_LOGO.png 0 0 whdsolutions http://institutionofelectronics.ac.uk/wp-content/uploads/2022/12/IOE_LOGO.png whdsolutions2025-06-19 16:04:012025-06-19 16:04:01Elaborations of yet another Flip-On Flop-Off circuit

Latest news

  • Comparing multi-channel RF transceiver options for space applications25 August 2026 - 13:34
  • Hardware security verification must go beyond functional testing25 August 2026 - 10:31
  • TP-Link’s Tapo P125: A smart plug with an Apple HomeKit vibe24 August 2026 - 13:55
  • Data diodes: One-way check valves of network security24 August 2026 - 10:54
  • Dual amplifier active filters21 August 2026 - 13:57
  • Op-amp input filtering can cause instability without proper compensation20 August 2026 - 18:30
  • Debugging intermittent Comcast, part 1: Scenario-setting20 August 2026 - 13:25
  • MCUs strengthen security in IoT and control systems19 August 2026 - 22:12
  • Load switch guards automotive power rails19 August 2026 - 22:11
  • Channel emulator adds 6G, Wi-Fi 7/8 testing19 August 2026 - 22:11
IOE LOGO 2

Become a member

click here

Become a member

click here

Become a subscriber

click here

Become a sponsor

click here

© Copyright - The Institution of Electronics | Website by WHD Solutions
  • Link to LinkedIn
  • Link to Facebook
  • Link to X
Link to: Simple PWM interface can program regulators for Vout < Vsense Link to: Simple PWM interface can program regulators for Vout < Vsense Simple PWM interface can program regulators for Vout < Vsense Link to: SP4T RF switch delivers strong linearity, low loss Link to: SP4T RF switch delivers strong linearity, low loss SP4T RF switch delivers strong linearity, low loss
Scroll to top Scroll to top Scroll to top