I have updated my EmonTX with the voltage measurement parts. And uploaded the:
example. But I keep getting strange negative value's.
I have changed the CT input to CT2.
Is there any calibration neccesy? Of other settings ? like the CT_TURNS and RMS_Voltage ?!
Probably a daft answer.... but have you tried re-attaching the CT clamp the opposite way around?
Once you monitor the voltage waveform, the current sensor can determine which way the power is flowing, and if wrongly connected can report negative values.
Open-source tools for energy monitoring and analysis. This project uses the GNU General Public Licence