Microcontroller › 8051 › automatic street light controller dbt › forget about giving direct
March 7, 2014 at 8:00 am
#11229
Participant
forget about giving direct output of LDR to micro controller
because you need to vary intensity so you have to use ADC.
as light intensity falling on LDR changes LDR op voltage chages.
this voltage is given as input to ADC so its digital output will also changes. change in this output will change intesity of LED.
to change LED intensity use built in PWM of AVR controller.