The PZEM-051 Wattmeter is an electrical instrument designed to measure the power of an electrical circuit in watts. It is capable of measuring both AC and DC power, making it a versatile tool for monitoring energy consumption and efficiency. This wattmeter is widely used in applications such as energy monitoring, power system analysis, and load testing. Its compact design and ease of integration make it suitable for both industrial and hobbyist projects.
The PZEM-051 Wattmeter comes with the following technical specifications:
Parameter | Value |
---|---|
Voltage Range | 80V to 260V AC |
Current Range | 0A to 100A |
Power Range | 0W to 22kW |
Frequency Range | 45Hz to 65Hz |
Accuracy | ±1% |
Communication Interface | UART (TTL level) |
Power Supply | Self-powered (via measured circuit) |
Operating Temperature | -10°C to 60°C |
Dimensions | 70mm x 40mm x 30mm |
The PZEM-051 Wattmeter has the following pin configuration:
Pin Name | Description |
---|---|
V+ | Positive voltage input for the measured circuit |
V- | Negative voltage input for the measured circuit |
I+ | Positive current input (connected to the load side of the current transformer) |
I- | Negative current input (connected to the source side of the current transformer) |
TX | UART Transmit pin for communication |
RX | UART Receive pin for communication |
GND | Ground pin for UART communication |
Connect the Voltage Input:
V+
and V-
pins to the AC or DC circuit you want to measure. Ensure the voltage is within the specified range (80V to 260V AC).Connect the Current Transformer:
I+
and I-
pins to the CT as per the polarity markings.Communication Setup:
TX
, RX
, and GND
pins to the corresponding UART pins on the microcontroller.Power On:
Read Measurements:
Below is an example code to interface the PZEM-051 Wattmeter with an Arduino UNO:
#include <SoftwareSerial.h>
// Define RX and TX pins for SoftwareSerial
SoftwareSerial wattmeterSerial(10, 11); // RX = Pin 10, TX = Pin 11
void setup() {
Serial.begin(9600); // Initialize Serial Monitor
wattmeterSerial.begin(9600); // Initialize communication with PZEM-051
Serial.println("PZEM-051 Wattmeter Interface Initialized");
}
void loop() {
// Request data from the wattmeter
wattmeterSerial.write(0xB0); // Example command to request data (refer to datasheet)
// Wait for response
delay(100);
// Check if data is available
if (wattmeterSerial.available()) {
Serial.print("Wattmeter Data: ");
while (wattmeterSerial.available()) {
// Read and print each byte of data
Serial.print(wattmeterSerial.read(), HEX);
Serial.print(" ");
}
Serial.println();
}
delay(1000); // Wait 1 second before the next request
}
0xB0
command with the appropriate command as per the PZEM-051 datasheet.No Data Output on UART:
Incorrect Power Readings:
Wattmeter Not Powering On:
Interference in UART Communication:
Q1: Can the PZEM-051 measure DC power?
A1: No, the PZEM-051 is designed specifically for AC power measurement.
Q2: What is the maximum current it can measure?
A2: The wattmeter can measure up to 100A using the provided current transformer.
Q3: Can I use this wattmeter with a Raspberry Pi?
A3: Yes, you can use the UART interface to connect the wattmeter to a Raspberry Pi. Ensure proper voltage level shifting if required.
Q4: How do I reset the energy counter?
A4: Refer to the manufacturer's datasheet for the specific UART command to reset the energy counter.
This concludes the documentation for the PZEM-051 Wattmeter. For further details, refer to the manufacturer's datasheet or contact technical support.