Rabbit bedroom temperature monitoring with Arduino

So - we've insulated the sleeping room (originally a garden cushion box) for the rabbits and mounted a heating panel that should keep it between 12˚C and 15˚C. But we need to keep an eye on it.

I could just get a cheap thermometer with remote unit from a hardware store - but how to check how the temperature varies over time?

Let's play with an arduino instead :)

I started with this tutorial from raywenderlich.com. It's using OneWire temperature sensors called DS18B20. I'm also going to use an ethernet connection with PoE to avoid having to have a separate power supply to the board.

I also modified the code by grabbing the latest onewire and dallas libraries and changed the output from JSON to a format that it is easy to write a munin script around.

The circuit I have ended up with is:

Circuit diagram
Circuit diagram

And breadboarded for testing it looks like:

Breadboard circuit
Breadboard circuit

Components

  • Arduino Uno
  • Arduino Ethernet Shield with PoE
  • 2x DS18B20 (I chose these pre-cabled waterproofed ones to save time and make mounting easier)
  • 2x 4k7Ω resistors
  • 1x 330Ω resistor
  • 1 LED

Code

It's all on github

Latest flickr images

Femsjøen sky
A first test of the Sky-Watcher Star Adventurer tracker head. This shot is made up of 10 shots - each 2 mins at f/2,8 ISO 100 14mm. Merged using Starry Landscape Tracker then adjusted in PS (merged in one shorter exposure at the bottom to get a a sharper land silhouette. You can see that even out of town - still struggling with light pollution - far too much light in the sky. But - still fun to play with.
Langlielva
Langlielva near Elveli
Friends?
Introduction between a norweigan fjord horse and a halfling to see if they could share a paddock. The introduction went well - they now keep each other company in the paddock every day
Evening trees
Mist settling over the trees on a hillside behind a ploughed field