Skip to main content Microfire 

🧪 Mod-pH


  • Mod-pH in a breadboard
  • Front of Mod-pH
  • Back of Mod-pH
  • Mod-pH Fritzing




🔰 Easy

Easy I2C interface, simple API, minimal technical knowledge required


📦 Arduino

Library available in Arduino IDE and PlatformIO

PDF DOC HTML


🎯 Accurate

  • ±0.005 pH over entire pH range of 0-14 pH
  • temperature compensated

🐍 Raspberry Pi

Python library docs

PDF DOC HTML


↕️ Calibration

Calibration routines on-chip: single, dual, and triple point


📒 Datasheet

Datasheet

PDF DOC HTML


Code

  • 1
    #include <Microfire_Mod-pH.h>
    2
    Microfire::Mod_pH::i2c ph;
    3
    void setup() {
    4
      Serial.begin(9600);
    5
      Wire.begin();
    6
      ph.begin();
    7
    }
    8
    
    
    9
    void loop() {
    10
      ph.measurepH();
    11
      Serial.println((String) ph.pH + " pH");
    12
      delay(1000);
    13
    }

    Read more here
  • 1
    # import the component
    2
    external_components:
    3
      - source:
    4
          type: git
    5
          url: https://github.com/u-fire/ESPHomeComponents/
    6
    
    
    7
    sensor:
    8
      - platform: mod_ph
    9
        name: pH

    Read more here


Other stuff you'll need

This is just the module. You could...
  • Use it in a breadboard. To do that, you'll need to connect the I2C bus and probe connections using point-to-point wiring or something similar.
  • Use it in a Carrier Board for an easier-to-use solution than breadboards.
  • Use it on a custom board and attach it either by pins or castellation.

You'll need a pH probe:


Mod-ISO will minimize cross-probe and environmental interference.