1 on/off pushbutton 1 off pushbutton circuit

Discussion in 'The Projects Forum' started by Deividas Šliuoža, Oct 6, 2015.

  1. Deividas Šliuoža

    Thread Starter New Member

    Oct 6, 2015
    6
    0
    Hello. So my question is. how to make a circuit that works like this:
    1. Its 12v 15A
    2. there must be a pushbutton (1) that could turn on/off circuit when pressed, but there is another pushbutton (2) witch turns off the circuit, but doesnt turn on. You have to press again pushbutton (1) to turn on the circuit, but the circuit can't turn on when puchbutton (2) is pressed.

    Pushbutton (2) is cars light handle. My back fog light must be on only when i drive with low beam lights, but must turn off if i turn on high beam lights or other lights.
    I just could not figure it out how to make that kind of circuit with that pushbutton..
     
  2. MikeML

    AAC Fanatic!

    Oct 2, 2009
    5,450
    1,066
    Welcome,

    Search for "latching relay" circuit in these forums, or Google...

    For example, click on this
     
  3. Deividas Šliuoža

    Thread Starter New Member

    Oct 6, 2015
    6
    0
    i searched for it, but theres always just 1 button with reset or off and button 2 with on... i need 1 on/off and second just off :(
     
  4. MikeML

    AAC Fanatic!

    Oct 2, 2009
    5,450
    1,066
    I am confused by your description. Ignoring button 2 for a moment, do you mean that button 1 toggles the state of the relay, first push on, second push off, third push back on, fourth push off,...???
     
  5. Deividas Šliuoža

    Thread Starter New Member

    Oct 6, 2015
    6
    0
    Button 1 can turn on or off. but if it was in a state of on and you press button 2 circuit is off, then you need to press button 1 again to turn the circuit on.
     
  6. strantor

    AAC Fanatic!

    Oct 3, 2010
    4,302
    1,988
    If you wanted to make a circuit to do this, it would require some timing function. A oneshot relay with a dual-coil latching relay or something similar. But you don't need to do that since the auto manufacturer took care of most of the circuit for you. The on/off toggle is already in your car. All you need is something to inhibit the fog light when high beams are on. Tap into your high beam power wire and run to a relay. Then run your fog light power though the NC contact of the relay.
     
  7. Deividas Šliuoža

    Thread Starter New Member

    Oct 6, 2015
    6
    0
    i've already done that. My fog light is working only with low beams, but there are requirements for the button.. the button must be with indicating light and must work like i posted :(
     
  8. strantor

    AAC Fanatic!

    Oct 3, 2010
    4,302
    1,988
    Ok then add a second relay in a latching config. Use the NC off of your high beam relay to break the latch.
     
  9. KMoffett

    AAC Fanatic!

    Dec 19, 2007
    2,574
    230
    I think this will work for you.

    Ken

    PushOnPushOffandOffMOSFETs.gif
     
    AnalogKid and InspectorGadget like this.
  10. Deividas Šliuoža

    Thread Starter New Member

    Oct 6, 2015
    6
    0
    Thank you very much!!! i'll try it :)
     
  11. KMoffett

    AAC Fanatic!

    Dec 19, 2007
    2,574
    230
    "...but there are requirements for the button.. the button must be with indicating light..."
    What do you mead by that?

    Ken
     
  12. Deividas Šliuoža

    Thread Starter New Member

    Oct 6, 2015
    6
    0
    Its nothing special. A button with LED indicator. When circuit is on the LED must be on :)
     
  13. KMoffett

    AAC Fanatic!

    Dec 19, 2007
    2,574
    230
    LED in both buttons?

    Ken
     
  14. dannyf

    Well-Known Member

    Sep 13, 2015
    1,782
    360
    I see a ladder logic somewhere there.
     
  15. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,802
    832
    A T flip flop with the second push button connected to the reset input of the flip flop.,,
     
  16. ScottWang

    Moderator

    Aug 23, 2012
    4,853
    767
    Do you want to using touch control?
    The circuit can be drive the LED, even could be no need the Q1.
    If you want to adding the turn off switch, just in parallel with C3.

    [​IMG]
     
  17. eetech00

    Active Member

    Jun 8, 2013
    649
    112
    I used the second 4013 for debounce.
     
  18. KMoffett

    AAC Fanatic!

    Dec 19, 2007
    2,574
    230
    Assuming that you want both switches to be lit when in the ON condition, I added those. Do you know what switches you are going to use. If the switch lamps are rated at "12V", the resistors are not needed.

    Ken

    PushOnPushOffandOffMOSFETs2.gif
     
    Last edited: Oct 12, 2015
Loading...