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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/18/08 17:44
Read: times


 
#151027 - interfacing
Responding to: ???'s previous message

What's EE, CE and ME?


My apologies, EE is Electrical Engineer, CE is Computer Engineer, and ME is Mechanical Engineer. Can't you tell I'm a Mechanical Engineer by my lack of electrical abilities? :-)


Yes. This is input leakage, i.e. the current your external circuit should supply to ensure a valid logic level on the input. As you cannot source the specified 10uA through the 1MOhm resistor, you should reconsider it's value.

As the input leakage is the ultimate limiting value in case the pin is in the high impedance state, you don't put any resistor in series. Nevertheless, it might be a good idea to limit the current in case of inadvertent setting of the pin to 0, when the relay is on i.e. the external circuit puts 5V on the pin. In this case, the maximum allowable current should be under the specification of Absolute Maximum values - but AD did not care to specify it, so you might resort to the Digital Outputs section (page 5), which defines output voltage of port 0 pin under 1.6mA load (sink), i.e. this is certainly a safe current.

In other words, any value between 3k3 and 470k will do.


Thank you so much for the informative reply. That makes perfect sense to me. I had read through Analog Device's info many times trying to make sense of it all.


Please note that I (and the datasheet) avoid using terms such as "input mode" and "output mode" of the ports. There is nothing such. The '51 ports are traditionally quasi-bidirectional, and this derivative appears to continue this tradition. YOu should really read the "bible" (i.e. the manual of the original 8051, links in this FAQ), the FAQs on inputs/outputs, and all the FAQs on this site, generally.


Thanks again. I have read the FAQ and remember reading that section on quasi-bidirectional...not that it made very much sense to me but it's slowly sinking in. I'm actually reading "The 8051/8052 Microcontroller" by Craig Steiner right now and it's been a big help so far. I'm nowhere close to understanding it all or done reading it yet, but it is helping me get a few things figured out. It's been an excellent resource.

Thank you again and best wishes,
Brian

List of 42 messages in thread
TopicAuthorDate
Initializing two timers            01/01/70 00:00      
   the infamous intel notation of hexadecimal numbers            01/01/70 00:00      
      thank you!            01/01/70 00:00      
   Aside: Assembler vs Compiler            01/01/70 00:00      
      compiler vs. assembler            01/01/70 00:00      
         Do yourself a favor ...            01/01/70 00:00      
            Symptomatic?            01/01/70 00:00      
            software            01/01/70 00:00      
               bad idea            01/01/70 00:00      
               Good tools make life easier            01/01/70 00:00      
                  software choice            01/01/70 00:00      
                     I see            01/01/70 00:00      
                        Apire            01/01/70 00:00      
         RE: All I know is that I hit the "Compile" button            01/01/70 00:00      
            terminology            01/01/70 00:00      
               sloppy            01/01/70 00:00      
   another question            01/01/70 00:00      
      Is it the priviledge of noobs...            01/01/70 00:00      
         follow up...            01/01/70 00:00      
            read the "bible" and FAQs            01/01/70 00:00      
               interfacing            01/01/70 00:00      
                  ME=mech.engineer is fine...            01/01/70 00:00      
                     ME            01/01/70 00:00      
                     if I was not clear, then            01/01/70 00:00      
                        but does it provide the same comfort...            01/01/70 00:00      
                           so what?            01/01/70 00:00      
                              Is it easy?            01/01/70 00:00      
                                 You answered the question yourself            01/01/70 00:00      
                                    isn't there some lock?            01/01/70 00:00      
                                       actually it is            01/01/70 00:00      
                     thank you everyone!            01/01/70 00:00      
         "not bit addressable" question            01/01/70 00:00      
            Value, not SFR address            01/01/70 00:00      
               perfect!            01/01/70 00:00      
                  yes            01/01/70 00:00      
            did you check "the bible"            01/01/70 00:00      
      PWM ....            01/01/70 00:00      
         I have not see it suggested in this thread            01/01/70 00:00      
         P89V51RD2 instead of AT89S52            01/01/70 00:00      
            P89V51RD2 instead of AT89S52            01/01/70 00:00      
   WHAT are you using            01/01/70 00:00      
      terminology            01/01/70 00:00      

Back to Subject List