Question: Another usage to Timer in the microcontroller is to generate a PWM signal. Assuming you need to design a smart street light using STM32 microcontroller.

Another usage to Timer in the microcontroller is to generate a PWM signal. Assuming you need to design a smart street light using STM32 microcontroller. Configure the ADC to measure the light intensity of the surrounding using a LDR sensor.
Using the on-board LED to represent the street light, dim the brightness of the LED accordingly to the light intensity. Then, set a threshold to turn off the street light completely when the surrounding is bright enough.
also draw a circuit diagram in proteus

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!