April 2017
Intermediate to advanced
268 pages
5h 36m
English
In this recipe, we will look at automated light control using M2M. We will work on a project that will turn a light source on or off, depending on the light intensity of the surrounding environment. Two ESP8266 boards will be used to accomplish this. One of them will have a light dependent resistor, and the other will have a relay connected to it.
You will need the following hardware components:
Connect the analog input of the ESP8266 board to an LDR connected to a 10 kΩ resistor in a voltage divider circuit, ...