{"id":773,"date":"2011-06-27T07:06:05","date_gmt":"2011-06-27T11:06:05","guid":{"rendered":"http:\/\/soulysolar.mudventions.com\/?p=773"},"modified":"2011-11-26T08:23:36","modified_gmt":"2011-11-26T13:23:36","slug":"control-panel-step-7","status":"publish","type":"post","link":"https:\/\/soulysolar.mudventions.com\/?p=773","title":{"rendered":"Control Panel &#8211; Step 7"},"content":{"rendered":"<p>Ok, now for the Arduino, yup, its got to happen.\u00a0 I debated and debated, but I gave in to my own peer pressure.\u00a0 I just had to put a microcontroller on our control panel, it only makes sense \ud83d\ude09<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-840\" title=\"sense\" src=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/sense1-300x167.jpg\" alt=\"\" width=\"300\" height=\"167\" srcset=\"https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/sense1-300x167.jpg 300w, https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/sense1-640x357.jpg 640w, https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/sense1.jpg 681w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><!--more--><\/p>\n<p>I started out thinking I was going to do this with a small <a href=\"http:\/\/www.arduino.cc\/en\/Main\/ArduinoBoardFio\">Arduino Fio<\/a> the main reason being the wireless programming.\u00a0 I reasoned that if its locked away inside the control panel, wireless programming would be really nice, and I could use the ZigBee connection to relay sensor data through a serial terminal program.\u00a0 Turns out the Fios 3.3V operating voltage is kind of limiting.\u00a0 It would require another power supply and then most of the sensors would need voltage level conversion.\u00a0 I decided in the end to just go with a garden variety Arduino.<\/p>\n<p>The first step was getting it mounted on some type of development board.\u00a0 I have a good supply of .1 hole spaced <a href=\"http:\/\/www.elexp.com\/pro_pb16.htm\">stripboard<\/a> but as many of you may know the Arduinos pin spacing on one side is non standard.\u00a0 Its been described as an 11th hour design mistake, and now there are scads of shields and other hardware available with this pin out so there is no going back.<\/p>\n<p>Careful digging turned up this clever hack, where you solder another row of female headers next to the existing non standard ones and just angle each of the pins over to join with the existing ones.\u00a0 This trick gives you a standard pin out row, just offset .1 inches from the original, it works a treat.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010003_640.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-774\" title=\"OLYMPUS DIGITAL CAMERA\" src=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010003_640.jpg\" alt=\"\" width=\"410\" height=\"307\" srcset=\"https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010003_640.jpg 640w, https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010003_640-300x225.jpg 300w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/a><a href=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010005_640.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-775\" title=\"OLYMPUS DIGITAL CAMERA\" src=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010005_640.jpg\" alt=\"\" width=\"410\" height=\"307\" srcset=\"https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010005_640.jpg 640w, https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010005_640-300x225.jpg 300w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/a><\/p>\n<p>Now all you have to do is add the matching header pins to the <a href=\"http:\/\/www.elexp.com\/pro_pb16.htm\">stripboard<\/a> and you you can plug the Arduino in upside down and have a large prototyping area to work with.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010003_6401.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-779\" title=\"OLYMPUS DIGITAL CAMERA\" src=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010003_6401.jpg\" alt=\"\" width=\"512\" height=\"384\" srcset=\"https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010003_6401.jpg 640w, https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010003_6401-300x225.jpg 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/p>\n<p>I added a ZigBee on an Adafruit carrier, an LCD and a temperature sensor and some buttons.\u00a0 I find this <a href=\"http:\/\/www.elexp.com\/pro_pb16.htm\">stripboard<\/a> about the easiest to deal with prototyping system, but you have to be careful and watch what your doing or you can end up with some things in contact that shouldn&#8217;t be.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010007_640.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-776\" title=\"OLYMPUS DIGITAL CAMERA\" src=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010007_640.jpg\" alt=\"\" width=\"512\" height=\"384\" srcset=\"https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010007_640.jpg 640w, https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010007_640-300x225.jpg 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/p>\n<p>Still thats a lot of stuff wired up with very few jumper wires, there  are some pullup resistors under the Arduino that you can&#8217;t see in the  photos that are used for the buttons.\u00a0 And the back so you can see how clean <a href=\"http:\/\/www.elexp.com\/pro_pb16.htm\">stripboard <\/a>can be&#8230;<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010001_6401.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-782\" title=\"OLYMPUS DIGITAL CAMERA\" src=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010001_6401.jpg\" alt=\"\" width=\"512\" height=\"384\" srcset=\"https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010001_6401.jpg 640w, https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010001_6401-300x225.jpg 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/p>\n<p>The screen is being driven with a custom board and I2C, its based on the <a href=\"https:\/\/www.adafruit.com\/products\/292&amp;zenid=cbc9625dbdf95f413d39590a821c4517\">LCD backpack from Adafruit<\/a>.\u00a0 Its a great deal, I just decided to make my own version, so I can use them in future projects.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010004_640.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-780\" title=\"OLYMPUS DIGITAL CAMERA\" src=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010004_640.jpg\" alt=\"\" width=\"410\" height=\"307\" srcset=\"https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010004_640.jpg 640w, https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010004_640-300x225.jpg 300w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/a><\/p>\n<p>So far, I can send wireless temperature measurements and print things to the computer, the LCD, or the wireless network.\u00a0 Hopefully in the future I can incorporate more sensors, like GPS, water level, humidity, pressure and possibly even control some lights and such.\u00a0 For now this will be a work in progress&#8230;<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010006_640.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-778\" title=\"OLYMPUS DIGITAL CAMERA\" src=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010006_640.jpg\" alt=\"\" width=\"410\" height=\"307\" srcset=\"https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010006_640.jpg 640w, https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010006_640-300x225.jpg 300w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/a><a href=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010008_640.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-777\" title=\"OLYMPUS DIGITAL CAMERA\" src=\"http:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010008_640.jpg\" alt=\"\" width=\"410\" height=\"307\" srcset=\"https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010008_640.jpg 640w, https:\/\/soulysolar.mudventions.com\/wp-content\/uploads\/2011\/07\/P1010008_640-300x225.jpg 300w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, now for the Arduino, yup, its got to happen.\u00a0 I debated and debated, but I gave in to my own peer pressure.\u00a0 I just had to put a microcontroller on our control panel, it only makes sense \ud83d\ude09<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,13,7],"tags":[],"class_list":["post-773","post","type-post","status-publish","format-standard","hentry","category-airstream","category-controlpanel","category-electronics"],"_links":{"self":[{"href":"https:\/\/soulysolar.mudventions.com\/index.php?rest_route=\/wp\/v2\/posts\/773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soulysolar.mudventions.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soulysolar.mudventions.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soulysolar.mudventions.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soulysolar.mudventions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=773"}],"version-history":[{"count":20,"href":"https:\/\/soulysolar.mudventions.com\/index.php?rest_route=\/wp\/v2\/posts\/773\/revisions"}],"predecessor-version":[{"id":930,"href":"https:\/\/soulysolar.mudventions.com\/index.php?rest_route=\/wp\/v2\/posts\/773\/revisions\/930"}],"wp:attachment":[{"href":"https:\/\/soulysolar.mudventions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soulysolar.mudventions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soulysolar.mudventions.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}