Hey guys, I am new to coding and trying to set up the ADS1115 (± 16-bit analog digital converter) with various codes and libraries from the internet.
For test purposes, I tried to measure a 140mV voltage from a potentiometer. On the left side of the picture I have declared the ADS1115 as ADS1015 (± 12-bit analog digital converter) and everything works as desired -> 0.125mV / step.
It does not work as ADS1115 (right side picture), it always jumps directly by 16 (2^4) steps which results in the same accuracy -> 0.125mV/step (changing the programmable-gain-amplifier does not help with this issue). Since 2^4 is 4 bit and equals the difference between ADS1115 and ADS1015, I have the suspicion that the promised ADS1115 in reality is an ADS1015.
Mouser, Digikey, Element14, etc are the places to get chips these days, the counterfeit scourge is extremely
bad these days. There a vast illegal cottage industry re-marking chips, some are recycled (and actually the
right chip, but used/untested), some are the wrong but similar chip, some are just empty packages. These
are offloaded onto eBay and Amazon associate sellers in vast numbers.
I bought a 3 pack of them from Amazon. All three work fine. Everything I have bought through Amazon which was HiLetgo was always reasonably priced and worked fine. That said there is no shortage of garbage coming in and distributed. For what I consider novelty stuff I am fine with Amazon but if it is a serious project I go with any of the reputable distributors. Before I retired I dealt quite a bit with Allied Elect so I frequently still use them.