Hi Everyone,
I am trying to integrate the ADS1015 which is connected to a simple line encoder.
This line encoder outputs up to 5v (depends on how much it's stretched out).
The physical rage of the encoder is 0-40cm.
The problem is, that I can only get values up to 4v.
I tried setting the config register FSR = +-6.144v but that didn't help. After playing around a bit with the config register, I was able to get two seperate configurations:
1. 0xF00E - binary: 1111000000001110 - Which allows me to receive values up to ~4v (about 30cm).
2. 0xD00E - binary: 1101000000001110 - Which allows me to receive values from ~4v + (30-40).
I tried enabling the window comparator but without success (I have no experience with it).
Any help would be highly appreciated!
Thank you in advance.