Electronics relay flipflop

Discussion in 'Modding' started by zer0_c00l, 28 Jan 2005.

  1. zer0_c00l

    zer0_c00l What's a Dremel?

    Joined:
    4 Jan 2005
    Posts:
    153
    Likes Received:
    0
    Someone told me it is possible to use two relays and a pushbutton to make a flipflop switch it is possible but i cant think of how to do it plz help ideas diagrams any that would help i need one for a case mod and do wont to use a flipflop ic
     
  2. bigal

    bigal Fetch n Execute

    Joined:
    8 Oct 2004
    Posts:
    609
    Likes Received:
    0
    i am also interested in this. flip flop on the internet seems to locate alternating lighting... i have sen it somewhere before though...
     
  3. Sea Shadow

    Sea Shadow aka "Panda"

    Joined:
    15 Jan 2004
    Posts:
    614
    Likes Received:
    13
    All I know is that you would have to use relay logic :D

    (now where did I put those notes from electronics class?)
     
  4. Sea Shadow

    Sea Shadow aka "Panda"

    Joined:
    15 Jan 2004
    Posts:
    614
    Likes Received:
    13
    Alright, since I couldn't find my notes. Here is what I remember. You can build any of the basic gates out of relays, using NO (normally open) and NC (normally closed) relays. I can't remember which is which but I think this is correct. I hope that this is what you need (hopefully someone with more knowledge can confirm this. You make 2 nand gates out of 4 NC relays (2 NC relays per nand gate). Then you just make a flip flop out of them.
    [​IMG]
    I am not sure that this is how it is supposed to be, so feel free to try it out, but I can't promise it will work.
     
    Last edited: 29 Jan 2005
  5. shotgunefx

    shotgunefx What's a Dremel?

    Joined:
    4 Feb 2004
    Posts:
    449
    Likes Received:
    0
  6. zer0_c00l

    zer0_c00l What's a Dremel?

    Joined:
    4 Jan 2005
    Posts:
    153
    Likes Received:
    0
    sea shadow you have what i want but i cant figure out what is what in that picture
     
  7. bigal

    bigal Fetch n Execute

    Joined:
    8 Oct 2004
    Posts:
    609
    Likes Received:
    0
    for the circuit i am after it would be useful if it could run off 12v and have the switch using ground (since teh button gives ground when toggled (it is part of a panel of buttons with common cathode..)
     
  8. Sea Shadow

    Sea Shadow aka "Panda"

    Joined:
    15 Jan 2004
    Posts:
    614
    Likes Received:
    13
    Here I will clarify, then write up a guide to relay logic.
     
  9. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    You can buy toggle-action relays, but if this one is anything to go by, they ain't cheap. :jawdrop:
     
  10. Sea Shadow

    Sea Shadow aka "Panda"

    Joined:
    15 Jan 2004
    Posts:
    614
    Likes Received:
    13
    Here ya go, hope this clears things up. Could one of the resident electrical gurus check this? If this is corect, I will begin to write up a guide on relay logic. Sorry I couldn't figure out a way using only 2 relays.

    [​IMG]
     
  11. alcedes

    alcedes What's a Dremel?

    Joined:
    1 Jan 2005
    Posts:
    121
    Likes Received:
    0
    I remember when I was in the Technology Student Association some one had made a working model elevator (for four flloors) that worked off of relays. was interesting to say the least.
     
  12. muddy0409

    muddy0409 What's a Dremel?

    Joined:
    6 Jan 2005
    Posts:
    2
    Likes Received:
    0
    You could try an alarm supply place...they call them "clutch Relay" not all that expensive, less than AU$10. I gather from your letter that you want the same button to both set and reset the relay? These clutch relays do exactly that.
     
  13. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    That looks more like a latch and needs a SPDT switch - zero-cool wants a momentary-switch operated flip-flop like this which will take a few more relays.
     
  14. Sea Shadow

    Sea Shadow aka "Panda"

    Joined:
    15 Jan 2004
    Posts:
    614
    Likes Received:
    13
    Ah, my knowledge fails me :sigh:

    I guess I am not worthy of writing up a guide... maybe another time after I have expanded my knowledge.
     
  15. zer0_c00l

    zer0_c00l What's a Dremel?

    Joined:
    4 Jan 2005
    Posts:
    153
    Likes Received:
    0
    man all i want is to push a botton and it turns a red light on ande push that button again and it turns a blue light on i need to do it with a push button and relays i know its possible but i can't figure it out :wallbash: :wallbash: :wallbash: :wallbash: :wallbash: :wallbash: :wallbash: :wallbash: :wallbash:
     
  16. Sea Shadow

    Sea Shadow aka "Panda"

    Joined:
    15 Jan 2004
    Posts:
    614
    Likes Received:
    13
    Well this is as close as I could get, but you will need 2 pushbutton switches (one NO and one NC) and one relay. You press button A (NO) and output 2 goes high while output 1 goes low, then press button B (NC) and output 1 goes high, while output 2 goes low. That is the best I could come up with :D

    [​IMG]
     
  17. zer0_c00l

    zer0_c00l What's a Dremel?

    Joined:
    4 Jan 2005
    Posts:
    153
    Likes Received:
    0
    thanks i wanted one pushbutton but that will do thank you very much
     
  18. smoguzbenjamin

    smoguzbenjamin "That guy"

    Joined:
    6 Sep 2004
    Posts:
    1,097
    Likes Received:
    1
    Cou can do this with just transistors too, unless you need to switch something a little more heavy duty than a transistor can handle. Just lemme take a look see if I can find the schemmo.
     
  19. zer0_c00l

    zer0_c00l What's a Dremel?

    Joined:
    4 Jan 2005
    Posts:
    153
    Likes Received:
    0
    can't load at 5-10amps
     
  20. nick01

    nick01 What's a Dremel?

    Joined:
    6 Nov 2004
    Posts:
    598
    Likes Received:
    0
    I'm positive that you can't do that, at least not cleanly. There is some law of logic against it, but I can't remember its name. You will always need a time delay mechanism to implement a toggle flip-flop. Some ingenious circuit could use the drop-off time that a relay needs after the coil power is removed, but that depends on the switching characteristics of the relay.

    Some commercial relays with this function use ratcheting mechanisms as this article describes http://www.cougarelectronics.com/pdf/latching relays.pdf. There are also designs that use more relays than two to implement a squencer.
     

Share This Page