Posts

Showing posts with the label A0

Wemos D1 Night Light

Objectives: Build a circuit and program that responds to the environment. Parts Wemos D1 https://amzn.to/2yYBbMY Photo Resistor 10K Resistor Directions Clone https://githubcom/awoehler/electronics.network Open Examples/NightLight/NightLight.ino 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.  Exercises 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.