@vazquezjm wrote:
Well, I added a CT clamp to one of my Wemos D1 mini, using an ADC (ADS1115) in differential mode. I have an SCT13-000 which outputs 50mA current instead of 1V, so I added a 33ohm burden resistor. I live in Argentina so the mains voltage is 220v.
What I’m getting from the sensor right now:
[19:20:30][D][sensor:092]: 'Measured Current': Sending state 0.05401 A with 2 decimals of accuracy [19:20:33][D][sensor:092]: 'Measured Current': Sending state 0.03408 A with 2 decimals of accuracy [19:20:35][D][sensor:092]: 'Measured Current': Sending state 0.05031 A with 2 decimals of accuracy [19:20:37][D][sensor:092]: 'Measured Current': Sending state 0.04377 A with 2 decimals of accuracy [19:20:41][D][sensor:092]: 'Measured Current': Sending state 0.04759 A with 2 decimals of accuracy [19:20:43][D][sensor:092]: 'Measured Current': Sending state 0.04059 A with 2 decimals of accuracy [19:20:44][D][sensor:092]: 'Measured Current': Sending state 0.04366 A with 2 decimals of accuracy [19:24:33][D][sensor:092]: 'Measured Current': Sending state 0.03712 A with 2 decimals of accuracy [19:24:35][D][sensor:092]: 'Measured Current': Sending state 0.04597 A with 2 decimals of accuracy [19:24:37][D][sensor:092]: 'Measured Current': Sending state 0.05084 A with 2 decimals of accuracy [19:24:39][D][sensor:092]: 'Measured Current': Sending state 0.04519 A with 2 decimals of accuracy [19:24:40][D][sensor:092]: 'Measured Current': Sending state 0.03390 A with 2 decimals of accuracy [19:24:42][D][sensor:092]: 'Measured Current': Sending state 0.05371 A with 2 decimals of accuracy [19:24:45][D][sensor:092]: 'Measured Current': Sending state 0.04518 A with 2 decimals of accuracy [19:24:46][D][sensor:092]: 'Measured Current': Sending state 0.03873 A with 2 decimals of accuracy [19:24:49][D][sensor:092]: 'Measured Current': Sending state 0.03463 A with 2 decimals of accuracy [19:24:51][D][sensor:092]: 'Measured Current': Sending state 0.03772 A with 2 decimals of accuracy [19:24:52][D][sensor:092]: 'Measured Current': Sending state 0.05454 A with 2 decimals of accuracy [19:24:55][D][sensor:092]: 'Measured Current': Sending state 0.04433 A with 2 decimals of accuracy [19:24:57][D][sensor:092]: 'Measured Current': Sending state 0.03305 A with 2 decimals of accuracy [19:24:59][D][sensor:092]: 'Measured Current': Sending state 0.03654 A with 2 decimals of accuracy
As you can see, readings are not stable. Consumption measured with a multimeter is 2.28A
As per the doc, I should add this to the config
filters: - calibrate_linear: # Measured value of 0 maps to 0A - 0 -> 0 # Known load: 2.28A # Value shown in logs: xxxx - xxxx -> 2.28
But since I’m not getting a stable reading, how could I map those values to 2.28A?
Posts: 4
Participants: 2