Looking for an IC component. Toggle switch with momentary on and off buttons.

Discussion in 'The Projects Forum' started by B25Mitch, Mar 13, 2015.

  1. B25Mitch

    Thread Starter New Member

    Mar 13, 2015
    2
    0
    I'm not sure if this even exists, but I'd love to find it, preferably as an integrated circuit, as small as possible.

    A switch that connects or interrupts a separate circuit, controlled by 2 dedicated buttons, 'on' and 'off', both momentary, but once pressed, the connection maintains state. IE: you push the 'on' button, the circuit stays connected until you press the 'off' button. Load through the chip will be minimal, just enough to trigger a separate transistor.

    Attached is my wonderful MS Paint diagram of what I'm looking for.
     
  2. Papabravo

    Expert

    Feb 24, 2006
    10,152
    1,793
  3. #12

    Expert

    Nov 30, 2010
    16,337
    6,820
    There are many ways known to do this. Most of them use a single button. One standard chip is called a flip-flop. Do you really want 2 buttons or did you just assume you would need two buttons?
     
  4. Marcus2012

    Member

    Feb 22, 2015
    349
    26
    Hi

    A 555 Bistable setup would do this well if I understand you correctly. Here is a guide with the switches you describe, the 555 output can then be connected to a transistor used to switch your control circuit of whatever device you wish. The 555 will maintain an output pulse from when one switch is momentarily pressed until a reset switch is momentarily pressed.

    555 Timer operating modes Go down to Bistable

    555 Timer IC
     
  5. B25Mitch

    Thread Starter New Member

    Mar 13, 2015
    2
    0
    I drew another diagram better illustrating my design. I need multiple of these chips, each with their own ON button, but a communal OFF button to reset them all to off.
     
  6. Marcus2012

    Member

    Feb 22, 2015
    349
    26
    This can be done with seperate 555 circuits sharing a reset push to make switch which pulls all 555 reset pins low.
     
  7. Reloadron

    Active Member

    Jan 15, 2015
    963
    232
    There are a number of ways to go about this. Since I haven't a clue what you are switching I'll give you a generic suggestion. I would go to the store and buy a pile of D Flip Flops. They can be for example CD4013 or any of a few others. In the store you find them between the carrots and tomatoes. The CD4013 I mentioned has two D flip flops per chip. So if you want ten you use 5 chips. Each flip flop is triggered On with a single clock pulse which can be from a simple push button switch. All the resets are tied so a single reset button will reset (turn off) all of the flip flop outputs. There is not much need for any external components depending on what you want to turn On and Off. If you want a circuit I'll come up with one, there isn't much to it really.

    Also the 555 in a bistable mode is another viable option and would likely take the same space as using D flip flops. I would just string out a pile of 556 (dual 555 chips). They can be had in the potato section of the store.

    Again, you need to describe in some detail exactly what your goal is with this.

    Ron
     
  8. absf

    Senior Member

    Dec 29, 2010
    1,493
    372
    If you're able to get 74xx279 quad RS flip flop, here's a simple circuit that will give you 4 outputs with a common reset button. RL1 to RL4 can be relays or LEDs for light current use. If you need more current replace the transistors with logic level MOSFETs.

    Allen
    toggle sw with on_off button.PNG
     
    Reloadron likes this.
  9. Reloadron

    Active Member

    Jan 15, 2015
    963
    232
    Oh, I like that, four on a chip. :)

    Ron
     
  10. Roderick Young

    Member

    Feb 22, 2015
    408
    168
    This will seem like overkill, but you might consider using a PICAXE 08M2 (about $3). It's an 8-pin DIP, and needs only two external resistors, no external timing components, no external pullups, and touchpad sensors are built-in if you want them, meaning you might not even need switches. If you go that route, then the behavior becomes a matter of software. Not only could you implement the ON/OFF scheme you mentioned, you could even have it turn off automatically in an hour if there is no activity, or turn on only when you tap out "We Will Rock You" on the buttons and turn off only when both are held down for 4 seconds.
     
  11. shortbus

    AAC Fanatic!

    Sep 30, 2009
    4,015
    1,531
    It can also be done with a CD4066 or 74HC4066 chip. Doing it with one momentary on button and one momentary off button that is, no flip flop needed. By connecting the 4066 like a 'latching relay'.
     
Loading...