Wireless Power Monitor

by cabuu in Circuits > Electronics

6239 Views, 29 Favorites, 0 Comments

Wireless Power Monitor

RenderTitleBlynk2.jpg

Monitor power consumption of your electronic devices remotely via a mobile Blynk app. This simple device is based on a D1 Mini micro-controller. Connect your power source via the DC input channel and your device via the DC output. The monitoring device is powered via a micro usb. There is an on/off switch to control power.

Parts and Schematic

Power-Monitor-Schematic.jpg

You will need the following parts:

Simply connect the parts as shown in the schematic, solder the switch in place after assembly within the 3D printable housing (see next section).

Note: To allow use of the sleep mode you will also need to solder a connection between the RST and D0 pins of the D1 mini.

3D Print the Parts

Power Monitor Body v1_1.png
DSC01010.jpg

Download and print the two parts. Assemble the electronics within the parts and secure in place using a glue gun.

Blynk App

clone_1776581798.png

Install the Blynk app from the Google Play or Apple App Store.

Use the QR code to download the custom Blynk app. Make note of your Blynk authentication token (under the app settings), you will need to copy this to your sketch in the next section.

Configure and Upload the Sketch

Board Install.png
Board Install Manager.png
ina219 install.png
Sketch Configure.png

In order to upload the sketch you will first need to install the esp8266 board and two libraries, if you haven't done so already.

To install the esp8266, add the following URL to the Additional Boards Manager URLs in the Preferences window of the Arduino IDE.

http://arduino.esp8266.com/stable/package_esp8266com_index.json

Now within Boards Manager, install the esp8266 board.

Using the library manager, install the Adafruit INA219 and Blynk libraries.

Amend the sketch for your own WiFi SSID, password and Blynk authentication token. Attach the D1 mini using a micro-usb and upload the sketch.

Connect Your Supply/device and Monitor

Screenshot_20190513-232125.jpg

Now simply connect your power supply/battery to the input jack and your device to the output jack. Connect the D1 mini using a micro-usb cable for power and flick the switch to power your device.

Load the Blynk app and you can now monitor the device's voltage and power supply. Adjust the slider to enable the status LED to signal when the battery/source voltage drops below the specified value.You can also enable sleep mode to save power i.e when powering the monitor from a battery.

Ideas for Further Development

You could expand on this project by incorporating a relay to allow remote power control. Power via battery or the DC source itself might also be useful. See my website http://www.cabuu.com for more ideas and similar projects.