You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I pulled the latest code and had difficulty in calibrating my tx3 for my US system. On investigating the various libraries I believe the calibration code is using the wrong channels. I changed it locally and it seems to be working now as I expected it to.
In emonTx34_CM.ino it has:
EmonLibCM_SetADC_IChannel(1, EEProm.i1Cal, EEProm.i1Lead); // ADC Input channel, current calibration, phase calibration
EmonLibCM_SetADC_IChannel(2, EEProm.i2Cal, EEProm.i2Lead); // The current channels will be read in this order
EmonLibCM_SetADC_IChannel(3, EEProm.i3Cal, EEProm.i3Lead); // 90.91 for 100 A : 50 mA c.t. with 22R burden - v.t. leads c.t by ~4.2 degrees
EmonLibCM_SetADC_IChannel(4, EEProm.i4Cal, EEProm.i4Lead); // 16.67 for 100 A : 50 mA c.t. with 120R burden - v.t. leads c.t by ~1 degree
I pulled the latest code and had difficulty in calibrating my tx3 for my US system. On investigating the various libraries I believe the calibration code is using the wrong channels. I changed it locally and it seems to be working now as I expected it to.
In
emonTx34_CM.ino
it has:In
emonTx34_CM_config.ino
though it has:I changed the first parameters in the switch to 1 through 4.
The text was updated successfully, but these errors were encountered: