I would recomend that you either use an oscilloscope, to test the ACTUAL
Output from your sensor.
But if dont have one, or accses to one, then you need to try this;
Sample the voltage from your sensor, with at least 4 different currents.
Save as a text/csv file and load into excell.
I am guessing that the O / P will be positive, as well as negative.
Unless you have have cicuitry to shift the offset.
Alturnatly, you should be able to get a dedicated chip,
Hope this helps
Enjoy
Ceri
I'm trying to calculate RMS voltage from analog pin 19 so that I can convert that for working out the current reading from a CT sensor.
I've taken some working Arduino code and attempted to convert/replicate for MBED but my results are way off! Could one of you really experienced chaps take a look and see if you can steer me in the right direction?
My CT sensor outputs 1v AC that's linear to the current so I am offsetting with a volatage divider.
Thanks!