Site icon Circuit Ideas for You

Simple Electronic Candle Circuit using LDR

An enjoyable and somewhat basic electronics project is to make a simple electronic candle that uses a Light Dependent Resistor LDR to produce a flickering LED flame that switches on automatically in low light.

To regulate the LED, which serves as the candles flame, the circuit makes use of the LDR variable resistance.

The LED is kept off in brighter situations because the high resistance of the LDR restricts the amount of current that can reach it.

The LED can become active when it becomes dark and the resistance of the LDR decreases, allowing current to pass through it.

Circuit Working:

Parts List:

Component TypeDescriptionQuantity
Resistors1k, 1/4 watt1
1M, 1/4 watt1
Potentiometer10k1
Light Dependent Resistor (LDR)Photoresistor1
SemiconductorsIC LM3581
LED (yellow 5mm, 20mA)1

The Core of the Circuit: The LM358 IC

The LM358 integrated circuit IC is a customized chip that is used in this circuit.

An IC used as an operational amplifier, or op amp is the LM358.

The function of the LM358 in this application is comparator.

Actually, there are two operational amplifiers in one integrated circuit.

The voltage range that the LM358 can operate at is rather broad 3.3V to 32V.

Because of its extremely low current demand the LM358 consumes relatively little electricity.

Building and Testing

The LED ought to turn on when the circuit has been assembled on a solderless breadboard and the power supply has been connected.

Fine Tuning the Light Sensor

The circuit regulates the LED depending on light levels using a unique part known as a comparator.

We may fine tune the amount of light required to switch on the LED by using a tiny control dial VR1 pot

How it Operates in Light

A light sensitive resistor LDR provides relatively low resistance when there is an abundance of light.

As a result, the voltage at the comparators ‘positive input’ is lower than the potentiometer set adjustable voltage.

The comparator turns the LED off because of the small voltage differential.

How it Operates in the Dark

The resistance of the LDR greatly rises in the dark.

In comparison to the potentiometer setting this results in a greater voltage signal at the positive input.

The LED glows when the comparator senses a greater voltage differential.

Sensitivity Adjustment

We may modify the circuits sensitivity to variations in light by adjusting the potentiometer.

By twisting the knob more, you may make the LED more sensitive so that it will turn on in even very slight darkness.

If you adjust the knob slightly to make the LED less sensitive, it will only turn on in really dark settings.

Sensitivity testing:

You may play about with the potentiometer to observe how it changes the responsiveness of the LED.

You can keep your hand somewhat away from the LDR and still have the LED turn on by selecting a higher sensitive setting.

To activate the LED on a less sensitive level the LDR must be fully covered.

Formulas:

By employing an LDR, one may design an electronic candle circuit that simulates a candles flickering effect by adjusting the circuit to the ambient light levels that the LDR detects.

The following is a simple formulas that are commonly used to such a circuit:

Equation for Voltage Divider:

One may determine the voltage across the LDR and the resistor VLDR by utilizing:

VLDR ​= Vcc​ * RLDR​​ / RLDR​+Rfixed​

where,

Current Limiting Resistor for LEDs:

Determine the resistor value RLED for current limitation:

RLED​ = Vcc​−Vf​ / ILED​

where,

This circuit serves as a basic example and may be further tailored to meet individual needs, such as power supply voltage, flicker speed, and desired sensitivity.

Before implementing the design, simulations can aid in its validation.

To get the desired candle like effect, adjust potentiometer settings and resistor values.

How to Build:

To build a Simple Electronic Candle using LDR follow the below mentioned steps for connections:

Additional Notes:

Conclusion:

To conclude, this LDR electronic candle circuit ingeniously use the LM358 IC comparator chip to control the on and off of an LED in response to light levels.

The circuits sensitivity may be changed by varying a potentiometer allowing us to create a basic automated ‘candle’ that glows in the dark to resemble genuine candles.

References:

Design and Development System of Electronic Candle

Datasheet IC LM358

Exit mobile version