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

ADC errors

hi i am using this to capture the adc value 

data_ADC=adc_buffer[1]*(1024+gain_error) / 1024 + offset_error - 0.5;

data_ADC_double=data_ADC*3.6/1024;


MULTIMETER MEASUREMENT: 1.72V

ADC RESULT: 1.65V 

Could anyone help me please? 

Parents Reply
  • Hi Edvin, 

    I use a NRF51822.-QFAC
    I use the same HFXTAL than in your designs (NX2520SA-16MHZ-STD-CSW-5) 
    I use 1/3 prescaler
    I use 3V as VCC

    I am trying to measure this (please, tell me if i need any other hardware part): 

    1) Battery : 

    2) Sensor 1: (output of an OAMP directly connected to the ADC) 



    3) Sensor 2: (output of an OAMP connected to the ADC with this through)  







Children
Related