{"title":"Mains Energy Monitors","description":"","products":[{"product_id":"epem-atm90e36","title":"EPEM ATM90E36","description":"\u003cp\u003eThe \u003cstrong\u003eEPEM\u003c\/strong\u003e SDK board contains all of the original proven \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-IoT-Power-Energy-Monitor\"\u003eIPEM\u003c\/a\u003e functionality, including the ATM90E36, then adds Ethernet and RS-485 interfaces.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eEPEM\u003c\/strong\u003e is an acronym for \u003cstrong\u003eEthernet, Power Energy Monitor\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eEPEM\u003c\/strong\u003e is a compact and powerful STEM Community board which is designed for IoT monitoring of mains power circuits.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/DitroniX\/blob\/main\/Compare%20Mains%20Power%20Energy%20Monitors.md\" title=\"DitroniX Mains Power Polyphase IoT Energy Monitor Comparisons\" rel=\"noopener\" target=\"_blank\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/Compare-DitroniX-Energy-Monitors-1024x106.png?v=1782664552\" alt=\"\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003ch3 dir=\"auto\"\u003eVideo\u003c\/h3\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.youtube.com\/watch?v=buDLhy5ddp8\"\u003ehttps:\/\/www.youtube.com\/watch?v=buDLhy5ddp8\u003c\/a\u003e\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eWhat is a Power Energy Monitor?\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eA power energy monitor is a device that safely samples the AC voltage and current flow, from one, or more, electrical phases, and from this, derives a range of accurate mains power measurements which can then be used for smart metering, or energy monitoring purposes.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThese individual measurements can then be extrapolated into a range of useful real-time data such as total RMS power, active, re-active power, harmonic power, power factor, phase angles, frequency, etc.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThe purpose of extracting the power energy data within Solar Inverter installations, as an example, will enable you to much better manage what you do with the available energy, ways of storage, EV Charging, divert under certain conditions, and control flow from, and to, the grid.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eAll this data is far more extended information than the basic electric meter functionality, allowing for smart IoT systems and greater efficient use of our own energy. It may sound complicated but it does not need to be and all depends on your setup, use-case and what you want to achieve.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eWhere can EPEM be used?\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003cstrong\u003eEPEM\u003c\/strong\u003e board can be used in a number of projects and installations such as:\u003c\/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eHomes\u003c\/li\u003e\n\u003cli\u003eEducation\u003c\/li\u003e\n\u003cli\u003eOffices\u003c\/li\u003e\n\u003cli\u003eCommercial\u003c\/li\u003e\n\u003cli\u003eFactories\u003c\/li\u003e\n\u003cli\u003eFarms\u003c\/li\u003e\n\u003cli\u003eEV Charging\u003c\/li\u003e\n\u003cli\u003eSmart Metering\u003c\/li\u003e\n\u003cli\u003eGreenhouses\u003c\/li\u003e\n\u003cli\u003eFactories\u003c\/li\u003e\n\u003cli\u003eIndustry\u003c\/li\u003e\n\u003cli\u003eSolar Farms\u003c\/li\u003e\n\u003cli\u003eWind Farms\u003c\/li\u003e\n\u003cli\u003eOff Grid Systems\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eEPEM History\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003cstrong\u003eEPEM\u003c\/strong\u003e board is a natural design evolution of the original and popular ESP32 based \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-IoT-Power-Energy-Monitor\"\u003eIPEM\u003c\/a\u003e (IoT Power Energy Monitor), and some features from the \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-PiHat-IoT-Power-Energy-Monitor\"\u003eIPEM PiHat\u003c\/a\u003e. These boards are in use around the World and continuity in supply was needed.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eDue to some part obsolescence on the original IPEM ESP32 board and natural 'upgrade' options such as USB Type C, a redesign was required and thus the \u003cstrong\u003eEPEM\u003c\/strong\u003e concept was placed on the drawing board. With various ingredients in the pantry, this moved around like a small game of snakes and ladders in candle light and a final design came out of the kitchen oven.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eThe key ingredients changes:\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cstrong\u003eSwap ESP32 to ESP32-C6\u003c\/strong\u003e - Increased speed and superior radio with Zigbee Mesh\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eStandardize ATM90E36\u003c\/strong\u003e only - This version provides all of the ATM90E32 features, plus a lot more functionality such as DMA.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAdd Ethernet\u003c\/strong\u003e - Power is naturally available so PoE overhead not considered a requirement\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAdd RS-485\u003c\/strong\u003e - For local data gathering and interfacing\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eMove to USB Type C\u003c\/strong\u003e (x 2)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAdd Rogowski Inputs\u003c\/strong\u003e - allows for high current monitoring where needed\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eStandardize on ESP32-C6 (U.FL\u003c\/strong\u003e \u003cstrong\u003eMHF3)\u003c\/strong\u003e only - compact and most popular package\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eChallenge\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eMy design focus was to maintain the original IPEM board size of 85x55mm, maintaining mechanical compatibility, where possible, but also squeeze in:\u003c\/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eEthernet Controller with Full TCP\/IP Stack\u003c\/li\u003e\n\u003cli\u003eRJ45 Connector\u003c\/li\u003e\n\u003cli\u003eRS-485 Interface (MODBUS)\u003c\/li\u003e\n\u003cli\u003eDS3231DN RTC \u0026amp; Battery Backup Option\u003c\/li\u003e\n\u003cli\u003eRemove Solder Jumpers\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp dir=\"auto\"\u003eIn addition, although the board is multi-layer, I wanted to try and keep all SMT ideally to one side in order to keep the board mechanical skyline as low and compact as possible, this meant all standard passive components shrinking down to very small size and so including more features for the user.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eMCU Change\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eAll original IPEM boards and variants were based on the ESP32-WROOM.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eWith the advances in Espressif MCU technologies, moving away from the humble ESP32 to the newer ESP32-C6 provides increased speed advantage plus the superior and powerful radio with Zigbee, thread and mesh, so the move to using the ESP32-C6 in \u003cstrong\u003eEPEM\u003c\/strong\u003e was an obvious choice. It also has a much smaller footprint, which is a big bonus.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eEthernet\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eFor a while, users have been asking about possibility of adding Ethernet to the IPEM board, largely due to either the boards being mounted inside cabinets for example, or away from access points, and also for security or low power closed IoT systems.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThe ESP32-C6 does not have an internal EMAC with MII\/RMII (as with original ESP32), so I have opted to use the SPI interface to the popular WIZnet W5500 Ethernet Interface.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eRadio and U.FL\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eWith \u003cstrong\u003eEPEM\u003c\/strong\u003e boards potentially going into metal, or shielded cabinets, or needing external antennas, aside from ethernet, the U.FL connection interest has also peaked.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eAs previously mentioned, the ESP32-C6 includes a powerful radio module, opening up a range of IoT applications that include:\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eWi-Fi 6\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e2.4 GHz (2400 ~ 2483.5 MHz)\u003c\/li\u003e\n\u003cli\u003e802.11ax (20 MHz bandwidth)\u003c\/li\u003e\n\u003cli\u003e802.11b\/g\/n (20\/40 MHz bandwidth)\u003c\/li\u003e\n\u003cli\u003eCE Max EIRP 19.81 dBm\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eBluetooth\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e2.4 GHz (2400 ~ 2483.5 MHz)\u003c\/li\u003e\n\u003cli\u003eBluetooth LE\u003c\/li\u003e\n\u003cli\u003eBluetooth 5.3\u003c\/li\u003e\n\u003cli\u003eBluetooth Mesh\u003c\/li\u003e\n\u003cli\u003eCE Max EIRP 18.46 dBm\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\n\u003ca href=\"https:\/\/www.threadgroup.org\/\" rel=\"nofollow\"\u003eThread\u003c\/a\u003e 1.4\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e2.4 GHz (2405 ~ 2480 MHz)\u003c\/li\u003e\n\u003cli\u003e802.15.4\u003c\/li\u003e\n\u003cli\u003eThread Mesh\u003c\/li\u003e\n\u003cli\u003eCE Max EIRP 10.29 dBm\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\n\u003ca href=\"https:\/\/csa-iot.org\/\" rel=\"nofollow\"\u003eZigbee\u003c\/a\u003e 3.0\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e2.4 GHz (2405 ~ 2480 MHz)\u003c\/li\u003e\n\u003cli\u003e802.15.4\u003c\/li\u003e\n\u003cli\u003eZigbee Mesh\u003c\/li\u003e\n\u003cli\u003eCE Max EIRP 10.40 dBm\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp dir=\"auto\"\u003eZigbee and mesh are expanding in an range of home, farming and industrial applications, so will be interested to see how this develops over time.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eUsing a mix of Ethernet and Zigbee, installations could offer remote mesh systems, with a mix of communications technologies.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cem\u003e\u003cstrong\u003eTip: MHF3 Antenna Connection\u003c\/strong\u003e\u003c\/em\u003e\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eThe ESP32-C6-MINI-1U uses an\u003c\/em\u003e \u003ca href=\"https:\/\/www.i-pex.com\/product\/mhf-III\" rel=\"nofollow\"\u003e\u003cem\u003eIPEX MHF3\u003c\/em\u003e\u003c\/a\u003e \u003cem\u003eantenna connector (also known as IPEX3), which is much smaller than the standard commonly used IPEX MHF1, for example, on the ESP32-WROOM-32UE.\u003c\/em\u003e\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNB. This MHF3 connector, together with its very similar but different MHF4 variant, are commonly used on M.2 cards and laptop type Wi-Fi cards. The MHF3 and MHF4 connectors are not compatible as they are very so slightly different diameter and heights (mating depth).\u003c\/em\u003e\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eRS-485\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eTo interfacing to other Smart Meters, Devices and Smart Batteries which have an RS-485 MODBUS interface, the \u003cstrong\u003eEPEM\u003c\/strong\u003e includes a standard industry interface which allows you to collect, or control, other devices on the RS-485 bus.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThis RS-485 interface could also be used to control local CCTV on remote installations, or even send data from the \u003cstrong\u003eEPEM\u003c\/strong\u003e board over a single twisted pair, up to around 1,200 meters (4,000 feet), in distance. Ideal for farms and remote installations.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eReal Time Clock\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eThe need to maintain a very accurate real time clock when metering, or logging, was requested by some users. Ideally battery backed up.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThis feature was included on the \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-PiHat-IoT-Power-Energy-Monitor\"\u003eIPEM PiHat\u003c\/a\u003e and so I have included it on the EPEM too.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eUsing the same extremely accurate and low power DS3231SN real time clock IC, with integrated temperature compensated crystal oscillator (TCXO), this is easily controlled via I2C and maintained via external optional plug-in CR2302 3V coin battery.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eBoard Configuration\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eEarlier IPEM boards used solder jumpers and whilst these worked, I wanted to make it easier to configure the boards.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eOn the IPEM PiHat's, I used DIP switches which worked well but these take up board space and are expensive. So on EPEM I have opted to use plug-in 2mm jumpers which give the best of both worlds.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eCT Clamps and Rogowski Current Transformer\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eEPEM\u003c\/strong\u003e was designed primarily for the standard CT clamp such as the YHDC SCT-013 100A-50mA. Inputs for each channel 1, 2, 3, plus N are via standard 3.5mm jack sockets.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eYou can also use Rogowski Current Transformers on any inputs. Each input is configurable using a jumper.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eMains Monitoring\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eAll my boards are designed to be safe and easy to use - with NO live working, mains electricity parts or dangerous exposed high voltages.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThe \u003cstrong\u003eEPEM\u003c\/strong\u003e uses only low voltage 12 V AC such as from a bell transformer and clip on CT Clamps.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eElectrical Circuit Types\u003c\/strong\u003e\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003cstrong\u003eEPEM\u003c\/strong\u003e is capable of monitoring a number of variations in energy monitoring systems such as:\u003c\/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eAccurately monitors \u003cem\u003eboth\u003c\/em\u003e Import and Export\u003c\/li\u003e\n\u003cli\u003eSingle phase (Home, Office etc.)\u003c\/li\u003e\n\u003cli\u003eMultiple Single Phases. (Different circuits or home\/office rings, Inverters etc.)\u003c\/li\u003e\n\u003cli\u003eDual Phase (2 x Live -Typically for USA. i.e. 2 x 110V)\u003c\/li\u003e\n\u003cli\u003eThree Phase Star (3 x Live and 1 x Neutral)\u003c\/li\u003e\n\u003cli\u003eThree Phase Delta (3 x Live)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eData Output\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eData provided from the \u003cstrong\u003eEPEM\u003c\/strong\u003e can be extrapolated through your code in any way you wish, in order to easily integrate with your IoT Home Automation system, or Solar Installation monitor.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eAll software and code is open source, community based and allows you to develop and integrate as you wish.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThe main process typically used for publishing data (internally or externally), is via MQTT, or you could use other direct publishing routes such as to Domoticz, Zabbix or Home Assistant.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eData from the ATM90E36 includes:\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eMains RMS Voltage (each phase)\u003c\/li\u003e\n\u003cli\u003eMains Frequency (each phase)\u003c\/li\u003e\n\u003cli\u003eImport and Export Values\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eMains RMS Current\u003c\/li\u003e\n\u003cli\u003eCalculated RMS Power\u003c\/li\u003e\n\u003cli\u003eActive Power (Absorbed or Used by the Load)\u003c\/li\u003e\n\u003cli\u003eCalculated Total Active Power\u003c\/li\u003e\n\u003cli\u003eRe-Active Power\u003c\/li\u003e\n\u003cli\u003eCalculated Total Reactive Power\u003c\/li\u003e\n\u003cli\u003eApparent Power (Total Amount of Power Flowing from Source to Load)\u003c\/li\u003e\n\u003cli\u003eCalculated Total Apparent Power\u003c\/li\u003e\n\u003cli\u003eFundamental Power\u003c\/li\u003e\n\u003cli\u003eHarmonic Power\u003c\/li\u003e\n\u003cli\u003ePower Factor\u003c\/li\u003e\n\u003cli\u003ePhase Angle\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eProgramming and Development\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eDevelopment is primarily supported through Visual Studio Code (VSCode) and Arduino IDE. This also includes platforms like ESPHome.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eA range of libraries are already available which support the devices on the \u003cstrong\u003eEPEM\u003c\/strong\u003e such as the:\u003c\/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eESP32-C6\u003c\/li\u003e\n\u003cli\u003eM90E36\u003c\/li\u003e\n\u003cli\u003eW5500\u003c\/li\u003e\n\u003cli\u003e24C64\u003c\/li\u003e\n\u003cli\u003eDS3231\u003c\/li\u003e\n\u003cli\u003eTMP102\u003c\/li\u003e\n\u003cli\u003eWS2812\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp dir=\"auto\"\u003eCode support is available in my existing \u003ca href=\"https:\/\/github.com\/DitroniX\"\u003eGitHub\u003c\/a\u003e IPEM and FLiX repositories, with a specific core EPEM \u003ca href=\"https:\/\/github.com\/DitroniX\/EPEM-Ethernet-Power-Energy-Monitor\/tree\/main\/Code\"\u003ecode\u003c\/a\u003e repository being provided as the board evolves, together with a new \u003ca href=\"https:\/\/github.com\/DitroniX\/FLEX-DitroniX-Power-Energy-Monitor-Firmware\"\u003eFLeX\u003c\/a\u003e test and bring up firmware, which is in development.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThis is a worldwide community project and is able to be integrated in so many systems.\u003c\/p\u003e","brand":"DitroniX","offers":[{"title":"Default Title","offer_id":53391092810056,"sku":"EPEM-E36","price":45.0,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/epem-atm90e36-8619703.png?v=1782753742"},{"product_id":"epem-atm90e32","title":"EPEM ATM90E32","description":"\u003cp\u003eThe \u003cstrong\u003eEPEM\u003c\/strong\u003e SDK board contains all of the original proven \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-IoT-Power-Energy-Monitor\"\u003eIPEM\u003c\/a\u003e functionality, including the ATM90E32, then adds Ethernet and RS-485 interfaces.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eEPEM\u003c\/strong\u003e is an acronym for \u003cstrong\u003eEthernet, Power Energy Monitor\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eEPEM\u003c\/strong\u003e is a compact and powerful STEM Community board which is designed for IoT monitoring of mains power circuits.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/DitroniX\/blob\/main\/Compare%20Mains%20Power%20Energy%20Monitors.md\" title=\"DitroniX Mains Power Polyphase IoT Energy Monitor Comparisons\" rel=\"noopener\" target=\"_blank\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/Compare-DitroniX-Energy-Monitors-1024x106.png?v=1782664552\" alt=\"\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003ch3 dir=\"auto\"\u003eVideo\u003c\/h3\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.youtube.com\/watch?v=buDLhy5ddp8\"\u003ehttps:\/\/www.youtube.com\/watch?v=buDLhy5ddp8\u003c\/a\u003e\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eWhat is a Power Energy Monitor?\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eA power energy monitor is a device that safely samples the AC voltage and current flow, from one, or more, electrical phases, and from this, derives a range of accurate mains power measurements which can then be used for smart metering, or energy monitoring purposes.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThese individual measurements can then be extrapolated into a range of useful real-time data such as total RMS power, active, re-active power, harmonic power, power factor, phase angles, frequency, etc.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThe purpose of extracting the power energy data within Solar Inverter installations, as an example, will enable you to much better manage what you do with the available energy, ways of storage, EV Charging, divert under certain conditions, and control flow from, and to, the grid.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eAll this data is far more extended information than the basic electric meter functionality, allowing for smart IoT systems and greater efficient use of our own energy. It may sound complicated but it does not need to be and all depends on your setup, use-case and what you want to achieve.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eWhere can EPEM be used?\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003cstrong\u003eEPEM\u003c\/strong\u003e board can be used in a number of projects and installations such as:\u003c\/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eHomes\u003c\/li\u003e\n\u003cli\u003eEducation\u003c\/li\u003e\n\u003cli\u003eOffices\u003c\/li\u003e\n\u003cli\u003eCommercial\u003c\/li\u003e\n\u003cli\u003eFactories\u003c\/li\u003e\n\u003cli\u003eFarms\u003c\/li\u003e\n\u003cli\u003eEV Charging\u003c\/li\u003e\n\u003cli\u003eSmart Metering\u003c\/li\u003e\n\u003cli\u003eGreenhouses\u003c\/li\u003e\n\u003cli\u003eFactories\u003c\/li\u003e\n\u003cli\u003eIndustry\u003c\/li\u003e\n\u003cli\u003eSolar Farms\u003c\/li\u003e\n\u003cli\u003eWind Farms\u003c\/li\u003e\n\u003cli\u003eOff Grid Systems\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eEPEM History\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003cstrong\u003eEPEM\u003c\/strong\u003e board is a natural design evolution of the original and popular ESP32 based \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-IoT-Power-Energy-Monitor\"\u003eIPEM\u003c\/a\u003e (IoT Power Energy Monitor), and some features from the \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-PiHat-IoT-Power-Energy-Monitor\"\u003eIPEM PiHat\u003c\/a\u003e. These boards are in use around the World and continuity in supply was needed.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eDue to some part obsolescence on the original IPEM ESP32 board and natural 'upgrade' options such as USB Type C, a redesign was required and thus the \u003cstrong\u003eEPEM\u003c\/strong\u003e concept was placed on the drawing board. With various ingredients in the pantry, this moved around like a small game of snakes and ladders in candle light and a final design came out of the kitchen oven.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eThe key ingredients changes:\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cstrong\u003eSwap ESP32 to ESP32-C6\u003c\/strong\u003e - Increased speed and superior radio with Zigbee Mesh\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eATM90E32 \u003c\/strong\u003e- Advanced Power Energy Monitor\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAdd Ethernet\u003c\/strong\u003e - Power is naturally available so PoE overhead not considered a requirement\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAdd RS-485\u003c\/strong\u003e - For local data gathering and interfacing\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eMove to USB Type C\u003c\/strong\u003e (x 2)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAdd Rogowski Inputs\u003c\/strong\u003e - allows for high current monitoring where needed\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eStandardize on ESP32-C6 (U.FL\u003c\/strong\u003e \u003cstrong\u003eMHF3)\u003c\/strong\u003e only - compact and most popular package\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eChallenge\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eMy design focus was to maintain the original IPEM board size of 85x55mm, maintaining mechanical compatibility, where possible, but also squeeze in:\u003c\/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eEthernet Controller with Full TCP\/IP Stack\u003c\/li\u003e\n\u003cli\u003eRJ45 Connector\u003c\/li\u003e\n\u003cli\u003eRS-485 Interface (MODBUS)\u003c\/li\u003e\n\u003cli\u003eDS3231DN RTC \u0026amp; Battery Backup Option\u003c\/li\u003e\n\u003cli\u003eRemove Solder Jumpers\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp dir=\"auto\"\u003eIn addition, although the board is multi-layer, I wanted to try and keep all SMT ideally to one side in order to keep the board mechanical skyline as low and compact as possible, this meant all standard passive components shrinking down to very small size and so including more features for the user.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eMCU Change\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eAll original IPEM boards and variants were based on the ESP32-WROOM.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eWith the advances in Espressif MCU technologies, moving away from the humble ESP32 to the newer ESP32-C6 provides increased speed advantage plus the superior and powerful radio with Zigbee, thread and mesh, so the move to using the ESP32-C6 in \u003cstrong\u003eEPEM\u003c\/strong\u003e was an obvious choice. It also has a much smaller footprint, which is a big bonus.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eEthernet\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eFor a while, users have been asking about possibility of adding Ethernet to the IPEM board, largely due to either the boards being mounted inside cabinets for example, or away from access points, and also for security or low power closed IoT systems.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThe ESP32-C6 does not have an internal EMAC with MII\/RMII (as with original ESP32), so I have opted to use the SPI interface to the popular WIZnet W5500 Ethernet Interface.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eRadio and U.FL\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eWith \u003cstrong\u003eEPEM\u003c\/strong\u003e boards potentially going into metal, or shielded cabinets, or needing external antennas, aside from ethernet, the U.FL connection interest has also peaked.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eAs previously mentioned, the ESP32-C6 includes a powerful radio module, opening up a range of IoT applications that include:\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eWi-Fi 6\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e2.4 GHz (2400 ~ 2483.5 MHz)\u003c\/li\u003e\n\u003cli\u003e802.11ax (20 MHz bandwidth)\u003c\/li\u003e\n\u003cli\u003e802.11b\/g\/n (20\/40 MHz bandwidth)\u003c\/li\u003e\n\u003cli\u003eCE Max EIRP 19.81 dBm\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eBluetooth\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e2.4 GHz (2400 ~ 2483.5 MHz)\u003c\/li\u003e\n\u003cli\u003eBluetooth LE\u003c\/li\u003e\n\u003cli\u003eBluetooth 5.3\u003c\/li\u003e\n\u003cli\u003eBluetooth Mesh\u003c\/li\u003e\n\u003cli\u003eCE Max EIRP 18.46 dBm\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\n\u003ca href=\"https:\/\/www.threadgroup.org\/\" rel=\"nofollow\"\u003eThread\u003c\/a\u003e 1.4\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e2.4 GHz (2405 ~ 2480 MHz)\u003c\/li\u003e\n\u003cli\u003e802.15.4\u003c\/li\u003e\n\u003cli\u003eThread Mesh\u003c\/li\u003e\n\u003cli\u003eCE Max EIRP 10.29 dBm\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\n\u003ca href=\"https:\/\/csa-iot.org\/\" rel=\"nofollow\"\u003eZigbee\u003c\/a\u003e 3.0\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e2.4 GHz (2405 ~ 2480 MHz)\u003c\/li\u003e\n\u003cli\u003e802.15.4\u003c\/li\u003e\n\u003cli\u003eZigbee Mesh\u003c\/li\u003e\n\u003cli\u003eCE Max EIRP 10.40 dBm\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp dir=\"auto\"\u003eZigbee and mesh are expanding in an range of home, farming and industrial applications, so will be interested to see how this develops over time.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eUsing a mix of Ethernet and Zigbee, installations could offer remote mesh systems, with a mix of communications technologies.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cem\u003e\u003cstrong\u003eTip: MHF3 Antenna Connection\u003c\/strong\u003e\u003c\/em\u003e\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eThe ESP32-C6-MINI-1U uses an\u003c\/em\u003e \u003ca href=\"https:\/\/www.i-pex.com\/product\/mhf-III\" rel=\"nofollow\"\u003e\u003cem\u003eIPEX MHF3\u003c\/em\u003e\u003c\/a\u003e \u003cem\u003eantenna connector (also known as IPEX3), which is much smaller than the standard commonly used IPEX MHF1, for example, on the ESP32-WROOM-32UE.\u003c\/em\u003e\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNB. This MHF3 connector, together with its very similar but different MHF4 variant, are commonly used on M.2 cards and laptop type Wi-Fi cards. The MHF3 and MHF4 connectors are not compatible as they are very so slightly different diameter and heights (mating depth).\u003c\/em\u003e\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eRS-485\u003c\/strong\u003e\u003c\/h3\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eTo interfacing to other Smart Meters, Devices and Smart Batteries which have an RS-485 MODBUS interface, the \u003cstrong\u003eEPEM\u003c\/strong\u003e includes a standard industry interface which allows you to collect, or control, other devices on the RS-485 bus.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThis RS-485 interface could also be used to control local CCTV on remote installations, or even send data from the \u003cstrong\u003eEPEM\u003c\/strong\u003e board over a single twisted pair, up to around 1,200 meters (4,000 feet), in distance. Ideal for farms and remote installations.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eReal Time Clock\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eThe need to maintain a very accurate real time clock when metering, or logging, was requested by some users. Ideally battery backed up.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThis feature was included on the \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-PiHat-IoT-Power-Energy-Monitor\"\u003eIPEM PiHat\u003c\/a\u003e and so I have included it on the EPEM too.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eUsing the same extremely accurate and low power DS3231SN real time clock IC, with integrated temperature compensated crystal oscillator (TCXO), this is easily controlled via I2C and maintained via external optional plug-in CR2302 3V coin battery.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eBoard Configuration\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eEarlier IPEM boards used solder jumpers and whilst these worked, I wanted to make it easier to configure the boards.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eOn the IPEM PiHat's, I used DIP switches which worked well but these take up board space and are expensive. So on EPEM I have opted to use plug-in 2mm jumpers which give the best of both worlds.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eCT Clamps and Rogowski Current Transformer\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eEPEM\u003c\/strong\u003e was designed primarily for the standard CT clamp such as the YHDC SCT-013 100A-50mA. Inputs for each channel 1, 2, and 3 are via standard 3.5mm jack sockets.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eYou can also use Rogowski Current Transformers on any inputs. Each input is configurable using a jumper.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eMains Monitoring\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eAll my boards are designed to be safe and easy to use - with NO live working, mains electricity parts or dangerous exposed high voltages.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThe \u003cstrong\u003eEPEM\u003c\/strong\u003e uses only low voltage 12 V AC such as from a bell transformer and clip on CT Clamps.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eElectrical Circuit Types\u003c\/strong\u003e\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003cstrong\u003eEPEM\u003c\/strong\u003e is capable of monitoring a number of variations in energy monitoring systems such as:\u003c\/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eAccurately monitors \u003cem\u003eboth\u003c\/em\u003e Import and Export\u003c\/li\u003e\n\u003cli\u003eSingle phase (Home, Office etc.)\u003c\/li\u003e\n\u003cli\u003eMultiple Single Phases. (Different circuits or home\/office rings, Inverters etc.)\u003c\/li\u003e\n\u003cli\u003eDual Phase (2 x Live -Typically for USA. i.e. 2 x 110V)\u003c\/li\u003e\n\u003cli\u003eThree Phase Delta (3 x Live)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eData Output\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eData provided from the \u003cstrong\u003eEPEM\u003c\/strong\u003e can be extrapolated through your code in any way you wish, in order to easily integrate with your IoT Home Automation system, or Solar Installation monitor.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eAll software and code is open source, community based and allows you to develop and integrate as you wish.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThe main process typically used for publishing data (internally or externally), is via MQTT, or you could use other direct publishing routes such as to Domoticz, Zabbix or Home Assistant.\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eData from the ATM90E3 includes:\u003c\/h4\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eMains RMS Voltage (each phase)\u003c\/li\u003e\n\u003cli\u003eMains Frequency (each phase)\u003c\/li\u003e\n\u003cli\u003eImport and Export Values\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eMains RMS Current\u003c\/li\u003e\n\u003cli\u003eCalculated RMS Power\u003c\/li\u003e\n\u003cli\u003eActive Power (Absorbed or Used by the Load)\u003c\/li\u003e\n\u003cli\u003eCalculated Total Active Power\u003c\/li\u003e\n\u003cli\u003eRe-Active Power\u003c\/li\u003e\n\u003cli\u003eCalculated Total Reactive Power\u003c\/li\u003e\n\u003cli\u003eApparent Power (Total Amount of Power Flowing from Source to Load)\u003c\/li\u003e\n\u003cli\u003eCalculated Total Apparent Power\u003c\/li\u003e\n\u003cli\u003eFundamental Power\u003c\/li\u003e\n\u003cli\u003eHarmonic Power\u003c\/li\u003e\n\u003cli\u003ePower Factor\u003c\/li\u003e\n\u003cli\u003ePhase Angle\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003e\u003cstrong\u003eProgramming and Development\u003c\/strong\u003e\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eDevelopment is primarily supported through Visual Studio Code (VSCode) and Arduino IDE. This also includes platforms like ESPHome.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eA range of libraries are already available which support the devices on the \u003cstrong\u003eEPEM\u003c\/strong\u003e such as the:\u003c\/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eESP32-C6\u003c\/li\u003e\n\u003cli\u003eM90E32\u003c\/li\u003e\n\u003cli\u003eW5500\u003c\/li\u003e\n\u003cli\u003e24C64\u003c\/li\u003e\n\u003cli\u003eDS3231\u003c\/li\u003e\n\u003cli\u003eTMP102\u003c\/li\u003e\n\u003cli\u003eWS2812\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp dir=\"auto\"\u003eCode support is available in my existing \u003ca href=\"https:\/\/github.com\/DitroniX\"\u003eGitHub\u003c\/a\u003e IPEM and FLiX repositories, with a specific core EPEM \u003ca href=\"https:\/\/github.com\/DitroniX\/EPEM-Ethernet-Power-Energy-Monitor\/tree\/main\/Code\"\u003ecode\u003c\/a\u003e repository being provided as the board evolves, together with a new \u003ca href=\"https:\/\/github.com\/DitroniX\/FLEX-DitroniX-Power-Energy-Monitor-Firmware\"\u003eFLeX\u003c\/a\u003e test and bring up firmware, which is in development.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThis is a worldwide community project and is able to be integrated in so many systems.\u003c\/p\u003e","brand":"DitroniX","offers":[{"title":"Default Title","offer_id":53391092842824,"sku":"EPEM-E32","price":45.0,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/epem-atm90e32-9731476.png?v=1782753749"},{"product_id":"mains-transformer-ac-240v-8-12v-dat01a","title":"Mains Transformer AC 240V\/8-12V DAT01A","description":"\u003cp\u003eSuitable for the my Mains Monitoring boards, such as \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-IoT-Power-Energy-Monitor\"\u003eIPEM\u003c\/a\u003e, \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-PiHat-IoT-Power-Energy-Monitor\"\u003eIPEM PiHat\u003c\/a\u003e and \u003ca href=\"https:\/\/ditronix.net\/shop\/?product_cat=energy-monitor\"\u003eEPEM\u003c\/a\u003e, is this Mains Transformer.\u003c\/p\u003e\n\u003cp\u003eThe transformer is what I use for calibration and provides a safe method of obtaining the 12V AC.\u003c\/p\u003e\n\u003ch3\u003eFeatures\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e220-250V AC Input\u003c\/li\u003e\n\u003cli\u003e8-12V AC Output\u003c\/li\u003e\n\u003cli\u003eCompact and Safe\u003c\/li\u003e\n\u003cli\u003eOnly 130g#\u003c\/li\u003e\n\u003cli\u003eSize 76 x 54 x 41mm\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eThis transformer description is: Transformer 4\/8\/12v 1A for Door Bells \u0026amp; Door Chimes\u003c\/em\u003e\u003c\/p\u003e\n\u003ch3\u003eIn the Box\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eDAT01A Mains Transformer\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e","brand":"DitroniX","offers":[{"title":"Default Title","offer_id":53391129051464,"sku":"Mains-Transformer-DAT01","price":12.0,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/mains-transformer-ac-240v8-12v-dat01a-1759067.png?v=1782753799"},{"product_id":"ipem-pihat","title":"IPEM PiHat","description":"\u003cp\u003e\u003cspan class=\"relative\"\u003e\u003cspan class=\"js-edit-profile-name js-update-text-color edit-profile-name\"\u003e\u003cstrong\u003eIPEM PiHat - \u003c\/strong\u003eRaspberry Pi IoT ATM90 Mains Power Energy Monitor\u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ch3 id=\"h:Introduction\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eIntroduction\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eAs an extension to my STEM ESP32 based Home Automation Power Energy Monitors, a new expanded version has been designed for flavours of the Raspberry Pi - the \u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan class=\"bold\"\u003eIPEM PiHat enables an alternative version of the IPEM \u003c\/span\u003eto flourish and evolve to help others in the quest to improve and monitor energy usage.\u003c\/p\u003e\n\u003ch3\u003eVideo\u003c\/h3\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.youtube.com\/watch?v=YpOppCA2oIU\u0026amp;amp;t=4s\"\u003ehttps:\/\/www.youtube.com\/watch?v=YpOppCA2oIU\u0026amp;t=4s\u003c\/a\u003e\u003c\/p\u003e\n\u003ch3 id=\"h:What-is-a-Power-Energy-Monitor-\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eWhat is a Power Energy Monitor?\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eA Power Energy Monitor is hardware that essentially safely samples and collects data via one or more CT Cable Clamps. This then allows the user through the software to report and analyse electric energy usage.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cp\u003eWith this data, you can simply report usage, or expand and use the information to save, or divert, energy in many different ways to improve efficiencies and ultimately reducing your costs to the mains power energy provider.\u003c\/p\u003e\n\u003cp\u003eMonitoring power consumption is typically completed using a CT current clamp (essentially a transformer), clipped over the premises mains consumer unit tails and plugs into the local mains circuit to 'sample' the mains voltage and frequency in some way.\u003c\/p\u003e\n\u003cp\u003e\u003cspan class=\"text-italic\"\u003eNB. You do not need to be an electrician to do this!\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eThe CT clamp(s) could equally be clipped over a live wire from one, or more, ring circuits, workshop feed, or solar inverter mains connection, so measuring and monitoring individual circuits, rather than just the overall mains input connection.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eImportant\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe most important take away point, is that this is all done safely and with no connection to live mains electricity.\u003c\/p\u003e\n\u003ch3 id=\"h:What-is-the-ATM90-device-\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eWhat is the ATM90 device?\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eThe heart of the IPEM boards is the Microchip ATM90E32 or ATM90E36.  These are high-performance and accurate AC mains energy metering devices for:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eSingle phase\u003c\/li\u003e\n\u003cli\u003eTwo phase\u003c\/li\u003e\n\u003cli\u003eDual phase\u003c\/li\u003e\n\u003cli\u003eSplit phase\u003c\/li\u003e\n\u003cli\u003eThree-phase four-wire (3P4W, Y0)\u003c\/li\u003e\n\u003cli\u003eThree-phase three-wire (3P3W, Y or Δ), systems.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe ATM90 device is used in a range of premises and applications including:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eSmart Meters\u003c\/li\u003e\n\u003cli\u003eEV Charging\u003c\/li\u003e\n\u003cli\u003eHomes\u003c\/li\u003e\n\u003cli\u003eEducation\u003c\/li\u003e\n\u003cli\u003eOffices\u003c\/li\u003e\n\u003cli\u003eCommercial\u003c\/li\u003e\n\u003cli\u003eFactories\u003c\/li\u003e\n\u003cli\u003eFarms\u003c\/li\u003e\n\u003cli\u003eGreenhouses\u003c\/li\u003e\n\u003cli\u003eFactories\u003c\/li\u003e\n\u003cli\u003eIndustry\u003c\/li\u003e\n\u003cli\u003eSolar Farms\u003c\/li\u003e\n\u003cli\u003eWind Farms\u003c\/li\u003e\n\u003cli\u003eOff Grid Systems\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe ATM90 series of monitor devices are proven for accuracy.  The \u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e core is the \u003ca href=\"https:\/\/www.microchip.com\/en-us\/product\/atm90e36a\" rel=\"noopener\" target=\"_blank\"\u003e\u003cspan class=\"bold\"\u003eATM90E36A\u003c\/span\u003e \u003c\/a\u003ewhich is used around the world in power monitoring instruments that also need to measure voltage, current, THD, DFT and mean power.\u003c\/p\u003e\n\u003cp\u003eThe \u003cspan class=\"bold\"\u003eIPEM \u003c\/span\u003eboards requires little, to no, calibration and is easy to setup.  You can use the ATM90E32 code for the standard functionality.\u003c\/p\u003e\n\u003cp\u003eAs the IPEM boards only safely sample the AC via a low voltage transformer, you are able to monitor varying AC (RMS) voltage mains around the World, such as:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eUSA and Canada which typically is  120 V or 230 V @ 60 Hz\n\u003cul\u003e\n\u003cli\u003eWith ranges around 114 V to 126 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eEurope and UK which typically is 230 V @ 50 Hz\n\u003cul\u003e\n\u003cli\u003eWith ranges around 216 V to 253 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eJapan which typically is 100 V @ 50 Hz or 60 Hz\n\u003cul\u003e\n\u003cli\u003eEastern Japan is 50 Hz, and western Japan is 60 Hz\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eShould you wish to know more, see this \u003ca href=\"https:\/\/en.wikipedia.org\/wiki\/Mains_electricity_by_country\" rel=\"noopener\" target=\"_blank\"\u003eWiki\u003c\/a\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3 id=\"h:Evolution\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eEvolution\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eThe below flow chart shows the selection of energy monitor types that has evolved through my designs, AC and DC, then flows down to the new \u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eThe \u003cspan class=\"bold\"\u003eIPEM PiHat \u003c\/span\u003eIoT Power Energy Monitor SDK design contains all the proven key technology of my \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-IoT-Power-Energy-Monitor\" rel=\"noopener\" target=\"_blank\"\u003eIPEM \u003c\/a\u003eand \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEC-IoT-Power-Energy-Controller\" rel=\"noopener\" target=\"_blank\"\u003eIPEC\u003c\/a\u003e including the ADC and DAC, neatly packaging these for use on a Raspberry Pi PiHat, flavours thereof,  or other MCU boards such as ESP32 and STM32, or even on my new \u003ca href=\"https:\/\/github.com\/DitroniX\/ESPuno-Pi-Raspberry-Pi-ESP32-Controller-Emulator\" rel=\"noopener\" target=\"_blank\"\u003e\u003cspan class=\"bold\"\u003eESPuno Pi\u003c\/span\u003e\u003c\/a\u003e.\u003c\/p\u003e\n\u003ch3 id=\"h:The-Board\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eThe Board\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eThe \u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e has been designed to be easy to use and offer a range of extended and powerful features which would conventionally need extra hardware.\u003c\/p\u003e\n\u003ch4 id=\"h:Interfaces\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eInterfaces\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003eA top level list of interfaces include:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cspan class=\"bold\"\u003eATM90E36\u003c\/span\u003e\n\u003cul\u003e\n\u003cli\u003eAccurate Energy Monitoring\u003c\/li\u003e\n\u003cli\u003eEasy to setup and use\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eCurrent Monitoring Inputs\n\u003cul\u003e\n\u003cli\u003e3 Line and 1 Neutral\u003c\/li\u003e\n\u003cli\u003eCT Clamp\n\u003cul\u003e\n\u003cli\u003eExample: YHDC SCT-013 100A-50mA\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eRogowski Current Transformer\n\u003cul\u003e\n\u003cli\u003eExample: PA3202NL from Pulse Electronics\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"bold\"\u003eRTC\u003c\/span\u003e\n\u003cul\u003e\n\u003cli\u003eDS3231\u003c\/li\u003e\n\u003cli\u003eAccurate Battery Backed on-board clock\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"bold\"\u003eDAC \u003c\/span\u003e\n\u003cul\u003e\n\u003cli\u003eProvide analogue signals, or PWM\/MPPT output, driven from data measured from the current clamps\u003c\/li\u003e\n\u003cli\u003eCould be used to control battery charging or window openers for example\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"bold\"\u003eADC \u003c\/span\u003e\n\u003cul\u003e\n\u003cli\u003eProvides a means of external Voltage monitoring\u003c\/li\u003e\n\u003cli\u003eSolar Battery voltage monitoring for example\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"bold\"\u003eRelay Outputs\u003c\/span\u003e\n\u003cul\u003e\n\u003cli\u003eControl of external equipment based on Energy usage from two isolated and independent outputs\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"bold\"\u003eOLED Display\u003c\/span\u003e\n\u003cul\u003e\n\u003cli\u003eAdding an I2C display to easily show real-time information and monitoring\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch4 id=\"h:Features\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eBonus\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003eIPEM could be thought of as a Swiss Army Knife of the Mains Energy Monitor world for use by STEM, developers, maker communities, solar energy and industries.\u003c\/p\u003e\n\u003cp\u003eThe \u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e has been designed to fit Raspberry PI 3, 4 and 5, equivalent clones.\u003c\/p\u003e\n\u003cp\u003ePhoto shows the IPEM PiHat with my \u003ca href=\"https:\/\/ditronix.net\/product\/peps\/\"\u003ePEPS\u003c\/a\u003e GPIO Board\u003c\/p\u003e\n\u003ch3 id=\"h:Board-Stacking\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eBoard Stacking\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e\u003c\/strong\u003e allows stacking, although the variant \u003cspan class=\"bold\"\u003e\u003cstrong\u003eIPEM PiHat Lite\u003c\/strong\u003e, \u003c\/span\u003eis also required (as you cannot stack two or more  \u003cspan class=\"bold\"\u003e\u003cstrong\u003eIPEM PiHat\u003c\/strong\u003es).\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eThe \u003cspan class=\"bold\"\u003e\u003cstrong\u003eIPEM PiHat Lite\u003c\/strong\u003e \u003c\/span\u003eonly has the ATM90E36 Energy Monitor, removing any port conflicts from the the other ADC\/DAC devices, as they are not required when stacking.\u003c\/p\u003e\n\u003cp\u003eAs the \u003cspan class=\"bold\"\u003e\u003cstrong\u003eIPEM PiHat\u003c\/strong\u003e board\u003c\/span\u003e uses SPI as a means of data communication, an I2C expander provides individual GPIO functionality to each ATM90E36.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eI2C Expander.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThis provides 64 individual addresses, so essentially 64 stacked IPEM's.\u003c\/p\u003e\n\u003cp\u003eThe design improvement is a much more sensible route as you now assign a fixed address to each board using a DIP switch. This also makes it so much easier is field and with software support and configuration.\u003c\/p\u003e\n\u003cp\u003eThe unique design will allow up to a max of:\u003c\/p\u003e\n\u003cp\u003e* 1 x \u003cstrong\u003eIPEM PiHat\u003c\/strong\u003e + 63 x \u003cstrong\u003eIPEM PiHat Lite\u003c\/strong\u003e's\u003c\/p\u003e\n\u003cp\u003eor\u003c\/p\u003e\n\u003cp\u003e* 64 x I\u003cstrong\u003ePEM PiHat Lite\u003c\/strong\u003e's\u003c\/p\u003e\n\u003cp\u003eStacking of \u003cspan class=\"bold\"\u003eIPEM PiHat \u003c\/span\u003eand\/or \u003cspan class=\"bold\"\u003eIPEM PiHat Lite\u003c\/span\u003e boards, if needed, is subject to only a potential limitation in system noise. In the real world though, three or four boards would normally be more than sufficient (remembering each board has three CT Clamp inputs).\u003c\/p\u003e\n\u003ch3 id=\"h:CT-Clamps-and-Rogowski-Current-Transformer\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eCT Clamps and Rogowski Current Transformer\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eThe original \u003cstrong\u003eIPEM\u003c\/strong\u003e design provided for using the YHDC SCT-013 100A-50mA.\u003c\/p\u003e\n\u003cp\u003eThe updated\u003cstrong\u003e IPEM PiHat\u003c\/strong\u003e and \u003cstrong\u003eIPEM PiHat Lite\u003c\/strong\u003e production design, now allows for either use of CT Clamps, and\/or Rogowski Current Transformers.\u003c\/p\u003e\n\u003ch4 id=\"h:Multiple-Phases\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eMultiple Phases\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003eAC inputs between the boards can be paralleled up as needed when stacking, so you can mix and match single, two or three phases between boards.\u003c\/p\u003e\n\u003cp\u003eThe unique ability to stack the \u003cspan class=\"bold\"\u003eIPEM PiHat Lite\u003c\/span\u003e boards allows great flexibility to the end user and the eventual project installation.\u003c\/p\u003e\n\u003ch3 id=\"h:Mains-Monitoring\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eMains Monitoring\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eAll my boards are designed to be safe and easy to use - with NO live working, mains electricity parts or dangerous exposed high voltages.\u003c\/p\u003e\n\u003cp\u003eThe \u003cspan class=\"bold\"\u003e\u003cstrong\u003eIPEM PiHat\u003c\/strong\u003e \u003c\/span\u003euses only low voltage 8 to 12 V AC such as from a bell transformer and clip on CT Clamps.\u003c\/p\u003e\n\u003ch4 id=\"h:Electrical-Circuit-Types\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eElectrical Circuit Types\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003eThe IPEM and IPEC series are capable of monitoring a number of variations in energy monitoring systems, the \u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e offers the same monitoring features.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eAccurately monitors \u003cspan class=\"text-italic\"\u003eboth \u003c\/span\u003eImport and Export\u003c\/li\u003e\n\u003cli\u003eSingle phase (Home, Office etc.)\u003c\/li\u003e\n\u003cli\u003eMultiple Single Phases. (Different circuits or home\/office rings, Inverters etc.)\u003c\/li\u003e\n\u003cli\u003eDual Phase (2 x Live -Typically for USA. i.e. 2 x 110V)\u003c\/li\u003e\n\u003cli\u003eThree Phase Star (3 x Live and 1 x Neutral) [Needs ATM90E36 version]\u003c\/li\u003e\n\u003cli\u003eThree Phase Delta (3 x Live)\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3 id=\"h:What-is-the-resultant-Output-\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eWhat is the resultant Output?\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eData provided from the \u003cstrong\u003e\u003cspan class=\"bold\"\u003eIPEM PiHat \u003c\/span\u003e\u003c\/strong\u003ecan be extrapolated through your code in any way you wish, in order to easily integrate with your IoT Home Automation system, or Solar Installation monitor.\u003c\/p\u003e\n\u003cp\u003eAll software and code is open source, community based and allows you to develop and integrate as you wish.\u003c\/p\u003e\n\u003cp\u003eThe main process typically used for publishing data (internally or externally), is via MQTT, or you could use other direct publishing routes such as to Domoticz, Zabbix or Home Assistant.\u003c\/p\u003e\n\u003ch4 id=\"h:Data-from-the-ATM90-includes-\" class=\"page-anchor\"\u003eData from the ATM90 includes:\u003c\/h4\u003e\n\u003cul\u003e\n\u003cli\u003eMains RMS Voltage (each phase)\u003c\/li\u003e\n\u003cli\u003eMains Frequency (each phase)\u003c\/li\u003e\n\u003cli\u003eImport and Export Values\n\u003cul\u003e\n\u003cli\u003eMains RMS Current\u003c\/li\u003e\n\u003cli\u003eCalculated RMS Power\u003c\/li\u003e\n\u003cli\u003eActive Power (Absorbed or Used by the Load)\u003c\/li\u003e\n\u003cli\u003eCalculated Total Active Power\u003c\/li\u003e\n\u003cli\u003eRe-Active Power\u003c\/li\u003e\n\u003cli\u003eCalculated Total Reactive Power\u003c\/li\u003e\n\u003cli\u003eApparent Power (Total Amount of Power Flowing from Source to Load)\u003c\/li\u003e\n\u003cli\u003eCalculated Total Apparent Power\u003c\/li\u003e\n\u003cli\u003eFundamental Power\u003c\/li\u003e\n\u003cli\u003eHarmonic Power\u003c\/li\u003e\n\u003cli\u003ePower Factor\u003c\/li\u003e\n\u003cli\u003ePhase Angle\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3 id=\"h:Programming-and-Development\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eProgramming and Development\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eThe \u003cstrong\u003e\u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e\u003c\/strong\u003e and\/or \u003cspan class=\"bold\"\u003e\u003cstrong\u003eIPEM PiHat Lite\u003c\/strong\u003e \u003c\/span\u003eSDK is controlled via the host Raspberry Pi using languages such as Python or C, or your preferred language.\u003c\/p\u003e\n\u003cp\u003eIf the board is fitted to my \u003ca href=\"https:\/\/github.com\/DitroniX\/ESPuno-Pi-Raspberry-Pi-ESP32-Controller-Emulator\" rel=\"noopener\" target=\"_blank\"\u003e\u003cspan class=\"bold\"\u003eESPuno Pi\u003c\/span\u003e\u003c\/a\u003e\u003cspan class=\"bold\"\u003e, \u003c\/span\u003ethen you can alternatively control the \u003cstrong\u003e\u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e\u003c\/strong\u003e using a ESP32-S3, or ESP32-P4, or even your own separate ESP32, or other preferred MCU.\u003c\/p\u003e\n\u003cp\u003eFull details are currently being written up and will be posted on my \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-PiHat-IoT-Power-Energy-Monitor\" rel=\"noopener\" target=\"_blank\"\u003eGitHub \u003c\/a\u003eand \u003ca href=\"https:\/\/www.hackster.io\/DitroniX\/espuno-pi-d71529\" rel=\"noopener\" target=\"_blank\"\u003eHackster.io\u003c\/a\u003e\u003c\/p\u003e\n\u003ch3\u003eEnclosure\u003c\/h3\u003e\n\u003cp\u003eA set of 3D files are available to print your own enclosure.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-PiHat-IoT-Power-Energy-Monitor\/tree\/main\/Enclosure%203D\"\u003e3D Files\u003c\/a\u003e\u003c\/p\u003e","brand":"DitroniX","offers":[{"title":"Default Title","offer_id":53391129182536,"sku":"IPEM-PiHat","price":42.0,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/ipem-pihat-9485216.png?v=1782753748"},{"product_id":"ipem-pihat-lite","title":"IPEM PiHat Lite","description":"\u003cp\u003e\u003cspan class=\"relative\"\u003e\u003cspan class=\"js-edit-profile-name js-update-text-color edit-profile-name\"\u003e\u003cstrong\u003eIPEM PiHat Lite - \u003c\/strong\u003eRaspberry Pi IoT ATM90E36 Mains Power Energy Monitor\u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ch3 id=\"h:Introduction\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eIntroduction\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eAs an extension to my STEM ESP32 based Home Automation Power Energy Monitors, a new expanded version has been designed for flavours of the Raspberry Pi - the \u003cspan class=\"bold\"\u003eIPEM PiHat Lite\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan class=\"bold\"\u003eIPEM PiHat enables an alternative version of the IPEM \u003c\/span\u003eto flourish and evolve to help others in the quest to improve and monitor energy usage.\u003c\/p\u003e\n\u003ch3\u003eVideo\u003c\/h3\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.youtube.com\/watch?v=YpOppCA2oIU\u0026amp;amp;t=4s\"\u003ehttps:\/\/www.youtube.com\/watch?v=YpOppCA2oIU\u0026amp;t=4s\u003c\/a\u003e\u003c\/p\u003e\n\u003ch3 id=\"h:What-is-a-Power-Energy-Monitor-\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eWhat is a Power Energy Monitor?\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eA Power Energy Monitor is hardware that essentially safely samples and collects data via one or more CT Cable Clamps. This then allows the user through the software to report and analyze electric energy usage.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cp\u003eWith this data, you can simply report usage, or expand and use the information to save, or divert, energy in many different ways to improve efficiencies and ultimately reducing your costs to the mains power energy provider.\u003c\/p\u003e\n\u003cp\u003eMonitoring power consumption is typically completed using a CT current clamp (essentially a transformer), clipped over the premises mains consumer unit tails and plugs into the local mains circuit to 'sample' the mains voltage and frequency in some way.\u003c\/p\u003e\n\u003cp\u003e\u003cspan class=\"text-italic\"\u003eNB. You do not need to be an electrician to do this!\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eThe CT clamp(s) could equally be clipped over a live wire from one, or more, ring circuits, workshop feed, or solar inverter mains connection, so measuring and monitoring individual circuits, rather than just the overall mains input connection.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eImportant\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe most important take away point, is that this is all done safely and with no connection to live mains electricity.\u003c\/p\u003e\n\u003ch3 id=\"h:What-is-the-ATM90-device-\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eWhat is the ATM90 device?\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eThe heart of the IPEM boards is the Microchip ATM90E32 or ATM90E36.  These are high-performance and accurate AC mains energy metering devices for:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eSingle phase\u003c\/li\u003e\n\u003cli\u003eTwo phase\u003c\/li\u003e\n\u003cli\u003eDual phase\u003c\/li\u003e\n\u003cli\u003eSplit phase\u003c\/li\u003e\n\u003cli\u003eThree-phase four-wire (3P4W, Y0)\u003c\/li\u003e\n\u003cli\u003eThree-phase three-wire (3P3W, Y or Δ), systems.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe ATM90 device is used in a range of premises and applications including:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eSmart Meters\u003c\/li\u003e\n\u003cli\u003eEV Charging\u003c\/li\u003e\n\u003cli\u003eHomes\u003c\/li\u003e\n\u003cli\u003eEducation\u003c\/li\u003e\n\u003cli\u003eOffices\u003c\/li\u003e\n\u003cli\u003eCommercial\u003c\/li\u003e\n\u003cli\u003eFactories\u003c\/li\u003e\n\u003cli\u003eFarms\u003c\/li\u003e\n\u003cli\u003eGreenhouses\u003c\/li\u003e\n\u003cli\u003eFactories\u003c\/li\u003e\n\u003cli\u003eIndustry\u003c\/li\u003e\n\u003cli\u003eSolar Farms\u003c\/li\u003e\n\u003cli\u003eWind Farms\u003c\/li\u003e\n\u003cli\u003eOff Grid Systems\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe ATM90 series of monitor devices are proven for accuracy.  The \u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e core is the \u003ca href=\"https:\/\/www.microchip.com\/en-us\/product\/atm90e36a\" rel=\"noopener\" target=\"_blank\"\u003e\u003cspan class=\"bold\"\u003eATM90E36A\u003c\/span\u003e \u003c\/a\u003ewhich is used around the world in power monitoring instruments that also need to measure voltage, current, THD, DFT and mean power.\u003c\/p\u003e\n\u003cp\u003eThe \u003cspan class=\"bold\"\u003eIPEM \u003c\/span\u003eboards requires little, to no, calibration and is easy to setup.  You can use the ATM90E32 code for the standard functionality.\u003c\/p\u003e\n\u003cp\u003eAs the IPEM boards only safely sample the AC via a low voltage transformer, you are able to monitor varying AC (RMS) voltage mains around the World, such as:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eUSA and Canada which typically is  120 V or 230 V @ 60 Hz\n\u003cul\u003e\n\u003cli\u003eWith ranges around 114 V to 126 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eEurope and UK which typically is 230 V @ 50 Hz\n\u003cul\u003e\n\u003cli\u003eWith ranges around 216 V to 253 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eJapan which typically is 100 V @ 50 Hz or 60 Hz\n\u003cul\u003e\n\u003cli\u003eEastern Japan is 50 Hz, and western Japan is 60 Hz\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eShould you wish to know more, see this \u003ca href=\"https:\/\/en.wikipedia.org\/wiki\/Mains_electricity_by_country\" rel=\"noopener\" target=\"_blank\"\u003eWiki\u003c\/a\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3 id=\"h:Evolution\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eEvolution\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eThe below flow chart shows the selection of energy monitor types that has evolved through my designs, AC and DC, then flows down to the new \u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eThe \u003cspan class=\"bold\"\u003eIPEM PiHat \u003c\/span\u003eIoT Power Energy Monitor SDK design contains all the proven key technology of my \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-IoT-Power-Energy-Monitor\" rel=\"noopener\" target=\"_blank\"\u003eIPEM \u003c\/a\u003eand \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEC-IoT-Power-Energy-Controller\" rel=\"noopener\" target=\"_blank\"\u003eIPEC\u003c\/a\u003e including the ADC and DAC, neatly packaging these for use on a Raspberry Pi PiHat, flavours thereof,  or other MCU boards such as ESP32 and STM32, or even on my \u003ca href=\"https:\/\/github.com\/DitroniX\/ESPuno-Pi-Raspberry-Pi-ESP32-Controller-Emulator\" rel=\"noopener\" target=\"_blank\"\u003e\u003cspan class=\"bold\"\u003eESPuno Pi\u003c\/span\u003e\u003c\/a\u003e.\u003c\/p\u003e\n\u003ch3 id=\"h:The-Board\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eThe Board\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eThe \u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e has been designed to be easy to use and offer a range of extended and powerful features which would conventionally need extra hardware.\u003c\/p\u003e\n\u003ch4 id=\"h:Interfaces\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eInterfaces\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003eA top level list of interfaces include:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cspan class=\"bold\"\u003eATM90E36\u003c\/span\u003e\n\u003cul\u003e\n\u003cli\u003eAccurate Energy Monitoring\u003c\/li\u003e\n\u003cli\u003eEasy to setup and use\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eCurrent Monitoring Inputs\n\u003cul\u003e\n\u003cli\u003e3 Line and 1 Neutral\u003c\/li\u003e\n\u003cli\u003eCT Clamp\n\u003cul\u003e\n\u003cli\u003eExample: YHDC SCT-013 100A-50mA\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eRogowski Current Transformer\n\u003cul\u003e\n\u003cli\u003eExample: PA3202NL from Pulse Electronics\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"bold\"\u003eRTC\u003c\/span\u003e\n\u003cul\u003e\n\u003cli\u003eDS3231\u003c\/li\u003e\n\u003cli\u003eAccurate Battery Backed on-board clock\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"bold\"\u003eDAC \u003c\/span\u003e\n\u003cul\u003e\n\u003cli\u003eProvide analogue signals, or PWM\/MPPT output, driven from data measured from the current clamps\u003c\/li\u003e\n\u003cli\u003eCould be used to control battery charging or window openers for example\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"bold\"\u003eADC \u003c\/span\u003e\n\u003cul\u003e\n\u003cli\u003eProvides a means of external Voltage monitoring\u003c\/li\u003e\n\u003cli\u003eSolar Battery voltage monitoring for example\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"bold\"\u003eRelay Outputs\u003c\/span\u003e\n\u003cul\u003e\n\u003cli\u003eControl of external equipment based on Energy usage from two isolated and independent outputs\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"bold\"\u003eOLED Display\u003c\/span\u003e\n\u003cul\u003e\n\u003cli\u003eAdding an I2C display to easily show real-time information and monitoring\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch4 id=\"h:Features\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eBonus\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003eIPEM could be thought of as a Swiss Army Knife of the Mains Energy Monitor world for use by STEM, developers, maker communities, solar energy and industries.\u003c\/p\u003e\n\u003cp\u003eThe \u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e has been designed to fit Raspberry PI 3, 4 and 5, equivalent clones.\u003c\/p\u003e\n\u003cp\u003ePhoto shows the IPEM PiHat with my PEPS GPIO Board\u003c\/p\u003e\n\u003ch3 id=\"h:Board-Stacking\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eBoard Stacking\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e\u003c\/strong\u003e allows stacking, although the variant \u003cspan class=\"bold\"\u003e\u003cstrong\u003eIPEM PiHat Lite\u003c\/strong\u003e, \u003c\/span\u003eis also required (as you cannot stack two or more  \u003cspan class=\"bold\"\u003e\u003cstrong\u003eIPEM PiHat\u003c\/strong\u003es).\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eThe \u003cspan class=\"bold\"\u003e\u003cstrong\u003eIPEM PiHat Lite\u003c\/strong\u003e \u003c\/span\u003eonly has the ATM90E36 Energy Monitor, removing any port conflicts from the the other ADC\/DAC devices, as they are not required when stacking.\u003c\/p\u003e\n\u003cp\u003eAs the \u003cspan class=\"bold\"\u003e\u003cstrong\u003eIPEM PiHat\u003c\/strong\u003e board\u003c\/span\u003e uses SPI as a means of data communication, an I2C expander provides individual GPIO functionality to each ATM90E36.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eI2C Expander.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThis provides 64 individual addresses, so essentially 64 stacked IPEM's.\u003c\/p\u003e\n\u003cp\u003eThe design improvement is a much more sensible route as you now assign a fixed address to each board using a DIP switch. This also makes it so much easier is field and with software support and configuration.\u003c\/p\u003e\n\u003cp\u003eThe unique design will allow up to a max of:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e1 x \u003cstrong\u003eIPEM PiHat\u003c\/strong\u003e + 63 x \u003cstrong\u003eIPEM PiHat Lite\u003c\/strong\u003e's\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eor\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e64 x I\u003cstrong\u003ePEM PiHat Lite\u003c\/strong\u003e's\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eStacking of \u003cspan class=\"bold\"\u003eIPEM PiHat \u003c\/span\u003eand\/or \u003cspan class=\"bold\"\u003eIPEM PiHat Lite\u003c\/span\u003e boards, if needed, is subject to only a potential limitation in system noise. In the real world though, three or four boards would normally be more than sufficient (remembering each board has three CT Clamp inputs).\u003c\/p\u003e\n\u003ch3 id=\"h:CT-Clamps-and-Rogowski-Current-Transformer\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eCT Clamps and Rogowski Current Transformer\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eThe original \u003cstrong\u003eIPEM\u003c\/strong\u003e design provided for using the YHDC SCT-013 100A-50mA.\u003c\/p\u003e\n\u003cp\u003eThe updated\u003cstrong\u003e IPEM PiHat\u003c\/strong\u003e and \u003cstrong\u003eIPEM PiHat Lite\u003c\/strong\u003e production design, now allows for either use of CT Clamps, and\/or Rogowski Current Transformers.\u003c\/p\u003e\n\u003ch4 id=\"h:Multiple-Phases\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eMultiple Phases\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003eAC inputs between the boards can be paralleled up as needed when stacking, so you can mix and match single, two or three phases between boards.\u003c\/p\u003e\n\u003cp\u003eThe unique ability to stack the \u003cspan class=\"bold\"\u003eIPEM PiHat Lite\u003c\/span\u003e boards allows great flexibility to the end user and the eventual project installation.\u003c\/p\u003e\n\u003ch3 id=\"h:Mains-Monitoring\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eMains Monitoring\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eAll my boards are designed to be safe and easy to use - with NO live working, mains electricity parts or dangerous exposed high voltages.\u003c\/p\u003e\n\u003cp\u003eThe \u003cspan class=\"bold\"\u003e\u003cstrong\u003eIPEM PiHat\u003c\/strong\u003e \u003c\/span\u003euses only low voltage 8 to 12 V AC such as from a bell transformer and clip on CT Clamps.\u003c\/p\u003e\n\u003ch4 id=\"h:Electrical-Circuit-Types\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eElectrical Circuit Types\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003eThe IPEM and IPEC series are capable of monitoring a number of variations in energy monitoring systems, the \u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e offers the same monitoring features.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eAccurately monitors \u003cspan class=\"text-italic\"\u003eboth \u003c\/span\u003eImport and Export\u003c\/li\u003e\n\u003cli\u003eSingle phase (Home, Office etc.)\u003c\/li\u003e\n\u003cli\u003eMultiple Single Phases. (Different circuits or home\/office rings, Inverters etc.)\u003c\/li\u003e\n\u003cli\u003eDual Phase (2 x Live -Typically for USA. i.e. 2 x 110V)\u003c\/li\u003e\n\u003cli\u003eThree Phase Star (3 x Live and 1 x Neutral) [Needs ATM90E36 version]\u003c\/li\u003e\n\u003cli\u003eThree Phase Delta (3 x Live)\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cimg class=\"alignnone wp-image-6344\" src=\"https:\/\/ditronix.net\/wp-content\/uploads\/Differences-between-Starand-Delta.png\" alt=\"\" width=\"877\" height=\"453\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan class=\"relative\"\u003e\u003cspan class=\"js-edit-profile-name js-update-text-color edit-profile-name\"\u003e\u003cstrong\u003e\u003cimg class=\"alignnone wp-image-6335\" src=\"https:\/\/ditronix.net\/wp-content\/uploads\/AC-Three-Phase-Sinewave-Plot-1024x866.jpg\" alt=\"\" width=\"941\" height=\"796\"\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch3 id=\"h:What-is-the-resultant-Output-\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eWhat is the resultant Output?\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eData provided from the \u003cstrong\u003e\u003cspan class=\"bold\"\u003eIPEM PiHat \u003c\/span\u003e\u003c\/strong\u003ecan be extrapolated through your code in any way you wish, in order to easily integrate with your IoT Home Automation system, or Solar Installation monitor.\u003c\/p\u003e\n\u003cp\u003eAll software and code is open source, community based and allows you to develop and integrate as you wish.\u003c\/p\u003e\n\u003cp\u003eThe main process typically used for publishing data (internally or externally), is via MQTT, or you could use other direct publishing routes such as to Domoticz, Zabbix or Home Assistant.\u003c\/p\u003e\n\u003ch4 id=\"h:Data-from-the-ATM90-includes-\" class=\"page-anchor\"\u003eData from the ATM90 includes:\u003c\/h4\u003e\n\u003cul\u003e\n\u003cli\u003eMains RMS Voltage (each phase)\u003c\/li\u003e\n\u003cli\u003eMains Frequency (each phase)\u003c\/li\u003e\n\u003cli\u003eImport and Export Values\n\u003cul\u003e\n\u003cli\u003eMains RMS Current\u003c\/li\u003e\n\u003cli\u003eCalculated RMS Power\u003c\/li\u003e\n\u003cli\u003eActive Power (Absorbed or Used by the Load)\u003c\/li\u003e\n\u003cli\u003eCalculated Total Active Power\u003c\/li\u003e\n\u003cli\u003eRe-Active Power\u003c\/li\u003e\n\u003cli\u003eCalculated Total Reactive Power\u003c\/li\u003e\n\u003cli\u003eApparent Power (Total Amount of Power Flowing from Source to Load)\u003c\/li\u003e\n\u003cli\u003eCalculated Total Apparent Power\u003c\/li\u003e\n\u003cli\u003eFundamental Power\u003c\/li\u003e\n\u003cli\u003eHarmonic Power\u003c\/li\u003e\n\u003cli\u003ePower Factor\u003c\/li\u003e\n\u003cli\u003ePhase Angle\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3 id=\"h:Programming-and-Development\" class=\"page-anchor\"\u003e\u003cspan class=\"bold\"\u003eProgramming and Development\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eThe \u003cstrong\u003e\u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e\u003c\/strong\u003e and\/or \u003cspan class=\"bold\"\u003e\u003cstrong\u003eIPEM PiHat Lite\u003c\/strong\u003e \u003c\/span\u003eSDK is controlled via the host Raspberry Pi using languages such as Python or C, or your preferred language.\u003c\/p\u003e\n\u003cp\u003eIf the board is fitted to my \u003ca href=\"https:\/\/github.com\/DitroniX\/ESPuno-Pi-Raspberry-Pi-ESP32-Controller-Emulator\" rel=\"noopener\" target=\"_blank\"\u003e\u003cspan class=\"bold\"\u003eESPuno Pi\u003c\/span\u003e\u003c\/a\u003e\u003cspan class=\"bold\"\u003e, \u003c\/span\u003ethen you can alternatively control the \u003cstrong\u003e\u003cspan class=\"bold\"\u003eIPEM PiHat\u003c\/span\u003e\u003c\/strong\u003e using a ESP32-S3, or ESP32-P4, or even your own separate ESP32, or other preferred MCU.\u003c\/p\u003e\n\u003cp\u003eFull details are currently being written up and will be posted on my \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-PiHat-IoT-Power-Energy-Monitor\" rel=\"noopener\" target=\"_blank\"\u003eGitHub \u003c\/a\u003eand \u003ca href=\"https:\/\/www.hackster.io\/DitroniX\/espuno-pi-d71529\" rel=\"noopener\" target=\"_blank\"\u003eHackster.io\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch3\u003eEnclosure\u003c\/h3\u003e\n\u003cp\u003eA set of 3D files are available to print your own enclosure.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-PiHat-IoT-Power-Energy-Monitor\/tree\/main\/Enclosure%203D\"\u003e3D Files\u003c\/a\u003e\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eExample Stacked Render\u003c\/em\u003e\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cimg class=\"alignnone size-large wp-image-6369\" src=\"https:\/\/ditronix.net\/wp-content\/uploads\/IPEM_PiHat_Assembly_Fan_OpeEnd_screws_Hexnuts-v30-1024x768.png\" alt=\"\" width=\"1024\" height=\"768\"\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e","brand":"DitroniX","offers":[{"title":"Default Title","offer_id":53391129248072,"sku":"IPEM-PiHat-Lite","price":36.0,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/ipem-pihat-lite-8726577.png?v=1782753745"},{"product_id":"ct-clamp-sct013-100a-50ma","title":"CT Clamp SCT013 100A-50mA","description":"\u003cp\u003eThis CT (Current Transformer), Clamp is suitable for monitoring mains AC Current up to 100A.\u003c\/p\u003e\n\u003cp\u003eAs used on EPEM and IPEM range of Energy Monitors.\u003c\/p\u003e\n\u003cp\u003eNon-invasive AC current sensor\u003c\/p\u003e\n\u003cp\u003eGeneric YHDC Sensor\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e","brand":"DitroniX","offers":[{"title":"Default Title","offer_id":53391130984776,"sku":"SCT13-100A-50mA","price":5.5,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/ct-clamp-sct013-100a-50ma-8944082.png?v=1782753793"},{"product_id":"ipem-plus-atm90e36-esp32c5-sx1262-lora-wi-fi-iot-remote-mains-power-energy-monitor","title":"IPEM Plus ATM90E36 ESP32C5 SX1262 LoRa Wi-Fi IoT Remote Mains Power Energy Monitor","description":"\u003cp dir=\"auto\"\u003e\u003cstrong\u003eIPEM Plus\u003c\/strong\u003e is a powerful ATM90E36 REMOTE Smart Home and Industry Automation Board, and Kit.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli dir=\"auto\"\u003eSelf-contained ESP32-C5 based IoT monitoring board. Ideal for local, or remoting, monitoring requirements.\u003c\/li\u003e\n\u003cli dir=\"auto\"\u003eProvides easy connectivity to Wi-Fi connections, 2.4GHz or 5GHz, plus Bluetooth, Thread and Zigbee. In addition, you may also use the inbuilt LoRa Radio IoT 850 MHz through to 930 MHz\u003c\/li\u003e\n\u003cli dir=\"auto\"\u003eHas been designed to easily monitor, and offer a flexible interface too, a whole range mains power energy installations.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/DitroniX\/blob\/main\/Compare%20Mains%20Power%20Energy%20Monitors.md\" title=\"DitroniX Mains Power Polyphase IoT Energy Monitor Comparisons\" rel=\"noopener\" target=\"_blank\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/Compare-DitroniX-Energy-Monitors-1024x106.png?v=1782664552\" alt=\"\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eHome | Industry | Housing | Educational | Farming | Agriculture | Solar | Energy\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eUsing its 2.4GHz and 5GHz Wi-Fi, Thread and Zigbee ESP32-C5 radio module, you can use the \u003cstrong\u003eIPEM Plus\u003c\/strong\u003e to connect ta whole range of Smart Monitoring applications and projects.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eExtending further, the built-in LoRa radio opens up long range and remote monitoring.\u003c\/p\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eIPEM Continuity\u003c\/h3\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003cp\u003eFollowing in the footsteps of the original popular \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-IoT-Power-Energy-Monitor\"\u003eIPEM boards\u003c\/a\u003e, this \u003cstrong\u003eIPEM Plus\u003c\/strong\u003e is the latest in IoT Mains Energy Monitoring for Home and Industry Automation.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eIPEM Plus\u003c\/strong\u003e is the replacement to the original \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-IoT-Power-Energy-Monitor\"\u003eIPEM boards\u003c\/a\u003e\u003c\/p\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eCompare Energy Monitors\u003c\/h3\u003e\n\u003cp\u003eThis \u003ca href=\"https:\/\/github.com\/DitroniX\/DitroniX\/blob\/main\/Compare%20Mains%20Power%20Energy%20Monitors.md\" rel=\"noopener\" target=\"_blank\"\u003etable\u003c\/a\u003e compares the different DitroniX Power Energy Monitors.\u003c\/p\u003e\n\u003ch3\u003eInformation and Wiki\u003c\/h3\u003e\n\u003cp\u003eFull information and \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-Plus-ESP32-C5-LoRa-LoRaWAN-IoT-Mains-Power-Energy-Monitor\/wiki\" rel=\"noopener\" target=\"_blank\"\u003eWiki\u003c\/a\u003e is available on the \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-Plus-ESP32-C5-LoRa-LoRaWAN-IoT-Mains-Power-Energy-Monitor\" rel=\"noopener\" target=\"_blank\"\u003eDitroniX GitHub pages\u003c\/a\u003e\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eCurrent Monitoring and Interfaces\u003c\/h3\u003e\n\u003cp\u003eExpanding the mains current sensors, either CT Clamps, or Rogowski Current Transformers, maybe connected. This allows for \u003cstrong\u003eIPEM Plus\u003c\/strong\u003e to be used for both lower current Home systems and Industrial or commercial installations, which require higher current monitoring in hundreds of Amps.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eThe accurate \u003cstrong\u003e\u003ca href=\"https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/Atmel-46004-SE-M90E36A-Datasheet.pdf\" rel=\"nofollow\"\u003eAtmel ATM90E36\u003c\/a\u003e\u003c\/strong\u003e is used for Enhanced Poly-Phase High-Performance Wide-Span Energy Metering, with fast SPI data communications to an Espressif \u003cstrong\u003eESP32-C5 MCU\u003c\/strong\u003e.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eThe board can \u003cstrong\u003esafely monitor a range of mains AC circuits\u003c\/strong\u003e, from Single phase, Split or Dual phase (such as USA), and both types of Three phase, Star and Delta. Full 50 Hz and 60 Hz.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eAn onboard accurate \u003cstrong\u003e16bit ADC\u003c\/strong\u003e allows for monitoring of DC voltages up to 80V.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eThe \u003cstrong\u003eRS485\u003c\/strong\u003e port allows interfacing to other local or remote sensors and monitors.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eAccurate \u003cstrong\u003eReal Time Clock\u003c\/strong\u003e DS3231SN, with Battery Backup Option.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eA \u003cstrong\u003egalvanically isolated OPTO output\u003c\/strong\u003e can be used to safely connect or drive a range of external systems or devices.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eTwo \u003cstrong\u003eexpansion ports\u003c\/strong\u003e, SPI and I2C, facilitate an optional display panel\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eMicroSD card\u003c\/strong\u003e, for buffering or logging data. This is mounted in the display panel.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eThe IPEM Plus has been designed to be compact, with an option to fit into a \u003cstrong\u003eDIN enclosure\u003c\/strong\u003e, for cabinet or rack installations.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eSafety First\u003c\/h3\u003e\n\u003cp\u003eAs with all our boards, safety is paramount, with AC sensing being from lower voltage inputs, through galvanically isolated mains transformers. Examples are bell transformers. This allows the IPEM Plus to fully safely function at voltages below 20V.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 dir=\"auto\" tabindex=\"-1\"\u003eAC Current Monitoring\u003c\/h3\u003e\n\u003cp\u003eAC Mains Current on the \u003cstrong\u003eIPEM Plus\u003c\/strong\u003e, is safely monitored using an inductive non-direct connection method.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eIPEM Plus\u003c\/strong\u003e has selectable inputs to be able to use either:\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\"\u003e\n\u003cul\u003e\n\u003cli class=\"heading-element\"\u003e\n\u003cstrong\u003eCT (Current Transformer) \u003c\/strong\u003e- Home and Office\n\u003cul\u003e\n\u003cli class=\"heading-element\"\u003eThis typically is by using a CT (Current Transformer), Current Clamp which can measure up to around 100A. This normally is a split core, such as using the popular YHDC SCT-013 100A-50mA.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"markdown-heading\"\u003e\n\u003cul\u003e\n\u003cli class=\"heading-element\"\u003e\n\u003cstrong\u003eSplit core current transformers, or Rogowski\u003c\/strong\u003e - Commercial and Industrial\n\u003cul\u003e\n\u003cli class=\"heading-element\"\u003eFor for larger solar farms, commercial and industrial currents, heavy duty split core current transformers, or Rogowski.\u003c\/li\u003e\n\u003cli class=\"heading-element\"\u003eThe advantages of Rogowski coils, is that that are flexible air-core sensors, providing a wider, non-saturating range, ease of installation, and excellent high-frequency response.6\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cp\u003eFurther information in \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-Plus-ESP32-C5-LoRa-LoRaWAN-IoT-Mains-Power-Energy-Monitor\/wiki\/AC-Current-and-Power-Monitoring\" rel=\"noopener\" target=\"_blank\"\u003eCurrent Monitoring can be found here\u003c\/a\u003e\u003c\/p\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eAC Voltage Monitoring\u003c\/h3\u003e\n\u003cp\u003eAll AC Mains is safely and galvanically isolated using a low voltage transformer. Examples are bell transformers.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch5 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eSupports AC Monitoring Around The \u003ca href=\"https:\/\/en.wikipedia.org\/wiki\/Mains_electricity_by_country\" rel=\"nofollow\"\u003eWorld\u003c\/a\u003e\n\u003c\/h5\u003e\n\u003c\/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eEurope and UK\u003c\/strong\u003e which typically is 230 V @ 50 Hz\u003c\/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eWith ranges around 216 V to 253 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eUSA and Canada\u003c\/strong\u003e which typically is 120 V or 230 V @ 60 Hz\u003c\/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eWith ranges around 114 V to 126 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eJapan\u003c\/strong\u003e which typically is 100 V @ 50 Hz or 60 Hz\u003c\/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eEastern Japan is 50 Hz, and Western Japan is 60 Hz\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eWorld\u003c\/strong\u003e typically is 220V-240 V @ 50 Hz\u003c\/p\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eFurther information in \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-Plus-ESP32-C5-LoRa-LoRaWAN-IoT-Mains-Power-Energy-Monitor\/wiki\/AC-Mains-Voltage-Sense-Input\" rel=\"noopener\" target=\"_blank\"\u003eAC Voltage Monitoring can be found here\u003c\/a\u003e\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eLoRa Long Range IoT Data Radio Integration\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eIn addition, to compliment the powerful C5 radio, the \u003cstrong\u003eIPEM Plus\u003c\/strong\u003e has an onboard LoRa SX1262 Transceiver Radio.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThis allows \u003cstrong\u003eIPEM Plus\u003c\/strong\u003e to be also used on remote Power Energy Monitoring projects, using the integrated \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-Plus-ESP32-C5-LoRa-LoRaWAN-IoT-Mains-Power-Energy-Monitor\/wiki\/Lora-Topology-Overview\"\u003eLoRa and LoRaWan\u003c\/a\u003e long range wireless network. This includes networks such as \u003ca href=\"https:\/\/www.thethingsnetwork.org\/\" rel=\"nofollow\"\u003eTTN\u003c\/a\u003e, \u003ca href=\"https:\/\/meshtastic.org\/\" rel=\"nofollow\"\u003eMeshtastic\u003c\/a\u003e, \u003ca href=\"https:\/\/www.helium.com\/iot\" rel=\"nofollow\"\u003eHelium\u003c\/a\u003e and \u003ca href=\"https:\/\/www.chirpstack.io\/\" rel=\"nofollow\"\u003eChirpStack\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eThe LoRa radio module operates from 850 MHz through to 930 MHz, so providing worldwide capability. This uses the LoRa module E22-900M22S, incorporating the Semtech SX1262.\u003c\/p\u003e\n\u003cp dir=\"auto\"\u003eExample \u003ca href=\"https:\/\/www.thethingsnetwork.org\/docs\/lorawan\/frequencies-by-country\/\" rel=\"nofollow\"\u003ebands\u003c\/a\u003e:\u003c\/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eAS923 (AS1) band (920-923 MHz) in Japan, Malaysia, Singapore\u003c\/li\u003e\n\u003cli\u003eAS923 (AS2) band (915–928 MHz) in Asia\u003c\/li\u003e\n\u003cli\u003eAU915 band (915–928 MHz) in South America\u003c\/li\u003e\n\u003cli\u003eCN779 band (779-787 MHz) in China\u003c\/li\u003e\n\u003cli\u003eEU868 band (863–870 MHz) in Europe\u003c\/li\u003e\n\u003cli\u003eIN865 band (865-867 MHz) in India\u003c\/li\u003e\n\u003cli\u003eKR920 band (920-923 MHz) in Korea\u003c\/li\u003e\n\u003cli\u003eRU864 band (864-870 MHz) in Russia\u003c\/li\u003e\n\u003cli\u003eUS915 band (902–928 MHz) in North America\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\n\u003ch3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"\u003eLoRa Long Satellite IoT\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003cstrong\u003eIPEM Plus LoRa Wireless includes the expanded Satellite IoT range, \u003c\/strong\u003eenabling direct-to-satellite IoT connectivity, with suitable installation antenna.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003ch3 dir=\"auto\"\u003e\u003cstrong\u003eOptions\u003c\/strong\u003e\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eDisplay User Panel\u003c\/li\u003e\n\u003cli\u003eDIN Enclosure\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"DitroniX","offers":[{"title":"Default Title","offer_id":53391133245768,"sku":"IPEM-Plus-ESP32C5-LoRa","price":55.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/ipem-plus-atm90e36-esp32c5-sx1262-lora-wi-fi-iot-remote-mains-power-energy-monitor-6176612.png?v=1782753809"},{"product_id":"ipem-six-esp32c5-int-dual-atm90e32-iot-mains-power-energy-monitor","title":"IPEM SIX | ESP32C5 (INT) | DUAL ATM90E32 IoT Mains Power Energy Monitor","description":"\u003cp\u003e\u003cstrong\u003eIPEM SIX\u003c\/strong\u003e is a self-contained, powerful DUAL ATM90E32 based, Smart Home and Industry Automation, Real-Time \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-SIX-ESP32C5-ATM90E32-IoT-Mains-Power-Energy-Monitor\/wiki\/What-is-a-Power-Energy-Monitor%3F\"\u003eMains Power Energy Monitor Board\u003c\/a\u003e, and Kit.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eIPEM SIX C5\u003c\/strong\u003e provides a complete SIX channel energy monitoring platform.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eVariant IPEM SIX – ESP32-C5-WROOM-1 (INT)\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eVariants:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eIPEM SIX with Internal Antenna (ESP32-C5-WROOM-1)\u003c\/strong\u003e\u003c\/li\u003e\n\u003cli\u003eIPEM SIX with External Antenna via U.FL (ESP32-C5-WROOM-1U)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/DitroniX\/blob\/main\/Compare%20Mains%20Power%20Energy%20Monitors.md\" title=\"DitroniX Mains Power Polyphase IoT Energy Monitor Comparisons\" rel=\"noopener\" target=\"_blank\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/Compare-DitroniX-Energy-Monitors-1024x106.png?v=1782664552\" alt=\"\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003ch2\u003eOverview\u003c\/h2\u003e\n\u003cp\u003e✅ 6 Independent Current Channels for either CT Clamps or Rogowski Coil\u003cbr\u003e✅ Dual ATM90E32 Polyphase Metering\u003cbr\u003e✅ Import\/Export Detection on Each Channel and Bank\u003cbr\u003e✅ Phases 1, 2 and 3, Delta 3P3W\u003cbr\u003e✅ Per-channel energy tracking\u003cbr\u003e✅ Per-bank Energy Tracking\u003cbr\u003e✅ Home Assistant native integration (ESPHome)\u003cbr\u003e✅ WiFi diagnostics\u003cbr\u003e✅ Health Monitoring\u003cbr\u003e✅ AC\/DC Powered (Like original IPEM)\u003cbr\u003e✅ Configurable Load Alerts\u003cbr\u003e✅ OTA updates (ESPHome or your Preferred Firmware)\u003cbr\u003e✅ ESP32-C5 performance platform 2.4GHz and 5GHz bands\u003cbr\u003e✅ OPTO Input\u003cbr\u003e✅ ADC Input ADS1115\u003cbr\u003e✅ GPIO Input\/Output\u003cbr\u003e✅ Terminal Block Connections (Coloured)\u003c\/p\u003e\n\u003cp\u003eDesigned as a professional-grade residential and small commercial energy monitoring solution.\u003c\/p\u003e\n\u003cdiv dir=\"auto\" class=\"markdown-heading\"\u003e\n\u003ch2 data-sourcepos=\"64:1-64:16\" dir=\"auto\" class=\"heading-element\"\u003eAC Monitoring\u003c\/h2\u003e\n\u003c\/div\u003e\n\u003cp data-sourcepos=\"65:1-65:114\" dir=\"auto\"\u003eAll AC Mains is safely and galvanically isolated using a low voltage transformer. Examples are bell transformers.\u003c\/p\u003e\n\u003ch3 data-sourcepos=\"67:1-67:105\" dir=\"auto\" class=\"heading-element\"\u003eSupports AC Monitoring Around The \u003ca rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Mains_electricity_by_country\"\u003eWorld\u003c\/a\u003e\n\u003c\/h3\u003e\n\u003cul data-sourcepos=\"69:1-78:0\" dir=\"auto\"\u003e\n\u003cli data-sourcepos=\"69:1-71:4\"\u003e\n\u003cp data-sourcepos=\"69:5-69:54\" dir=\"auto\"\u003e\u003cstrong\u003eEurope and UK\u003c\/strong\u003e which typically is 230 V @ 50 Hz\u003c\/p\u003e\n\u003cul data-sourcepos=\"70:5-71:4\" dir=\"auto\"\u003e\n\u003cli data-sourcepos=\"70:5-71:4\"\u003eWith ranges around 216 V to 253 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli data-sourcepos=\"72:1-74:0\"\u003e\n\u003cp data-sourcepos=\"72:5-72:64\" dir=\"auto\"\u003e\u003cstrong\u003eUSA and Canada\u003c\/strong\u003e which typically is 120 V or 230 V @ 60 Hz\u003c\/p\u003e\n\u003cul data-sourcepos=\"73:5-74:0\" dir=\"auto\"\u003e\n\u003cli data-sourcepos=\"73:5-74:0\"\u003eWith ranges around 114 V to 126 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli data-sourcepos=\"75:1-76:58\"\u003e\n\u003cp data-sourcepos=\"75:5-75:55\" dir=\"auto\"\u003e\u003cstrong\u003eJapan\u003c\/strong\u003e which typically is 100 V @ 50 Hz or 60 Hz\u003c\/p\u003e\n\u003cul data-sourcepos=\"76:5-76:58\" dir=\"auto\"\u003e\n\u003cli data-sourcepos=\"76:5-76:58\"\u003eEastern Japan is 50 Hz, and Western Japan is 60 Hz\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli data-sourcepos=\"77:1-78:0\"\u003e\n\u003cp data-sourcepos=\"77:5-77:45\" dir=\"auto\"\u003e\u003cstrong\u003eWorld\u003c\/strong\u003e typically is 220V-240 V @ 50 Hz\u003c\/p\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3 data-sourcepos=\"79:1-79:31\" dir=\"auto\" class=\"heading-element\"\u003eWhere can IPEM SIX be used?\u003c\/h3\u003e\n\u003cp data-sourcepos=\"81:1-81:81\" dir=\"auto\"\u003eThe IPEM SIX board can be used in a number of projects and installations such as:\u003c\/p\u003e\n\u003cul data-sourcepos=\"83:1-98:0\" dir=\"auto\"\u003e\n\u003cli data-sourcepos=\"83:1-83:8\"\u003eHome\u003c\/li\u003e\n\u003cli data-sourcepos=\"84:1-84:13\"\u003eEducation\u003c\/li\u003e\n\u003cli data-sourcepos=\"85:1-85:11\"\u003eOffices\u003c\/li\u003e\n\u003cli data-sourcepos=\"86:1-86:14\"\u003eCommercial\u003c\/li\u003e\n\u003cli data-sourcepos=\"87:1-87:13\"\u003eFactories\u003c\/li\u003e\n\u003cli data-sourcepos=\"88:1-88:9\"\u003eFarms\u003c\/li\u003e\n\u003cli data-sourcepos=\"89:1-89:15\"\u003eEV Charging\u003c\/li\u003e\n\u003cli data-sourcepos=\"90:1-90:18\"\u003eSmart Metering\u003c\/li\u003e\n\u003cli data-sourcepos=\"91:1-91:16\"\u003eGreenhouses\u003c\/li\u003e\n\u003cli data-sourcepos=\"92:1-92:14\"\u003eFactories\u003c\/li\u003e\n\u003cli data-sourcepos=\"93:1-93:14\"\u003eIndustry\u003c\/li\u003e\n\u003cli data-sourcepos=\"94:1-94:16\"\u003eSolar Farms\u003c\/li\u003e\n\u003cli data-sourcepos=\"95:1-95:15\"\u003eWind Farms\u003c\/li\u003e\n\u003cli data-sourcepos=\"96:1-98:0\"\u003eOff Grid Systems\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv dir=\"auto\" class=\"markdown-heading\"\u003e\n\u003ch3 dir=\"auto\" class=\"heading-element\" tabindex=\"-1\"\u003eCurrent Monitoring and Interfaces\u003c\/h3\u003e\n\u003cp\u003eExpanding the mains current sensors, either CT Clamps, or Rogowski Current Transformers, maybe connected. This allows for \u003cstrong\u003eIPEM SIX \u003c\/strong\u003eto be used for both lower current Home systems and Industrial or commercial installations, which require higher current monitoring in hundreds of Amps.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv dir=\"auto\" class=\"markdown-heading\"\u003e\n\u003ch3 dir=\"auto\" class=\"heading-element\" tabindex=\"-1\"\u003eSafety First\u003c\/h3\u003e\n\u003cp\u003eAs with all our boards, safety is paramount, with AC sensing being from lower voltage inputs, through galvanically isolated mains transformers. Examples are bell transformers. This allows the IPEM Plus to fully safely function at voltages below 20V.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv dir=\"auto\" class=\"markdown-heading\"\u003e\n\u003ch3 dir=\"auto\" tabindex=\"-1\"\u003eAC Current Monitoring\u003c\/h3\u003e\n\u003cp\u003eAC Mains Current on the \u003cstrong\u003eIPEM SIX\u003c\/strong\u003e, is safely monitored using an inductive non-direct connection method.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eIPEM SIX \u003c\/strong\u003ehas selectable inputs to be able to use either:\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\"\u003e\n\u003cul\u003e\n\u003cli class=\"heading-element\"\u003e\n\u003cstrong\u003eCT (Current Transformer) \u003c\/strong\u003e- Home and Office\n\u003cul\u003e\n\u003cli class=\"heading-element\"\u003eThis typically is by using a CT (Current Transformer), Current Clamp which can measure up to around 100A. This normally is a split core, such as using the popular YHDC SCT-013 100A-50mA.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"markdown-heading\"\u003e\n\u003cul\u003e\n\u003cli class=\"heading-element\"\u003e\n\u003cstrong\u003eSplit core current transformers, or Rogowski\u003c\/strong\u003e - Commercial and Industrial\n\u003cul\u003e\n\u003cli class=\"heading-element\"\u003eFor for larger solar farms, commercial and industrial currents, heavy duty split core current transformers, or Rogowski.\u003c\/li\u003e\n\u003cli class=\"heading-element\"\u003eThe advantages of Rogowski coils, is that that are flexible air-core sensors, providing a wider, non-saturating range, ease of installation, and excellent high-frequency response.6\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cp\u003eFurther information in \u003ca rel=\"noopener\" href=\"https:\/\/github.com\/DitroniX\/IPEM-SIX-ESP32C5-ATM90E32-IoT-Mains-Power-Energy-Monitor\/wiki\/AC-Current-and-Power-Monitoring\" target=\"_blank\"\u003eCurrent Monitoring can be found here\u003c\/a\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv dir=\"auto\" class=\"markdown-heading\"\u003e\n\u003ch3 dir=\"auto\"\u003e\u003cstrong\u003eOptions\u003c\/strong\u003e\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/ditronix.net\/product\/display-user-panel-gr34-din-ipem-plus-ipem-six\/\"\u003eDisplay User Panel\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/ditronix.net\/product\/enclosure-din-2x12w-white-clear-vg-gr34\/\"\u003eDIN Enclosure\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003e\u003cb\u003eIn the Box\u003c\/b\u003e\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eIPEM SIX\u003c\/li\u003e\n\u003cli\u003e2mm Jumpers\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e","brand":"DitroniX","offers":[{"title":"Default Title","offer_id":53391144452424,"sku":"IPEM-SIX -INT","price":55.0,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/ipem-six-esp32c5-int-dual-atm90e32-iot-mains-power-energy-monitor-1232397.png?v=1782753763"},{"product_id":"ipem-six-esp32c5-ufl-dual-atm90e32-iot-mains-power-energy-monitor","title":"IPEM SIX | ESP32C5 (UFL) | DUAL ATM90E32 IoT Mains Power Energy Monitor","description":"\u003cp\u003e\u003cstrong\u003eIPEM SIX\u003c\/strong\u003e is a self-contained, powerful DUAL ATM90E32 based, Smart Home and Industry Automation, Real-Time \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-SIX-ESP32C5-ATM90E32-IoT-Mains-Power-Energy-Monitor\/wiki\/What-is-a-Power-Energy-Monitor%3F\"\u003eMains Power Energy Monitor Board\u003c\/a\u003e, and Kit.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eIPEM SIX C5\u003c\/strong\u003e provides a complete SIX channel energy monitoring platform.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eVariant IPEM SIX – ESP32-C5-WROOM-1U (UFL)\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eVariants:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eIPEM SIX with Internal Antenna (ESP32-C5-WROOM-1)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eIPEM SIX with External Antenna via U.FL (ESP32-C5-WROOM-1U)\u003c\/strong\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/DitroniX\/blob\/main\/Compare%20Mains%20Power%20Energy%20Monitors.md\" title=\"DitroniX Mains Power Polyphase IoT Energy Monitor Comparisons\" rel=\"noopener\" target=\"_blank\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/Compare-DitroniX-Energy-Monitors-1024x106.png?v=1782664552\" alt=\"\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003ch2\u003eOverview\u003c\/h2\u003e\n\u003cp\u003e✅ 6 Independent Current Channels for either CT Clamps or Rogowski Coil\u003cbr\u003e✅ Dual ATM90E32 Polyphase Metering\u003cbr\u003e✅ Import\/Export Detection on Each Channel and Bank\u003cbr\u003e✅ Phases 1, 2 and 3, Delta 3P3W\u003cbr\u003e✅ Per-channel energy tracking\u003cbr\u003e✅ Per-bank Energy Tracking\u003cbr\u003e✅ Home Assistant native integration (ESPHome)\u003cbr\u003e✅ WiFi diagnostics\u003cbr\u003e✅ Health Monitoring\u003cbr\u003e✅ AC\/DC Powered (Like original IPEM)\u003cbr\u003e✅ Configurable Load Alerts\u003cbr\u003e✅ OTA updates (ESPHome or your Preferred Firmware)\u003cbr\u003e✅ ESP32-C5 performance platform 2.4GHz and 5GHz bands\u003cbr\u003e✅ OPTO Input\u003cbr\u003e✅ ADC Input ADS1115\u003cbr\u003e✅ GPIO Input\/Output\u003cbr\u003e✅ Terminal Block Connections (Coloured)\u003c\/p\u003e\n\u003cp\u003eDesigned as a professional-grade residential and small commercial energy monitoring solution.\u003c\/p\u003e\n\u003cdiv dir=\"auto\" class=\"markdown-heading\"\u003e\n\u003ch2 data-sourcepos=\"64:1-64:16\" dir=\"auto\" class=\"heading-element\"\u003eAC Monitoring\u003c\/h2\u003e\n\u003c\/div\u003e\n\u003cp data-sourcepos=\"65:1-65:114\" dir=\"auto\"\u003eAll AC Mains is safely and galvanically isolated using a low voltage transformer. Examples are bell transformers.\u003c\/p\u003e\n\u003ch3 data-sourcepos=\"67:1-67:105\" dir=\"auto\" class=\"heading-element\"\u003eSupports AC Monitoring Around The \u003ca rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Mains_electricity_by_country\"\u003eWorld\u003c\/a\u003e\n\u003c\/h3\u003e\n\u003cul data-sourcepos=\"69:1-78:0\" dir=\"auto\"\u003e\n\u003cli data-sourcepos=\"69:1-71:4\"\u003e\n\u003cp data-sourcepos=\"69:5-69:54\" dir=\"auto\"\u003e\u003cstrong\u003eEurope and UK\u003c\/strong\u003e which typically is 230 V @ 50 Hz\u003c\/p\u003e\n\u003cul data-sourcepos=\"70:5-71:4\" dir=\"auto\"\u003e\n\u003cli data-sourcepos=\"70:5-71:4\"\u003eWith ranges around 216 V to 253 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli data-sourcepos=\"72:1-74:0\"\u003e\n\u003cp data-sourcepos=\"72:5-72:64\" dir=\"auto\"\u003e\u003cstrong\u003eUSA and Canada\u003c\/strong\u003e which typically is 120 V or 230 V @ 60 Hz\u003c\/p\u003e\n\u003cul data-sourcepos=\"73:5-74:0\" dir=\"auto\"\u003e\n\u003cli data-sourcepos=\"73:5-74:0\"\u003eWith ranges around 114 V to 126 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli data-sourcepos=\"75:1-76:58\"\u003e\n\u003cp data-sourcepos=\"75:5-75:55\" dir=\"auto\"\u003e\u003cstrong\u003eJapan\u003c\/strong\u003e which typically is 100 V @ 50 Hz or 60 Hz\u003c\/p\u003e\n\u003cul data-sourcepos=\"76:5-76:58\" dir=\"auto\"\u003e\n\u003cli data-sourcepos=\"76:5-76:58\"\u003eEastern Japan is 50 Hz, and Western Japan is 60 Hz\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli data-sourcepos=\"77:1-78:0\"\u003e\n\u003cp data-sourcepos=\"77:5-77:45\" dir=\"auto\"\u003e\u003cstrong\u003eWorld\u003c\/strong\u003e typically is 220V-240 V @ 50 Hz\u003c\/p\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3 data-sourcepos=\"79:1-79:31\" dir=\"auto\" class=\"heading-element\"\u003eWhere can IPEM SIX be used?\u003c\/h3\u003e\n\u003cp data-sourcepos=\"81:1-81:81\" dir=\"auto\"\u003eThe IPEM SIX board can be used in a number of projects and installations such as:\u003c\/p\u003e\n\u003cul data-sourcepos=\"83:1-98:0\" dir=\"auto\"\u003e\n\u003cli data-sourcepos=\"83:1-83:8\"\u003eHome\u003c\/li\u003e\n\u003cli data-sourcepos=\"84:1-84:13\"\u003eEducation\u003c\/li\u003e\n\u003cli data-sourcepos=\"85:1-85:11\"\u003eOffices\u003c\/li\u003e\n\u003cli data-sourcepos=\"86:1-86:14\"\u003eCommercial\u003c\/li\u003e\n\u003cli data-sourcepos=\"87:1-87:13\"\u003eFactories\u003c\/li\u003e\n\u003cli data-sourcepos=\"88:1-88:9\"\u003eFarms\u003c\/li\u003e\n\u003cli data-sourcepos=\"89:1-89:15\"\u003eEV Charging\u003c\/li\u003e\n\u003cli data-sourcepos=\"90:1-90:18\"\u003eSmart Metering\u003c\/li\u003e\n\u003cli data-sourcepos=\"91:1-91:16\"\u003eGreenhouses\u003c\/li\u003e\n\u003cli data-sourcepos=\"92:1-92:14\"\u003eFactories\u003c\/li\u003e\n\u003cli data-sourcepos=\"93:1-93:14\"\u003eIndustry\u003c\/li\u003e\n\u003cli data-sourcepos=\"94:1-94:16\"\u003eSolar Farms\u003c\/li\u003e\n\u003cli data-sourcepos=\"95:1-95:15\"\u003eWind Farms\u003c\/li\u003e\n\u003cli data-sourcepos=\"96:1-98:0\"\u003eOff Grid Systems\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv dir=\"auto\" class=\"markdown-heading\"\u003e\n\u003ch3 dir=\"auto\" class=\"heading-element\" tabindex=\"-1\"\u003eCurrent Monitoring and Interfaces\u003c\/h3\u003e\n\u003cp\u003eExpanding the mains current sensors, either CT Clamps, or Rogowski Current Transformers, maybe connected. This allows for \u003cstrong\u003eIPEM SIX \u003c\/strong\u003eto be used for both lower current Home systems and Industrial or commercial installations, which require higher current monitoring in hundreds of Amps.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv dir=\"auto\" class=\"markdown-heading\"\u003e\n\u003ch3 dir=\"auto\" class=\"heading-element\" tabindex=\"-1\"\u003eSafety First\u003c\/h3\u003e\n\u003cp\u003eAs with all our boards, safety is paramount, with AC sensing being from lower voltage inputs, through galvanically isolated mains transformers. Examples are bell transformers. This allows the IPEM Plus to fully safely function at voltages below 20V.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv dir=\"auto\" class=\"markdown-heading\"\u003e\n\u003ch3 dir=\"auto\" tabindex=\"-1\"\u003eAC Current Monitoring\u003c\/h3\u003e\n\u003cp\u003eAC Mains Current on the \u003cstrong\u003eIPEM SIX\u003c\/strong\u003e, is safely monitored using an inductive non-direct connection method.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eIPEM SIX \u003c\/strong\u003ehas selectable inputs to be able to use either:\u003c\/p\u003e\n\u003cdiv class=\"markdown-heading\"\u003e\n\u003cul\u003e\n\u003cli class=\"heading-element\"\u003e\n\u003cstrong\u003eCT (Current Transformer) \u003c\/strong\u003e- Home and Office\n\u003cul\u003e\n\u003cli class=\"heading-element\"\u003eThis typically is by using a CT (Current Transformer), Current Clamp which can measure up to around 100A. This normally is a split core, such as using the popular YHDC SCT-013 100A-50mA.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"markdown-heading\"\u003e\n\u003cul\u003e\n\u003cli class=\"heading-element\"\u003e\n\u003cstrong\u003eSplit core current transformers, or Rogowski\u003c\/strong\u003e - Commercial and Industrial\n\u003cul\u003e\n\u003cli class=\"heading-element\"\u003eFor for larger solar farms, commercial and industrial currents, heavy duty split core current transformers, or Rogowski.\u003c\/li\u003e\n\u003cli class=\"heading-element\"\u003eThe advantages of Rogowski coils, is that that are flexible air-core sensors, providing a wider, non-saturating range, ease of installation, and excellent high-frequency response.6\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cp\u003eFurther information in \u003ca rel=\"noopener\" href=\"https:\/\/github.com\/DitroniX\/IPEM-SIX-ESP32C5-ATM90E32-IoT-Mains-Power-Energy-Monitor\/wiki\/AC-Current-and-Power-Monitoring\" target=\"_blank\"\u003eCurrent Monitoring can be found here\u003c\/a\u003e\u003ca rel=\"noopener\" href=\"https:\/\/github.com\/DitroniX\/IPEM-SIX-ESP32C5-ATM90E32-IoT-Mains-Power-Energy-Monitor\" target=\"_blank\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv dir=\"auto\" class=\"markdown-heading\"\u003e\n\u003ch3 dir=\"auto\"\u003e\u003cstrong\u003eOptions\u003c\/strong\u003e\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eDisplay User Panel\u003c\/li\u003e\n\u003cli\u003eDIN Enclosure\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003e\u003cb\u003eIn the Box\u003c\/b\u003e\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eIPEM SIX\u003c\/li\u003e\n\u003cli\u003e2mm Jumpers\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e","brand":"DitroniX","offers":[{"title":"Default Title","offer_id":53391144485192,"sku":"IPEM-SIX -UFL","price":55.0,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/ipem-six-esp32c5-ufl-dual-atm90e32-iot-mains-power-energy-monitor-4193006.png?v=1782811060"},{"product_id":"ipem-nb-iot-atm90e36-esp32c5-sim7070g-gprs-iot-lte-m-gnss-mains-power-energy-monitor","title":"IPEM NB-IOT ATM90E36 ESP32C5 SIM7070G GPRS IoT LTE-M GNSS Mains Power Energy Monitor","description":"\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003e\u003cstrong\u003eIPEM NB-IoT\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eis a self-contained, powerful ATM90E36 based, Smart Home and Industry Automation, Real-Time\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-NBIoT-ESP32C5-ATM90E36-SIM7070G-GPRS-IoT-Mains-Power-Energy-Monitor\/wiki\/What-is-NB%E2%80%90IoT%3F\"\u003eMains Power Energy Monitor\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003eBoard, and Kit. No soldering required.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/DitroniX\/blob\/main\/Compare%20Mains%20Power%20Energy%20Monitors.md\" target=\"_blank\" title=\"DitroniX Mains Power Polyphase IoT Energy Monitor Comparisons\" rel=\"noopener\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/Compare-DitroniX-Energy-Monitors-1024x106.png?v=1782664552\" alt=\"\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003ch3 id=\"nb-iot-technology\"\u003eNB-IoT Technology\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eThe\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eIPEM NB-IoT\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eincorporates the SIM7070G, which is a compact, low-power, global multi-band cellular module, supporting NB-IoT, Cat-M (LTE-M), and GPRS (2G) technologies.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003ch3 id=\"integrated-gnss-for-satellite-navigation\"\u003eIntegrated GNSS for Satellite Navigation\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eThe SIM7070G also includes a GNSS receiver for GPS, GLONASS, Galileo and BeiDou, Satellite positioning.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003ch3 id=\"supported-protocols\"\u003eSupported Protocols\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eProtocols supported include: TCP, UDP, HTTP, HTTPS, TLS, DTLS, FTP, PING, LWM2M, COAP and MQTT\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003ch3 id=\"at-commands\"\u003eAT Commands\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eThe\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eIPEM NB-IoT\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eSIM7070G is controlled via a comprehensive set of AT commands. This makes firware development easier by handling complex network protocols internally.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eControl of the SIM7070G is straight forward using Arduino IDE, or PlatformIO.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003ch3 id=\"standalone-or-integrated-remote\"\u003eStandalone or Integrated Remote\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003e\u003cstrong\u003eIPEM NB-IoT\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003ehas been designed to easily monitor, and offer a flexible interface too, a whole range Mains AC Power installations.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eThe\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eIPEM NB-IoT\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eis a ‘standalone board’, where its ESP32-C5, interfaces with ESPHome firmware (as an example)… If preferred, you could easily send MQTT messages. As it is ESP based, it will just power up and work. No waiting to boot up.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003e\u003cstrong\u003eIPEM NB-IoT\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003ecan run locally, such as via Home Assistant, Domoticz etc., or via an IoT remote service, or gateway to your system. It is totally down the user as to which option is taken.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eFirmware is typically developed for example, using Arduino IDE, PlatformIO (VS Code), ESP-IDF or ESPHome. Other local\/remote platforms which have been used for other IPEM boards also include LabVIEW and Zabbix. Using the NB-IoT integration, MQTT type messages could be integrated locally, or remotely, or both.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eUsing the\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-Plus-ESP32-C5-LoRa-LoRaWAN-IoT-Mains-Power-Energy-Monitor\/wiki\/RS%E2%80%90485\"\u003eRS485 interface\u003c\/a\u003e, messages could also be sent locally over a ‘twisted pair’, up to typical maximum distance of 1,200 meters (4000 feet). This is ideal for local hard wired installations where multiple\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eIPEM NB-IoT\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eboards, and other RS485 devices, could sit on the same multi-point network.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eConfiguration has been designed to be flexible but as easy as possible to implement using jumpers.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003e\u003cstrong\u003eHome | Industry | Housing | Educational | Farming | Agriculture | Solar | Energy\u003c\/strong\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eUsing its 2.4GHz and 5GHz Wi-Fi, Thread and Zigbee ESP32-C5 radio module, you can use\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eIPEM NB-IoT\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eto connect to a whole range of Smart Monitoring applications and projects.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eExtending further, the built-in GPRS NB-IoT GSM radio opens up long range and fully remote monitoring.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003ch3 id=\"how-does-the-power-energy-monitor-work\"\u003eHow does the Power Energy Monitor Work?\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eA power energy monitor is a device that safely samples the\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-NBIoT-ESP32C5-ATM90E36-SIM7070G-GPRS-IoT-Mains-Power-Energy-Monitor\/wiki\/What-is-a-Power-Energy-Monitor%3F\"\u003eAC Voltage, and Current flow\u003c\/a\u003e, from one, or more, electrical phases, and from this, derives a range of accurate mains power measurements which can then be used for smart metering, or energy monitoring purposes.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eThese individual measurements can then be extrapolated into a range of useful real-time data such as total RMS Power, Active, Re-Active Power, Harmonic Power, Power Factor, Phase Angles, Frequency, etc.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eThis real-time data can then be sent via Wi-Fi, NB-IoT, or RS485, through to IoT Home and Industrial Energy Monitoring systems like\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/www.home-assistant.io\/docs\/energy\/\"\u003eHome Assistant\u003c\/a\u003e.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003ch3 id=\"supports-ac-monitoring-around-the--world\"\u003eSupports AC Monitoring Around The\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/en.wikipedia.org\/wiki\/Mains_electricity_by_country\"\u003eWorld\u003c\/a\u003e\n\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eEurope and UK\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003ewhich typically is 230 V @ 50 Hz\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eWith ranges around 216 V to 253 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eUSA and Canada\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003ewhich typically is 120 V or 230 V @ 60 Hz\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eWith ranges around 114 V to 126 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eJapan\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003ewhich typically is 100 V @ 50 Hz or 60 Hz\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eEastern Japan is 50 Hz, and Western Japan is 60 Hz\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eWorld\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003etypically is 220V-240 V @ 50 Hz\u003c\/p\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003ch3 id=\"voltage-and-current-monitoring\"\u003eVoltage and Current Monitoring\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eAll AC Mains is safely and galvanically isolated using a low voltage transformer. Examples are bell transformers.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eFlexible monitoring of both AC Voltage and AC Current is important for any installation.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eThe below links go into more detail of these options.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-NBIoT-ESP32C5-ATM90E36-SIM7070G-GPRS-IoT-Mains-Power-Energy-Monitor\/wiki\/AC-Mains-Voltage-Sense-Input\"\u003eAC Voltage Monitoring\u003c\/a\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-NBIoT-ESP32C5-ATM90E36-SIM7070G-GPRS-IoT-Mains-Power-Energy-Monitor\/wiki\/AC-Current-and-Power-Monitoring\"\u003eAC Current Monitoring\u003c\/a\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003ch3 id=\"ipem-continuity\"\u003eIPEM Continuity\u003c\/h3\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cp\u003eFollowing in the footsteps of the original popular\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-IoT-Power-Energy-Monitor\"\u003eIPEM boards\u003c\/a\u003e, this\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eIPEM NB-IoT\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eis the latest in IoT Mains Energy Monitoring for Home and Industry Automation.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eIPEM NB-IoT\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eis a self-contained ESP32-C5 based IoT monitoring board. Ideal for local, or remoting, monitoring requirements.\u003cbr\u003e\u003cbr\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong style=\"font-size: 0.875rem;\"\u003eIPEM NB-IoT\u003c\/strong\u003e\u003cspan style=\"font-size: 0.875rem;\"\u003e \u003c\/span\u003e\u003cspan style=\"font-size: 0.875rem;\"\u003econnectivity allows Wi-Fi connections to 2.4GHz or 5GHz, with Bluetooth, Thread and Zigbee. In addition, you may also use the inbuilt NB-IoT GPRS SIM7070G.\u003c\/span\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"cl-preview-section\"\u003e\n\u003ch3\u003eInformation\u003c\/h3\u003e\n\u003cp\u003eFurther information maybe found on \u003ca href=\"https:\/\/github.com\/DitroniX\/IPEM-NBIoT-ESP32C5-ATM90E36-SIM7070G-GPRS-IoT-Mains-Power-Energy-Monitor\"\u003eGitHub\u003c\/a\u003e\u003c\/p\u003e\n\u003c\/div\u003e","brand":"DitroniX","offers":[{"title":"Default Title","offer_id":53416082538824,"sku":"IPEM-NBIOT-ESP32C5-GPRS","price":99.0,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0972\/8507\/9368\/files\/IPEM_NB-IoT-_Product_Features.png?v=1782824669"}],"url":"https:\/\/ditronix.net\/collections\/mains-energy-monitors.oembed","provider":"DitroniX","version":"1.0","type":"link"}