{"id":729,"date":"2016-05-13T15:01:14","date_gmt":"2016-05-13T14:01:14","guid":{"rendered":"https:\/\/howiem.org\/wordpress\/?p=729"},"modified":"2022-04-12T12:30:41","modified_gmt":"2022-04-12T12:30:41","slug":"more-solar-stuff","status":"publish","type":"post","link":"https:\/\/howiem.org\/wordpress\/2016\/05\/13\/more-solar-stuff\/","title":{"rendered":"More solar stuff"},"content":{"rendered":"<p>So.<\/p>\n<p>In the bad old days, I chucked some solar panels on our extension roof, ran some cables to the attic, and had this sort of mess going on:<br \/>\n<a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_old_solar_setup.jpg\" rel=\"attachment wp-att-709\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-709\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_old_solar_setup-563x750.jpg\" alt=\"h_old_solar_setup\" width=\"563\" height=\"750\" \/><\/a>Cheapo MPPT solar battery charger connected to lots of old car batteries.<\/p>\n<p>Not pretty, but it let me wire the house for 12v, and fit lots of lighting and stuff that wasn&#8217;t reliant on the grid. Finally got round to tidying it up last year&#8230; <!--more--><\/p>\n<p><a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_tidied-solar-stuff.jpg\" rel=\"attachment wp-att-725\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-725\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_tidied-solar-stuff-750x563.jpg\" alt=\"h_tidied solar stuff\" width=\"750\" height=\"563\" \/><\/a>Consumer units work fine with low voltage stuff if all you need is switching &#8211; but don&#8217;t rely on the breakers to do anything useful. Made everything a lot tidier though.<\/p>\n<p>Wanted a way to monitor everything without having to go up into the attic, though. So I stuck an Arduino with an NRF24L01 transceiver in the main box:<\/p>\n<p><a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_wireless_consumer_unit.jpg\" rel=\"attachment wp-att-726\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-726\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_wireless_consumer_unit-750x563.jpg\" alt=\"h_wireless_consumer_unit\" width=\"750\" height=\"563\" \/><\/a>&#8230; and started making some little receivers.<\/p>\n<p>First one was an Arduino and an LCD, cable-tied round a rechargeable battery:<\/p>\n<p><a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-1.jpg\" rel=\"attachment wp-att-712\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-712\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-1-750x563.jpg\" alt=\"h_solar_monitor_b 1\" width=\"750\" height=\"563\" \/><\/a> <a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_a-2.jpg\" rel=\"attachment wp-att-711\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-711\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_a-2-750x563.jpg\" alt=\"h_solar_monitor_a 2\" width=\"750\" height=\"563\" \/><\/a> <a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_a-1.jpg\" rel=\"attachment wp-att-710\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-710\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_a-1-750x563.jpg\" alt=\"h_solar_monitor_a 1\" width=\"750\" height=\"563\" \/><\/a><\/p>\n<p>Found some cheap but big LCDs on eBay, so I did the ole&#8217; &#8220;solder an Arduino straight to it&#8221; trick:<\/p>\n<p><a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-2.jpg\" rel=\"attachment wp-att-713\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-713\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-2-750x563.jpg\" alt=\"h_solar_monitor_b 2\" width=\"750\" height=\"563\" \/><\/a>Definitely neater &#8211; can run off a 9V battery or straight from the house&#8217;s 12V supply:<\/p>\n<p><a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-13.jpg\" rel=\"attachment wp-att-724\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-724\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-13-750x563.jpg\" alt=\"h_solar_monitor_b 13\" width=\"750\" height=\"563\" \/><\/a>&#8230; but by now I was wanting more of these round the house. Time to cut a little PCB on the mill:<\/p>\n<p><a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-3.jpg\" rel=\"attachment wp-att-714\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-714\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-3-750x563.jpg\" alt=\"h_solar_monitor_b 3\" width=\"750\" height=\"563\" \/><\/a><\/p>\n<p>&#8230; solder it up.<a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-4.jpg\" rel=\"attachment wp-att-715\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-715\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-4-750x562.jpg\" alt=\"h_solar_monitor_b 4\" width=\"750\" height=\"562\" \/><\/a><\/p>\n<p>The transceiver module connects to the Atmega with 8 pins &#8211; but I didn&#8217;t want to drill holes to connect it, though:<a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-5.jpg\" rel=\"attachment wp-att-716\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-716\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-5-750x563.jpg\" alt=\"h_solar_monitor_b 5\" width=\"750\" height=\"563\" \/><\/a><\/p>\n<p>So I came up with a cheeky pin-less solution. First, remove all the header pins from the module:<\/p>\n<p><a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-6.jpg\" rel=\"attachment wp-att-717\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-717\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-6-750x563.jpg\" alt=\"h_solar_monitor_b 6\" width=\"750\" height=\"563\" \/><\/a><\/p>\n<p>&#8230; making sure the holes were completely clear of solder. Had to make sure the underside of the board was clear of any little solder splashes.<a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-7.jpg\" rel=\"attachment wp-att-718\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-718\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-7-563x750.jpg\" alt=\"h_solar_monitor_b 7\" width=\"563\" height=\"750\" \/><\/a><\/p>\n<p>Then I put a nice round blob of solder on just two of the matching pads on the PCB, diagonally opposite each other &#8211; this let me jiggle the module around a little and feel when the holes were aligned with the pads. Before putting the module in place, I slathered plenty of flux on the other pads to help with the next bit.<\/p>\n<p><a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-8.jpg\" rel=\"attachment wp-att-719\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-719\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-8-750x563.jpg\" alt=\"h_solar_monitor_b 8\" width=\"750\" height=\"563\" \/><\/a><\/p>\n<p>Touched those two pads with the soldering iron to &#8220;tack&#8221; the module down, then I filled the rest of the holes with solder.<\/p>\n<p><a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-9.jpg\" rel=\"attachment wp-att-720\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-720\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-9-750x563.jpg\" alt=\"h_solar_monitor_b 9\" width=\"750\" height=\"563\" \/><\/a> <a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-10.jpg\" rel=\"attachment wp-att-721\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-721\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-10-563x750.jpg\" alt=\"h_solar_monitor_b 10\" width=\"563\" height=\"750\" \/><\/a> <a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-11.jpg\" rel=\"attachment wp-att-722\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-722\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2016\/05\/h_solar_monitor_b-11-750x563.jpg\" alt=\"h_solar_monitor_b 11\" width=\"750\" height=\"563\" \/><\/a>Voila. No short-circuits (wish I could say every time I&#8217;ve done this trick since, it&#8217;s worked as well, but it sometimes goes wrong)<\/p>\n<p><a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2014\/02\/wireless-133.jpg\" rel=\"attachment wp-att-651\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-651\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2014\/02\/wireless-133.jpg\" alt=\"wireless 133\" width=\"734\" height=\"979\" \/><\/a><\/p>\n<p>Makes for a super-skinny display. In hind-sight, I&#8217;d have probably tried to find a better way to mount the electrolytic caps &#8211; they really do stick out a bit. Maybe upside down, poked through a hole in the PCB, but soldered on top?<\/p>\n<p>The collection, then &#8211; prototype at the top, hacky sacrifice-an-arduino version, and a couple of tidy ones:<\/p>\n<p><a href=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2014\/02\/wireless-134.jpg\" rel=\"attachment wp-att-652\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-652\" src=\"https:\/\/howiem.org\/wordpress\/wp-content\/uploads\/2014\/02\/wireless-134.jpg\" alt=\"wireless 134\" width=\"734\" height=\"979\" \/><\/a><\/p>\n<p><video autoplay=\"autoplay\" loop=\"loop\" muted=\"\" controls=\"controls\" width=\"720\" height=\"405\"><source src=\"\/wordpress\/wp-content\/uploads\/2016\/05\/solar_mon.m4v\" type=\"video\/mp4\" \/><\/video><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So. In the bad old days, I chucked some solar panels on our extension roof, ran some cables to the attic, and had this sort of mess going on: Cheapo&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-729","post","type-post","status-publish","format-standard","category-electronics-and-hackery"],"_links":{"self":[{"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/posts\/729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/comments?post=729"}],"version-history":[{"count":1,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/posts\/729\/revisions"}],"predecessor-version":[{"id":1160,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/posts\/729\/revisions\/1160"}],"wp:attachment":[{"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/media?parent=729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/categories?post=729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/tags?post=729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}