{"id":84,"date":"2022-11-10T15:17:31","date_gmt":"2022-11-10T19:17:31","guid":{"rendered":"https:\/\/mvgrafx.net\/blog\/?p=84"},"modified":"2022-11-10T15:20:36","modified_gmt":"2022-11-10T19:20:36","slug":"my-first-pcb","status":"publish","type":"post","link":"https:\/\/mvgrafx.net\/blog\/2022\/11\/my-first-pcb\/","title":{"rendered":"My first PCB"},"content":{"rendered":"\n<p>So I&#8217;ve been borderline obsessed with power monitoring since we started our solar panel installation &#8211; and to an extent before that. I installed an <a rel=\"noreferrer noopener\" href=\"https:\/\/efergy.us\/elite-classic\" data-type=\"URL\" data-id=\"https:\/\/efergy.us\/elite-classic\" target=\"_blank\">Efergy Elite<\/a> several years ago and figured out how to tap into its RF signal and pull that data into my <a href=\"https:\/\/www.home-assistant.io\/\" data-type=\"URL\" data-id=\"https:\/\/www.home-assistant.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">Home Assistant<\/a> instance to track power usage.<\/p>\n\n\n\n<p>But recently I decided I&#8217;d like to be able to get alerts when our washer\/dryer finished a load. They are incredibly basic appliances &#8211; no buzzer or any other indication that they are done other than they shut off. It became apparent that monitoring their power use was one of the only feasible approaches.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mvgrafx.net\/blog\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-04-at-10.23.29-AM-855x1024.png\" alt=\"\" class=\"wp-image-85\" width=\"476\" height=\"570\" srcset=\"https:\/\/mvgrafx.net\/blog\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-04-at-10.23.29-AM-855x1024.png 855w, https:\/\/mvgrafx.net\/blog\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-04-at-10.23.29-AM-250x300.png 250w, https:\/\/mvgrafx.net\/blog\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-04-at-10.23.29-AM-768x920.png 768w, https:\/\/mvgrafx.net\/blog\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-04-at-10.23.29-AM-1282x1536.png 1282w, https:\/\/mvgrafx.net\/blog\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-04-at-10.23.29-AM.png 1506w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><figcaption class=\"wp-element-caption\">PCB for 3 Current Transformers and an ESP32 S2<\/figcaption><\/figure>\n<\/div>\n\n\n<p>To that end I went about designing a PCB that would let me plug in some current transformers and get their readings into an ESP32 which can feed that data into Home Assistant. From there I can log it and create notifications based on usage trends.<\/p>\n\n\n\n<p>I sent the boards to JLCPCB for manufacture and they&#8217;ve been shipped off earlier this week. Hopefully I&#8217;ll see them this month.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mvgrafx.net\/blog\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-04-at-10.47.04-AM-1024x964.png\" alt=\"\" class=\"wp-image-86\" width=\"456\" height=\"428\" srcset=\"https:\/\/mvgrafx.net\/blog\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-04-at-10.47.04-AM-1024x964.png 1024w, https:\/\/mvgrafx.net\/blog\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-04-at-10.47.04-AM-300x283.png 300w, https:\/\/mvgrafx.net\/blog\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-04-at-10.47.04-AM-768x723.png 768w, https:\/\/mvgrafx.net\/blog\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-04-at-10.47.04-AM.png 1272w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><figcaption class=\"wp-element-caption\">A basic rendering of what the board will look like<\/figcaption><\/figure>\n<\/div>\n\n\n<p>The ESP32 S2 can support up to 20 ADC inputs, so if my 3-input design works, I will likely expand it to more inputs and monitor a number of circuits in my house.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I&#8217;ve been borderline obsessed with power monitoring since we started our solar panel installation &#8211; and to an extent before that. I installed an Efergy Elite several years ago and figured out how to tap into its RF signal and pull that data into my Home Assistant instance to track power usage. But recently&#8230;<\/p>\n<p class=\"more-link-wrap\"><a href=\"https:\/\/mvgrafx.net\/blog\/2022\/11\/my-first-pcb\/\" class=\"more-link\">Read More<span class=\"screen-reader-text\"> &ldquo;My first PCB&rdquo;<\/span> &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,9,4],"tags":[],"class_list":["post-84","post","type-post","status-publish","format-standard","hentry","category-electric","category-electronics","category-tech"],"_links":{"self":[{"href":"https:\/\/mvgrafx.net\/blog\/wp-json\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mvgrafx.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mvgrafx.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mvgrafx.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mvgrafx.net\/blog\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":3,"href":"https:\/\/mvgrafx.net\/blog\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":89,"href":"https:\/\/mvgrafx.net\/blog\/wp-json\/wp\/v2\/posts\/84\/revisions\/89"}],"wp:attachment":[{"href":"https:\/\/mvgrafx.net\/blog\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mvgrafx.net\/blog\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mvgrafx.net\/blog\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}