I was trying to use matlab and arduino uno to read a voltage between 0.8 - 1.5 V, but the resolution was too low because the default analog input is only 10bit. So I bought a 16bit ADC from adafruit and connected to my arduino, but then I realized it was not supported by the matlab-arduino support package.
Now the problem is, I do not know how to incorporate the ADC component into the pde and the matlab code so I can read the voltage via matlab and use the ADC.
I found this package similar to what I wish to do, but it was not design for the communication of the specific ADC I tried to use (ADS1115). Also I was quite confused by the instrument address and register address. Can anyone help me to:
- use matlab to read the voltage with higher resolution
- Understand what are the difference between instrument address and register address
Thank you very much!