Switch Circuit

Discussion in 'The Projects Forum' started by colaboy, Oct 19, 2008.

  1. colaboy

    Thread Starter New Member

    Oct 17, 2008
    7
    0
    Hi everyone.
    I need a circuit so that a toggle switch outputs a momentary signal, to use in flight simulation.

    I found this circuit on a flightsim website.

    [​IMG]

    Could anybody tell me if this optocoupler would work with this circuit please. http://www.maplin.co.uk/Module.aspx?ModuleNo=2228&DOY=19m10

    He mentions in the article, that if you can not get an AC type, then you need to insert a diode in front of the coupler.

    If it helps, here is the original article.
    http://www.flightsim.com/cgi/kds?$=...ction to momentary switch action using relays

    Thanks in advance for any help.

    Colaboy.
     
  2. mik3

    Senior Member

    Feb 4, 2008
    4,846
    63
    It will work, the extra diode is needed to discharge the capacitor quickly and to protect the optocoupler diode.
     
  3. colaboy

    Thread Starter New Member

    Oct 17, 2008
    7
    0
    Thanks for that, I really appreciate the help.
    While my mind (such as it is) is on it, would the same circuit work with 5 volts?
    I would like to power several of them with the power from a USB lead.
    Would the extra diode need to be anything specific or just a kind of general diode?

    Thanks again.

    Colaboy.
     
Loading...