??? 07/07/09 09:04 Read: times |
#166825 - Please read the answers you get Responding to: ???'s previous message |
Which means that you did not look at the schematics in this post:
http://www.8052.com/forum/read/166754 Didn't you notice what I wrote about asymetric outputs that are able to sink much more current than they can source? Connecting the diode to ground, the diode can only light up if your processor pin can source current. Depending on processor, your pin will have a high-valued resistor to Vcc, severely limiting the drive current and resulting in the pin voltage being very low when you try to hold it high. Some 8051 chips allows the port pin to be reconfigured for push-pull mode. But even if the pin does support push-pull, it is normally better to sink current that to source it. Some processor with push-pull may be able to sink 5 times as much current as they can source. In the end, your progress will be much faster if you take the time and really read the answers you get, instead of jumping ahead. |