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

how to use the AIN0 ( P0.02 ) Analog pin as analog input on the nRF52 DK

Hi to all,

I'm new with the nRF52 DK developpement board and I use Zerynth ( Python ) for developping a simple application for a product who are still existing. ( MOKO M1 BEACON  https://www.mokosmart.com/fr/mokosmart-r9-beacon-ultra-thin-electronic-tags-supporting-ibeacon/).

On their electronic schematique they use the AIN0 - P0.02 pin as the battery analog In pin ! So how to use this pin on the nRF52DK board as it's referenced "AREF" ! because P0.02 is not referenced on the P2 connector.

Also in the nRF52 library for Zerynth python there is only A0 to A5 ADC accessible pin !

What's the solution of this problem ?

Thank in advance for reply

Best regards, Jiemde

Parents Reply
  • Hi, 

    On page 16 ( figure 10 ) of the nRF52 DK User guide you can see that the connector P2 has only 6 Analog inputs, referenced A0 to A5 and no P0.02 !

    This pin P0.02 is on the P4 connector and have the référence AREF ( figure 11, page 17 ).

    So my question is how to use this pin as an Analog input and if yes what's it reference A?

    Thank in advance for your reply

    Jiemde

Children
Related