Description
IPEC, IoT Power Energy Controller and 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 is the version of the board with an Espressif ESP32E (Internal PCB Antenna) , an ATM90E32 Energy Monitor and a MCP4728 DAC A Separate IPEX Expansion Board is available, which allows both DAC and ADC Connections. Antenna As shown in the above table, IPEC 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 IPEC 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 IPEC 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 IPEC 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 DAC On-board MCP4728 DAC 12bit – 4 Channels Modulated PWM Output Expansion Port I2C and Two channels DAC or PWM Output IPEX Expansion Board Interface JST 6W SH Header 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 IPEC/IPEX Family The IPEC board is suppled fully tested. You will require to flash your specific code, or from our examples on GitHub The IPEC IoT Power Energy Controller board main features: Compact and Flexible Design SDK Board All connections are low voltage , for safe operation Easy to interface Optional Espressif ESP32 WROOM ESP32-WROOM-32E-N4 Integral Antenna Wireless and Bluetooth ESP32-WROOM-32UE-N4 Ext Antenna – U.FL Socket Wireless and Bluetooth ATM90E32 Energy Monitor 3 x Phases Line CT Clamp Input Example YHDC SCT013000 3 x Voltage Sensing Inputs (AC RMS) Can be used with Single Phase, or Multi AC Inputs (For Split or 3Phase) Normally Taken from AC Power Input (by Default) Power Modes Settings MCP4728 DAC 12bit I2C DAC Four Independent Buffered Output Channels Configured for Default DAC Out, or Modulated (Example MPPT) Configurable Solder Pads On-Board DAC EEPROM (For DAC Codes and Addressing) Can be configured to drive DAC based on CT Clamp Current / Power 24C64 EEPROM I2C Parameter Settings Logging OLED I2C I2C Interface OLED I2C Connector Configurable Power Pins AC Low Voltage Input (for Safety) Standard 2.1mm Jack Socket Power safely derived from a SELV / Wall AC/AC Power Supply 8 to 12V AC RMS (Nominal 12V) Examples GreenBrook DAT01A or TLC TC TR7 Onboard 3V3 DC SMPS Power Supply Power taken from AC Input, or USB 5V 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 Expansion Port Configurable and Flexible Port DAC Outputs I2C Interface 3v3 Power Standard JST SH 6 Way Header USER GPIO/UART 2 GPIO for User (GP16 and GP17) UART Interfacing (UART 2) Reset Button User Programmable Button RGB Status LED User Configurable Power LED On 3V3 ATM CT LEDs CF1 – Active CF2 – ReActive CF3 – Fundamental CF4 – Harmonic Configuration Solder Pads on Rear of PCB. PCB designed to fit neatly into an BMC enclosure Also allows for the display to be included, or not. Firmware – Code Full Example Code in GitHub Source Code Based on IPEM Publish to MQTT Publish to Domoticz Publish to ThingSpeak Drive DAC for PWM / Voltage or MPPT Based on CT Readings Size 70 mm x 53 mm In the Box IPEC ATM90E32 ESP32E 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 IPEC-1 ESP32E 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 6W JST Header Cable 1 x Complimentary screwdriver Available Separately Enclosure OLED 0.96″ Folded 2.4 GHz Antenna with U.FL Connector YHDC Current Transformer SCT-013-000 (100A/50mA) Transformer 12V AC 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