Search the Community
Showing results for tags 'voltage measurement'.
Found 1 result
Hello, I have an LCD working, and I also have an adc working to get voltage from a potentiometer. I am able to display adc values on the LCD, and they change when I change the value of the pot. But I am stuck with one thing, I know that it is a 10bit adc, which means it can only get 0x3FF different values of data. I have a DMM connected to the voltage from the pot, that same voltage is going to the adc on the msp340. Here are some of the values that I got: 5V--------->0x0000 4.5V------->0x009D 4V---------->0x0126 3.5V-------->0x01BD 3V---------->0x0249 2.5V-------->0x02DF 2V---------->0x036B 1.5V-------->0x3FD~(F) -----> Anything below 1.5v is not detected by the adc. Does anyone know of a way to get the adc to read the full range of the 5v? Thanks