solar driven led

Upload: indirakalyani

Post on 02-Jun-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/11/2019 Solar Driven LED

    1/10

    SimpleSolarCircuits

    Simple Solar Circuits:How to get started adding solar power to your small electronics projects. Use the sun

    to power small solar and battery powered night lights, garden lights, and decorationsfor halloween.

    http://www.flickr.com/photos/oskay/2963105123/http://www.evilmadscientist.com/http://www.flickr.com/photos/oskay/2963105123/http://www.evilmadscientist.com/http://www.flickr.com/photos/oskay/2963105123/http://www.evilmadscientist.com/
  • 8/11/2019 Solar Driven LED

    2/10

    The first part of a solar circuit is... a device for collecting sunlight. To keep thingssimple, we're using a single nicely made small solar panel for all of these circuits. Thepanel that we're using for these circuits isthis one,part number PWR1241 from BGMicro, about $3 each. This is a monolithic copper indium diselenide solar panel,apparentlyprintedon a 60mm square of glass and epoxy coated for toughness. On theback of the panel are two (thin) solderable terminals, with marked polarity. (While youcan solder directly to the terminals, be sure to stress-relieve the connections, e.g.,

    with a blob of epoxy over your wires.) In full sunlight the panel is specified to produce4.5 V at up to 90 mA, although 50 mA seems like a more typical figure.

    [Before we move onto our first examples, a word of caution: These are small simplecircuits. In building these, we will quite intentionally gloss over a number of minordetails and issues that are unimportant at these low powers, but could become criticalif you were to try to scale up.]

    Direct Drive:The most obvious way to use power from a solar panel is to connect your load directlyto the output leads of the solar panel.

    Here are a couple of examples of this in practice:

    On the left, we've hooked up one of our little solar panels directly to a small motortaken from an old CD player. When you set it out in the sunlight or bring it close to a

    http://www.flickr.com/photos/oskay/2963105787/http://www.bgmicro.com/index.asp?PageAction=VIEWPROD&ProdID=12269http://www.bgmicro.com/index.asp?PageAction=VIEWPROD&ProdID=12269http://www.bgmicro.com/index.asp?PageAction=VIEWPROD&ProdID=12269http://www.flickr.com/photos/oskay/2963103643/http://www.flickr.com/photos/oskay/2963103767/http://www.flickr.com/photos/oskay/2964148148/http://www.flickr.com/photos/oskay/2963105579/http://www.flickr.com/photos/oskay/2963105787/http://www.flickr.com/photos/oskay/2963103643/http://www.flickr.com/photos/oskay/2963103767/http://www.flickr.com/photos/oskay/2964148148/http://www.flickr.com/photos/oskay/2963105579/http://www.flickr.com/photos/oskay/2963105787/http://www.flickr.com/photos/oskay/2963103643/http://www.flickr.com/photos/oskay/2963103767/http://www.flickr.com/photos/oskay/2964148148/http://www.flickr.com/photos/oskay/2963105579/http://www.flickr.com/photos/oskay/2963105787/http://www.flickr.com/photos/oskay/2963103643/http://www.flickr.com/photos/oskay/2963103767/http://www.flickr.com/photos/oskay/2964148148/http://www.flickr.com/photos/oskay/2963105579/http://www.flickr.com/photos/oskay/2963105787/http://www.flickr.com/photos/oskay/2963103643/http://www.flickr.com/photos/oskay/2963103767/http://www.flickr.com/photos/oskay/2964148148/http://www.flickr.com/photos/oskay/2963105579/http://www.flickr.com/photos/oskay/2963105787/http://www.bgmicro.com/index.asp?PageAction=VIEWPROD&ProdID=12269
  • 8/11/2019 Solar Driven LED

    3/10

    lamp, the motor starts to spin. On the right we've hooked one of the panels right up toa high-power blue LED. The reason that we've used a high-power LED here is that it caneasily withstand 50-90 mA from the solar panel-- a "regular" LED designed for 20 mAwould be destroyed by that current. (The LED is the same type that we used for ourhigh-power LED blinking circuit.)

    Interruption-resistant direct drive:The "direct drive" circuits work well for their design function, but are rather basic.They provide no energy storage, and so are quite vulnerable to blinking out when abird or cloud passes overhead. For some applications, like running a small fan or pump,that may be perfectly acceptable. For other cases, like powering a microcontroller orother computer, a brief power interruption can be disruptive. Our next circuit designadds a supercapacitor as a "flywheel" to provide continued power during briefinterruptions.

    Instead of adding a single supercapacitor, you might notice that we've actually addedtwo. That's because the supercaps that we had on hand are rated for 2.75 V-- notenough to handle the 4.5 V output of the panel when sunlight is present. To get aroundthis limitation, we used two of the caps in series, for which the voltage ratings add,giving us a barely-okay total rating of 5.5 V. (Note: be careful adding capacitors ofdifferent valuesin series-- the voltage ratings may scale in non-obvious ways.) Whenfirst exposed to the light, this circuit takes about 30 s to 1 minute to charge thecapacitors enough that the LED can turn on. After it's fully charged, the circuit can be

    http://www.evilmadscientist.com/article.php/ledblinkerhttp://www.evilmadscientist.com/article.php/ledblinkerhttp://www.flickr.com/photos/oskay/2963946250/http://www.flickr.com/photos/oskay/2964148164/http://www.flickr.com/photos/oskay/2963946250/http://www.flickr.com/photos/oskay/2964148164/http://www.evilmadscientist.com/article.php/ledblinker
  • 8/11/2019 Solar Driven LED

    4/10

    removed from the sunlight and still drive the blue LED for about 30 s to 1 minute-- avery effective flywheel for light duty applications.

    Adding a batteryWhile interruption resistance is nice, a capacitor generally does not provide sufficient

    energy storage to power a solar circuit for extended periods of time in the dark. Arechargeable battery can of course provide that function, and also provides a fairlyconsistent output voltage that a capacitor cannot. In this next circuit, we use the solarpanel to charge up a NiMH rechargeable battery and also LED off of the power, whichwill stay on when it gets dark out.

    http://www.flickr.com/photos/oskay/2963306721/
  • 8/11/2019 Solar Driven LED

    5/10

    In this circuit the solar panel charges up a 3-cell NiMH battery (3.6 V). Between thetwo is a "reverse blocking" diode. This one-way valve allows current to flow from thesolar panel to the battery, but does not allow current to flow backwards out of thebattery through the solar panel. That's actually an important concern because smallsolar panels like these can leak up to 50 mA in the reverse direction in the dark. We'reusing a garden-variety 1N914 diode for reverse blocking, but there are also higher-

    performance diodes available that have a lower "forward voltage."

    In this design we are continuously "trickle charging" up the battery when sunlight ispresent. For NiMH batteries and sealed lead-acid batteries (the two types that aremost suitable for this sort of un-monitored circuit) it is generally safe to "trickle"charge them by feeding them current at a rate below something called "C/10". For our1300 mAh battery cells, C/10 is 130 mA, so we should keep our charging below 130 mA;not a problem since our solar panels only source up to 90 mA.

    The other thing to notice about this circuit is that it's pretty darned inefficient. TheLED is on all the time, whenever the battery is at least slightly charged up. That meansthat even while the circuit is in bright sunlight it is wasting energy by running the LED:a sizable portion of the solar panel current goes to driving the LED, not to charging the

    battery.

    Detecting DarknessWe havewritten recentlyabout how to make a useful dark-detecting LED drivercircuit. That circuit used an infrared phototransistor. To add a darkness detectingcapability to our solar circuit is even easier, actually, because our solar panel candirectly serve as a sensor to tell when it's dark outside.

    http://www.evilmadscientist.com/article.php/darkpumpkinhttp://www.evilmadscientist.com/article.php/darkpumpkinhttp://www.evilmadscientist.com/article.php/darkpumpkinhttp://www.flickr.com/photos/oskay/2963103995/http://www.evilmadscientist.com/article.php/darkpumpkin
  • 8/11/2019 Solar Driven LED

    6/10

    To perform the switching, we use a PNP transistor that is controlled by the voltageoutput from the solar panel. When it's sunny, the output of the panel is high, which

    http://www.flickr.com/photos/oskay/2963104397/http://www.flickr.com/photos/oskay/2963306745/http://www.flickr.com/photos/oskay/2963104397/http://www.flickr.com/photos/oskay/2963306745/
  • 8/11/2019 Solar Driven LED

    7/10

    turns off the transistor, but when it gets dark, the transistor lets current flow to ouryellow LED. This circuit works very well and is a joy to use-- it would make a goodupgrade to the dark detecting pumpkin to make it go solar with this circuit.

    A solar garden light circuit

    While the last circuit works well for driving a yellow or red LED, it runs at 2.4 V (theoutput of the NiMH battery), it does not have sufficient voltage to drive a blue orwhite output LED. So, we can add to that circuit the simpleJoule Thiefvoltage boosterto get a good design for a solar garden light: A solar-charged battery with a darkdetector that drives a Joule Thief to run a white output LED.

    Naturally, you'd want to give this a tough, weatherproof enclosure if it were going to

    be run outside. (A mason jar comes to mind!) This circuit is actually very close to howmany solar garden lights work, although there are many different circuits that theyuse.

    Adding a microcontrollerOur last circuit examples extend the previous designs by adding a small AVRmicrocontroller. We use the voltage output from the solar panel again to performdarkness detection, but instead take it to an analog input of the microcontroller. Themicrocontroller is potentially a very low current, efficient device that lets you savepower by not running the LED all the time, but (for example) waiting until an hour ortwo after darkness and/or fading the LEDs on or off, or even intermittently blinking forvery low average power consumption.

    http://www.evilmadscientist.com/article.php/joulethiefhttp://www.evilmadscientist.com/article.php/joulethiefhttp://www.evilmadscientist.com/article.php/joulethiefhttp://www.flickr.com/photos/oskay/2963306769/http://www.evilmadscientist.com/article.php/joulethief
  • 8/11/2019 Solar Driven LED

    8/10

    In this example we have the PWM (pulse-width modulation) output of themicrocontroller driving a Joule Thief style voltage booster to run the white LED. (Thisis one of many, many different working designs for this sort of boosting circuits.)

    We also made a second version of this circuit, with two red LED outputs to make aspooky Jack-o'-lantern:

    http://www.flickr.com/photos/oskay/2963946934/http://www.flickr.com/photos/oskay/2963306793/http://www.flickr.com/photos/oskay/2963946934/http://www.flickr.com/photos/oskay/2963306793/
  • 8/11/2019 Solar Driven LED

    9/10

    http://www.flickr.com/photos/oskay/2963105123/http://www.flickr.com/photos/oskay/2963318667/http://www.flickr.com/photos/oskay/2963105123/http://www.flickr.com/photos/oskay/2963318667/
  • 8/11/2019 Solar Driven LED

    10/10

    To finish it up, we carved a beautiful white pumpkin and added this circuit to make ourmicrocontroller-driven, dark-detecting, solar-powered programmable pumpkin, whichfaded its eyes in and out one at a time. Note the long leads on the solar panel andwires to the LEDs to reach.

    We hope that you might find this introduction to simple solar circuits helpful; let's see

    those solar jack-o-lanterns!

    http://flickr.com/photos/lenore-m/2962900613/