Clock & Temperature & Humidity with RGBDigit

on 16 July 2016 in Arduino

During the last MakerFaire Hannover, I found the very nice RGBDigits by Coen de Bruijn. I purchased the clock shield with 4 RGBDigits and a real time clock.

Room temperature 24°C

Room temperature 24°C

 

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.

Room temperature 24°C

Room temperature 24°C


67% humidity

67% humidity

 

 

 

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.

cable side

cable side


Protoshield with photoresitor and HDC1008

Protoshield with photoresitor and HDC1008

 

HDC1008 from Adafruit

HDC1008 from Adafruit

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.

Photoresistor construction

Photoresistor construction

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.

Leave a Reply