Loading...
Pages: [1]   Go Down
Author Topic: LED light Project  (Read 51 times)
1 Member and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a project that I want to build but I'm not sure how to do it. I want to take 30 5mm white LED's and wire them up so that when it gets dark enough to see them they all turn on. I know it must be fairly simple but I can't find any instructions anywhere. What I am trying to find is:

1. How to power the LEDs? (the battery must not be too large because it needs to fit on a garden sculpture)
2. What circuit can I use to turn on the LEDs when its dark and turn them off when it bright?

Thank you if you can help
Logged

Johannesburg UTC+2
Offline Offline
Edison Member
*
Karma: 34
Posts: 1705
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You could use a light dependent resistor to check the light: have a look here. Then have a look at this multi LED tutorial.
Logged

IT Crowd:
Roy... "Have you tried turning it off and on again?"
Moss.. "Have you tried forcing an unexpected reboot?"

Offline Offline
God Member
*****
Karma: 9
Posts: 764
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Assuming you want them all to come on together, with a higher than 5V supply, you can use a series-parallel combination.   

For example, let's say you have a 12V power supply and your LEDs are rated at 3.5V.   If you put two in series, that's 7V across the LEDs and 5V across the resistors.   With 30 LEDs, you'd wire-up 15 sets of those.   (The more you wire in series, the more efficient your system with less power wasted in the resistors.)

With a resistor current limiter, it's generally best (best for current/brightness control, but not for efficiency) if you drop about half the voltage (or more) across the resistor.  So if you want to go with 3 in series (10 sets), I'd say use at least a 15V power supply.

Quote
1. How to power the LEDs? (the battery must not be too large because it needs to fit on a garden sculpture)
You might want to look-up some Amp-hour ratingsfor various batteries and do some Amp-hour calculations, based on the current required for the LEDs plus the Arduino and other circuitry.   

If you're not up-to-speed on Ohm's Law and Kirckhoff's Laws... Briefly, the same current flows through series components.  So, two LEDs in series share the same current, and use half the current of two LEDs in parallel (at the same brightness).

And, a constant-current switching LED power supply doesn't waste power heating-up current-limiting resistors.  That means your battery would last longer (at the cost of a more-expensive, or more complex, power supply).
Logged

Pages: [1]   Go Up
Print
 
Jump to: