IPEM ESP32 E32

IPEM is a 3 phase (or Single, Split, 3 + 1 phase), high-performance Mains Electricity Energy Monitor. with ESP32, ATM90E32 or ATM90E36

This product is the ESP32 ATM90E32 Version

Description

Overview

IPEM is a 3 phase (or Single, Split, 3 + 1 phase), high-performance Mains Electricity Energy Monitor. with ESP32, ATM90E32 or ATM90E36

This product is the ESP32 ATM90E32 Version

History

Following on from the GTEM ATM90E26 project, interest and feedback has been encouraging. The GTEM board design works very well and has received positive responses, however, with multiple inverters, the next challenge was to increase the number of inputs.

An enhanced board project, called IPEM, has been designed, based on an ESP32 integrated with an ATM90E32 (or ATM90E36), for direct 3 Phase, 3 x Single Phases or 1 x Split Phase (for USA), energy monitor. enhanced high-performance energy metering devices. These are complete current and voltages for each of the phases – fully user configurable.

Summary

  • ATM90E32 or E36 Main Power Energy Monitor.
  • Three Phase, or 3 x Single Phase Current Clamp.
  • Single, Split or Three Phase Voltage Inputs.
  • Separate CT4 interfaces to E36-IN or ADC-ESP32.
  • AC Power 12V Input for Safety Which Provides Power to Board and AC Voltage Sensing.
  • ESP32-WROOM-32 MCU (32E or 32UE).
  • 24C64 EEPROM (Parameters, Logging etc.)
  • USB Interface (Wemos D1 Compatible) UART Interface.
  • NTC Temperature.
  • User GPIO. OLED.

Features

With increased current sensor and AC voltage inputs, together with high dynamic range, the new IPEM board makes a good addition to the power energy monitoring projects.

Inline with my other MCU projects, I prefer the ‘complete’ board approach, where the ESP32 WROOM is included on the board, together with an EEPROM, for parameters and logging, plus a CH340 USB-UART, so providing ‘Wemos D1 Mini’ flashing, logging and debugging compatibility.

Safety, Safety and more Safety!

An important criteria of the Energy Monitor was the ability to safely and indirectly connect to mains, without working on high voltages.

For this reason, the board contains low voltage AC sampling and a DC power supply, both derived from a singe low voltage AC input.

The AC input should be safely derived from a SELV (Safety Extra Low Voltage), 12V transformer. This type of power supply, much like Bell transformers, provides total isolation from the mains as it features a lack of a return path, through earth.

The separate commonly used current clamp simply snaps over a single meter tail cable, so is safety isolated too.

Note: Most wall chargers are either DC output (which is no good) or PELV. To learn more about the differences of SELV and PELV, this video provides a good insight.

Logging and Parameters

Storing parameters ,settings and even local logs is always useful. All our boards include an AT24C64 (EEPROM 64Kb – [8K x 8] Memory IC ).

This is easily accessed via I2C and Arduino EEPROM libraries. The Non-Volatile memory allows for data to be retained, even when power is off. Examples being Wi-fi settings, calibration data etc.

Flashing, Programming and Debug Logging

To make it easier to connect using just a Micro USB cable, the IPEM board includes a CH340 USB-to-serial UART. This IC is commonly used on boards like the Arduino D1 mini, requires no drivers and makes programming and debugging from the Arduino IDE and Visual Studio Code / Platform IO easy.

Our SDKs are WeMos D1 Mini flashing compatible Set the BOARD to ESP32, ‘WEMOS D1 MINI ESP32’ DEV Module (or similar). You can also set the BAUD rate to 921600 to speed up flashing. The SDK does NOT need external power to flash. It will take Power from the USB 5V. You will need to provide external 12V AC for power up of the Energy Monitor functions. You will need to provide a CT Current Clamp. Ideally YHDC SCT-013-000

All test code is OPEN SOURCE and although is is not intended for real world use, it may be freely used, or modified as needed. It is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Versions

Two versions of the ESP32 was available. Espressif (ESP32-WROOM-32E-N4 Internal PCB antenna and ESP32-WROOM-32UE-N4), external Antenna via the IPEX U.FL)..

Further detail on my GitHub Wiki.

Further improvements to the design includes the ability to use the forth CT input on the ATM90E32 version. This has been achieved by allowing the port to be mapped via solder jumpers, to the ESP32 ADC.

 

Specification

The IPEM IoT Power Energy Monitor board main features:

  • Compact and Flexible Design SDK Board
    • All connections are low voltage, for safe operation
    • Easy to interface
  • Espressif ESP32 WROOM Options
    • ESP32-WROOM-32E-N4
      • Integral Antenna Wireless and Bluetooth
    • ESP32-WROOM-32UE-N4
      • Ext Antenna – U.FL Socket
      • Wireless and Bluetooth
  • ATM90E3x Options
    • ATM90E32 Energy Monitor
      • 3 x Phases Line CT Clamp Input
        • Example YHDC SCT013000
      • 1 x Phase CT Clamp Input (To ESP32 ADC)
        • Example YHDC SCT013000
      • 3 x Voltage Inputs (AC RMS)
      • Power Modes Settings
    • ATM90E36 Energy Monitor
      • 3 x Phases Line CT Clamp Input
        • Example YHDC SCT013000
      • 3 x Voltage Inputs (AC RMS)
      • 1 x Phase Neutral CT Clamp
      • DMA Mode (Logging via SPI)
      • Power Modes Settings
  • 24C64 EEPROM
    • Parameter Settings
    • Logging
  • OLED I2C
    • I2C Interface
    • OLED I2C Connector
      • Configurable Power Pins
  • AC Low Voltage Input (for Safety)
    • Power safely derived from a SELV / Wall AC/AC Power Supply
      • 8 to 12V AC RMS
      • Examples GreenBrook DAT01A or TLC TC TR7
  • Onboard 3V3 DC SMPS Power Supply
    • Power taken from AC Input
  • Arduino Wemos D1 Compatible USB Interface
    • On-board Micro USB Socket
    • Flashing and Programming
    • Example wemos_d1_mini32
    • Can also used to power the board
    • Debugging
  • On Board NTC (PCB Ambient Temperature)
    • ESP32 GP39 VN
  • USER GPIO/UART
    • 2 GPIO for User (GP16 and GP17)
    • UART Interfacing (UART 2)
  • Reset Button
  • User Programmable Button / Link
    • Connected to GP26
  • Configurable Solder Jumpers
    • 4 x CT Clamp Burden Resistor 22R
    • CT4 configuration options
      • ATM90E36 I4 inputs
      • ESP32 ADC 1 CH7 – GP35
    • AC Voltage Measure V1P
      • Via AC Power Supply input
      • Via AC Voltage Header
    • ATM90E36 DMA
      • Auto DMA via ESP32 GP12
      • DMA Control
        • SPI Mode
        • DMA Mode
    • Power Modes
      • Normal
      • Partial Measure
      • Detection
      • Idle
    • PSU AP632x DC-DC SMPS
      • AP63203 Fixed Voltage
    • OLED / I2C Header
      • Configurable Pin 1 and 2
        • Pin 1 Ground or 3V3
        • Pin 2 Ground or 3V3
  • RGB Status LED
    • User Configurable via GPIO
  • Power LED
    • On 3V3
  • ATM CT LEDs
    • CF1 – Active
    • CF2 – ReActive
    • CF3 – Fundamental
    • CF4 – Harmonic
  • PCB designed to fit into an BMC enclosure
    • Also allows for the display to be included, or not.
  • Size 70 mm x 53 mm

Additional information

Country of Manufacture

United Kingdom

HS Code

8534009000

Manufacturer

DitroniX Ltd

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Links

Wiki

STEM

All boards are provided with a view to Supporting  STEM Learning

Life is one long exciting learning curve, help others by setting the seed to knowledge.

GitHub

Further Product information maybe found in the DitroniX GitHub Repositories.

Each separate board repository includes:

  • General Information
    • Datasheets
    • Graphics
    • Hardware Information
    • Schematics
  • Firmware and Code Examples
  • Wiki pages
  • Discussion Forums
  • Certification

 

GitHub Home