Simple Power Meter on 100A, With Charts Via the Internet
by Eugenuk in Circuits > Electronics
519 Views, 3 Favorites, 0 Comments
Simple Power Meter on 100A, With Charts Via the Internet
This project allows you to view the real readings of voltage, current, power, frequency and the value of the consumed electricity whith charts.
In order for PZEM - 004T module to bring some benefit and, for example, to allow viewing readings via the Internet, logging data, it is necessary to add a number of other devices to it, be it an arduino, an esp, a display of your choice, a separate power supply for all this affairs. As a result, the whole device comes out quite massive, difficult to assemble, and not very reliable.
I want to offer my assembly of a power meter device based on PZEM - 004T, maybe it will be useful to someone.
Supplies
Things used in this project
Hardware components
PZEM-004T V3 (Electronic module that functions to measure: Voltage, Current, Power, Frequency, Energy and Power Factors.)
CC2541 (Bluetooth low energy module.)
Software apps and online services
Iot Manager (Android)
Iot Manager (iOS)
Electrometer (Android)
Hand tools and fabrication machines
Soldering iron (generic)
Solder Wire, Lead Free
Assembling the Device
The BLE module on the CC2541 chip is connected (by soldering) to the main PZEM - 004T module (4 wiring).
This should NOT be a module from the manufacturer Jinan Huamao Technology, but from third-party companies (it can be marked as HM-10, MLT-BT05, AT-09, they are distinguished by low cost).
It receives power from the stabilizer of the PZEM module, its power is quite enough. Flashing is NOT required.
Connection and Installation
Then all this is connected and installed where you need it, in the same electrical panel. It does not take up much space, you can even assemble it in the original case, in which these PZEM are sold.
!!!Attention!!! Remember that this device works with high voltage!!!
Android Smartphone
You will also need an android smartphone with BLE support. It may be an outdated smartphone, I'm sure many have one. This smartphone will act as an intermediary between our module and Internet access. It communicates with our device, receives readings from it and allows you to view them from any other smartphone, through the Iot Manager app.
Or it simply logs readings without any network.
It is also possible to receive email about various events (exceeding power, power outages, etc.).
Some explanation to tab Control:
- First of all enter value, but then choose an option.
- Enter value <number or >number to control voltage, current, active power, active energy, charging, baterry level.
(For example: Enter value <220 and if voltage is being 219, you take a message to email.)
- Enter value + or - and choose Option "charging" to control charging.
- Enter value * and choose Option "reset" to reset active energy.
- Enter value # and number to. Then choose Option "ticktime" for correcting ticktime.
Electrometer App
The Electrometer app must be running on that smartphone.
You start Electrometer and it connects to the module itself.
The setup is simple, you can choose the mqtt server, the time for issuing readings, the polling frequency, up to a second, etc.
Some explanation to tab Settings:
- ServerURI - your mosquitto server with port.
- Prefix - please, enter your individual prefix.
- MQTT Name - name, if required.
- MQTT Pass - password, if required.
- Datatime - the time of issuing data to the Internet in seconds. After the expiration, the issuance stops.
- Ticktime - measurement module polling frequency (milliseconds).
- Server - your mail server from which notifications will be sent.
- Name - name of this server.
- Password - password to this server.
- Mail - the address to which notifications will be sent (can be the same as the server).
- Event - responsible service.
- Port - port of SMTP.
After making changes, you must press the (Save and restart app) button and restart the application to save the changes.
Done
Thus, we got three parts:
- PZEM - 004T V3 module
- BLE module on CC2541 chip
- Android smartphone on whitch Electrometer app is running.
Estimated cost of all components - $10, excluding android smartphone.