Re: Measure AC with SCT013, ADS1115 and ESP8266
Posted: Mon Jul 12, 2021 12:36 pm
Dear Bugs, you don't know how much I appreciate the trouble you are taking with this topic.
I explain my objective: One of my daughters lives in the countryside, in an old rural house divided into two independent apartment with a single electricity supply network.
In the second home they installed a conventional meter and until now she divided the amount of the monthly bill with her neighbor without problems, taking into account the indications of this meter.
But recently, the Government of my country has regulated that the consumption and billing of ALL electrical installations will be calculated by applying hourly discrimination in three intervals, and even differentiating the weekends from the rest of the days.
My idea is to apply this scheme: Each ESP8266 will calculate the consumption of each home by the hour of each day, recording it in files that will be uploaded to an Internet server equipped with MySQL.
I think that, even if I do not get real measurements, either due to inaccuracy of my program or limitations of the components used, the data thus obtained can help a lot in the apportionment of total consumption bills.
In relation to your observations: I set the gain of the ADS1115 to 1.024V to try to get more accuracy in the measurement. Note that my coil delivers 1 volt for every 30 amps of current drawn and that every home facility has 20 amp limiters. They would automatically trip the IGAs before reaching a draw of 30 amps.
On the other hand, I am amused that the multimeter I am using appears to be identical to yours, except for the sticker with the mark. If so, note that you can use the AC millivolt scale for more precision.
I explain my objective: One of my daughters lives in the countryside, in an old rural house divided into two independent apartment with a single electricity supply network.
In the second home they installed a conventional meter and until now she divided the amount of the monthly bill with her neighbor without problems, taking into account the indications of this meter.
But recently, the Government of my country has regulated that the consumption and billing of ALL electrical installations will be calculated by applying hourly discrimination in three intervals, and even differentiating the weekends from the rest of the days.
My idea is to apply this scheme: Each ESP8266 will calculate the consumption of each home by the hour of each day, recording it in files that will be uploaded to an Internet server equipped with MySQL.
I think that, even if I do not get real measurements, either due to inaccuracy of my program or limitations of the components used, the data thus obtained can help a lot in the apportionment of total consumption bills.
In relation to your observations: I set the gain of the ADS1115 to 1.024V to try to get more accuracy in the measurement. Note that my coil delivers 1 volt for every 30 amps of current drawn and that every home facility has 20 amp limiters. They would automatically trip the IGAs before reaching a draw of 30 amps.
On the other hand, I am amused that the multimeter I am using appears to be identical to yours, except for the sticker with the mark. If so, note that you can use the AC millivolt scale for more precision.