I have an ADS1115 ADC and when I run even the trial code, it always without fail stops at ads.begin. I posted the trial code below, this is what adafruit suggest for example code. I tried 2 different boards that came from the same pack. Same issue with both, I tried a downgraded board manager, I have 4.7k resistors for I2C, I am using and arduino Uno, I think I may have just got unlucky and got 2 bad ADS1115's. Any suggestions would be helpful
Fat chance.
Fortunately, the odds of a simple mistake on your end that's entirely correctible is extremely big.
Can you please show a schematic or even wiring diagram of how you've connected everything together, and some clear photographs of the system as built? Thanks!
Update: I tore everything down and restarted and made sure the ONLY thing on my breadboard was the resistors and the only thing on my R3 was the ADS1115. It is working now. Now I just need to figure out why it didn't like when stuff was connected to the board even with no power to it.
Edit: I just realized that I plugged the VCC of the ADS1115 into the Vin and now it works perfectly, I am so confused.
Please, connect 3.3V at Ch-A0. Adjust your sketch of post #1 to acquire 3.3V and show it on Serial Monitor at 1-sec interval. Operate the ADC from 5V supply of UNO.
Would appreciate to know what you are seeing on the Serial Monitor.
This is what I was doing to test before, so I didn't double dip or I thought it could be issues with the input voltage from my sensor. Please check my solution in the previous reply.
I did some more experimenting and it turns out that one of my ground pins on the arduino was shot, I had my address pin hooked up to it and it didn't function because of that.
Good detective work and nice to hear you've been able to resolve the problem so quickly. Stripping down the circuit to just the Arduino and the ADC was a smart move; well done.
I added the following line with your sketch and now my Serial Monior shows: 3.3V. I had problem because my sketch's class name was Adafruit_ADS1015 (old man mistake) instead of Adafruit_ADS1115.