Electric monitoring and communication module power energy meter
PZEM-004T(V1.0)(With CT coil)
1. Electrical parameter measurement function (voltage, current, active power, energy).
2. The reset function of energy key.
3. Store data when power off (store the accumulated energy before power off).
4. PC display function (display voltage, current, active power, energy).
5. Serial communication function (with TTL serial interface itself, can communicate with a variety of terminal through the pin board, read and set the parameters).
1. Power: Test Range: 0 ~ 22kW
Within 0 ~ 10kW, the display format is 0.000 ~ 9.999; Within 10 ~ 22kW, the display format is 10.00 ~ 22.00.
2. Energy: Test Range: 0 ~ 9999kWh
Within 0 ~ 10kWh, the display format is 0.000 ~ 9.999; Within 10 ~ 100kWh, the display format is 10.00 ~ 99.99; Within 100 ~ 1000kWh, the display format is 100.0 ~ 999.9; 1000 ~ 9999kWh and above, the display format is 1000 ~ 9999.
3. Voltage: Test Range: 80 ~ 260VAC
Display Format is 110.0 ~ 220.0.
4. Current: Test Range: 0 ~ 100A
Display Format is 00.00 ~ 99.99.
The wiring of this module is divided into two parts: the voltage and current test input terminal wiring and the serial communication wiring, as shown in the figure; according to the actual needs of the clients, with different TTL pin board to achieve communicate with different terminals.
It display through PC or other terminals(need to programme),the PC display interface is shown as figure 1, the following are brief description of each parameter display:
1. Voltage Display
Measure and display the current power frequency network voltage.
2. Current display
Measure and display the current load (appliances) current. There is supplementary instruction that the current test value is from the beginning of 10mA , but this module belongs to high power test equipment, if you care about the mA level current testing accuracy, it is not be recommended.
3. Energy display
Measure and display the current accumulative power consumption. There is supplementary instruction that the minimum unit of the energy metering is 0.001kWh,which means it begins to accumulate from 1Wh, relatively speaking, the resolution is rather high, for the low-power(within 100W)load test, you can observe the accumulative process rather intuitively.
4. Power display
Measure and display the current load power. There is supplementary instruction that the power test value is from the beginning of 0.001kW , which means it begins to test from 1W, but this module belongs to high power test equipment, if you have the requirement of the testing within 1W, it is not be recommended.
This module is equipped with TTL serial data communication interface, you can read and set the relevant parameters via the serial port; but if you want to communicate with a device which has USB or RS232 (such as computer), you need to be equipped with different TTL pin board (USB communication needs to be equipped with TTL to USB pin board; RS232 communication needs to be equipped with TTL to RS232 pin board), the specific connection type as shown in Figure 2. In the below table are the communication protocols of this module:
| C0 A8 01 01 00 (Computer sends a request to read the voltage value)
00 E6 02 00 00 (Meter reply the voltage value is 230.2V),
| C0 A8 01 01 00 (Computer sends a request to read the current value)
00 11 20 00 00 (Meter reply the current value is 17.32A)
|3||Active power|| B2
| C0 A8 01 01 00 (Computer sends a request to read the active power value)
08 98 00 00 00 (Meter reply the active power value is 2200w)
|4||Read energy|| B3
| C0 A8 01 01 00 (Computer sends a request to read the energy value)
01 86 9f 00 00 (Meter reply the energy value is 99999wh)
|5||Set the module address|| B4
| C0 A8 01 01 00 (Computer sends a request to set the address, the address is 192.168.1.1)
00 00 00 00 00 (Meter reply the address was successfully set)
|6||Set the power alarm threshold|| B5
| C0 A8 01 01 14 (computer sends a request to set a power alarm threshold)
00 00 00 00 00 (Meter reply the power alarm threshold,was successfully set)
Illustration of the communication protocol example:
1. Set the communication address: 192.168.1.1
Send command: B4 C0 A8 01 01 00 1E
Reply data: A4 00 00 00 00 00 A4
Note: The above example illustrate that setting the communication address as 192.168.1.1 (the user can set their own address based on their preferences and needs), sending commands and replying data automatically are as shown above, the data are expressed in hexadecimal; the last byte of the sending and replying data are 1E and A4, belong to cumulative sum. At sending commands: B4 + C0 + A8 + 01 + 01 + 00 = 21E (use the hexadecimal addition), the cumulative sum data is 21E, take the last two bytes 1E to be used the cumulative sum data in sending commands; data in reply: A4 + 00 + 00 + 00 + 00 + 00 = A4 (use the hexadecimal addition),the cumulative sum data is A4,which is the cumulative sum data in reply.
The explanation of the cumulative sum is now finished, the following parameter examples are the same as this, there is no explanation any more.
2. Set the power alarm threshold:20 KW
Send command: B5 C0 A8 01 01 14 33
Reply data: A5 00 00 00 00 00 A5
Note: 14 in the sending command is the alarm value (14 is a hexadecimal data representation, which converted to decimal is 20). What you should note is the power alarm value of this module is based on KW units, which means the minimum alarm value is 1KW, the maximum value is 22KW.
3. Read the current voltage
Send command: B0 C0 A8 01 01 00 1A
Reply data: A0 00 E6 02 00 00 88
Note: Reply voltage data is D1D2D3 = 00 E6 02, 00 E6 represent the integer-bit of the voltage, 02 represent the decimal of the voltage, the decimal is one digit, converts 00 E6 to decimal is 230; converts 02 to decimal is 2, so the current voltage value is 230.2V.
4. Read the current current
Send command: B1 C0 A8 01 01 00 1B
Reply data: A1 00 11 20 00 00 D2
Note: Reply current data is D2D3 = 11 20, 11 represent the integer-bit of the current, 20 represent the decimal of the current, the current decimal is two digits, converts 11 to decimal is 17; converts 20 to decimal is 32, so the current current value is 17.32 A.
5. Read the current power
Send command: B2 C0 A8 01 01 00 1C
Reply data: A2 08 98 00 00 00 42
Note: Reply power data is D1D2 = 08 98, converts 08 98 to decimal is 2200, so the current voltage value is 2200W.
6. Read the energy
Send command: B3 C0 A8 01 01 00 1D
Reply data: A3 01 86 9F 00 00 C9
Note: Reply energy data is D1D2D3 = 01 86 9F, converts 01 86 9F to decimal is 99999, so the accumulated power is 99999Wh.
Illustration of the communication
2. After connect the wire, please choose the communication port, this module’s upper computer software support communication port: COM2\COM3\COM4, you can check through device manager, if it is not the above communication port, you should amend it through port.
1. This module is suitable for indoor, please do not use outdoor.
2. Applied load should not exceed the rated power.
3. Wiring order can’t be wrong.
Download the software: Ficheiro:PZEM-004Tsoftware.zip