5168

Explore the simplicity of energy monitoring with the ESP32 Energy Meter, featuring the ATM90E32AS chip. Perfect for anyone looking to track energy use accurately.


Introduction In the field of engineering, combining the right technologies can lead to significant advancements. This project aims to develop an energy meter using the Espressif ESP32 microcontroller and Microchip’s ATM90E32AS energy metering IC. The goal is straightforward: to create a reliable system for accurate energy measurement from your home or workshop’s main circuit box. This meter will enable users to track their power consumption in real time, offering insights that can lead to more efficient energy use. 


 If you want a deep dive into this project, this project has been published in the Elektor Mag. Following are the links to the editions where the project updates were reported.
 1.  Elektor 12/2023 on page 96
2. Elektor 1/2024 on page 6
 
   The main purpose of creating this Lab's Project is to provide a general overview, to keep the community members updated, and also to get the feedback from the community. 

New Updates will be added from time to time, so stay tuned.

Components and Materials

  • ESP32 Microcontroller: Chosen for its Wi-Fi capability and low-power consumption.
  • ATM90E32AS Energy Metering IC: Provides precise energy measurement.
  • OLED Display: For immediate data visualization, connected via I2C.
  • Hi-Link Power Modules (HLK-5M05): Ensures galvanic isolation between high-voltage and control sides.
  • ADuM3151 Digital Isolator (Analog Devices): Facilitates safe SPI communication.
  • AMS1117-3.3 Regulators: For stable 3.3V power supply.
  • Additional components: Fuses, MOV (Metal Oxide Varistor), resistors, capacitors, LEDs, and connectors.

The Schematic 



The Block Diagram



System Design and Safety Measures 

The project is designed with safety and efficiency in mind. Galvanic isolation, provided by Hi-Link modules and the ADuM3151 digital isolator, protects the ESP32 and any connected devices from high-voltage transients. This is crucial for maintaining the integrity of the system and ensuring user safety.

User Interface and Webserver

An OLED display will be used to present the energy data clearly and efficiently, while a webserver will be hosted on the ESP32 to allow users for remote data access and analysis. The web interface will be designed to be user-friendly, providing comprehensive insights into energy consumption.

Future Development and Enhancements

he initial PCB design has been manufactured and is currently in testing, after the testing, the firmware development scheduled. Planned enhancements include remote monitoring capabilities, alerts for unusual energy patterns, and analytical tools for optimizing energy usage.

Conclusion

This project represents a step forward in DIY energy monitoring, combining detailed energy data analysis with user safety and system reliability. We encourage the community to engage with the project, offering feedback and suggestions for future improvements.

How to Contribute

We welcome contributions and feedback from the community. If you're interested in improving the project or have suggestions, please reach out or contribute in the comments section below.