adjusts brightness by detecting ambient light

Thread Starter

ytuehm

Joined Jan 9, 2025
2
How can I design an LED circuit that adjusts brightness by detecting ambient light?

I need to use an op-amp(LM741), and using pre-made integrated circuits is prohibited. How can I generate a PWM signal? I am only allowed to use a DC power source.
 

ericgibbs

Joined Jan 29, 2010
21,390
hi ytu,
Welcome to AAC.
As this is a homework assignment, please post your best attempt at answering, we can then help you.
E
 

sparky 1

Joined Nov 3, 2018
1,218
If I understand correctly the teacher wants students to use an op amp to adjust light control/pwm using ambient light sensing such as LDR.
It is usually true that the teacher will give minimal lecture about PWM. The correct terminology is difficult at first but is essential in applying math.
Here is a video that describes those PWM essential terms that a teachers would recognize. The variables are shorthand used in PWM.

The 555 timer with duty cycle is more documented for replication however the correct output which is pulse width is the important part.
The building block that is needed is a choice, best effort deciding which way to procced often starts with characterizing the sensor.
You can set aside the op amp and focus on getting useful measurements from the LDR, a multimeter and a variable light source.
Your test setup is experimental, looking at an LDR datasheet tells you that you are on track.
 
Last edited:

Thread Starter

ytuehm

Joined Jan 9, 2025
2
How can I design an LED circuit that adjusts brightness by detecting ambient light?

I need to use an op-amp(LM741), and using pre-made integrated circuits is prohibited. How can I generate a PWM signal? I am only allowed to use a DC power source.
(Update)
I will attach the completed state of the circuit. Simulations indicate that it is working.Ekran görüntüsü 2025-01-11 164515.png
 
Top