I'm working on a project using micro to measure AC voltages (produced by a magnet and coil). I'm using a half-wave rectifier since I just want to see what voltages can be produced. When I connect the (-) lead of the AC to my DC ground, the values being recorded are incorrect.
As a test I used a function generator to input a sin wave with 2V P2P (with the (+) as the input to my diode and the (-) connected to the common ground) and I was getting voltages from 0 to 1.8. Account for the voltage drop across the diode, I should be getting values from 1-Vf to 1V.
When test using DC values, they are read correctly, so I'm thinking it's a problem with AC/DC grounding issue. I'd rather not use a full wave rectifier. Is there any way to make this work?
Thanks!
As a test I used a function generator to input a sin wave with 2V P2P (with the (+) as the input to my diode and the (-) connected to the common ground) and I was getting voltages from 0 to 1.8. Account for the voltage drop across the diode, I should be getting values from 1-Vf to 1V.
When test using DC values, they are read correctly, so I'm thinking it's a problem with AC/DC grounding issue. I'd rather not use a full wave rectifier. Is there any way to make this work?
Thanks!