Instructables: Solar Charging Night Lightby Joshua ZimmermanBuild Time: 1-2 hours Intro: Solar Dark Detecting LED Light Bulb |
![]() |

LED Light Bulb Project
What you will need:
Hardware:
Hot Glue Gun
Soldering Iron
Drill
Breadboard (Optional, but super handy.)
22 Gauge Wire as well as some thick magnet wire.
5KΩ Resistor
1KΩ Resistor
1 Zener Diode
3 White LEDs
PNP Transistor
NPN Transistor
Toroid
A toggle switch
4.5V Solar Panel
AAA Battery Holder
AAA NiMh Battery (you could also use a AA)
Glass Lightbulb
Little Plastic Bead Box
![]() |
![]() |
![]() |
![]() |
Step 1: Making the Circuit
In addition to making the circuit (borrowed from evilmadscientist.com) I'm am also adding a switch between the LED and the battery. This will allow the battery to charge even if the switch is off.The first transistor (PNP 2N3906) acts as a dark detector. When power (sunlight) is hitting the solar panel, the transistor is off. When there is power (darkness) coming from the solar panel the pathway turns on and we get power.
If you decide, you can skip this step and control the LEDs via the switch. After the first transistor we get the famous Joule Thief Circuit.

Schematic Switch Placement
Step 2: Wire Up The Solar Panel
Solder on wires as shown in the images below. When you're done, put some tape over the tabs for they break easily.
Panel and Wire
Tape the Tabs
Step 3: Wrap Your Toroid
Wrap your toroid up with wire. Use two wires, coated of equal lengths. Wrap the wire around the toroid at least 7 times. Lastly, take a wire from one "end" and hook it up with the opposite color from the other end.
Wrapped Toroid

Connected Wires
Step 4: Breadboard Testing
It is highly recommend to use the breadboard to test everything out.Image A: The LED is off because the solar panel is getting light
Image B: I covered the panel and the light goes on. Darkness detecting!

Image A: Breaboard Testing

Image B: Led turns on by covering solar panel
Step 5: Drill Baby Drill
Drill three holes in the bead or plastic box. I placed one in front for the solar panel wires, one on top for the switch, and one out the back for the LED wires. The size is up to you, and depends on how big of a switch you're using.
Drill holes in plastic box
Step 6: Soldering the Dark Detecting
If you're not going to be working on the dark detecting section, you can skip this section. If not, read on!First, don't forget to thread your solar panel wires through the hole first. Now solder the zener diode and the 5,000 ohm resistor to the positive wire. Solder the resistor to the center leg (base) of the PNP transistor. Then solder the zener diode, as well as the positive side of the battery case, to the left leg (emitter) of the transistor. Solder the double twisted end of the toroid to the right leg (collector) of the transistor.

Solder connections

Back side of the transistor

Attaching the toroid
Step 7: Test the Connections Again
Use the breadboard and test everything again... It never hurts.
Breadboard testing
Step 8: Diffuse Your LEDs
If you're smart you would be using diffused LEDs. If you only have clear LEDs, you'll have to diffuse them first. To do this you can either use a big ball of hot glue to cover the lens OR use sandpaper to scuff it up.
Clear LEDs

Diffused LEDs
Step 9: Joule Thief
Off of the toroid are two wires. Take one (doesn't matter) and solder the 1KΩ resistor to it. Now solder the other end of the resistor to the middle leg (base) of your NPN transistor. Solder the other toroid wire onto the right leg (collector) of your NPN. The Joule Thief is nearly finished.
Joule Thief
Step 10: LED Connection
I used long pieces of thick magnet wire because of the look, and I wanted to hide the box away from the bulb. Anything will do, provided it fits through the hole in the bulb cap. First step is to put the wires through the bulb cap. (You can always make it bigger by using your drill) Then hook up all positive legs of your LED to one wire, and all negative to another.Note: If you're using a 8mm or 10mm LED you might want to start with two and see if they'll fit into the bulb. Then, maybe add a third while the other two are inside the bulb. It's just like working on a ship in a bottle.

LED Connection
Step 11: Hook up the wires in the box
Take the other end of your LED wires and put them through the hole in the box. Solder the positive one to the far right NPN leg (collector) (the one you already soldered the toroid wire onto).Then run another wire off the switch. Last, solder the new wire off the switch, the negative battery wire, and the negative solar wire all to the left leg (emitter) of the NPN transistor. Now you're done soldering.
Positive Wire

Negative Wire

Negative LED Wire, Battery Wire, and Solar Wire Soldered

Getting ready to "Goo"
Step 12: Warm Liquid Glue or should we say "GOO Phase"
Now we have a big mess of wires and stuff that needs to go into the box, and we want to make sure to avoid the possibility of a random exposed wire touching random exposed wires.Hot Glue Powers Activate!!!!!!
Covering all the random exposed bits with hot glue makes things way easier. (Word on the street is that the technical term for this is "potting.")

Getting ready to "Goo"

Help me I'm Melting
Step 13: Shove it all in the box
Be careful to shove everything into the plastic box. Again BE CAREFUL... breaking something now would be a big pain to fix.
Enclosed Case
Step 14: Enjoy!
You have now created what amounts to a very fancy looking outdoor solar light. The kind you can buy for less than $5. Only this one looks very impressive and was built by you. This is a great project for those interested in a beginner's circuitry project and is inexpensive to make.In addition:
To really impress your friends, use two colors of lights inside the bulb that you control using a second toggle. (Go from the NPN to a toggle switch with two positive lines running out. Use a common negative line back. You'll have three wires instead of two.)

Completed LED Light Bulb
To view the complete project instructions click here.




