I'm working on a personal project to monitor the real-time current draw of an appliance that's plugged into it. Similar to some of the smart plugs on the market that allow you to monitor energy usage. However, in my case I'm trying to monitor real-time current usage, rather than the longer-term averages those smart plugs offer. I've never worked with high voltage before (assuming 110VAC counts as "high" voltage around here, I know some of you are working with vacuum tubes, so...)
Now then, I have a few requirements I'm trying to fulfill:
- 15A max current draw
- 110VAC @ 60Hz
- 1 sample per second
- Small amount of power siphoned off for powering MCU
Now, everything from the MCU on (the wifi, API calls, etc.) I can handle no problem, that's smack dab in the center of my wheel house. But everything before that, like the power supply, current sensing, amplification of the current sense resistor values, etc. are way outside of what I have experience with.
First of all, here's the schematic:
https://i.ibb.co/HqVJYjt/Screenshot-from-2021-02-16-23-37-44.pngAs you can see, it's broken into two parts. The top part is the current sensing and amplification. The lower part is the 3.3v power supply for the MCU, et al.
So, I have done my best to come up with what I think is the right approach, and I'd love for some feed back and recommendations.