ADC A/D Conversion Algorithm

Can someone help or point me to where I can find out how the A/D conversion is calculated? I’m providing 1 volt input on the end device and on the RS232 output of the coordinator I’m getting a decimal value of 310 (±2). It’s a linear value (eg. 2 volts = 620). Thanks - Mark.

I do not have any documentation but the Xbee has a 10 bit ADC. Thus it can have a value up to 1023. From the information it sounds like the Vref is supplied with 3.3 volts. Get your Vref divide it by 1023 and then multiply that by your ADC output to convert the digital output to volts.

(Vref/1023)*ADC output=Volts