Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/24/04 09:23
Read: times


 
#74786 - Reed Relay *INPUTS*
Responding to: ???'s previous message
Kashyap Deepak said:
How do I read a ON/OFF input (not from switch but relays and pressure switches)

As far as your 8051 is concerned they're all just switch contacts - it is entirely irrelevant whether they're manually-operated switches, electro-mechanically operated relay contacts, pressure-operated contacts, or any other sort of contacts!

You can connect the relay like this:
Vcc-----+--
        ! 
        ! 
        /
        
        / Pullup
        
        ! 
Port <--+
Pin     !   
        ! 
        !   +----
        !   !
        !   (
  Relay    ( Relay
Contact    ( Coil
        !   (
        !   !
        !   +----
        ! 
        ! 
Gnd-----+--- 

You apply the input signal to the relay coil - when the signal is "ON", the relay opreates; when the signal is "OFF", the relay releases.
Obviously, you need to choose the coil rating to suit the input signal.

It should also be obvious that the input signal is completely isolated from the microcontroller - there is no need for an opto isolator! (unless you have some special requirement for a double isolation barrier...?)

List of 35 messages in thread
TopicAuthorDate
Reed Switch Sensor            01/01/70 00:00      
   RE: Reed Switch Sensor            01/01/70 00:00      
      RE: Reed Switch Sensor            01/01/70 00:00      
         RE: Reed Switch Sensor            01/01/70 00:00      
   RE: Reed Switch Sensor            01/01/70 00:00      
   RE: Reed Switch Sensor            01/01/70 00:00      
      galvanic isolation twice?            01/01/70 00:00      
         RE: galvanic isolation twice?            01/01/70 00:00      
            RE: galvanic isolation twice?            01/01/70 00:00      
               But Why??            01/01/70 00:00      
                  RE: But Why            01/01/70 00:00      
                     This is how generally...            01/01/70 00:00      
                        RE: This is how generally...            01/01/70 00:00      
                     Reed Relay *INPUTS*            01/01/70 00:00      
                        RE: Reed Relay *INPUTS*            01/01/70 00:00      
                           RE: Reed Relay *INPUTS*            01/01/70 00:00      
                              some clarification for KAi            01/01/70 00:00      
                           RE: Reed Relay *INPUTS*            01/01/70 00:00      
                              RE: Reed Relay *INPUTS*            01/01/70 00:00      
                           You do NOT need an Opto!            01/01/70 00:00      
                              RE: You do NOT need an Opto!            01/01/70 00:00      
                                 RE: You do NOT need an Opto!            01/01/70 00:00      
                                 RE: You do NOT need an Opto!            01/01/70 00:00      
   Start again - what do you really want?            01/01/70 00:00      
      Assumed Scenario            01/01/70 00:00      
      RE: Start again - what do you really wan            01/01/70 00:00      
      RE: Start again - what do you really want?            01/01/70 00:00      
         more clarification            01/01/70 00:00      
            RE: more clarification            01/01/70 00:00      
         RE: Start again - what do you really wan            01/01/70 00:00      
            PLC not a option            01/01/70 00:00      
               RE: PLC not a option            01/01/70 00:00      
                  RE: PLC not a option            01/01/70 00:00      
   OPTO inputs from Reed Switch DONE            01/01/70 00:00      
   Admin please close this thread            01/01/70 00:00      

Back to Subject List