Hey, guys ☺

Looking for some beginning DIY projects in electronics..! then you have come to the right place

In this project, I'm sharing my first electronic project.
Which I teach to every new one in electronics......

New to electronics..!
You are welcome to this place
Let's learn ......

(only for beginners ,if you are an expert skip this project.....)

## Step 1: Beginning......

First, let us learn about the electronics components used for this project

● Resistor:
Used as what its name says(resistance)
It provides a potential difference in a circuit.

● Potentiometer(pot meter) :

Using this we can change or adjust resistance by turning the knob or moving it.

● Transistor (that 3 legged thingies)

Used as an amplifier, automatic switch etc.(in this project we are using it as an automatic switch).

● LDR (Light Dependent Resistors) also known as cadmium cell:

LDRs or Light Dependent Resistors are very useful, especially in light/dark sensor circuits. Normally the resistance of an LDR is very high, sometimes as high as 1000000 ohms, but when they are illuminated with light resistance drops dramatically

for more details visit this site

● LED (Light Emitting Diode) :

Gives out a light when electricity is applied to the respective electrode.

## Step 2: Let's Start Building........

We are going to make a simple automatic light which automatically lights up when it's dark.

## Step 3: Things You Need.....

1. 2N2222A transistor

2. 100k pot meter

3. 1k resistor (brown ,black,red codes)

4. 220ohm resistor

5. LDR

6. 9v alkaline battery

7. LEDs

8. Switch (optional)

others

they are available at less than 3-4\$

● wire

● soldering iron and prototyping PCB (optional)
I first made it without soldering.

## Step 4: Circuit Diagrams.......

Gather everything ......

connect the middle and any other one pin of pot meter, leave other (as in picture 2 in this step) and connect it to the circuit.

## Step 5: Transistor

NOTE :
A transistor has 3 legs middle one is the base (B)and other two is the collector (C) and emitter (E) respectively as in the picture for this transistor.

You may be confused at this point if you are a beginner(I also was confused at first,I learned from my mistakes). That is why I remind you learn from mistakes , and don't give up if you fail,try till you win(at least that is what happened to me......). That is what the Edison did before he invented the light bulb . So NEVER EVER GIVE UP.

## Step 6: Have You Finished.....

All done.......

Connect the circuit to a 9V battery positive and negative respectively.

(Please forgive me for my images ,if you didn't understand it.what do you expect , first tries,that too from a kid who does not have a soldering iron.......)

## Step 7: Let's Test........

Take the circuit to a dark place or hide LDR with your finger and switch on the circuit
The LED should light ,if not adjust the pot meter( turn it or move it).

After the LED glows take your hands away from LDR or come back to a lighted area,the LED should turn off,if not again adjust the pot meter.

if it all works as said.

if not rewire the circuit or find the fault(don't give up).

Frequently adjust pot meter for better performance .

you're done....

when its dark LED glows automatically

when it is bright it switches off automatically.

And don't forget to improve my instructable.......
I will be back soon with another instructable.........

This circuit is not that much powerful to work with a relay.if you want a circuit which works perfectly with a relay just like this one.I have tried the 555 one but it is a little bit laggy. if you want a more powerful circuit you can visit this instructable

https://www.instructables.com/id/Modified-AUTOMATIC...

<p>NICE! Especially the LDR gif animation! :)</p>
<p>Thank you TECHNOMAN this was a very fun project!</p><p>I have enjoyed making this.</p>
<p><strong>I'm glad to hear that you've enjoyed making </strong>\ (&bull;◡&bull;) /</p>
<p>I understood the overall working, etc. However one thing is not clear:</p><p>Can't we use a simple junction in place of the transistor? What its exact role? How it the common base configuration helpful?</p><p>Thank you one again!</p>
<p>hi there,</p><p>can anyone explain or show me best the way to interface switches and potentiometre as and input and LED as an output? and which system would you recomend to use in order to make it happen?</p><p>im stuck with my project.</p><p>My project is about lighting system in automotive... help help pleaseeeeeeee?!!!!</p><p>anyone out there?!!!!</p>
Do u make arduino projects?
<p>hi </p><p>i want to connect 12v charger and don,t want to use 9v battery. what components to be used?</p>
<p>HI,</p><p>I want to make 220 volts direct drive LDR based lamp drive with minimum space to fit with same holder means transformer less even use triac or any solid state.</p>
<p>Please answer my message....</p><p>I made a very simple circuit using a 9v battery , a LED , and a LDR. But I lights when there's light and turns off in dark. Please help. </p>
u must have replace the base (ie , the middle leg of the transistor)<br><br>Redo do it
<p>I made it . Thanks...</p><p>Do u know I m just 12 years old , and I made that circuit on breadboard. ........</p><div></div>
good work prathmesh
<p>I made it . Thanks...</p><p>Do u know I m just 12 years old , and I made that circuit on breadboard. ........</p><div></div>
<p>I made it . Thanks...</p><p>Do u know I m just 12 years old , and I made that circuit on breadboard. ........</p><div></div>
<p>I made it . Thanks...</p><p>Do u know I m just 12 years old , and I made that circuit on breadboard. ........</p><div></div>
<p>I made it . Thanks...</p><p>Do u know I m just 12 years old , and I made that circuit on breadboard. ........</p><div></div>
Sir ,I want to insert a buzzer instead of an LED .please tell me which ae the other materials required for it &amp; how to make it.please send me circuit diagram also.
Just remove the LED and 220 E resistor and connect a buzzer in that place.Make sure that you have conmected the +ve &amp; -ve lead correctly (ie,connect the +ve lead of the buzzer to the emitter of the transistor and the other -ve lead to -ve of the battery
Take a look at this diagram
<p>sir if i want to insert both led and buzzer using two transister ,then what will be the circuit?</p>
I m a beginner
it works perfectly fine ,perfect for using in places where the light-to-dark cycle is fast
Tnx ☺
<p>hello sir. can you please tell me why my circuit isn't working when its dark and it works when there's light. </p>
U must have replaced the base of the transistor <br>ie. the middle leg of the transistor <br><br>Check the Diagram and redo it
<p>Sir can u please tell how to use the resistance presets i.e. the variable resistor, the connections? Need it ASAP...college project</p>
U can see 3 leads comming frm the Potentiometer .just simply join the middle and any one of the side leads together and make to leads <br><br>connect it to the circuit
Hello sir, can I ask you if we can alter the circuit so that it can power up a DC motor 12V instead of the LED? I was using it for a little project of mine but when I changed the LED for the motor, it wont work. Can you help me how? thanks!
This circuit cannot work with a Relay or Motor because the output (current ) from the transistor is less to work with these things.<br><br>If you want to make the circuit which is able to controll motors <br><br>You can check out my 2nd instructable project<br>Modified #AUTOMATIC NIGHT LIGHT<br><br>https://www.instructables.com/id/Modified-AUTOMATIC-NIGHT-LIGHT<br>
<p>i got it for my university mini project.</p><p>thanx for such kind of project.</p>
tanq u for selecting my project ☺
Sir kindly give me its hand maded circuit diagram with labels of all things like resister , ldr etcc.....plz sir
If you need any further hlp you can ask me
I need it immediately ...I have to show this in my clg....
Plz helppp
Sir kindly help me i made 9v DC power supply with day night circuit but when i connect this circuit with power supply the LED on continously<br>The component i used for this day night circuit is<br>330 ohm resistor<br>220 k ohm resistor <br>LDR <br>LED<br>BC 547 transistor
Sorry for being not able to reply to your queries. I was offline for some days due to exams.<br><br><br><br>Can you pls send the picture of the dc power supply you used and also the wiring side picture of the night lamp circuit.<br><br>I think there may be some problems in wiring the circuit.I would suggest that you use the components described here otherwise it may not work properly.<br>
Sir kindly help me i made 9v DC power supply with this day night circuit but this day night circuit does not when i connect the circuit with the power supply the LED on continously. Kindly tell me where is the fault <br>The conponents i used for day night circuit is<br>330 ohm resistor<br>220 kohm resistor<br>BC 547 transistor and LED
<p>sir. can i consider this as a feedback control system?</p>
I don't think this can work as a feedback controll system<br><br>i have not tried it yet<br><br>But u can try............<br>
<p>may i have the block diagram of this proj. pls. asap. tnx</p>
Sir can you explain the working of the whole circuit..how in light the current cuts off from led and in darkness led glows..plz can u explain that with circuit diagram..
Main part of this circuit is the LDR.This (LDR) thing senses the amount of light available and changes its resistance accordingly.<br>LDRs resistance increases in dark and deceases during day time or when light is hitting on it.This property of LDR is used here.<br><br>Transistor here works as a automatic switch.we have used NPN transistor here,this means that only when we apply a small positive voltage in base then only can current be transmitted from collecter to emitter thus completeing the circuit.<br><br>In this circuit transistors base is connected <br>between 1k resistor and LDR.During daytime resistance of LDR decreases so current takes the easiest route without much resistance. so it travels straight from 1K ,through LDR and reaches negative ignoring the base route<br>(it does not take the way through the transistor because its resistance is high compared to the resistance of LDR in this instance)<br><br>But when it is dark resistance of LDR increases more so current flows to the base of the transistor ( taking the easiest route again which now is through the transistor)<br><br>And from what i have said earlier about transistor we know that when a postive voltage is applied at the base, current will flow from collecter to emitter and then to LED lighting it up and staright to the negative electrode.<br><br>This is how this whole circuit works.<br>mainly it utilizes the pecularities of LDR and Transistor<br><br>(Resistor and potentiometer is used to regulate current in this circuit)
<p>can i use a 330 ohm resistor to replace 220 ohm resistor?</p>
U can use one but the brightness of the LED will decrease according to the increase in resistance.
<p>alright, thank you</p>
Can this circuit work without the potentiometer ?
This circuit may not work properly without potentio meter.<br><br>In this circuit potentiometer is used to control the triggering of LED when its dark.We have to continously set the potentiometer to desired level to make this circuit work properly.<br><br>I was unable to find the exact resistence to use instead of the potentiometer because the resistance needed to trigger changed continuosly according to the light and atmosphere.<br>So i have used a potentiometer so that we can change the resistance according to our desires.