pwm witch ldr

Thread Starter

Dario Muñoz

Joined Apr 27, 2019
1
help I need to make a pwm circuit with a ldr q control your work cycle. there are many diagrams of pwm but with potentiometer and none with ldr I have already tried everything
 

Ian Rogers

Joined Dec 12, 2012
1,136
I would have thought that an LDR is a potentiometer.. Albeit a much smaller range... Just take a PWM design and change it to suit the different values the LDR gives... It will help if you explain exactly what you want it to do... I take it that the "work cycle" is daylight?
 

danadak

Joined Mar 10, 2018
4,057
If you want a complete linear range of Duty Cycle versus Light Level
this would be fairly easy to do with an ATTINY or a PIC or a PSOC.

upload_2019-4-28_6-28-8.png

Could add LCD and UART interface (also internal to chip) for more human
interface capability.


Regards, Dana.
 
Top