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

How to Use PiggyMeter: Examples, Pinouts, and Specs

Image of PiggyMeter
Cirkit Designer LogoDesign with PiggyMeter in Cirkit Designer

Introduction

The PiggyMeter, manufactured by Aquaticus (Part ID: IEC62056-21 Optical Interface), is an advanced electronic measuring device designed to monitor and display electrical parameters such as current, voltage, and power consumption. This device is particularly useful for energy efficiency assessments, enabling users to track and optimize power usage in various applications. Its compact design and precise measurement capabilities make it a versatile tool for both industrial and residential use.

Explore Projects Built with PiggyMeter

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 Energy Monitoring and Control System with PZEM004t and LCD Display
Image of pr1: A project utilizing PiggyMeter in a practical application
This circuit is a monitoring and control system using an ESP32 microcontroller. It integrates multiple PZEM004t energy meters, a rain gauge, a light sensor, and an LCD display for data visualization. Additionally, it controls a relay module to switch a bulb on or off based on sensor inputs.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Smart Energy Meter with GSM Module and LCD Display
Image of energy meter: A project utilizing PiggyMeter in a practical application
This circuit is an energy meter system that uses an Arduino UNO to monitor and control power usage. It includes a GSM module for sending SMS notifications, a relay to control an AC bulb, a limit switch for input, an LCD for display, and a buzzer for alerts.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Energy Monitoring and Control System with RS485 Communication
Image of ENERGY METER USING ESP-NOW: A project utilizing PiggyMeter in a practical application
This is a smart energy monitoring system consisting of three single-phase energy meters, each connected to an AC power supply and an AC bulb to measure energy consumption. The energy meters are interfaced with ESP32 microcontrollers through RS485 modules, indicating a setup for data acquisition and possibly remote communication, although the specific embedded functionality is not provided.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32C3 and SIM800L Powered Smart Energy Monitor with OLED Display and Wi-Fi Connectivity
Image of SERVER: A project utilizing PiggyMeter in a practical application
This circuit is a power monitoring system that uses an ESP32C3 microcontroller to collect power usage data from slave devices via WiFi and SMS. The collected data is displayed on a 0.96" OLED screen, and the system is powered by an AC-DC converter module. Additionally, the circuit includes a SIM800L GSM module for SMS communication and LEDs for status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with PiggyMeter

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 pr1: A project utilizing PiggyMeter in a practical application
ESP32-Based Smart Energy Monitoring and Control System with PZEM004t and LCD Display
This circuit is a monitoring and control system using an ESP32 microcontroller. It integrates multiple PZEM004t energy meters, a rain gauge, a light sensor, and an LCD display for data visualization. Additionally, it controls a relay module to switch a bulb on or off based on sensor inputs.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of energy meter: A project utilizing PiggyMeter in a practical application
Arduino UNO-Based Smart Energy Meter with GSM Module and LCD Display
This circuit is an energy meter system that uses an Arduino UNO to monitor and control power usage. It includes a GSM module for sending SMS notifications, a relay to control an AC bulb, a limit switch for input, an LCD for display, and a buzzer for alerts.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ENERGY METER USING ESP-NOW: A project utilizing PiggyMeter in a practical application
ESP32-Based Energy Monitoring and Control System with RS485 Communication
This is a smart energy monitoring system consisting of three single-phase energy meters, each connected to an AC power supply and an AC bulb to measure energy consumption. The energy meters are interfaced with ESP32 microcontrollers through RS485 modules, indicating a setup for data acquisition and possibly remote communication, although the specific embedded functionality is not provided.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of SERVER: A project utilizing PiggyMeter in a practical application
ESP32C3 and SIM800L Powered Smart Energy Monitor with OLED Display and Wi-Fi Connectivity
This circuit is a power monitoring system that uses an ESP32C3 microcontroller to collect power usage data from slave devices via WiFi and SMS. The collected data is displayed on a 0.96" OLED screen, and the system is powered by an AC-DC converter module. Additionally, the circuit includes a SIM800L GSM module for SMS communication and LEDs for status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Monitoring energy consumption in residential and commercial buildings.
  • Evaluating the efficiency of electrical appliances and systems.
  • Integrating into smart home systems for real-time energy tracking.
  • Industrial power monitoring for machinery and equipment.
  • Educational purposes in electronics and electrical engineering labs.

Technical Specifications

The PiggyMeter is designed to provide accurate and reliable measurements while being easy to integrate into existing systems. Below are its key technical specifications:

General Specifications

Parameter Value
Manufacturer Aquaticus
Part ID IEC62056-21 Optical Interface
Measurement Parameters Voltage, Current, Power
Operating Voltage Range 3.3V to 5V DC
Measurement Accuracy ±0.5%
Communication Protocol IEC 62056-21 (Optical)
Operating Temperature -10°C to 50°C
Dimensions 50mm x 30mm x 15mm

Pin Configuration

The PiggyMeter features a simple pinout for easy integration into circuits. Below is the pin configuration:

Pin Number Pin Name Description
1 VCC Power supply input (3.3V to 5V DC)
2 GND Ground connection
3 TX Transmit data (IEC 62056-21 protocol)
4 RX Receive data (IEC 62056-21 protocol)
5 OPTICAL_IN Optical input for data reception
6 OPTICAL_OUT Optical output for data transmission

Usage Instructions

The PiggyMeter is designed for straightforward integration into electrical systems. Follow the steps below to use the device effectively:

Connecting the PiggyMeter

  1. Power Supply: Connect the VCC pin to a 3.3V or 5V DC power source and the GND pin to the ground.
  2. Data Communication: Use the TX and RX pins to interface with a microcontroller or computer. Ensure the device supports the IEC 62056-21 protocol.
  3. Optical Interface: For optical communication, align the OPTICAL_IN and OPTICAL_OUT ports with the corresponding optical transceivers.

Important Considerations

  • Ensure the power supply voltage is within the specified range (3.3V to 5V DC) to avoid damage to the device.
  • Use appropriate pull-up resistors on the TX and RX lines if required by your microcontroller.
  • Avoid exposing the device to temperatures outside the operating range (-10°C to 50°C).
  • For accurate measurements, ensure proper alignment of the optical interface.

Example: Using PiggyMeter with Arduino UNO

The PiggyMeter can be easily connected to an Arduino UNO for data acquisition. Below is an example code snippet to read data from the PiggyMeter:

#include <SoftwareSerial.h>

// Define RX and TX pins for SoftwareSerial
#define RX_PIN 10  // Connect to PiggyMeter TX pin
#define TX_PIN 11  // Connect to PiggyMeter RX pin

SoftwareSerial piggyMeterSerial(RX_PIN, TX_PIN);

void setup() {
  Serial.begin(9600); // Initialize Serial Monitor
  piggyMeterSerial.begin(9600); // Initialize PiggyMeter communication

  Serial.println("PiggyMeter Initialized");
}

void loop() {
  if (piggyMeterSerial.available()) {
    // Read data from PiggyMeter
    String data = piggyMeterSerial.readStringUntil('\n');
    Serial.println("PiggyMeter Data: " + data); // Print data to Serial Monitor
  }
}

Notes:

  • Ensure the PiggyMeter is properly powered and connected to the Arduino.
  • The IEC 62056-21 protocol may require additional parsing depending on the data format.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Data Output:

    • Cause: Incorrect wiring or loose connections.
    • Solution: Verify all connections, especially the TX and RX pins.
  2. Inaccurate Measurements:

    • Cause: Misalignment of the optical interface or external interference.
    • Solution: Ensure proper alignment of the optical ports and minimize external light interference.
  3. Device Not Powering On:

    • Cause: Insufficient power supply or incorrect voltage.
    • Solution: Check the power supply voltage and ensure it is within the 3.3V to 5V range.
  4. Communication Errors:

    • Cause: Baud rate mismatch or protocol incompatibility.
    • Solution: Ensure the baud rate is set to 9600 and the device supports IEC 62056-21.

FAQs

Q1: Can the PiggyMeter be used outdoors?
A1: The PiggyMeter is not weatherproof and should be used in a dry, indoor environment.

Q2: What is the maximum distance for optical communication?
A2: The maximum distance depends on the optical transceivers used, but typically it is up to 1 meter.

Q3: Is the PiggyMeter compatible with other microcontrollers?
A3: Yes, the PiggyMeter can be used with any microcontroller that supports the IEC 62056-21 protocol.

Q4: How do I reset the PiggyMeter?
A4: Power cycle the device by disconnecting and reconnecting the power supply.

By following this documentation, users can effectively integrate and utilize the PiggyMeter for accurate energy monitoring and analysis.