Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Arduino Library for communicating with the Omega PHH37 over RS232

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Arduino Omega PHH37 Library

This library communicates with the Omega PHH-37 handheld pH meter over RS232

Features

Read realtime (~1 sec sampling rate) data from device

  • pH
  • mV
  • temperature

Installation

Place the source in your Arduino libraries folder

MAX232 chip required for converting RS232 voltage to TTL.

schematic

Also, check the tutorial how to use wire MAX232. The part about the software serial is out of date.

NOTE: connect the PHH37 Rx/Tx wires to pins 0, 1 on the Arduino UNO. When uploading a new sketch, you must disconnect these two wires. Otherwise the sketch will not upload.

Currently, this library only supports using Serial on the UNO.

Examples


#include <Omega_PHH37.h>

Omega_PHH37 Meter = Omega_PHH37();

void setup()
{
  Meter.begin();
}

void loop()
{
  delay(1000);
  if(Meter.read()) {
    Serial.print("mV: ");
    Serial.println(Meter.mV());
  }
  else {
    Serial.println("could not get data");
  }
}

Protocol

Something went wrong with that request. Please try again.