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

Back to Subject List

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


 
#74754 - RE: Reed Switch Sensor
Responding to: ???'s previous message
Without knowledge of your particular optocoupler, I see no reason It should not work.
1) +24 - switch - resistor - OC diode - 24V return
2) OC transistor base floating
3) OC transistor emitter to ground
4) OC transistor collector to port pin
5) if port pin is p0 a pullup resistor of ~4k7 to Vcc
6) write a '1' to the port bit
7) read the port bit

Erik

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