This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Reading ADC Value

I am trying to measure single-phase mains voltage (240v, 50Hz) by stepping down the voltage to 200mv using a voltage divider and read it with the ADC pin of the controller. But the output wave is both negative and positive as shown in the image.

As Nordic nRF52810 cannot read negative values, we need your support on shifting up the wave to the positive side without disturbing the frequency and reading these values.

  • I don't have any specific solution for this, I typically would have used an opamp. But I can see on the internet that when searching for "how to measure negative voltages with adc" I can find some suggested solutions and articles, I suggest to check those out if any can be used in your case. Make sure that the input is at all times between 0 - VDD (absolute max is (-0.3V) - (VDD+0.3V)).

    Best regards,
    Kenneth

Related