I have many used batteries around. Remote controls, cameras, many electronic gadgets all use batteries, mostly AA size. I always felt guilty for throwing away the used batteries. I know there are rechargeable batteries, but many electronics don't work well with rechargeables.

I also know that those "used" or "spent" batteries usually have some juice left in them. So to come up with a good use of used batteries, I've created a LED night light.

I like having a little night light on when I sleep. LEDs are perfect for this purpose, because they are energy efficient, and good at providing low intensity illumination.

This LED night light operates with just one battery. It utilizes a little circuit called Joule Thief to boost voltage out of an AA battery. I also added a light sensor to turn it on automatically when the surrounding is dark.

The circuit is energy efficient, and requires very low voltage to work. So it effectively sucks every bit of energy out of batteries. This type of circuit is often called "Joule Thief", because it works as though stealing every bit of energy (Joule is a unit for energy) out of battery.

I'm calling this project Night Joule Thief.

*The kit purchasing info can be found here: https://www.theledart.com/products/night-joule-thief-led-night-light-kit

Step 1: Features

Here are the highlights of the Night Joule Thief.

  • Compact & streamlined design
  • Uses only one AA battery (or any 1.5V battery you can hook up to)
  • Easily adaptable to different size batteries - hook up holes to attach home made clips
  • Two white LEDs
  • Automatic turn on via a light sensor (adjustable sensitivity level)
  • Energy efficient - works even with a run-down battery, down to 0.6V
  • Choice of through-hole only components or SMD - mix & match on the same PCB

Step 2: Technical Overview

"Joule Thief" circuit is an inductor based voltage booster circuit to light LEDs with low supply voltage. As most of you know LEDs need higher than 2V (3V for white LEDs), so usually at least two batteries are needed to light them. The "Joule Thief" circuit was published in 1999 and has been quite popular. You can see the principle of the circuit here. http://en.wikipedia.org/wiki/Joule_thief

My version is a variation that uses single coil inductor, to make the inductor easily obtainable. I designed the circuit using readily available parts only, to make it an ideal DIY project.


The L1, Q2, Q3, C1, R2, and LEDs D1 & D2 make the Joule Thief. And the Q1, and the rest of the parts form the light sensor. CdS is the device that actually senses the light and change its resistance accordingly. When the surrounding of CdS is bright, it has low resistance (anywhere around 1k to 3k ohm), and when the surrounding is dark, the resistance goes up to 100k to 3M ohm range. So in this circuit, the base voltage of Q1 is controlled by the ambient light level. When the base voltage of Q1 goes more than 0.6V below the power supply(battery) voltage, current goes through R1, turning the Joule Thief circuit on.

The Joule Thief circuit is boosting the battery voltage up to over 6V to light two LEDs in series. LEDs light up with the battery voltage as low as 0.6V! Amazing!

PCB layout can be downloaded as an editable PDF, so you can etch your own board if you like. Custom 2 layer PCB and kit are available for sale as well. The 2 layer PCBs have extra front pads for SMD where possible, so you can build the same circuit with SMD parts as you wish.

Parts List
1x CdS Photoresistor (rated 3k - 0.3M ohm) (CDS1)
1x 1k ohm (R1)
1x 100k ohm (R2)
1x 10k ohm (R3)
1x 50k ohm trim pot (VR1)
1x 22pF (C1)
1x 470uH (L1) (anywhere between 22 - 470uH would work - might have to reduce the C1 value however)
1x 2N5401 or equivalent (Q1) (or just about any general purpose PNP transistor, such as PN2907, 2N3906, etc...)
2x MPSA06 or equivalent (Q2, Q3) (or just about any general purpose NPN transistor, such as PN2222A, 2N3904, 2N4400, etc...)
2x LED (D1, D2) (Just about any LEDs can be used)
2x Battery Clips

Step 3: Assembly

The assembly is very straight forward. Insert the parts into the PCB, and solder them. Start with smaller components, follow the order listed below.

Parts List (in assembly order)
1x 1k ohm (Brown - Black - Red - Gold) (R1)
1x 100k ohm (Brown - Black - Yellow - Gold) (R2)
1x 10k ohm (Brown - Black - Orange - Gold) (R3)
1x CdS Photoresistor (rated 3k - 0.3M ohm) (CDS1)
1x 50k ohm trim pot (VR1)
1x 22pF (C1)
1x 470uH (L1)
1x 2N5401 or equivalent (Q1)
2x MPSA06 or equivalent (Q2, Q3)
2x LED (D1, D2)
2x Battery Clips

Transistors and LEDs have polarities, so make sure to insert them in the correct orientation. Battery holders need a bit of force to snap into the holes. They attach from the back side of PCB as you can see in the picture.

Once everything is soldered in place, double check the part placement, orientation and solder joints. Then insert a battery. The polarity is marked on the front side of PCB.
If you don't see the LEDs light up, don't worry. The room is probably too bright. Take a piece of black paper or tape and block the light from hitting CdS light sensor. (and/or darken the room) If the LEDs still don't come on, turn the trimmer (the little orange thing) with a screw driver, counter clockwise. This makes the sensor less sensitive to light, so the LEDs will come on by just placing the sensor under shade, or turning off the room light.

View the step by step pictures of assembly here: https://www.instructables.com/id/Joule-Thief-LED-Night-Light-Kit-Step-by-Step/

Step 4: Performance

This little night light performs very well. For starters, the brightness is not bad for using just one AA battery. I've been using these as flashlights as well.

The light sensor also works very well. Once adjusted, the light is steadily off during the day, even when you put the sensor under shade. Only when you block the sensor by a black object, the light would turn on. Yet after dusk, the light would come on when you turn off the room light.

A fresh battery lasts for weeks if only used as a night light. And the best use of this light is to "revive" used batteries. Those batteries from remote controls, cameras, etc. usually have quite a bit of juice left in them. Joule Thief sucks the juice out of those batteries till the last drop. It's like getting free energy when you can use something that were going to be thrown out.

Step 5: PCB & Kit

If you are handy, you can etch your own PCB, and build this night light entirely DIY.

However, to spread the goodness of Joule Thief and to contribute to the greener earth, I am putting together the PCB & kit available.

The details can be found here: https://www.theledart.com/products/night-joule-thief-led-night-light-kit

<p>i tried by my self by joining circuit on bread board. but it is not working please help me.</p><p>as i am connecting the supply LED glows on and does not effect with the LDR.</p><p>please help.</p>
i like it!
Very good project thanks for sharing <br>
<p>I am wondering whether a motion detector added to this circuit...</p>
<p>Hi, i wanted to know if i could use a rechargeable battery and solar panel with this circuit, so that we can make it to run for long time. if possible please specify the voltage rating for the solar panel.</p><p>Nice work and please keep posting good work.</p>
<p>When the led lights up, it doesn't affect the light sensor? </p>
<p>Not under normal use - those clear LEDs project light forward, so the light doesn't hit the light sensor. But if you have a reflective object near by, you can see the LEDs dim as their light hits the sensor.</p>
Does it have a block diagram?
<p>I bought the kite and it was shipped wicked fast... Took me about 30 mins to assemble it and it worked right off the bat. I put a 'Dead' battery that I pulled out of the garbage (it was in my cordless mouse) and it powered it over night and is still going just as bright.<br><br>Now i am going to try building one from scratch. <br><br>Thanks again... This one will go in a custom etched Sun Jar for my Girlfrind !!!</p>
Great to hear the success story! It's amazing how much juice those &quot;dead&quot; batteries still have.
The PDF should be printed on what size of paper? Letter or A4? Does it matter?
&ntilde; deu certo aki eu coloquei um bc548 entre o negativo e liguei no capacitor cer&acirc;mico, o LDR coloquei na base e liguei no resistor de 1k
<br>Essse circuito e t&atilde;o leve que eu coloquei na minha pipa com uma pilha recarreg&aacute;vel voou de boa vlw pelo circuito <br>
Very neatly done! However perhaps instead consider hacking a solar garden lamp ? Most of these now use a 4 lead &quot;quadistor&quot; that'll simplify your circuitry!
I'm aware of that IC, but can't find anywhere to purchase. (except taking it out of a garden light) Do you have a source?<br> <br> Also, that IC won't work with this project because it uses the solar panel as a light sensor...<br> <br> Aki<br>
Simply source them from cheap Solar Garden Lamps ! These things are a parts goldmine anyway- for ~$2 you get a PV,NiMH/NiCd cell, a switch,battery holder,inductor &amp; the &quot;quadistor&quot; circuitry!
I bought a few of these, only to find that the IC is a SMD, potted onto the board. Drat. There are 8 traces that run under the potting glob, so no clear answers. There are only 3 resistors and two caps, no Schottky and no inductor. <br> <br>I think I&quot;ll buy a kit from ledartist!
Just grab ZE002 from a solar garden lamp -for just a few $ these lamps are a parts goldmine !
Hey, I'm noticing the inductor has a much longer lead on one side. Does this mean I need to worry about its orientation on the board? I'm probably just being overly cautious, but want to make sure.
Inductor orientation doesn't matter for this circuit.<br> <br> Aki
You can buy something that does the same thing for less than &pound;1 with the added advantage that it contains a solar panel to recharge the included NiCd or NiMH cell during daylight. It,s called a solar garden light!
It is amazing what a mass production can do... However where's fun in just buying things? Building things with your own hands and&nbsp;learning&nbsp;from the process - isn't that the DYI&nbsp;spirit?
Here's a Joule Thief with 10 LEDs on a 9v battery: <br> <br>The inductor is simply a nut and bolt. It works just as efficiently as a ferrite core and it's easy to find.
Good day, can you please give illustration on how to wind the wires on the bolt and in which part did you joined the wire to make it out of phase. I would like to make one like this from above pictures. Thank you so much.
Today I put together the first of the kits that I bought. For an electronics newbie like myself identifying each pert with a picture would have made life easier. Anyway, I managed to use the photos in the instructable to get it right. The thing does not work for me though. I have checked everything twice and still nothing. I even wrapped the battery in paper in case it's housing was shortening out the circuit. Still nothing. My only thought is that part L1 (470uH) is polarity sensitive. One pin was shorter than the other but there was nothing in the instructions to indicate that it should go in a certain way. Before I start desoldering can you tell me if this is likely to be the cause. <br> <br>Thanks, Wayne.
I feel so foolish - the problem was not the circuit but the power supply. 3 out of 3 batteries that I tried it with were all dead flat. It is all sorted now. Hooray!
Ha! Congrats anyway!<br> <br>
Hello Wayne,<br> <br> Inductors don't have polarity par-se, but they indicate the polarity in terms of&nbsp;magnetic&nbsp;field. Only matters when you have two or more inductors sitting close together.<br> So if your unit is not working, please check other things, such as;<br> - polarity of LEDs<br> - correct transistors - Q1 and Q2/3 are different<br> - resistor values<br> - quality of solder joints (open or short to&nbsp;adjacent&nbsp;pads).<br> <br> Did you look at this i'ble?&nbsp;<a href="https://www.instructables.com/id/Joule-Thief-LED-Night-Light-Kit-Step-by-Step/" rel="nofollow">https://www.instructables.com/id/Joule-Thief-LED-Night-Light-Kit-Step-by-Step/</a><br> <br> Lastly, make sure to test your unit in a very dark place. Also test with the trimmer turn to the both&nbsp;extremes.<br> <br> Good luck,<br> Aki
Is ti possible to bypass the CdS cell and Potentiometer with a switch. Would I have to change the resistance of R3
That's pretty simple. Just leave the CdS out, and put a switch where the pot was. See the PCB image with note.<br> No need to change R3.<br> <br> Aki
or is there any possibility that i can buy your circuit board here in the Philippines? have you distributed already your circuit board in the market? please help me get one of it. thanks a lot.
<br> Hello!<br> <br> Yes you can purchase the PCBs. Please see the pricing/details here:<br> <a href="https://www.instructables.com/community/Joule-Thief-LED-Night-Light-Kit-PCB/">https://www.instructables.com/community/Joule-Thief-LED-Night-Light-Kit-PCB/</a>
hello. My name Is MJ Laurel. Actually I am from the Philippines. I m an avid fun of DIY projects at instructables. but I am fascinated more with your bright idea of using used batteries through your Joules circuit, I would like to know how much is the cost of your Joules circuit board. I really want to assemble one but I do need a circuit board. I got a little knowledge about electronics but i know how to read the instructions and the circuitry. Is it possible for me to get one of your circuit board? how much it will cost for me? I do hope you will reply me. thank you so much for this very bright idea.
You can also leave out Q1 and put a switch between battery positive and R1.<br>
I think this is a great idea, I have a project I am working on and need someone to help me design a prototype PCB board. I am willing to pay once the non discloser and non competes are signed....... Great job !!
<br> Sounds good. Let me know when you are ready!<br> <br> Aki<br>
Aki, I am ready, I am new to this forum, we need to be able to communicate outside this forum, how do you suggest we do that, are we able to exchange data here ??
I will PM you.
lol now i feel dumb ! PM ??
<br> You can send personal message via profile page. I already sent you one, so you will get it.<br> <br> Aki<br>
Hi, I just got the kit in the mail today and started to solder it together, but the 50k ohm trim pot only has three legs, nothing in the middle...am I missing something?
Ahhh never mind, it works!
<br> Great! Thanks!<br> <br> <br>
You're not missing anything. There is an extra hole there to accommodate different type of trim pot, so please ignore that hole.<br> <br> I just wanted to design the PCB to be as versatile as possible...<br> <br> Aki<br>
Kits &amp; PCBs os Night Joule Thief are available. Please see the forum post for the details:<br> <a href="https://www.instructables.com/community/Joule-Thief-LED-Night-Light-Kit-PCB/">https://www.instructables.com/community/Joule-Thief-LED-Night-Light-Kit-PCB/</a><br> <br> Thanks!<br>
Really nice circuit board! I like the choice of SMD and through hole on the same board!
I got the prototype from him last weekend, I've been using it with a used AA battery, which had been removed from a TV remote. It is almost a week since I put the used battery on the Night Joule Thief, it still emits strong light at night!

About This Instructable




Bio: I am an electronic artist living in Brooklyn, NY. I work with LEDs and microcontrollers to create beautiful objects.
More by ledartist:T962A SMD Reflow Oven Fix/Hack Color Organ Triple Deluxe II Aurora 48 - 48 RGB LED Sequencer 
Add instructable to: