ADS1115 and NTC themisitor

I got this working on a D1 mini but it was as folks say erratic on A0
So I got the ADS1115
But for the life of me I cannot get it to work. I think my issue Is I have pin A0 which is not on/from the ADS 1115 but I cannot figure out the way to fetch it. Temp never changes with NTC temp
Thanks,
PapaLanc

image

esphome:
  name: pit-master3

esp8266:
  board: d1_mini

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "/SBiNIGvNaaOe7ms1bITG76rsY8T5eJy/guRGFN/rSo="

ota:
  password: "c37dc4988b98145039f638694972bad5"

wifi:
  networks:
  - ssid: "shop2"
    password: "mi13"
  - ssid: "thegreyfox"
    password: "jj,,j"
  manual_ip:
    static_ip: 192.168.1.68
    gateway: 192.168.1.1
    subnet: 255.255.255.0
    dns1: 192.168.1.1

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Pit-Master2"
    password: ""
    # Example configuration entry
# Example configuration entry for ESP32
i2c:
  sda: D2
  scl: D1
  scan: true
#  id: bus_a    
ads1115:
  - address: 0x48
sensor:
  - platform: ads1115
    multiplexer: 'A0_GND'
    gain: 6.144
    name: "ADS1115 Channel A0-GND"

  - platform: ads1115
    multiplexer: 'A1_GND'
    gain: 6.144
    name: "ADS1115 Channel A1-GND"    
#sensor:
  - platform: ntc
    sensor: resistance_sensor
#    calibration:
#      - 2.3kOhm -> 75°C
#      - 3.785kOhm -> 32.22°C
 #     - 4.344kOhm -> 2.778°C
    calibration:
      b_constant: 3950
      reference_temperature: 32.22°C
      reference_resistance: 11.9Ohm
    name: NTC Temperature

  # Example source sensors:
  - platform: resistance
    id: resistance_sensor
    sensor: source_sensor
    configuration: DOWNSTREAM
    resistor: 20.0kOhm
    name: Resistance Sensor
  - platform: adc
    id: source_sensor
    pin: A0
captive_portal:
    
    

I’m using two NTCs to calculate the temperature difference between the pool and the solar heater, but I’m stucked at the same point as you. I have a circuit like the one below, and don’t know how to convert the voltage values to temperature using NTC or resistance components

Relevant part of my code is as follows:

i2c:
  sda: D2
  scl: D1
  scan: true
  id: bus_a

ads1115:
  - address: 0x49
    continuous_mode: false  
  
sensor:
  - platform: ads1115
    multiplexer: 'A0_GND'
    update_interval: 15s
    gain: 4.096
    name: "ADS1115 Channel A0-GND"
    on_value:
      - component.update: temp_diff

  - platform: ads1115
    multiplexer: 'A1_GND'
    update_interval: 15s
    gain: 4.096
    name: "ADS1115 Channel A1-GND"
    on_value:
      - component.update: temp_diff

Hey, I never could get consistent readings but I did not have near as many resistors and capacitors as you. But I think you need the NTC platform also

# Example configuration entry for ESP32
i2c:
  sda: D2
  scl: D1
  scan: true
   
ads1115:
  - address: 0x48
sensor:
  - platform: ntc
    sensor: resistance_sensor
    calibration:
      - 12.16kOhm -> 195°F
      - 2.614kOhm -> 89°F
      - 1.631kOhm -> 40°F
    name: NTC Temperature
  - platform: resistance
    id: resistance_sensor
    sensor: ads1
    configuration: DOWNSTREAM
    resistor: 20.0kOhm
    name: Resistance Sensor
  - platform: ads1115
    multiplexer: 'A0_GND'
    gain: 2.048
    id: ads1
    update_interval: never

  - platform: ntc
    sensor: resistance_sensor2
    calibration:
      - 3.986kOhm -> 195°F
      - 0.759kOhm -> 89°F
      - 420Ohm -> 41°F
    name: p2
  - platform: resistance
    id: resistance_sensor2
    sensor: ads2
    configuration: DOWNSTREAM
    resistor: 10.0kOhm
    name: Resistance Sensor2
  - platform: ads1115
    multiplexer: 'A1_GND'
    gain: 2.048
    id: ads2
    update_interval: never

switch:
  - platform: gpio
    pin: D0
    id: ntc_vcc


interval:
  - interval: 60s
    then:
      - switch.turn_on: ntc_vcc
      - component.update: ads1
      - switch.turn_off: ntc_vcc