A simple loop for measuring a phase of air conditioner using esp-32.
Since the AC is 1kW(3 phases), the maximum current is less than 4 amp. And for sampling accuracy, the ADC of esp-32 will work at about 0.5-4.5V. Other fixes will be applied on chip's programing.
这是用于家里空调的电流互感电路,目的是利用esp-32自动获取空调使用的电流量,并进行记录。
因为空调大概是1kW的功率,稍加计算可知单相电流不超过4A。同时为了满足0-5V的取样精度,通过33ohm电阻将取样电压控制在0.5-4.5V。剩余的取样修正通过esp-32程序完成。