Hi, im new in arduino and im thinking to create a led light and i want to know how many led i can use in a single output
spyrosjd:
Hi, im new in arduino and im thinking to create a led light and i want to know how many led i can use in a single output
That depends. What color?
White.
google for charlyplexing
im new in arduino and im thinking to create a led light
What is the arduino meant to do?
You should only source or sink less than 40mA per pin, however if you use a transistor you can switch as many as you like ( if you pick the right transistor ).
White is a good start, now how much current do you want to run?
Im thinking to use 60 white led 5mm. If works i will put to another output more leds of defferent colors. Can you tell what transistor i must use and how i will choose transistor every time(different number of led, different color.etc)???
first i want to control the leds. After i will put a microphone and create a disco light
Im thinking to use 60 white led 5mm.
So all these are going to turn on and off at the same time?
Can you tell what transistor i must use
No because you have not answered my question:-
Grumpy_Mike:
how much current do you want to run?
The fact that the LED is 5mm is irrelevant when it comes to calculating how much current it takes, also there is a lot of variation in the forward voltage drop for white LEDs so we need to know what that is. That means looking at the data sheet or measuring it.
Assuming the LEDs run at 20mA each then you are looking to switch 1.2 Amps. So not only do you need a transistor to handle about 2A you also need a power supply that is capable of supplying that amount. You can not power all those from the USB connection.