Offline
Newbie
Karma: 0
Posts: 29
|
 |
« on: April 08, 2012, 12:39:53 pm » |
I was making a led light display and I was wondering how many leds can 1 output port on the arduino handle if the leds are all around (2-2.5 volts each and 10-12 mA). also how many can the whole board handle of the (2-2.5 volts each and 10-12 mA) leds
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15320
Measurement changes behavior
|
 |
« Reply #1 on: April 08, 2012, 01:05:28 pm » |
Well you can usually properly power and control ONE LED wired to an output pin if you use the correct size series current limiting resistor. An Arduino however can control an almost unlimited number of LEDs is probably using various external components and power supplies.
Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 29
|
 |
« Reply #2 on: April 08, 2012, 01:59:15 pm » |
so if i have about 50 leds on at once with about 12v power and a speaker it wont burn out the arduino would it ??
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 23
Posts: 1381
Now, More Than Ever
|
 |
« Reply #3 on: April 08, 2012, 03:32:27 pm » |
Could you sketch out what you're on about?
|
|
|
|
|
Logged
|
Don't Be Upset By The Results You Didn't Get With The Work You Didn't Do
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 219
Posts: 13896
Lua rocks!
|
 |
« Reply #4 on: April 09, 2012, 02:58:24 am » |
so if i have about 50 leds on at once with about 12v power and a speaker it wont burn out the arduino would it ??
Yes, it will.
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 277
Posts: 25556
Solder is electric glue
|
 |
« Reply #5 on: April 09, 2012, 03:41:20 am » |
Power directly sourced from an arduino is limited to 200mA. There are also limits on how much current you can get from each port or collection of eight bits. See section 28 of the data sheet for exact figures.
With external driver chips the power for the LED comes from those driver chips and the arduino just controls them with a very little current.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 29
|
 |
« Reply #6 on: April 09, 2012, 04:47:25 pm » |
Thanx I also just tested it and it works I had about 25 leds on one port worked fine just a little dim thanks everyone
|
|
|
|
|
Logged
|
|
|
|
|
Alfeld (Leine) / Germany
Offline
Full Member
Karma: 4
Posts: 156
|
 |
« Reply #7 on: April 10, 2012, 07:53:55 am » |
Very nice. Your arduino is probably gonna do this for about 1 minute. 
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 29
|
 |
« Reply #8 on: April 10, 2012, 08:49:52 am » |
it was running for some time and nothing happen the board runs fine I was scared but it didnt heat up at all (I kept checking the arduino). But can it happen cause Im doing a project for school and I have to decorate a roller coaster. I have a mario theme song playing and im trying to have the leds to blink with the beat.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 29
|
 |
« Reply #9 on: April 10, 2012, 08:51:29 am » |
so how many leds can I actually have running at once without burning the board
|
|
|
|
|
Logged
|
|
|
|
|
SydneyAust.
Offline
Newbie
Karma: 0
Posts: 36
|
 |
« Reply #10 on: April 10, 2012, 09:14:10 am » |
Someone said earlier 200mA is the max. A regular LED draws about 20mA .. 200 divided by 20 gives 10 LEDs.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 219
Posts: 13896
Lua rocks!
|
 |
« Reply #11 on: April 10, 2012, 04:41:59 pm » |
I summarize it a bit here: http://www.gammon.com.au/uno200 mA for the entire board, plus a max of 100 mA for certain groups (eg. pins D5 to D13). So since that is 9 pins to draw a max of 100 from them would be 100/9 (11 mA) each. For the cost of a $2 or so transistor you can offload the load to that, and save your board from some mysterious failure later on.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 29
|
 |
« Reply #12 on: April 11, 2012, 09:37:26 pm » |
Thanx makes more sense just learning
|
|
|
|
|
Logged
|
|
|
|
|
|