I am trying to design an electricity monitoring system based on this wonderful project, using the EmonLibCM library. I want to monitor 9 channels with SCT-013-000 30A sensors and a module based on ZMPT101B. The collected data will be sent to a web application (Home Assistant) using esp32 or esp8266. Studying the documentation on the website and, in part, the forum, I stopped at 3 options, so please tell me which would be the best for me:
to use 2 x ATMega328P 3.3V, one with 4 x CTs and 1 x ZMPT101B, the other with 5 x CTs. The ESP32 will collect the data via I2C. The obvious disadvantage is the 10 bit ADC and I don’t know if I will need another ZMPT101B module for the other mcu to calculate the power. Or can I use a single ZMPT101B module connected to 2 mcu?
(I’m leaning towards this) to use 1 x AVR128DB48 using the emonTx v4 documentation. The advantages are obvious even to me, but I don’t know if a single mcu has enough computing power and frequency to monitor 9 channels with sufficient precision. Or maybe it would be better to opt for 2 x AVR128DB48, as in the previous option, the one with ATMega328P.
(the least likely). To use ESP32/ESP8226 with 1x, 2x, 3x… as many external ADCs as needed, such as ADS1015.
Thank you for your time and advice!