Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use PZEM-017 small: Examples, Pinouts, and Specs

Image of PZEM-017 small
Cirkit Designer LogoDesign with PZEM-017 small in Cirkit Designer

Introduction

The PZEM-017 Small is a compact and versatile module designed for measuring various electrical parameters in AC circuits. This module can accurately measure voltage, current, power, and energy, making it an essential tool for monitoring and managing electrical systems. Its small size and ease of integration make it suitable for a wide range of applications, including home automation, industrial monitoring, and energy management systems.

Explore Projects Built with PZEM-017 small

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-Based Smart Environmental Monitoring System with Relay Control
Image of SOCOTECO: A project utilizing PZEM-017 small in a practical application
This is a smart environmental monitoring and control system featuring an ESP32 microcontroller interfaced with a PZEM004T for power monitoring, relay modules for actuating bulbs and a fan, and an LCD for user interface. It includes flame, gas, and vibration sensors for safety monitoring purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Controlled AC Lighting System with Power Monitoring
Image of Smart Energy Meter: A project utilizing PZEM-017 small in a practical application
This circuit features an ESP32 microcontroller interfaced with a PZEM004T power monitoring module and a 4-channel relay module controlling multiple AC LED bulbs. The ESP32 uses GPIO pins to control the relays, which in turn switch the LED bulbs on and off. The PZEM004T is connected to the ESP32 for communication and to a current sensor for monitoring power consumption of the connected load through the relay contacts.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP8266 NodeMCU Based Energy Monitoring Display with PZEM004T and OLED Screen
Image of Energy Consumption Monitoring: A project utilizing PZEM-017 small in a practical application
This circuit is designed to monitor electrical parameters using the PZEM004t sensor and display the data on a 0.96" OLED screen. The esp8266 nodemcu serves as the central controller, interfacing with the PZEM004t sensor via serial communication (RX/TX) and with the OLED display through an I2C connection (SCK/SDA). A 5V adapter provides power to the circuit, with the nodemcu regulating down to 3.3V for the OLED display and the PZEM004t sensor receiving 5V directly.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 and PZEM004T-Based Smart Light Control with Current Sensing
Image of Smart Energy Meter: A project utilizing PZEM-017 small in a practical application
This circuit is designed for monitoring and controlling AC loads using an ESP32 microcontroller. It includes a PZEM004T module for measuring voltage, current, and power, and a 4-channel relay module to switch three LED bulbs. The ESP32 communicates with the PZEM004T via UART and controls the relays to manage the connected loads.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with PZEM-017 small

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of SOCOTECO: A project utilizing PZEM-017 small in a practical application
ESP32-Based Smart Environmental Monitoring System with Relay Control
This is a smart environmental monitoring and control system featuring an ESP32 microcontroller interfaced with a PZEM004T for power monitoring, relay modules for actuating bulbs and a fan, and an LCD for user interface. It includes flame, gas, and vibration sensors for safety monitoring purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Smart Energy Meter: A project utilizing PZEM-017 small in a practical application
ESP32-Controlled AC Lighting System with Power Monitoring
This circuit features an ESP32 microcontroller interfaced with a PZEM004T power monitoring module and a 4-channel relay module controlling multiple AC LED bulbs. The ESP32 uses GPIO pins to control the relays, which in turn switch the LED bulbs on and off. The PZEM004T is connected to the ESP32 for communication and to a current sensor for monitoring power consumption of the connected load through the relay contacts.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Energy Consumption Monitoring: A project utilizing PZEM-017 small in a practical application
ESP8266 NodeMCU Based Energy Monitoring Display with PZEM004T and OLED Screen
This circuit is designed to monitor electrical parameters using the PZEM004t sensor and display the data on a 0.96" OLED screen. The esp8266 nodemcu serves as the central controller, interfacing with the PZEM004t sensor via serial communication (RX/TX) and with the OLED display through an I2C connection (SCK/SDA). A 5V adapter provides power to the circuit, with the nodemcu regulating down to 3.3V for the OLED display and the PZEM004t sensor receiving 5V directly.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Smart Energy Meter: A project utilizing PZEM-017 small in a practical application
ESP32 and PZEM004T-Based Smart Light Control with Current Sensing
This circuit is designed for monitoring and controlling AC loads using an ESP32 microcontroller. It includes a PZEM004T module for measuring voltage, current, and power, and a 4-channel relay module to switch three LED bulbs. The ESP32 communicates with the PZEM004T via UART and controls the relays to manage the connected loads.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

Key Technical Details

Parameter Value
Voltage Range 80-260V AC
Current Range 0-100A (with external CT)
Power Range 0-22kW
Energy Range 0-9999kWh
Frequency Range 45-65Hz
Accuracy ±1%
Communication RS485
Power Supply 5V DC

Pin Configuration and Descriptions

Pin Number Pin Name Description
1 VCC Power supply input (5V DC)
2 GND Ground
3 A RS485 communication line A
4 B RS485 communication line B
5 V+ Voltage measurement input (connected to AC line)
6 V- Voltage measurement input (connected to AC line)
7 I+ Current measurement input (connected to CT)
8 I- Current measurement input (connected to CT)

Usage Instructions

How to Use the PZEM-017 Small in a Circuit

  1. Power Supply Connection:

    • Connect the VCC pin to a 5V DC power supply.
    • Connect the GND pin to the ground of the power supply.
  2. Voltage Measurement:

    • Connect the V+ and V- pins to the AC line where voltage measurement is required.
  3. Current Measurement:

    • Connect the I+ and I- pins to the current transformer (CT) for current measurement.
  4. Communication:

    • Connect the A and B pins to the RS485 communication lines for data transmission.

Important Considerations and Best Practices

  • Ensure that the module is powered with a stable 5V DC supply to avoid measurement inaccuracies.
  • Use appropriate current transformers (CTs) for accurate current measurement.
  • Properly insulate all connections to prevent electrical hazards.
  • Follow the manufacturer's guidelines for RS485 communication to ensure reliable data transmission.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Data Output:

    • Solution: Check the power supply connections and ensure the module is receiving 5V DC. Verify the RS485 communication lines are correctly connected.
  2. Inaccurate Measurements:

    • Solution: Ensure the voltage and current connections are secure and properly insulated. Use the recommended CT for current measurement.
  3. Communication Errors:

    • Solution: Verify the RS485 communication settings (baud rate, parity, etc.) match between the module and the receiving device.

FAQs

Q1: Can the PZEM-017 Small measure DC parameters?

  • No, the PZEM-017 Small is designed for AC measurements only.

Q2: What is the maximum current the module can measure?

  • The module can measure up to 100A with an appropriate current transformer (CT).

Q3: How do I reset the energy measurement?

  • Refer to the manufacturer's documentation for the specific command to reset the energy measurement via RS485 communication.

Example Code for Arduino UNO

Below is an example code to interface the PZEM-017 Small with an Arduino UNO using RS485 communication.

#include <SoftwareSerial.h>

// Define the RS485 communication pins
#define RX_PIN 10
#define TX_PIN 11

SoftwareSerial rs485Serial(RX_PIN, TX_PIN);

void setup() {
  // Initialize serial communication
  Serial.begin(9600);
  rs485Serial.begin(9600);

  // Print a message to indicate setup is complete
  Serial.println("PZEM-017 Small Module Setup Complete");
}

void loop() {
  // Request data from the PZEM-017 module
  rs485Serial.write(0x01); // Example command to request data

  // Wait for a response
  delay(100);

  // Check if data is available
  if (rs485Serial.available()) {
    // Read and print the data
    while (rs485Serial.available()) {
      byte data = rs485Serial.read();
      Serial.print(data, HEX);
      Serial.print(" ");
    }
    Serial.println();
  }

  // Wait before the next request
  delay(1000);
}

This code sets up RS485 communication between the Arduino UNO and the PZEM-017 Small module. It sends a request to the module and prints the received data to the Serial Monitor. Adjust the command and data handling as per the specific requirements of your application.