Automatic Street Lamp LM393
Build an automatic street lamp using the LM393 comparator to turn the lights ON at night and OFF during the day. Learn the circuit diagram, components, working...
Introduction to Automatic Street Lamp Circuits
Automatic street lamps are designed to operate without manual intervention, turning ON at night and OFF during the day. Using a light sensor (LDR) and a comparator IC, the system monitors ambient light and controls the lamp accordingly. Compared to simple transistor circuits, the LM393 comparator-based design provides more stable operation and precise switching.
2 switch one battery diagram:
The symmetrical 12V power supply is also able to apply +12V and 1-12V as well as a ground reference. This form of supply is commonly found in the operation of operational amplifiers, analogue circuits, audio amplifiers, and measurement equipment that cannot operate into a single polarity. Design normally begins with a center-tapped transformer, which converts AC mains into two secondary outputs. These alternating current signals are then rectified by means of a full-wave bridge rectifier, with the help of diodes. To smooth out the DC output, large electrolytic capacitors are added as a filter. To attain steady voltages, +12V and -12V are provided with 7812 and 7912 regulators, respectively. The center tap of the transformer is used to take the ground. The symmetrical connection in this arrangement provides circuits with equal positive and negative voltages to minimize distortion in the audio signal, and to permit op-amps to both amplitude-swing about zero volts and to swing through zero volts. A 12 V symmetrical power supply is a basic building block required by students, amateurs, and professional electronics engineers.
⚡ Work & Installation (Input → Output):
A 12V symmetrical power supply provides +12V, -12V, and GND output, which is commonly used in operational amplifiers, audio circuits, and analog systems. Below is the input-to-output workflow and installation guide:
- Mount regulators on a heat sink if current > 500mA.
- Use thick wires for transformer secondary to handle current.
- Ensure correct polarity while wiring capacitors and regulators.
- Test the supply first with a multimeter before connecting to a circuit.
- Optionally add a protection diode across each regulator to prevent reverse current damage.
Testing & Final Adjustments:
Once the symmetrical power supply has been wired, start by verifying the transformer ssecondary voltagewith the help of a multimeter. Make sure that the center tap is zeroing against both ends. Measure the rectifier outputs next to ensure that there is a positive and negative DC rail before regulation. Check ripple-free DC output. With capacitors connected, check ripple-free DC output. Connect measurements (7812 and 7912) and ensure that the outputs are accurate at +12V and ground 1-12V. When the voltages are not correct, be sure that there is no effective regulator IC, improper grounding, or poor heat sinking. To be stable, large electrolytic capacitors (2200µF-4700µF) and small ceramic capacitors (0.1µF) should be placed close to the regulators. Last but not least, do the testing with a small load like an op-amp circuit or LED indicators, and then connect to the sensitive equipment. This keeps the +12V and 12V rails balanced so as not to cause destruction of the circuit.
Frequently Asked Questions - Automatic Street Lamp LM393:
What is an automatic street lamp using LM393?
A street lamp circuit that turns lights ON at night and OFF during the day using LM393 comparator.
Which component detects light?
Light Dependent Resistor (LDR) senses ambient light.
Can it switch AC lamps?
Yes, using a relay rated for the AC lamp load.
How does the comparator work?
It compares LDR voltage with a reference voltage to switch the load ON or OFF.
Can it be used for home gardens?
Yes, it is suitable for outdoor home lighting and security.
How is sensitivity adjusted?
Using a potentiometer connected to the reference voltage input of LM393.
What power supply is required?
DC supply for LM393 and relay driver; AC supply for lamp via relay.
Is it energy efficient?
Yes, it only turns ON the lamp at night, saving electricity.
Can it be used with LEDs?
Yes, low voltage LEDs can be connected via transistor or MOSFET driver.
Is manual operation needed?
No, it operates automatically based on ambient light.