Hello everyone!
So my project is to make a kind of sensor hub for my greenhouse, and I wanted to incorporate 3 soil moisture sensors. I want to use the analog ouput, since it gives an indication of the soil moisture. The problem is, the board I'm using (Wemos D1 R2) only has 1 analog pin.
So my question is: would it be possible to hook up 3 soil moisture sensors with the help of an ADS1015 analog expansion, and address them with the use of I2C?
Board: Wemos D1 R2
Moisture sensors: Soil moisture sensors
ADS1015: ADS1015
Since you send a link to the same part as I was planning to use, does that mean it would work? Or do you suggest using an analog mux over using the ADS1015 (sorry if this doesn't make sense, I'm an arduin noob
)
I'm using it's slower 16-bit brethren, the ADS1115, and it works great for reading analog signals. Your soil moisture sensors will work fine, too (I'm assuming you have a resistive type sensor).
Do mind that you must completely disconnect those sensors except when making measurements to make them last longer. For more accurate measurements you have to use high frequency AC (1-1000 kHz) - this has been discussed in the forum several times.
Yeah I was thinking of powering them with a digital pin, and set it to high when you want to meassure it, and when you're done setting it to low. Not 100% sure if that would work but I think it should.
And would you prefer ADS1115 over ADS1015? I haven't bought it yet so if there is a better/easier alternative to the ADS1015 I would gladly buy that one haha 
ADS1115 is 16-bit vs 12-bit for the 1015, and is slower (860 sps vs. 3,300 sps - so neither is a speed monster anyway).
If that speed is not of an issue, I'd go for the higher resolution of the 1115. Other than that it seems they're basically identical.