[{"data":1,"prerenderedAt":324},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":203,"content-\u002F2014\u002F10\u002F14\u002Frabbit-bedroom-temperature-monitoring-with-arduino\u002F":204},[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],{"category":5},"System Administration",{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},"Software Development",{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":27},{"category":27},{"category":67},"Drones & RC",{"category":69},"DIY Projects",{"category":67},{"category":72},"Photography",{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":67},{"category":67},{"category":72},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":5},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":67},{"category":67},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":72},{"category":67},{"category":138},"3D Printing - Laser Cutting - CNC",{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":5},{"category":138},{"category":27},{"category":27},{"category":138},{"category":138},{"category":72},{"category":158},"Photography,3D Printing - Laser Cutting - CNC",{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":67},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":181},"Home Assistant",{"category":181},{"category":72},{"category":27},{"category":27},{"category":72},{"category":138},{"category":5},{"category":72},{"category":72},{"category":138},{"category":27},{"category":181},{"category":181},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},191,{"id":205,"title":206,"body":207,"category":308,"date":309,"description":213,"embedImage":308,"extension":310,"image":246,"intro":311,"meta":312,"navigation":313,"path":314,"seo":315,"series":316,"sitemap":317,"stem":318,"tags":319,"__hash__":323},"content\u002F2014\u002F10\u002F14\u002Frabbit-bedroom-temperature-monitoring-with-arduino.md","Rabbit bedroom temperature monitoring with Arduino",{"type":208,"value":209,"toc":301},"minimark",[210,214,217,220,234,237,240,247,250,256,261,289,293],[211,212,213],"p",{},"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.",[211,215,216],{},"I could just get a cheap thermometer with remote unit from a hardware store - but how to check how the temperature varies over time?",[211,218,219],{},"Let's play with an arduino instead :)",[211,221,222,223,233],{},"I started with ",[224,225,232],"a",{"href":226,"rel":227,"target":231},"http:\u002F\u002Fwww.raywenderlich.com\u002F38841\u002Farduino-tutorial-temperature-sensor",[228,229,230],"nofollow","noopener","noreferer","_blank","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.",[211,235,236],{},"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.",[211,238,239],{},"The circuit I have ended up with is:",[211,241,242],{},[243,244],"img",{"alt":245,"src":246},"Circuit diagram","\u002Fimages\u002Fposts\u002F2014\u002F10\u002Fcircuit.png",[211,248,249],{},"And breadboarded for testing it looks like:",[211,251,252],{},[243,253],{"alt":254,"src":255},"Breadboard circuit","\u002Fimages\u002Fposts\u002F2014\u002F10\u002Fbreadboard.jpg",[257,258,260],"h3",{"id":259},"components","Components",[262,263,264,268,271,280,283,286],"ul",{},[265,266,267],"li",{},"Arduino Uno",[265,269,270],{},"Arduino Ethernet Shield with PoE",[265,272,273,274,279],{},"2x DS18B20 (I chose ",[224,275,278],{"href":276,"rel":277,"target":231},"http:\u002F\u002Fwww.youblob.com\u002Fshop\u002Fproducts\u002Felectronics\u002Fsensors\u002Ftemperature\u002FSEN-11050",[228,229,230],"these pre-cabled waterproofed ones"," to save time and make mounting easier)",[265,281,282],{},"2x 4k7Ω resistors",[265,284,285],{},"1x 330Ω resistor",[265,287,288],{},"1 LED",[257,290,292],{"id":291},"code","Code",[211,294,295,296],{},"It's all ",[224,297,300],{"href":298,"rel":299,"target":231},"https:\u002F\u002Fgithub.com\u002Fchrissearle\u002Frabbit-temperatures",[228,229,230],"on github",{"title":302,"searchDepth":303,"depth":303,"links":304},"",2,[305,307],{"id":259,"depth":306,"text":260},3,{"id":291,"depth":306,"text":292},null,"2014-10-14 08:31 +0200","md","How to keep an eye on the rabbit run heated sleeping area",{},true,"\u002F2014\u002F10\u002F14\u002Frabbit-bedroom-temperature-monitoring-with-arduino",{"title":206,"description":213},"Rabbit Hutch-Run",{"loc":314},"2014\u002F10\u002F14\u002Frabbit-bedroom-temperature-monitoring-with-arduino",[320,321,322],"rabbits","arduino","DS18B20","-zJJL2sgKBze2lRrJAhOmscDvSfaqUq-GnEFlEBoDVA",1775293010113]