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

Saadc over BLE sanity check

Hi,

I merge saadc and ble_uart together in order to send send sensor output(now just analog voltage) to mobile app. I want to check weather the ADC is working properly or not. Digital values for same voltage are very different from each other and it seems changing voltage does have impact on digital value. How can I check adc's functionality?

Best regards,

Kosar

Parents Reply
  • Hi,

    It looks like the samples are around 0 (remember that it is integers), so if you have a DC offset or a bit of noise when measuring 0 V, then you can get negative numbers. You should calibrate to correct any DC offset (difficult to say if there is any or not), and you could teak measures to reduce the noise. Both in HW if possible, and also by using oversampling (essentially just averaging of multiple samples).

Children
Related