I did some more testing:
- only connected 1 single CT to first port (ai1)
- tested with a stable load of 3.33 amps (a halogene lamp of 750W)
- set the update interval to 5 seconds in esphome
from the logs I filter out the raw values and they are very jumpy:
Line 113: [23:55:28][D][sensor:094]: 'ai1': Sending state 1.16500 V with 3 decimals of accuracy
Line 147: [23:55:33][D][sensor:094]: 'ai1': Sending state 1.03000 V with 3 decimals of accuracy
Line 176: [23:55:38][D][sensor:094]: 'ai1': Sending state 1.15000 V with 3 decimals of accuracy
Line 205: [23:55:43][D][sensor:094]: 'ai1': Sending state 1.18100 V with 3 decimals of accuracy
Line 234: [23:55:48][D][sensor:094]: 'ai1': Sending state 1.18700 V with 3 decimals of accuracy
Line 266: [23:55:53][D][sensor:094]: 'ai1': Sending state 1.18400 V with 3 decimals of accuracy
Line 295: [23:55:58][D][sensor:094]: 'ai1': Sending state 1.16700 V with 3 decimals of accuracy
Line 324: [23:56:03][D][sensor:094]: 'ai1': Sending state 1.09100 V with 3 decimals of accuracy
Line 353: [23:56:08][D][sensor:094]: 'ai1': Sending state 1.07500 V with 3 decimals of accuracy
Line 382: [23:56:13][D][sensor:094]: 'ai1': Sending state 1.06500 V with 3 decimals of accuracy
Line 411: [23:56:18][D][sensor:094]: 'ai1': Sending state 1.06200 V with 3 decimals of accuracy
Line 440: [23:56:23][D][sensor:094]: 'ai1': Sending state 1.06400 V with 3 decimals of accuracy
Line 469: [23:56:28][D][sensor:094]: 'ai1': Sending state 1.05200 V with 3 decimals of accuracy
Line 498: [23:56:33][D][sensor:094]: 'ai1': Sending state 1.06400 V with 3 decimals of accuracy
Line 527: [23:56:38][D][sensor:094]: 'ai1': Sending state 1.00400 V with 3 decimals of accuracy
Line 556: [23:56:43][D][sensor:094]: 'ai1': Sending state 0.93600 V with 3 decimals of accuracy
Line 585: [23:56:48][D][sensor:094]: 'ai1': Sending state 0.88700 V with 3 decimals of accuracy
Line 618: [23:56:53][D][sensor:094]: 'ai1': Sending state 0.90700 V with 3 decimals of accuracy
Line 647: [23:56:58][D][sensor:094]: 'ai1': Sending state 0.95100 V with 3 decimals of accuracy
Line 676: [23:57:03][D][sensor:094]: 'ai1': Sending state 1.09000 V with 3 decimals of accuracy
Line 705: [23:57:08][D][sensor:094]: 'ai1': Sending state 1.17200 V with 3 decimals of accuracy
Line 734: [23:57:13][D][sensor:094]: 'ai1': Sending state 1.18100 V with 3 decimals of accuracy
Line 763: [23:57:18][D][sensor:094]: 'ai1': Sending state 1.06300 V with 3 decimals of accuracy
Line 792: [23:57:23][D][sensor:094]: 'ai1': Sending state 0.95900 V with 3 decimals of accuracy
Line 821: [23:57:28][D][sensor:094]: 'ai1': Sending state 0.88600 V with 3 decimals of accuracy
Line 850: [23:57:33][D][sensor:094]: 'ai1': Sending state 0.94900 V with 3 decimals of accuracy
Line 879: [23:57:38][D][sensor:094]: 'ai1': Sending state 1.07400 V with 3 decimals of accuracy
Tested with some other clamps (10A - 1V) but am getting the same result.
No idea what I can do next but haven't been able to get a proper reading yet.
Regards,
Nick
I am attempting the calibration but have such a big spread in these raw values: ranging from 0.88 to 1.19V of raw value of ADC state for a stable load.
Or is that interval of 5 seconds too low like this?
- only connected 1 single CT to first port (ai1)
- tested with a stable load of 3.33 amps (a halogene lamp of 750W)
- set the update interval to 5 seconds in esphome
from the logs I filter out the raw values and they are very jumpy:
Line 113: [23:55:28][D][sensor:094]: 'ai1': Sending state 1.16500 V with 3 decimals of accuracy
Line 147: [23:55:33][D][sensor:094]: 'ai1': Sending state 1.03000 V with 3 decimals of accuracy
Line 176: [23:55:38][D][sensor:094]: 'ai1': Sending state 1.15000 V with 3 decimals of accuracy
Line 205: [23:55:43][D][sensor:094]: 'ai1': Sending state 1.18100 V with 3 decimals of accuracy
Line 234: [23:55:48][D][sensor:094]: 'ai1': Sending state 1.18700 V with 3 decimals of accuracy
Line 266: [23:55:53][D][sensor:094]: 'ai1': Sending state 1.18400 V with 3 decimals of accuracy
Line 295: [23:55:58][D][sensor:094]: 'ai1': Sending state 1.16700 V with 3 decimals of accuracy
Line 324: [23:56:03][D][sensor:094]: 'ai1': Sending state 1.09100 V with 3 decimals of accuracy
Line 353: [23:56:08][D][sensor:094]: 'ai1': Sending state 1.07500 V with 3 decimals of accuracy
Line 382: [23:56:13][D][sensor:094]: 'ai1': Sending state 1.06500 V with 3 decimals of accuracy
Line 411: [23:56:18][D][sensor:094]: 'ai1': Sending state 1.06200 V with 3 decimals of accuracy
Line 440: [23:56:23][D][sensor:094]: 'ai1': Sending state 1.06400 V with 3 decimals of accuracy
Line 469: [23:56:28][D][sensor:094]: 'ai1': Sending state 1.05200 V with 3 decimals of accuracy
Line 498: [23:56:33][D][sensor:094]: 'ai1': Sending state 1.06400 V with 3 decimals of accuracy
Line 527: [23:56:38][D][sensor:094]: 'ai1': Sending state 1.00400 V with 3 decimals of accuracy
Line 556: [23:56:43][D][sensor:094]: 'ai1': Sending state 0.93600 V with 3 decimals of accuracy
Line 585: [23:56:48][D][sensor:094]: 'ai1': Sending state 0.88700 V with 3 decimals of accuracy
Line 618: [23:56:53][D][sensor:094]: 'ai1': Sending state 0.90700 V with 3 decimals of accuracy
Line 647: [23:56:58][D][sensor:094]: 'ai1': Sending state 0.95100 V with 3 decimals of accuracy
Line 676: [23:57:03][D][sensor:094]: 'ai1': Sending state 1.09000 V with 3 decimals of accuracy
Line 705: [23:57:08][D][sensor:094]: 'ai1': Sending state 1.17200 V with 3 decimals of accuracy
Line 734: [23:57:13][D][sensor:094]: 'ai1': Sending state 1.18100 V with 3 decimals of accuracy
Line 763: [23:57:18][D][sensor:094]: 'ai1': Sending state 1.06300 V with 3 decimals of accuracy
Line 792: [23:57:23][D][sensor:094]: 'ai1': Sending state 0.95900 V with 3 decimals of accuracy
Line 821: [23:57:28][D][sensor:094]: 'ai1': Sending state 0.88600 V with 3 decimals of accuracy
Line 850: [23:57:33][D][sensor:094]: 'ai1': Sending state 0.94900 V with 3 decimals of accuracy
Line 879: [23:57:38][D][sensor:094]: 'ai1': Sending state 1.07400 V with 3 decimals of accuracy
Tested with some other clamps (10A - 1V) but am getting the same result.
No idea what I can do next but haven't been able to get a proper reading yet.
Regards,
Nick
(12-18-2023, 11:05 PM)admin Wrote: RAW just a value of ADC, it's not actually value, it's not important.
so every CT sensor need calibration.
I am attempting the calibration but have such a big spread in these raw values: ranging from 0.88 to 1.19V of raw value of ADC state for a stable load.
Or is that interval of 5 seconds too low like this?