In this project, we will attempt to reproduce the behavior of street lights. Remember that street lights turn ON when it starts becoming dark, i.e., when the light in the environment drops below a certain intensity. When the intensity goes above this point (when it becomes brighter) the lights are turned OFF, automatically. In our project, we'll use a LED and it should automatically turn ON or OFF based on the intensity of ambient light. To do so, we will use a light sensor, also called photoresistor
- Ambient light intensity less than 1/2 max: LED OFF
- Ambient light intensity equal or more than 1/2 max: LED ON
Initial project state
Click on the link below and complete the wiring of the circuit.
Link: Part 1: Wiring
Now, you can move on to start writing your program and testing your sensor. Click on the link below and complete the calibration and configuration of the circuit.
Link: Part 2: Calibration
Lastly, and most importantly, you have to create the logic to make your circuit behave as needed for the project. Click on the link below and complete the logic of the circuit.
Link: Part 3: Logic