1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Electronics SPDT to momentary circuit hunt

Discussion in 'Modding' started by star_treking, 29 Jul 2006.

  1. star_treking

    star_treking What's a Dremel?

    Joined:
    6 Feb 2004
    Posts:
    25
    Likes Received:
    0
    I've searched for a circuit that will turn a constant on switch into a momentary switch.

    I've checked google and all I find are the oppsit of what I am looking for. Anyone know of a circuit that can make it in to a momentary switch?
     
  2. SteveyG

    SteveyG Electromodder

    Joined:
    23 Nov 2002
    Posts:
    3,049
    Likes Received:
    8
    How would you want it to work? Latching switches have two positions, so would you want to produce a single pulse on one edge or on every event?
     
  3. bigal

    bigal Fetch n Execute

    Joined:
    8 Oct 2004
    Posts:
    609
    Likes Received:
    0
    how long a momentary?
     
  4. star_treking

    star_treking What's a Dremel?

    Joined:
    6 Feb 2004
    Posts:
    25
    Likes Received:
    0
    Prefer every event but will gladly accept one edge pulse

    Long enough to turn on a computer
     
  5. Xiachunyi

    Xiachunyi What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,404
    Likes Received:
    0
  6. bender386

    bender386 What's a Dremel?

    Joined:
    5 Jan 2006
    Posts:
    475
    Likes Received:
    0
    is the 74ls to stop bouncing?
     
  7. Xiachunyi

    Xiachunyi What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,404
    Likes Received:
    0
    I would classify it, rather, as a flip-flop. Also, for this application, you would not need to explicity de-bounce since the RC value would be larger than the input "noise" duration.
     
  8. star_treking

    star_treking What's a Dremel?

    Joined:
    6 Feb 2004
    Posts:
    25
    Likes Received:
    0
    I tryed their site it seems to be down
     
  9. Xiachunyi

    Xiachunyi What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,404
    Likes Received:
    0
    Here is the image:
    [​IMG]

    I built one of these to use as a door sensor and it has lasted, so far, a little over 2 years without fault so it seems to be pretty stable.
     
  10. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    Does above give pulses on both ON & OFFing the SPDT switch?

    A way I was doodling with:

    [​IMG]

    There's no debouncing, but it's possible none's needed:
    I can't find a figure for minimum pulse duration to turn an ATX system on, though changing the C1/C2 size gives plenty of adjustment.

    You could, of course, get rid of R2/C2 so turning the switch off did nothing. May be better with an XP system and also allows use of a SPST switch.
     
    Last edited: 30 Jul 2006
  11. Xiachunyi

    Xiachunyi What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,404
    Likes Received:
    0
    Yes, regardless of what state the switch is in, a change will initiate a puse with a given duration equal to the RC of the 555 IC timer.

    For the pulse duration, as long as it is long enough for the logic to "recognize" its pin as active low.
     
  12. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    I can see all the NAND logic changes in simulation apart from any final pulse from the 7400, I guess it's a case where identical and ideal gates all switch in exactly the same time, no propagation or wire delays and don't make a noise. :confused:

    For the trigger, a pull-up resistor to 5V from one side of the switch, other side to ground, should be OK?
    And how long is this piece of string? :p

    So it should turn the system on without the monostable?
     
  13. Xiachunyi

    Xiachunyi What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,404
    Likes Received:
    0
    From the discription, looks like it -- "... this circuit supplies the 555 timer with a single low-going pulse..."

    This piece of string would be dependent on the speed that the logic on the other side is rated at switching. In this case, making the string as short as possible would be kind of illogical mainly because of the question "Why would you even want to do something like that?" It is not like you have something else waiting to use the circuit immediatly after this application.

    If you want a direct answer, I suggest the following: Use a stop watch and time how long it takes you to push and release the button to start the computer. :D

    Edit: Found the article.
     
  14. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    I was going on the thought that if the pulse is long enough to trigger the 555 it could well be long enough to trigger the ATX system, which, if it has built-in debounce, should react to the initial brief pulse from a bouncy mechanical push-button. Also cuts the cost in half. :p

    Good idea for a few seconds doorbell or alarm though. :thumb:
     
  15. Xiachunyi

    Xiachunyi What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,404
    Likes Received:
    0
    True true, spoken like an experienced engineer. Solve the probem, Minimize, and Cut the Cost. :lol:
     
  16. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    Hmmm...
    Confirmed by a better simulation program (Circuitmaker).

    I wonder if switch bounce will let it work both turning on & turning off. :confused:
     
  17. Xiachunyi

    Xiachunyi What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,404
    Likes Received:
    0
    I guess bouncing was what made it trigger when the switch changed states. Though... now that I think about it. I used the LS family with the switch tied to ground so the open state was really left up to the internal pull-up resistor to take care.
     

Share This Page