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

Reading the Analog input on NRF51

github.com/.../ble_app_uart_adc_simple I have flashed the above program in the link on to my nrf51822 DK. I can see the values of the samples but i do not understand what the output is. The analog pin that is configured in P0.01 . I did not connect anything to this pin. But I still see the output. I connected VDD to the P0.01 pin that is configured for ADC output , but I don't see any change in the output values from when it is not connected to anything.

Can anyone help in connecting the potentiometer to the analog pin and see the output? If there are any examples please let me know. This the output i am getting without connecting anything to analog pin configured(AIN2(P0.01)). image description

Related