Custom components for DF Robot pH, EC, Peri pumps with calibration and servo control.
C++ 58.24%Python 41.76%
esphome-dfrobot-ph-ec-peristaltic's Introduction
ESPHOME Digital pump and DFRobot PH Sensor
Adding the PUMP to the configuration
digital_pump:
- id : Pump1pin: 2speed: 90# [0.0 - 90.0] clockwise_rotation: true # [true for clockwise rotation or false for counter clockwise rotation]auto_mode: # switch the operation modename: "Doser Auto Mode"doser_on: # switch for the dosername: "Doser ON"dose: # Number for the dose in (L)name: "Pump 1 dose (L)"mode: boxmin_value: 0max_value: 1000calibration: # Number for the dose calibration (L/s)name: "Pump 1 Calibration (L/s)"mode: boxmin_value: 0max_value: 100000
Adding the PH sensor to the configuration
DFRobot_ESP_PH:
- id: PH1pin: 35# ADC pin Connected to the PH Sensoracid_voltage: 1000# Calibration for Acid solution (4.0)neutral_voltage: 15255# Calibration for Neutral solution (7.0)temperature: 25update_interval: 10scalibration_mode: # Switch to select calibration mode name: "Calibration mode"ph_sensor: # The PH sensor holding the read valuename: "PH sensor 1"