"If you've got experience with electronics, you may notice that the LED
doesn't have a resistor in series with it. This is because the amount of
current coming out of the output pin of the Arduino is low enough that
it won't damage the LED. "
So, I made some measurements (Arduino Uno, pin 8 and 9, AMPROBE 33XR-A):
little red LED = 70 mA,
red power LED = 57 mA,
white power LED = 68 mA
I tested my multimeter with 10k ohm and 220 ohm to verify it measures
current flawless.
My question: is there really no need for current limiting resistor?
Or is my multimeter fooling me?
marcinburz:
Thank You Richard, it is absolutely clear now.
To make it clear for other begineers, an Arduino output pin has a rated absolute maximum current rating of 40ma. However it does not have an internal means to limit the output current to that rating. If the external component (led, motor, lamp, etc) has a resistance low enough to try and draw more then that amount of current, per ohms law, the output pin will keep providing more and more current until it burns out.
This is because the amount of
current coming out of the output pin of the Arduino is low enough that
it won't damage the LED.
This is absolute twaddle the writer should be ashamed of himself and so should the administrators of this board for letting this total nonsense stay on this board. I have written to the administrators in the past about this but they seem blissfully unaware or unconcerned about people damaging their arduinos by doing this.
Grumpy_Mike and Retrolefty. Thanks for additional explenations.
In my experiment, I noticed current had stabilized at circa 70 mA.
I hope no internal structures have been damaged. The pin 9 and
8 work as usual. I promise to use current limiting resistor on pins.