Wemos D1 Night Light

Objectives:

Build a circuit and program that responds to the environment.

Parts

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

  1. Adjust the threshold values to work better for your environment.
  2. Change it so that as it gets darker the light get's brighter.
  3. Add a brighter light.

Comments

  1. These lights are beautiful and can enhance the interior of a home. Your way of writing and making things clear is very impressive. As a seller of neon lights and custom neon sign board, I am glad to come across this. Thank you for sharing this. Great blog.

    ReplyDelete
  2. 1XBET Nigeria 1XBET - Online gaming experience - Xn
    The first online betting website ボンズ カジノ in Nigeria is bet365 the 1xbet Nigeria 1XBET 1xbet365. 1XBET - Online gaming experience - Xn

    ReplyDelete

Post a Comment

Popular posts from this blog

Wemos D1 Blink

Wemos D1 Push Button

Micro LED Light Bars