Go Down

### Topic: Dim LEDs (Read 1 time)previous topic - next topic

#### JJC114

##### Jul 11, 2012, 10:06 pm
Hi,
I am using an Arduino UNO. On this board, there is an LED already on pin 13 and a resistor to go with it (please correct me if I am wrong about anything). This system lights LEDs nice and bright and, without further resistors, presumably does not damage the life of the LED. On pin 12, I am using another of the same type of LED, and 300 ohms makes it very dim in comparrison - is this right?

#### JJC114

#1
##### Jul 11, 2012, 10:10 pm
Looking at it - they are bright from the front

#### CrossRoads

#2
##### Jul 11, 2012, 10:14 pm
If you have a low mCD LED, it may appear dim.
If you have a high brightness LED, it will be blindingly bright!

ex.
http://www.dipmicro.com/store/LED5B
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

#### DVDdoug

#3
##### Jul 11, 2012, 11:04 pm
Quote
I am using another of the same type of LED...
If you are using the exact same part number, it should be about the same brightness.

Quote
...and 300 ohms ...
Lower resistance will give you more brightness, but you cannot exceed the current rating on the LED (typically 20mA) or the current rating of the Arduino output.  LEDs are "constant voltage" devices (variable current) and you need to know the voltage before making any calculations.

LEDs are typically rated at about 2V (you have to check the spec for the particular LED).   So, if we assume 5V out of the Arduino and 2V across the LED, that leaves 3V across the resistor.  Using Ohm's Law, you can calculate the desired resistance (or current through a known resistance).   3V across 300 Ohms means you have 10mA through the resistor (and through the LED).    If you wanted to calculate the resistance for 20mA, Ohm's Law gives you 3V/0.020A = 150 Ohms.

#### cmiyc

#4
##### Jul 11, 2012, 11:36 pm
Don't forget to set the other pin to OUTPUT.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

#### JJC114

#5
##### Jul 11, 2012, 11:41 pm
It is on OUTPUT - I have already made that mistake - and I think I have learnt my lesson on simple circuits

Thanks to everybody who gave me help

#### MarkT

#6
##### Jul 12, 2012, 12:53 pm
The colour and forward voltage of LEDs are strongly related.  Red are about 1.7V, orange/yellow 1.9V, green 3V, blue/white 3.5 to 4V.  This is due to the particular semiconductor material used - its bandgap voltage determines the energy/colour of photons emitted as well as the forward voltage (which is somewhat below the bandgap voltage at room temperature, but closely approximates it at absolute zero).

White LEDs are really blue/violet LEDs with a yellow fluorescent plastic coating.
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

Go Up