Re: How long... LED on time without resistors?

Originally Posted by
mackrackit
Hmmmm, there was a heated debate in there
. However, like DT mentioned in that thread, you can drive a regular LED (using a 3V supply) from a PIC without any problems, but if you connect that same LED directly to the power rail it will burn and it can burn your fingers (I say this from experience
).
The reason it works on the PIC is the internal resistance of the pin in the PIC. For example, the following graph is taken from the 16F84A datasheet from the AC/DC Characteristic Graphs section.

By calculating the slope in the dashed line it can be determined that the internal resistance for VOH = 3.0V is equal to ROH = 130 Ohms. Now, in the case the output is low, VOL = 0 then the VOL-IOL graph is

Again, by calculating the slope of the curve it can be determined that the internal resistance ROL = 36 Ohms.
So, in the case that you are using a regulator of 3.0V you will have an equivalent PIC resistance of 130 Ohms; therefore, there is no need for an external resistor.
More detailed information about port characteristics can be found in the next book in chapter 3.
http://www.amazon.com/Designing-Embe...0073607&sr=1-1
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Bookmarks