I am using the MCP3248 0-10V ADC. I modified the code from the posted code on GitHub to read 2 pressure transducers that are hooked up to channels 1 and 2 with channels 3 and 4. My problem is under vacuum the lowest voltage reading I can get is ~0.07V obscuring the bottom bit of data. On channels 3 and 4, it also reads ~0.07V with no wire hooked up to it. My code also prints the values in data (data and data) and data seems to read a minimum of 21 and never dips below that.
I am currently reading and polling for 2 bytes (16 bits).
Is there a configuration command or something that I am missing or using incorrectly?
Additionally, it would be appreciated if anyone has more code examples or documentation that I can use.
Also to amend my initial post it is not reading below .007V not .07V.
Below is the screenshot of the system running (currently the transducers should be at the same pressure, upstream is a 0-1000 PSI downstream is 0-5PSI so upstream will be less accurate but they should be close. The first number printed is data and the second number is data but data never goes below 21.
Channel 4’s is empty but is still reading that minimum of ~0.007
I now connected channel 3’s input straight to ground and am still reading that minimum of 0.007V.