Offline
Newbie
Karma: 0
Posts: 4
|
 |
« on: January 09, 2013, 11:51:22 am » |
Hello, For my led cube i still need resistors. I'm going to make an 5x5x5 led cube with an arduino mega 1280. Specifications: Microcontroller ATmega1280 Operating Voltage 5V Input Voltage (recommended) 7-12V Input Voltage (limits) 6-20V Digital I/O Pins 54 (of which 15 provide PWM output) Analog Input Pins 16 DC Current per I/O Pin 40 mA DC Current for 3.3V Pin 50 mA Flash Memory 128 KB of which 4 KB used by bootloader SRAM 8 KB EEPROM 4 KB Clock Speed 16 MHz I bought 5mm leds without specifications. based on some information found on the internet, a white led uses 3.2v, 32a, see: http://ledcalculator.net/when i search on websites which resistor i have to use, i found a lot of different values. Can anyone give me the correct resistor value to be sure that it will work for the cube? many many thanx
|
|
|
|
« Last Edit: January 09, 2013, 01:16:13 pm by Arjan901 »
|
Logged
|
|
|
|
|
USA, FL
Offline
God Member
Karma: 14
Posts: 631
A life? Where can I download one of those?
|
 |
« Reply #1 on: January 09, 2013, 12:33:05 pm » |
A regular white LED runs about 1.8-2.2v. And wants around 20mA. I use a site that gives me the resistor values if you know the LEDs specs. http://ledcalculator.net/At 2v, I would use around 150Ohm. But you could use anything that is a little higher than that. Shouldn't see much difference in light output.
|
|
|
|
|
Logged
|
//LiNK
|
|
|
|
Eugene, Oregon
Offline
Sr. Member
Karma: 9
Posts: 387
|
 |
« Reply #2 on: January 09, 2013, 12:33:52 pm » |
5v seems a bit high, but that maybe correct, im not sure. I used some while LEDs from cheapo flashlights, and they were running at 4.5v (3 AAA batteries).
Do you have any info in the LEDs? How much current do they support? most smaller LEDs (like 5mm) seem to be 20ma. You will need to know how much current you want to send them, and what voltage you are using to calculate the proper resistor size.
How are you driving the LEDs. If you are driving them with constant current drivers, you wont need resistors on the LEDs (but you will need to set the current with a resistor).
Are you running this off the power from the arduino, or do you have a separate power supply? if your power supply is running higher than 5v, you may need resistors based on the voltage from your power supply.
Search for LED calculator, and you will find websites that will help you figure out the proper resistor size.
To find out your forward voltage, you may need to hook up a resistor, and measure the volatage to calculate the current, then try the right size resistor and measure the current (to make sure its actually doing what you want).
|
|
|
|
|
Logged
|
|
|
|
|
Valencia, Spain
Offline
Faraday Member
Karma: 72
Posts: 2501
|
 |
« Reply #3 on: January 09, 2013, 12:38:25 pm » |
5v seems a bit high, but that maybe correct, im not sure. I used some while LEDs from cheapo flashlights, and they were running at 4.5v (3 AAA batteries).
What on earth are you on about?
|
|
|
|
|
Logged
|
No, I don't answer questions sent in private messages...
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 283
Posts: 15443
Measurement changes behavior
|
 |
« Reply #4 on: January 09, 2013, 12:43:42 pm » |
I bought 5mm leds without specifications. based on some information found on the internet, a white led uses 5v, 32a. Wow, a 160 watt white led, I want one, got a link?  Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17052
Available for Design & Build services
|
 |
« Reply #5 on: January 09, 2013, 12:57:23 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 4
|
 |
« Reply #6 on: January 09, 2013, 01:15:06 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Eugene, Oregon
Offline
Sr. Member
Karma: 9
Posts: 387
|
 |
« Reply #7 on: January 09, 2013, 01:50:58 pm » |
Maybe you can get a datasheet from the vendor. I looked, and didnt find any specs on the website, and I read a bunch (but not all 56 reviews), and found nothing of value.
If you get nothing from the vendor, you can still figure it out yourself, but it may take an hour out of your life, to learn, and apply the information you learn, to calculate the specs for yourself.
Nobody here will be able to do that for you. The only thing you could hope for is that someone reading your thread bought the exact same LEDs from the same vendor, and did the calculations themselves, and even then you would have to trust a stranger. It seems to me, you will be better off just doing it yourself.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17052
Available for Design & Build services
|
 |
« Reply #8 on: January 09, 2013, 02:24:28 pm » |
Hook up an LED with a 220 ohm resistor using +5 & Gnd. Measuse the voltage across the LED when it is on, that will tell you Vf. Measure the voltage across the resistor (= 5V - Vf) and divide by the resistor value, that will tell you much current was going thru: V/R = current so for example (5 - 3.2)/220 = ~8.2mA
Do not power the LED from 9V and try to control it from an arduino pin.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 76
Posts: 6852
Arduino rocks
|
 |
« Reply #9 on: January 10, 2013, 05:56:24 pm » |
I believe Vf for White LEDs is generally in the 3.2V to 3.6V range, similar to a Blue LED.
Unsurprising if you know that white LEDs are actually blue LEDs with yellow fluorescent compound in front of them...
|
|
|
|
|
Logged
|
|
|
|
|
|