- 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:
- 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.
- boot.py() is run whenever the LoPy/LoPy 4 is run. We will require one for our project ...