{"id":20885382,"url":"https://github.com/lab11/powerblade","last_synced_at":"2025-05-12T19:30:56.516Z","repository":{"id":23506100,"uuid":"26871866","full_name":"lab11/powerblade","owner":"lab11","description":"1 in² AC power meter","archived":false,"fork":false,"pushed_at":"2019-12-10T22:44:31.000Z","size":54912,"stargazers_count":53,"open_issues_count":3,"forks_count":9,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-04-14T04:45:09.428Z","etag":null,"topics":["ble","hardware","msp430","power-meter","university-project"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lab11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-19T17:03:21.000Z","updated_at":"2024-03-13T02:09:26.000Z","dependencies_parsed_at":"2022-08-22T00:50:11.471Z","dependency_job_id":null,"html_url":"https://github.com/lab11/powerblade","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fpowerblade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fpowerblade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fpowerblade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fpowerblade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lab11","download_url":"https://codeload.github.com/lab11/powerblade/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225148872,"owners_count":17428430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ble","hardware","msp430","power-meter","university-project"],"created_at":"2024-11-18T08:13:20.087Z","updated_at":"2024-11-18T08:13:20.787Z","avatar_url":"https://github.com/lab11.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"PowerBlade\n==========\n\nPowerBlade is a miniature plug load power meter - it is small enough to fit\nbetween the plug and the outlet while performing its metering operation.\nAchieving this form factor requires targeting every aspect of traditional power\nmeters, including contact method, power supply, voltage and current sensing, and\ndata communication (Bluetooth Low Energy, in this case).\n\nThere have been multiple iterations of PowerBlade, starting with a backscatter-\nbased variant and eventually transitioning to the BLE version. Along the way\nthere have been several iterations of the contact method, starting with flexible\nPCB layers to touch the prongs and ending with spring-loaded pins which make\ncontact more reliably and repeatably.\n\nFuture work on this system will include improvements to the accuracy of the unit\n(PowerBlade readings currently have 5% to 10% error but we believe this can be\nsignificantly lower), as well as safety.\n\n\u003cimg src=\"https://raw.github.com/lab11/powerblade/master/images/powerblade_front_799x800.jpg\" width=\"300\"\u003e\n\u003cimg src=\"https://raw.github.com/lab11/powerblade/master/images/powerblade_plug_profile_1000x423.jpg\" width=\"500\"\u003e\n\nHow Do I View My PowerBlade's Data?\n-----------------------------------\n\n- **Option 1**: Install [Summon](https://github.com/lab11/summon)\n[[Android](https://play.google.com/store/apps/details?id=edu.umich.eecs.lab11.summon\u0026hl=en),\n[iOS](https://itunes.apple.com/us/app/summon-lab11/id1051205682?mt=8)].\n\n- **Option 2**: Run a node.js script to view packets on your computer.\n\n    ```sh\n    cd data_collection/advertisements/\n    npm install\n    sudo node powerblade_adv.js\n    ```\n\n    This requires that you have support for running as a BLE\n    master on your machine. To get setup, see the instructions below.\n\n### BLE and node.js Setup\n\n1. Install [Node.js](https://nodejs.org/en/download/package-manager/) for your platform.\nNode.js provides a JavaScript runtime to execute the data collection script in.\n\n2. Install BLE dependencies for your platform.\n\n    - **OS X**: Install [Xcode](https://itunes.apple.com/ca/app/xcode/id497799835?mt=12)\n    - **Ubuntu/Debian/Raspbian**:\n\n        ```sh\n        sudo apt install bluetooth bluez libbluetooth-dev libudev-dev\n        ```\n\n    - **Fedora / Other-RPM based**:\n\n        ```sh\n        sudo yum install bluez bluez-libs bluez-libs-devel\n        ```\n\n    - **Intel Edison**: See [Configure Intel Edison for Bluetooth LE (Smart) Development](http://rexstjohn.com/configure-intel-edison-for-bluetooth-le-smart-development/)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fpowerblade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flab11%2Fpowerblade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fpowerblade/lists"}