The first thing a microcontroller project must do is communicate, often with us humans. While the Trinket mini microcontroller does not have a serial monitor built in (like the Arduino Uno), it can talk over various protocols including software serial, I2C (two wire), and SPI. Adafruit sells a wide array of I2C devices including a backpack to interface with a number of nice liquid crystal (LCD) displays - perfect as it only requires two of the five Trinket pins.

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, new libraries need to be installed. See the All About Arduino Libraries tutorial for details on how to download and install these libraries.

Last updated on 2014-04-23 at 01.03.52 AM Published on 2013-09-29 at 12.15.57 AM