Ds18b20 has 3 lines like vcc gnd dat. How can I connect to i2c’s sda, sdc with ads1115?
DS18B20 is a 1-wire digital sensor which is not related to I2C protocol. Therefore, you do not need to integrate the DS18B20 with an ADC (ADS1115 for your case). You can follow adafruit’s blog for an extensive setup procedure for this specific sensor. Hope this helps!