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

Back to Subject List

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


 
#50637 - RE: is there any other logic then 1 or 0
Responding to: ???'s previous message
G'day waqar

Check these things:
First make sure the signal you are reading has enough current to actually sink (or source) the pins ... I don't know the limit but you should find it in the MCU documentation ... if the current is not enough ... put a buffer or trans on it so you can amplify the signal ...

If you're detecting the off mode (JB p2.0,$) make sure that you set the pin to 1 first (as Raghunathan said). also remember to put a pulldown resistor on the line because If you read 0v it doesn't neccessarily mean that it's grounded ... it could be in a hi-Z state (heh I know nothing about telephone protocols and states)

yeah if these two don't work, somehow check to see if the command is executed at all (using a LED or LCD panel or something) .. if it is executed you might have a blown latch or something ... try another port ... if not ... then theres something weong with the micro (probably) ...

cheers
Nima

List of 40 messages in thread
TopicAuthorDate
is there any other logic then 1 or 0            01/01/70 00:00      
   RE: is there any other logic then 1 or 0            01/01/70 00:00      
      RE: is there any other logic then 1 or 0            01/01/70 00:00      
         RE: is there any other logic then 1 or 0            01/01/70 00:00      
   RE: is there any other logic then 1 or 0            01/01/70 00:00      
   RE: is there any other logic then 1 or 0            01/01/70 00:00      
      RE: is there any other logic then 1 or 0            01/01/70 00:00      
      RE: is there any other logic then 1 or 0            01/01/70 00:00      
         RE: is there any other logic then 1 or 0            01/01/70 00:00      
            RE: is there any other logic then 1 or 0            01/01/70 00:00      
            RE: is there any other logic then 1 or 0            01/01/70 00:00      
            RE: is there any other logic then 1 or 0            01/01/70 00:00      
      RE: is there any other logic then 1 or 0            01/01/70 00:00      
         RE: is there any other logic then 1 or 0            01/01/70 00:00      
            RE: is there any other logic then 1 or 0            01/01/70 00:00      
               RE: is there any other logic then 1 or 0            01/01/70 00:00      
                  RE: is there any other logic then 1 or 0            01/01/70 00:00      
      RE: is there any other logic then 1 or 0            01/01/70 00:00      
      RE: Expert and Donald            01/01/70 00:00      
      RE: Expert and Donald            01/01/70 00:00      
      J2b does not work            01/01/70 00:00      
         RE: J2b does not work            01/01/70 00:00      
            RE: J2b does not work            01/01/70 00:00      
         RE: J2b does not work            01/01/70 00:00      
            RE: Meaning of WAQUAAR            01/01/70 00:00      
               RE: Meaning of WAQUAAR            01/01/70 00:00      
                  RE: Meaning of WAQUAAR            01/01/70 00:00      
                     RE: Ijaz            01/01/70 00:00      
               RE: Meaning of WAQUAAR, second thought            01/01/70 00:00      
                  RE: Meaning of WAQUAAR, second thought            01/01/70 00:00      
   RE: is there any other logic then 1 or 0            01/01/70 00:00      
      RE: is there any other logic then 1 or 0            01/01/70 00:00      
   RE: is there any other logic then 1 or 0            01/01/70 00:00      
      RE: is there any other logic then 1 or 0            01/01/70 00:00      
         RE: is there any other logic then 1 or 0            01/01/70 00:00      
            RE: is there any other logic then 1 or 0            01/01/70 00:00      
   RE: is there any other logic then 1 or 0            01/01/70 00:00      
      RE: is there any other logic then 1 or 0            01/01/70 00:00      
         RE: is there any other logic then 1 or 0            01/01/70 00:00      
         RE: is there any other logic then 1 or 0            01/01/70 00:00      

Back to Subject List