{"id":328,"date":"2018-07-25T00:03:26","date_gmt":"2018-07-24T21:03:26","guid":{"rendered":"http:\/\/fdavid.com.br\/blog\/?p=328"},"modified":"2020-06-22T23:05:03","modified_gmt":"2020-06-22T20:05:03","slug":"power-management","status":"publish","type":"post","link":"https:\/\/fdavid.com.br\/blog\/power-management\/","title":{"rendered":"Power Management"},"content":{"rendered":"<p style=\"text-align: left;\"><strong><a href=\"http:\/\/fdavid.com.br\/blog\/wp-content\/uploads\/2018\/07\/Untitled.png\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-330 alignleft\" src=\"http:\/\/fdavid.com.br\/blog\/wp-content\/uploads\/2018\/07\/Untitled.png\" alt=\"Untitled\" width=\"131\" height=\"160\" \/><\/a>Date project November 2017<a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;sl=en&amp;tl=pt&amp;u=http%3A%2F%2Ffdavid.com.br%2Fblog%2Findex.php%2F2018%2F07%2F25%2Fpower-management%2F\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-64 size-full\" src=\"http:\/\/fdavid.com.br\/blog\/wp-content\/uploads\/2013\/04\/brazil-mini-flag.jpg\" alt=\"Google Translate\" width=\"46\" height=\"31\" \/><\/a><\/strong><br \/>\n<strong>Customer <a href=\"http:\/\/www.camerge.com.br\" target=\"_blank\" rel=\"noopener noreferrer\">Camerge<\/a><\/strong><\/p>\n<p><strong>Demand<\/strong><br \/>\nVia connection TTL and using protocol NBR 14522 receive data from power meter and send to webservice in the JSON file format.<\/p>\n<p>This project consists of receive data from power meter that are sent every second and save in local database to after the 15 minutes send it to the webservice.<\/p>\n<p>The power meter can be setting to two operation mode: normal or extended, the software detect how user interface was configured to data process, all communication is made in C and saved in local database, after then using Linux&#8217;s script the data are sent.<\/p>\n<p><!--more--><\/p>\n<p><strong>Datasheet<\/strong><\/p>\n<p><a href=\"https:\/\/www.raspberrypi.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Raspberry Pi<\/a><em> is a series of small single-board computers<\/em><\/p>\n<p><a href=\"https:\/\/learn.sparkfun.com\/tutorials\/voltage-dividers\" target=\"_blank\" rel=\"noopener noreferrer\">Voltage Divider<\/a> to convert level logic from Meter (~5v) to Raspberry Pi (~3.3v).<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Pictures<br \/>\n<\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Date project November 2017 Customer Camerge Demand Via connection TTL and using protocol NBR 14522 receive data from power meter and send to webservice in the JSON file format. This project consists of receive data from power meter that are sent every second and save in local database to after the 15 minutes send it &hellip; <a href=\"https:\/\/fdavid.com.br\/blog\/power-management\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Power Management&#8221;<\/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":[21,29,30,64,15,16,17],"tags":[],"class_list":["post-328","post","type-post","status-publish","format-standard","hentry","category-c","category-json","category-linux","category-nbr14522","category-raspberry-pi","category-shellscript","category-sqlite"],"_links":{"self":[{"href":"https:\/\/fdavid.com.br\/blog\/wp-json\/wp\/v2\/posts\/328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fdavid.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fdavid.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fdavid.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fdavid.com.br\/blog\/wp-json\/wp\/v2\/comments?post=328"}],"version-history":[{"count":2,"href":"https:\/\/fdavid.com.br\/blog\/wp-json\/wp\/v2\/posts\/328\/revisions"}],"predecessor-version":[{"id":396,"href":"https:\/\/fdavid.com.br\/blog\/wp-json\/wp\/v2\/posts\/328\/revisions\/396"}],"wp:attachment":[{"href":"https:\/\/fdavid.com.br\/blog\/wp-json\/wp\/v2\/media?parent=328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fdavid.com.br\/blog\/wp-json\/wp\/v2\/categories?post=328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fdavid.com.br\/blog\/wp-json\/wp\/v2\/tags?post=328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}