EveryCircuit
Contact
Reviews
Home
CircuitGuru12345
modified 4 years ago

Night Light Circuit Using LDR - Dark Sensor

5
9
559
09:19:17
Hello everyone! This circuit is a Dark Sensor Circuit. Obviously, in this software, there is no LDR. For those who aren't familiar with the LDR/Photoresistor, it is a type of Resistor that changes it's resistance based on the Light it receives. If the Light Level increases, the Resistance decreases and Vice Versa when it's dark. I substituted a Regular Resistor in place of a Photoresistor. To act like it is Dark and the LDR receives little Light, Increase the Resistance of the 6k Resistor. This is because when an LDR receives little light, it increases it's resistance. You will see that the LED will light up once you increase the resistance of the 6k Resistor. Also, I recommend to take a look at the Graph of the Collector of the Transistor. The Collector is the Output of a Transistor. You will see how the Output Voltage changes as you increase the "LDRs" Resistance. How it works is the LDR is Connected to a 47k-100k Resistor. The LDR is connected to GND and the 47k Resistor is Connected to +12v (You can use 5-12v). When 2 Resistor each connected to opposite sides of a Battery are connected, it forms a Voltage Divider. When one Resistor from those Two changes it's Resistance, the Output voltage will be different. Same thing with the LDR; it is changing it's Resistance. That Voltage goes to the Base of the Transistor (See below for what an NPN Transistor is) which gets amplified into an LED. And that voltage that is changing depending on the Light goes to that LED from the Transistor A Transistor is an Electronic component that amplifies a Signal/Voltage. It takes that input at the Middle pin or the BASE, Gets Power (Usually GND, but not always) from the Emitter, and the Output is at the Collector. To use a Transistor, all you have to do is Connect the Emitter to GND, the Base to the Input (The Voltage Divider for me) and connect the Collector to the LED or whatever you are using as an Output I hope you enjoyed and found this helpful! Please Bookmark this for further reference and leave a comment! Thank You! We are using a BC547 NPN Transistor for this Circuit
published 4 years ago
CircuitGuru12345
4 years ago
See the Description for Details, How it Works, and More! Please Bookmark this for further reference and leave a comment below! Thank You!
giomix
4 years ago
You could replace resistor with pot to simulate ldr resistance variation
CircuitGuru12345
4 years ago
Yes, good idea! I had thought of that, but I thought that how would that One point on the Output be connected to both ends. But, I agree and have could have made it connected to a node! Thanks for the suggestion and will change it if I can!
BillyT
4 years ago
Not too bad, the daylight idle current is a bit high thought. I enclose a suggested circuit revise, drawing laid out as per IEEE layout standards. http://everycircuit.com/circuit/4593433963134976
CircuitGuru12345
4 years ago
Thank You for suggesting! One thing.....I have created this in real life, and it works totally just fine! The daylight idle current did not affect anything.
BillyT
4 years ago
The idle current would only be a problem if the device is battery powered.
Robert_Kidd
4 years ago
The base is not always the centre pin of the transistor. Check the device pin out before use.
CircuitGuru12345
4 years ago
Yes, you are correct, I just added in the Description we are using a BC547 NPN Transistor, which the Base is the Middle pin. Thanks
CircuitGuru12345
4 years ago
@BillyT I know you are probably not going to read this, but I just realized that I would like to know more about Daylight Idle Current. I have never heard of it before. If you or anybody else would like to explain that to me, that would be appreciated....thanks!

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2025 by MuseMaze, Inc.     Terms of use     Privacy policy