December 12th, 2015
  • Temperature
  • Humidity
  • Events on values

Humidity/temperature sensor library

I've made it my quest to create OOP classes for Arduino. Read about that in this blogpost if you need some more context.

This class is for controlling the DHT11 Digital Temperature Humidity Sensor Module. Of course you can simply read the temperature and humidity with this class, but you can also create event methods that will be called when the temperature values or the humidity values are equal to, higher than, lower than, between or not between the specified values.

Scheme humidity/temperature sensor

See the demo program how setup the sensor to work with multiple event methods.

The humidity/temperature sensor library can be found here on GitHub.
It is dependent on:

< Previous post Overview posts Next post >

Leave a comment

= Thanks for your comment =