Downloading software for the PZEM-017 DC power meter Go to product viewer dialog for this item.
PZEM-017 or PZEM017 modbus).provides logging and MQTT support specifically for Peacefair modules. Key Features of the PZEM-017 pzem-017 software download
into a custom project (e.g., using an Arduino, ESP32, or Raspberry Pi), you will need specific libraries rather than standalone "software": Downloading software for the PZEM-017 DC power meter
The primary software used to configure the PZEM-017 is a simple Modbus debugging tool, often labeled "PZEM-017 PC Software" or "Modbus Poll" . provides logging and MQTT support specifically for Peacefair
Wire the PZEM-017 as follows:
What it does: Displays real-time voltage, current, power, and energy. It allows you to modify the slave address and set high/low voltage alarm thresholds.
import minimalmodbus
instrument = minimalmodbus.Instrument('/dev/ttyUSB0', 1) # address 1
instrument.serial.baudrate = 9600
voltage = instrument.read_register(0, 2) # 2 decimal places
print(f"Voltage: voltage V")