Skip to content

DitroniX/FLIX-DitroniX-Power-Energy-Monitors-Firmware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

FliX and FliX Plus - DitroniX Power Energy Monitors Firmware

The IPEM and IPEC Development Code contains a number of features, which may be either used purely for development, a basis for your own firmware, or with features enabled (via software switches), provide a complete firmware solution, publishing to the outside World.

In addition, the new IPEM PiHat has also been launched Q1 2025. Whilst these boards are directed towards the Raspberry Pi, due to the ease of interfacing and in order to exercise and fully test these, I took a version of FLiX and made a number of changes in order to drive these newer boards via an ESP32 Interposer. This version of FLiX is called FLIX Plus.

This firmware has evolved over time and although originally was purely for bring-up testing, it has expanded into much more. It has developed way past its original bring-up task and is now quite comprehensive. It is though, still work in progress and free to be adapted and used.

This test code is OPEN SOURCE and formatted for easier viewing. It may be freely used, or modified as needed. You may use as is, use for bring-up development, simply use the bits you like! final use and for full IoT publishing. It is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

To make it easier to manage and describe, the firmware variants (ESP32 ATM90E32 ATM90E36 Test Code), has been given a new name – Flix

Versions

  • 250407 - Internal preparation for FLiX Plus (For IPEM PiHat and IPEM PiHat Lite boards)
    • Supports only ATM90E36
    • Supports IPEM PiHats via ESP32 Interposer
    • Beta Release to GitHub during week of 21st April
  • 250112 - Tweaks
  • 250111 - Main Release.
    • Supports ATM90E32
    • Supports ATM90E36
    • Major housekeeping
    • Register and function updates for ATM90E36
    • Various Bug fixes
    • Japan Voltage Support
    • Voltage and Current Harmonics
  • 231129 - Beta Release Primarily for the ATM09E32 with basic ATM90E36 support.

Board Selection

With the family addition of the IPEC board and IPEX Expansion, the original firmware has moved away from just IPEM into an integrated development branch - with auto board detect. This will allow for future expansion and system integration.

The FliX firmware currently supports the below board variants:

  • IPEM IoT Power Energy Monitor
    • IPEM32E-M90E32-INT | ESP32-WROOM-32E ATM90E32 AT24C64
    • IPEM32UE-M90E32-EXT | ESP32-WROOM-32UE ATM90E32 AT24C64
    • IPEM32E-M90E36-INT | ESP32-WROOM-32E ATM90E36 AT24C64
    • IPEM32UE-M90E36-EXT | ESP32-WROOM-32UE ATM90E36 AT24C64
  • IPEC IoT Power Energy Controller
    • IPEC32E-M90E32-INT | ESP32-WROOM-32E ATM90E32 MSP4728 AT24C64
    • IPEC32UE-M90E32-EXT | ESP32-WROOM-32UE ATM90E32 AT24C64
  • IPEX-1 IoT Power Energy Controller Expansion
    • IPEX1-ACS758-ADS1115 | ACS758 ADS1115 PCA9685

The FliX Plus beta firmware currently supports the below board variants:

  • IPEM PiHat ATM90E36 via ESP32 Interposer. WIP: ADC, DAC, RTC, Stacking.
  • IPEM PiHat Lite ATM90E36 via ESP32 Interposer. WIP: ADC, DAC, RTC, Stacking.

Continual Development

Due to the nature of this firmware, FliX and FliX Plus remains under development and is subject to change, improvements and additions.

During any development, the firmware is carefully tested on the range of supported boards. However, should you notice a gremlin, please feel free to let us know!

The Future

The longer term ideal, is for FliX to be streamlined even further and revamped, for example contain a single configuration file etc.

Acknowledgements

Base 90E32/36 register formulation is based on the original excellent ground work from Tisham Dhar, whatnick | ATM90E32 ATM90E36 Energy Monitor Core. This then being adapted over time where needed.

VSCode / Platform IO base, E32/E36 Registers/Code Merged, Adapted, Updated, Software Logic/Routines, Bring Up Firmware, Comprehensive Functions and Wi-Fi integration such as OTA, Domoticz Integration etc. by Date Williams.

Further Information

Additional information, and other technical details on this project, maybe found in the related repository pages.

Repository Folders

  • Code (Code examples for Arduino IDE and PlatformIO)
  • Datasheets and Information (Component Datasheets, Schematics, Board Layouts, Photos, Technical Documentation)
  • Certification (Related Repository Project or Part, Certification Information)

Repository Tabs

  • Wiki (Related Repository Wiki pages and Technical User Information)
  • Discussions (Related Repository User Discussion Forum)
  • Issues (Related Repository Technical Issues and Fixes)

We value our Customers, Users of our designs and STEM Communities, all over the World . Should you have any other questions, or feedback to share to others, please feel free to:

Dave Williams, Maidstone, UK.

Electronics Engineer | Software Developer | R&D Support | RF Engineering | Product Certification and Testing | STEM Ambassador

STEM

Supporting STEM Learning

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

DitroniX Supporting STEM

Releases

No releases published

Packages

No packages published