{"id":98,"date":"2013-11-18T19:05:28","date_gmt":"2013-11-18T19:05:28","guid":{"rendered":"http:\/\/interactingobjects.com\/?p=98"},"modified":"2013-11-18T19:14:21","modified_gmt":"2013-11-18T19:14:21","slug":"wifridge-hardware-details","status":"publish","type":"post","link":"https:\/\/interactingobjects.com\/?p=98","title":{"rendered":"WiFridge : hardware details"},"content":{"rendered":"<p>In this post, I will give the details of the WiFridge hardware : how to connect the probes to the Arduino. It follows the post <a title=\"WiFridge Introduction\" href=\"http:\/\/interactingobjects.com\/?p=34\">here<\/a>.<\/p>\n<h1>The hardware<\/h1>\n<p>Here is the bill of material :<\/p>\n<ul>\n<li>1 AM2302 Humidity &amp; temperature sensor<\/li>\n<li>2 DS12B20 1-wire waterproof temperature sensor<\/li>\n<li>3 3mm LEDs (green, yellow, red)<\/li>\n<li>3 1k\u03a9\u00a0resistor<\/li>\n<li>1 10k\u03a9\u00a0resistor<\/li>\n<li>1 4.7\u03a9\u00a0resistor<\/li>\n<li>1 Arduino Wireless shield<\/li>\n<li>1 RN-XV Wifly module<\/li>\n<li>some solderless breadboard<\/li>\n<li>a bunch of wires<\/li>\n<\/ul>\n<p style=\"text-align: center;\"><a href=\"http:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/09\/Fritzing-Wifridge1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-106\" style=\"border: 0px;\" alt=\"Fritzing Wifridge\" src=\"http:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/09\/Fritzing-Wifridge1-1024x655.png\" width=\"467\" height=\"298\" srcset=\"https:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/09\/Fritzing-Wifridge1-1024x655.png 1024w, https:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/09\/Fritzing-Wifridge1-300x192.png 300w, https:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/09\/Fritzing-Wifridge1-468x300.png 468w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">It is connected as describe on the previous figure (created mostly with <a href=\"http:\/\/fritzing.org\/\">Fritzing<\/a>.)<\/p>\n<ul>\n<li>AM2302 : data connected on\u00a0digital input 3 for kitchen temperature and humidity connected to a\u00a010k\u03a9 pull-up resistor<\/li>\n<li>both DS18B20 : data on digital input 2 for fridge and freezer temperature, connected to a 4.7\u03a9\u00a0pull-up resistor<\/li>\n<li>status leds on digital inputs 6, 9 and 10 (optionnal though, just here for displaying status when operating) through\u00a01k\u03a9\u00a0resistors.<\/li>\n<\/ul>\n<p>The 3 sensors are also connected to ground and +5V through their corresponding wire.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/11\/WiFridge-Front-Final-with-notes.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-198\" style=\"border: 0px;\" alt=\"WiFridge Front Final with notes\" src=\"http:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/11\/WiFridge-Front-Final-with-notes.png\" width=\"512\" height=\"384\" srcset=\"https:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/11\/WiFridge-Front-Final-with-notes.png 640w, https:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/11\/WiFridge-Front-Final-with-notes-300x225.png 300w, https:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/11\/WiFridge-Front-Final-with-notes-400x300.png 400w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/p>\n<p>Also, to simplify debugging, I decided to connect WiFly UART to a software serial port on the Arduino so that the hardware serial is free for programming and debugging. I simply cut off the Rx and Tx legs on the shield and reconnected them to digital pin 7 &amp; 8. But it is possible to only bend the legs so you can revert the process.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/09\/Wifridge-Rx-Tx-cutoff-640x487.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-108\" style=\"border: 0px;\" alt=\"Wifridge Rx Tx cutoff 640x487\" src=\"http:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/09\/Wifridge-Rx-Tx-cutoff-640x487.png\" width=\"512\" height=\"390\" srcset=\"https:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/09\/Wifridge-Rx-Tx-cutoff-640x487.png 640w, https:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/09\/Wifridge-Rx-Tx-cutoff-640x487-300x228.png 300w, https:\/\/interactingobjects.com\/wp-content\/uploads\/2013\/09\/Wifridge-Rx-Tx-cutoff-640x487-394x300.png 394w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/p>\n<p>\u00a0That&#8217;s it for the hardware. In a coming post, I will describe the software part.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, I will give the details of the WiFridge hardware : how to connect the probes to the Arduino. It follows the post here. The hardware Here is the bill of material : 1 AM2302 Humidity &amp; temperature &hellip; <a href=\"https:\/\/interactingobjects.com\/?p=98\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[9,8,10,7,29,28],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-projects","category-wifridge-projects","tag-am2302","tag-ds18b20","tag-dth22","tag-rn-xv","tag-wiflyhq","tag-wilfly"],"_links":{"self":[{"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=98"}],"version-history":[{"count":12,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":199,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions\/199"}],"wp:attachment":[{"href":"https:\/\/interactingobjects.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}