## Introduction: Phone Line-powered Flashlight

What do you do when the house power goes out? Look for flashlights! But if you're as sloppy as I am, you're going to see that they are out of batteries since the last time the power went out.

Since, in 90% of the times, the phone line is still working even when the whole city has no light. This instructable will show how to make a flashlight that uses the phone line power. (Yes, the phone LINE delivers a small amount of current to your house)

Before I start, I'd like to say that I did not find anything forbidding me to plug this into my phone line, but you should check whether it's legal in your country and if using the phone line current is prohibited by the phone company's contract. (and take it easy on the comments. English is not my first language and this is my first instructable)

Don't forget to rate!

## Step 1: What You Need

The materials to make the flashlight are:
1x Phone wire
1x Box to put everything inside
12x White LEDs (3.0V / High Brightness)
1x LM317L or LM317T (Voltage Regulator)
4x IN4007 (Diode)
1x 6.8K ohm resistor
1x 270 ohm resistor
(the 2 resistors values may change depending on your phone line - See step 4)

Sorry for the picture, I've made this project a couple of years ago (way before I found the Instructables website) so everything is already put together.

## Step 2: Soldering It Together

So this is the schematic for the circuit.

My phone line delivers 48V DC and something around 20mA, and when the phone rings, it delivers 96V AC.
This works in a way that the phone line won't stay busy while the LEDs are connected and when you pick up the phone, the light goes off and allow you to use your phone normally.

-Solder all 12 LEDs in series (negative pin of a led to the positive of the next led)
-You will use the four IN4007 to make a Bridge Rectifier.
-Solder the negative pin of the last LED to the negative pole of the bridge and solder the positive pole of the bridge to the input pin of the LM317.
-To the output pin of the LM317 you will solder the 270 ohm resistor (R2), and to the adj. pin you will solder the 6.8K ohm resistor (R1).
-R1 and R2 will be soldered in parallel and then to the positive pin of the first LED.
-In the middle of the Bridge, where the ~ signs are, you will solder the RED and the GREEN wires that comes from the phone wire.
(The bridge is necessary to rectify the 96V AC when the phone rings)

Some phone wires have 2 more wires inside (yellow and black), we won't use them here.

Note: The third image is the schematic I got from LaserDave, I promissed I'd post it up, so here it is!
A want to point it out that I have not tried to build it from his schematic, so if you have any question look him up.

## Step 3: Put It in a Box

I found a little plastic box to put the circuit in. I punched holes on a white cardboard and glued it on the opening to keep the LEDs in place.
It doesn't look good, but this was my first electronic project and I didn't know anything about it.
It will look good if you use a perfboard to solder the LEDs and even better if you find a 12 LED flashlight with a reflective lid to mount everything in.

I drilled a hole on one side of the box, put the phone wire through it, tied a knot and put glue on it so if I pull the wire, it won't break the red and green little wires.

## Step 4: Test and Adjustments

You're done, just plug it in the phone line and enjoy! (also works with DSL lines)
It's not like a 100W light bulb, but it's perfect for when the lights are out!

These settings will give you a very bright light, but in some cases you might get busy line on your phone.
To fix that you can change the R1 and R2 resistors.

The higher is the R1 and the lower is the R2, the brighter is the light. But it's more likely to get busy line.
If thats your case, you can put a higher R2 resistor (330ohm).
If you still get busy line, put a lower R1 resistor (3.3K ohm or 1K ohm)

If you don't want to test a bunch of different resistors, just stick with R1 = 1Kohm and R2 = 270ohm. This will work for sure, but you will lose a little amount of brightness!