Using 0 - 5 volt sensor

BDub has a great write up on ADC_SAMPLING_TIME might help:

Helped me figure out why my readings were off, good advice !

Odd analog readings (part 2)

Regards.