Wemos D1 Night Light
Objectives:Build a circuit and program that responds to the environment.
- Wemos D1 https://amzn.to/2yYBbMY
- Photo Resistor
- 10K Resistor
Connect the 3.3+V to the photo resistor. Connect the photo resistor to a 10k Ohm and connect it to GND. Connect the line between the photo resistor and the 10k resistor to the A0 on the Wemos board.
Compile and upload the sketch to the board.
- Adjust the threshold values to work better for your environment.
- Change it so that as it gets darker the light get's brighter.
- Add a brighter light.