Sensor LED Flashlight (9v, With Light / Dark Detector Video)

Introduction: Sensor LED Flashlight (9v, With Light / Dark Detector Video)

About: "May the good belong to all the people in the world. May the rulers go by the path of justice. May the best of men and their source always prove to be a blessing. May all the world rejoice in happiness. ...

This instructable is about making an LED flashlite with light / dark sensor. it turns on automatically when its dark and turns off when its day.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Step 1: Collect the Parts:

Here's what you will need:

1. LDR (Light Detecting / Dependent Resistor)
2. NPN Transistor (I have used BC 547)
3. 9 volt battery
4. 9v battery lid
5. Four LEDs, 5 mm bright white
6. 1/4 watt, 100 ohm resistor (per LED, so 400-500 ohms for 4-5 leds)
7. 1/4 watt, 10k ohm resistor (per led)
8. small piece of PCB to mount the assembly.

Note: Instead of items 6 & 7, you can straightaway use a single 500 ohm & 50K (or 100k) resistor each, if you are going to use only 4 or 5 leds....

Additional tools like, solder, solder wire, hot glue or its equivalent.

Step 2: Step 2: Assemble the Parts

1. Mount the four LEDs on the smail pcb with the positive side outside, as shown.

2. Solder the positive legs together and the negative legs as one (in parallel), as shown.

3. Now, connect the positive leg of the 4 leds to the 100 ohm resistor. Connect the loose end of this 100 ohm resistor to the 10k resistor. the loose / remaining end of the 10k resistor should be connected to the central leg of the NPN Transistor.

4. Connect the negative leg of the led to the npn's collector (left leg of the NPN transistor, with the rounded part facing you), as shown

5. Now connect the LDR to the centre leg and the right leg of the NPN.

Now Check: (See the two photos)

Two wire pairs of the final assembly should get used as the positive and the negative side:

- one pair from the ldr & right leg of npn, which goes to negative of battery (or red wire of the lid)

- other from the positive leg of the led alongwith the 100 ohm resistor. This is the positive and should go to the positive of the 9v battery, through the black lid wire.

Step 3: Step 3: Results

2 pics and an mpeg video (BELOW) of the working model.

Step 4: Step 4: Acknowledgements & Ideas


I was inspired by many projects, including those, as under:



Other ideas:

- you can try this with other batteries - 3v, 6v, or 12v.

- you can add a joule thief assembly to it.

- i plan to do an instructable on sensor light on ac mains, later, but someone else may also try, if fully knowledgeable !

& Finally:

Do vote or comment, if you liked the project !


Step 5: My Other, LED Plug Light Project

Participated in the
Halloween Contest

Participated in the
LED Contest

Be the First to Share


    • Arduino Contest 2020

      Arduino Contest 2020
    • First Time Author Contest

      First Time Author Contest
    • Space Challenge

      Space Challenge

    2 Discussions


    10 years ago on Introduction

    Your idea is good but your Photographs needs a lot of improvement.


    10 years ago on Introduction

     very nice, you could plug it to a 9v transformer so it doesnt use up the battery, but then it isnt portable anymore...