May 2020
Intermediate to advanced
262 pages
6h 48m
English
The following diagram shows a weather predictor I built using the ESP-12F module. Although it is not an edge analytics application per se, it does show how to connect a microcontroller to an LED and the internet. The weather predictor uses barometric pressure values taken for a web service to determine whether there will be good weather coming:

As you can see in the diagram, an RGB LED is connected to the GPIO ports on the ESP-12F. The type of RGB LED used in this circuit has a common anode. Hence, the RGB LED is connected as follows: