Loading ...
Sorry, an error occurred while loading the content.
 

Driving a relay with a CPU

Expand Messages
  • Nicolae Sfetcu
    Driving a relay with a CPU (From Kip J. Mussatt) Try using a simple transistor like a 2N4124 just feed the base from the emitter of the opto-isolator. Don t
    Message 1 of 2 , May 18, 2001

      Driving a relay with a CPU

      (From Kip J. Mussatt)

      Try using a simple transistor like a 2N4124 just feed the base from the emitter of the opto-isolator. Don't forget to put a clamping diode across the relay (reverse biased) and maybe a 1uF cap. Drive the photo transistor with an IR LED and couple it with some heat shrink tubing.

         +12V                                         +12V
         |                                            |
        /  C                    +-----+------relay----+
       |     <- photo trans.   / C    |
        \v.E________________B_|      ---
        |                      \v.E  /_\
       220K             2n4124  |     |  clamping diode.
        |                       |     |
       GND                     GND   GND
      

    • Nicolae Sfetcu
      http://www.paranoia.com/~filipg/ Driving a relay with a CPU (From Kip J. Mussatt) Try using a simple transistor like a 2N4124 just feed the base from the
      Message 2 of 2 , Feb 11, 2002

        Driving a relay with a CPU

        (From Kip J. Mussatt)

        Try using a simple transistor like a 2N4124 just feed the base from the emitter of the opto-isolator. Don't forget to put a clamping diode across the relay (reverse biased) and maybe a 1uF cap. Drive the photo transistor with an IR LED and couple it with some heat shrink tubing.

           +12V                                         +12V
           |                                            |
          /  C                    +-----+------relay----+
         |     <- photo trans.   / C    |
          \v.E________________B_|      ---
          |                      \v.E  /_\
         220K             2n4124  |     |  clamping diode.
          |                       |     |
         GND                     GND   GND
        
      Your message has been successfully submitted and would be delivered to recipients shortly.