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

How to Program NRF51422 w/S130 to read input pin into ADC

I'm trying to replicate an Arduino Uno application where we connect a M3Q alcohol sensor into an analog pin and feed the data into the ADC. The specific board I have is made by Taiyo Yuden. I've gone through various code samples in Nordic Semiconductor's Github page (including this one) and I'm still unsure on how to setup the board to read the analog signal. If I understood correctly the code sample linked above they are trying to read data from BLE and send it to the ADC. In my application I want to read analog data from the sensor and then transmit it over bluetooth with the BLE module. Any help/tips on how to setup the ADC and read events after conversion will be greatly appreciated.

Parents Reply Children
Related