Creating the edge device files

Let's begin:

  1. The DHT11 temperature sensor is a low-cost, inexpensive, and widely available sensor for measuring temperature and humidity. Using a breadboard, wire up the DHT11 with the LoPy/LoPy 4, as shown in the following diagram:

  1. We will need to start a new project in Atom for our code. Create a new folder on your computer and give it a descriptive name. I've chosen to call my folder Edge Code. From the Atom Welcome Guide screen, click on Open a Project and then the Open a Project button and open the folder you just created.
  2. boot.py() is run whenever the LoPy/LoPy 4 is run. We will require one for our project ...

Get Hands-On Edge Analytics with Azure IoT now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.