Clock & Temperature & Humidity with RGBDigit
For my sensornet I have some HDC1008 temperature and humidity sensors from Adafruit (meanwhile discontinued). So I decided to pimp the clock with additional values. Now it shows the temperature for five seconds, the humidity for five seconds andthe time for 20 seconds . To full hour and half hour it shows some animation – currently only one, but I have still some ideas.
The colours of the hours, minutes, and humidity change over time. I’m using the HSV values and circle the hue value.
The colours of the temperature are dependent of the temperature; from blue (cold) over green, orange to red (hot).
For easier connections I’ve inserted a ProtoShield between the Arduino and the ClockShield.
For a future enhancement I’ve added a photoresistor. This way I will be able to adjust the brightness of the display depending on the ambient light.
The next steps are:
- finding a nice case – preferably in Steampunk style
- adding a pressure sensor (e.g. BMP280)
As usual the code is on github.