Circuit
Phone Lux meter app results
Calibrated results
Using LDR as a lux sensor
a.Signal processing of LDR as a sensor
b.ADC of the signal
c.Digital filtering –smoothing (Low pass digital filter)
Smoothening Effect (Red Color)
d.Calibration using Android phones lux sensor.
Smoothed sensor value versus android lux sensor reading
Comparision.
TINKERCAD
1.Calibrate the rotary potentiometer to get angles in degree ?
2.Control DC motor speed using PWM.
3.Attach the DC motor & potentiometer, and control theangle of the DC motor.
•Proportional control = error * Kp
•Use the calibrated potentiometer code and control dcmotor code to get this task done.