DF Robot pH SEN0169-V2 Sensor ESPHome

Home Assistant automation projects, questions, etc. go here.
Post Reply
jaysal
LED Enthusiast
LED Enthusiast
Reactions:
Posts: 75
Joined: Sat May 30, 2020 7:49 am

Posting this incase anyone has this pH sensor and wants to use it with ESPhome. I had to manually calibrate it but it appears to be fairly accurate. I am using old calibration solution so I think calibration is not super accurate at the moment. The screenshot below is the probe sitting in pH 7 solution

https://www.dfrobot.com/product-2069.html
df robot.PNG
df robot.PNG (1.73 KiB) Viewed 3757 times

Code: Select all

esphome:
  name: phmeter

esp32:
  board: esp32doit-devkit-v1
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: "165ac0be0da9b0896ea663310dd6497a"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Phmeter Fallback Hotspot"
    password: "RAU4RZS1J44R"

captive_portal:
i2c:
  sda: GPIO21
  scl: GPIO22
  scan: true
  
ads1115:
  - address: 0x48

sensor:
  - platform: ads1115
    multiplexer: 'A1_GND'
    gain: 4.096
    name: "ADS1115 Channel A1-GND"
    update_interval: 10s
    filters:
    - calibrate_linear:
          - 1.510 -> 7.0
          - 2.008 -> 4.0
          - 1.126 -> 10.0
Post Reply