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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/20/03 17:34
Read: times


 
#41980 - FINALLY
Responding to: ???'s previous message
Shahzad Aslam wrote:
-------------------------------
Raghunathan i have some device which outputs +5V in normal conditions and 0V or FLOAT in alarm conditions. So regardless i want my microcontroller read 0V or FLOAT as 0.

-------------------------------

Well, I understand you are using sensors with ONE NC contact only. IN this case, if you have 16 free pins on you controller (excluding port 0), then use PULL-DOWN resistors on those pins and connect the output ofthe sensors to thepins. Now, when the sensors are in normal conditions, you get a healthy +5v signals and will be detected as 1 by the µC. When in alarm condition, the contact opens (thus leaving the pin in external Float), the Pull-Down ensures your controller reads it as 0.

GUESS your problems are solved and peace restored... :) :)

Can I have some coke please (as I dont Drink beer :)) ).

-Harsha

List of 23 messages in thread
TopicAuthorDate
Floating line detection            01/01/70 00:00      
   RE: Floating line detection            01/01/70 00:00      
      RE: Floating line detection            01/01/70 00:00      
         RE: Floating line detection            01/01/70 00:00      
      RE: Floating line detection            01/01/70 00:00      
         RE: Floating line detection            01/01/70 00:00      
            RE: Floating line detection /Erik too...            01/01/70 00:00      
               RE: Floating line detection /Erik too...            01/01/70 00:00      
                  RE: Floating line detection /Erik            01/01/70 00:00      
                     RE: Floating line detection /Erik            01/01/70 00:00      
                        RE: Floating line detection /Erik            01/01/70 00:00      
                           RE: Floating line detection /Erik            01/01/70 00:00      
                           RE: Floating line detection /Erik            01/01/70 00:00      
                              We are floating...            01/01/70 00:00      
                              RE: 8052 Pull Downs            01/01/70 00:00      
                                 RE: Raghunathan R, eric, Michael            01/01/70 00:00      
                                    RE: Raghunathan R, eric, Michael            01/01/70 00:00      
                                    RE: Shahzad Aslam            01/01/70 00:00      
                                    Look at it this way...            01/01/70 00:00      
                                    FINALLY            01/01/70 00:00      
   RE: Floating line detection            01/01/70 00:00      
   RE: Floating line detection            01/01/70 00:00      
      RE: Floating line detection            01/01/70 00:00      

Back to Subject List