Voltage/Power measurement using ZMPT101B and ACS712 sensor modules

Hello Everyone,

I know I can use the ZMPT101B module for voltage measurements and the ACS712 module for current measurements, but what I can't seem to get any information on, is whether I can use them together at the same time? I have already seen a few sites about voltage and current measurements, but all of those are showing individual setups - measuring voltage and current separately. What I wish to do is use both modules simultaneously and display the results on a small OLED display. One line for voltage, one line for current and then a third line showing total power. Could anyone provide a link to any site where this might have been done previously?

Thank you!

Ken

Try the first Google hit on "ZMPT101B ACS712"

Yes, no reason you can't. You just use two analog channels and combine your code to read both. You would derive power doing the math in your code. Just keep in mind Reactive Power, True Power and Apparent Power as with an AC circuit it's not as simple as DC power. Additionally keep in mind the ACS712 uses a DC offset which is 1/2 VCC so if you power it with 5.0 volts the Vout with no signal (0.0 Current) is 2.5 VDC or 512 bits. Anyway, yes, you can read both using two analog input channels.

Ron