Monitoring sensors is very common for Internet of Things (IoT) projects. Here we'll select the popular DHT series of temperature and humidity sensors.
This project can be placed in a very small enclosure and used anywhere environmental monitoring is needed. The code and concepts may be used in a number of your own projects.
Software Libraries Used
To maximize the functionality of software on Trinket, two Arduino software libraries need to be installed. See the All About Arduino Libraries tutorial for details on how to download and install these libraries.
- Adafruit_LiquidCrystal library - this provides support for I2C displays that Adafruit sells
- TinyDHT library - this library is optimized for the Atmel ATtiny processors like Adafruit Trinket and Arduino Gemma. It uses integer math to avoid pulling in the code-heavy floating point support libraries.
Text editor powered by tinymce.