{"id":21,"date":"2015-06-25T23:47:14","date_gmt":"2015-06-25T23:47:14","guid":{"rendered":"http:\/\/www.beer.org\/beerblog\/?p=21"},"modified":"2016-01-04T12:51:39","modified_gmt":"2016-01-04T12:51:39","slug":"phrobs-are-in","status":"publish","type":"post","link":"https:\/\/www.beer.org\/blog\/index.php\/2015\/06\/25\/phrobs-are-in\/","title":{"rendered":"Phrobs are in!"},"content":{"rendered":"<p>I&#8217;ve been working the last few months on learning KiCad which is open source eCad software with an abyssmal user interface. But I&#8217;ve managed to layout my first two boards. Both are based on the ESP-8266.<\/p>\n<p>My first board has an SI7020 temperature\/humidity chip. My second board has a couple of 16A relays on it (though the traces only support about 5A for now). Both boards are a &#8216;rev 1&#8217; so a couple things need to be cleaned up for Rev 2.<\/p>\n<p>Here they are:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-96\" src=\"https:\/\/www.beer.org\/blog\/wp-content\/uploads\/2015\/09\/P1080407-300x225.jpg\" alt=\"P1080407\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.beer.org\/blog\/wp-content\/uploads\/2015\/09\/P1080407-300x225.jpg 300w, https:\/\/www.beer.org\/blog\/wp-content\/uploads\/2015\/09\/P1080407-768x576.jpg 768w, https:\/\/www.beer.org\/blog\/wp-content\/uploads\/2015\/09\/P1080407-660x495.jpg 660w, https:\/\/www.beer.org\/blog\/wp-content\/uploads\/2015\/09\/P1080407.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>I&#8217;ve also been hacking on <a href=\"https:\/\/github.com\/nekromant\/esp8266-frankenstein\">esp8266-frankenstein<\/a> which is a cool u-boot-like environment for the ESP8266&#8217;s. Another user had started porting someone else&#8217;s MQTT code to Frankenstein and then got busy. I took the code, finished bashing on it, cleaned it up, added some commands, integrated it into the GPIO driver and the SI7020 driver, and now I can MQTT Publish\/Subscribe to my Phrobs:<\/p>\n<pre>mosquitto_pub -t \"RelayPhrob1\/gpio\/5\" -m \"1\"\r\n\r\nOffice\/si7020\/temperature\/0 30\r\nOffice\/si7020\/humidity\/0 24\r\nRelayPhrob1\/gpio\/5 0\r\nRelayPhrob1\/gpio\/5 1\r\nRelayPhrob1\/gpio\/5 1\r\nOffice\/si7020\/temperature\/0 30\r\nOffice\/si7020\/humidity\/0 24\r\nRelayPhrob1\/gpio\/5 1\r\n\r\n$ mosquitto_pub -t \"RelayPhrob1\/gpio\/5\" -m \"0\"\r\n\r\nRelayPhrob1\/gpio\/5 0\r\nRelayPhrob1\/gpio\/5 0\r\nOffice\/si7020\/temperature\/0 30\r\nOffice\/si7020\/humidity\/0 24\r\nRelayPhrob1\/gpio\/5 0\r\n<\/pre>\n<p>Next I will simply add an MQTT plugin to my <a href=\"https:\/\/www.beer.org\/blog\/the-snap-environment.html\">Phrob ecosphere<\/a> and I will be relatively self sufficient.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been working the last few months on learning KiCad which is open source eCad software with an abyssmal user interface. But I&#8217;ve managed to layout my first two boards. Both are based on the ESP-8266. My first board has an SI7020 temperature\/humidity chip. My second board has a couple of 16A relays on it&#8230; <a class=\"moretag\" href=\"https:\/\/www.beer.org\/blog\/index.php\/2015\/06\/25\/phrobs-are-in\/\">Continue reading &raquo;<\/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],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-phrobs"],"_links":{"self":[{"href":"https:\/\/www.beer.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.beer.org\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beer.org\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beer.org\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beer.org\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":2,"href":"https:\/\/www.beer.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":106,"href":"https:\/\/www.beer.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/21\/revisions\/106"}],"wp:attachment":[{"href":"https:\/\/www.beer.org\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beer.org\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beer.org\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}