Chapter 12

Connecting an Edge Device to the IoT Application

In the previous chapter we developed an IoT application that will ingest temperature and humidity data. This data will be processed by an ML service and a prediction will be made: is it likely to rain or not?
All that remains now is for us to build a device that can feed the required data into our IoT application and another device (or perhaps the same one) to receive the predictive data from the ML service and display it.

The MakeCode project is available here and embedded below: