AC Mains Voltage Input - DitroniX/IPEM-IoT-Power-Energy-Monitor GitHub Wiki
The IPEM, IoT Power Energy Monitor board, has been designed to be flexible and whilst providing Energy Monitoring functionality, it also has other options for experimenting.
This information does NOT apply is using the board for full three phase power monitoring
The board has 3 x AC Voltage Inputs (ATM_V1P, ATM_V2P and ATM_V3P). By default, the AC Input Terminal Socket is configure to go to ATM_V1P only and the board is software configured to Single Voltage - which is fine for testing.
In order to correctly read Active Power, Apparent Power etc. with a single AC supply, you will need to:
1) Short ATM_V1P, ATM_V2P and ATM_V3P - which are the 1, 2 and 3 on the board.
2) Short the ATM V1P Jumper (All three pads).
The result of this simple modification, is that single AC input voltage from the 12V transformer, to the terminal block, will feed into all three AC voltage channels.
NB. You should normally leave the ATM_SINGLEVOLTAGE true, as you are sampling the single (common to all) AC Mains Voltage, irrespective of the current clamps, which could be on the mains tail, inverter etc.