IPEM, IoT Power Energy Monitor, is a 3 phase (or 3 x 1 phase), High-performance Mains Electricity Power Energy Monitor SDK board, designed for Home Automation.
This product
- This product is the version of the board with an Espressif ESP32UE (External U.FL IPEX Connector > Antenna), and an ATM90E32 Energy Monitor.
Board Options
The IPEM SDK boards are based on an Espressif ESP32 WROOM, with an ATM90E32 or ATM90E36 This dual designed board, which is provided fully tested, offers the flexibility of the same PCB layout design, for the four options available, as shown below.
Board Options | Antenna Type | Phases / CT Inputs | AC Voltage Inputs | |
---|
ESP32 Internal ATM90E32 | Internal PCB | 3 x ATM Line & 1 x ESP32 ADC | 1, SPLIT or 3 Phase | |
ESP32 Internal ATM90E36 | Internal PCB | 3 x ATM Line & 1 x ESP32 ADC (or 1 x Neutral) | 1, SPLIT or 3 Phase | |
ESP32 External ATM90E32 | External U.FL | 3 x ATM Line & 1 x ESP32 ADC | 1, SPLIT or 3 Phase | |
ESP32 External ATM90E36 | External U.FL | 3 x ATM Line & 1 x ESP32 ADC (or 1 x Neutral) | 1, SPLIT or 3 Phase | |
Antenna
As shown in the above table, IPEM board Antenna options include:
- ESP32E – Internal Wi-Fi/BT antenna (on the ESP32)
- ESP32UE – External Antenna (via U.FL).
The external antenna option will extend the Wi-Fi range if required, or where the IPEM board is housed in a metal enclosure. On the external antenna boards, use is made of the U.FL connector on the ESP32-WROOM-32UE-N4. An example of the folded external antenna is shown the photos.
Board Feature Overview
Further details can be found on this expanded comparison chart.
- Current Clamp Inputs
- IPEM has three main CT Clamp inputs, for Current Measurement Options:
- 3 x Single phases (such as Mains In, Solar Inverter, Power Circuit etc.)
- Full Three Phase (3φ. Voltage on each phase is 120 degrees phase shifted, relative to each of the other phases)
- Split Phase (Dual Phase A and B. Such as USA 2 x 120V)
- The board has three, or four, standard 3.5mm sockets fitted, so the CT clamp can just plug in.
- Solder pads are also provided on each current clamp input, where the 3.5mm connection is not available.
- Burden resistor can be optionally enabled via a solder pad (Not needed for Standard Measurements)
- Example of CT clamp are the popular split-core YHDC SCT-013-000 (using a standard 3.5mm mono jack plug).
- Voltage Inputs
- IPEM has three voltage inputs for safely monitoring mains voltages. This achieved using a voltage derived from a SELV / Wall AC/AC Power Supply.
- Voltage Inputs. You can use a single voltage, or multiple voltages input.
- Three solder pads are provided, with a common ground.
- Solder Options
- Board Power
- IPEM has an on-board SMPS DC Power Supply, which is derived from the AC Power Input, via an AC terminal block / solder pad, for normal operation.
- This achieved using a SELV, Wall AC/AC Power Supply. The supply needs to be 8 to 12 V AC RMS – Ideally 12V.
- Examples of a suitable Low Voltage 4 to 12V AC power supplies are bell transformers such as the TR7, Byron Din Rail, or DATA01A Transformer. These may vary in different countries but local sourcing should be straight forward.
- Flashing and Code
- The IPEM board has a complete Wemos D1 ESP32 Mini compatible interface.
- Allows ease of interfacing such as from Arduino IDE and Platform IO.
- The USB input (via Micro USB), can also power the board when developing code.
- The board can safely have both USB power and AC Power at the same time.
- EEPROM
- On-board 24C64 EEPROM
- 64-Kbit (8K x 8 bits)
- Easy storing of parameters, Logs etc.
- Accessible using standard I2C EEPROM library
- OLED Display
- Should you wish to add a display to the IPEM board, a four pin header is provided.
- Power pins are configurable for pin 1 and 2.
Board Configuration
Solder configuration pads are provided on the bottom of the PCB.
Specification of IPEM Family
The IPEM board is suppled fully tested. You will require to flash your specific code, or from our examples on GitHub
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
- 1 x Phase CT Clamp Input (To ESP32 ADC)
- 3 x Voltage Inputs (AC RMS)
- Power Modes Settings
- ATM90E36 Energy Monitor
- 3 x Phases Line CT Clamp Input
- 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
- 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)
- USER GPIO/UART
- 2 GPIO for User (GP16 and GP17)
- UART Interfacing (UART 2)
- Reset Button
- User Programmable Button / Link
- 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
- Power Modes
- Normal
- Partial Measure
- Detection
- Idle
- PSU AP632x DC-DC SMPS
- 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
- 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
In the Box
- IPEM ATM90E32 ESP32 board – PCB Antenna Version
You will need to update the firmware with your preferred open source firmware, using a standard micro USB cable (not included). Working examples of test code can be found in our Wiki and GitHub
- 1 x IPEM-1 ESP32 Board
- SMD (Surface Mounted Components) Populated.
- Fully Tested
- 2 x Terminal Blocks (2 Pin and 4 Pin – Not Soldered)
- 1 x Strip of straight pin header
- 1 x 4 pin header socket (Not Soldered)
- 1 x Complimentary screwdriver
Available Separately
Not Included
- You will need to provide external 12V AC for power up of the Energy Monitor functions. Examples GreenBrook DAT01A or TLC TC TR7
- You will need to provide CT Current Clamps. Ideally YHDC SCT-013-000
- Optional enclosure available
Further Information
Further details and code can be obtained on our website ditronix.net or GitHub github.com / ditronix
Project information is also available on hackster.io / ditronix
Tags
24LC64, 3-Phase, 3Phase, 3x1 Phase, Arduino, ATM90E32, ATM90E36, Bell Transformer, CH340, D1 Compatible, Domoticz, EEPROM, Energy, Energy Monitor, ESP32, ESPHome, Grid, IPEM, GTEM, GTIL, Home Automation, IoT Home Automation, Mains, Monitoring, SCT-013-000, SDK, Solar, SSD1306, Three-Phase, Tie, YHDC, YHDC SCT-013-000