AnyLeaf pH and ORP module (RETIRED)

$ 37.70

A Lab-grade digital pH and ORP circuit for Arduino, Raspberry Pi, embedded – Accurate, Easy to use, Affordable

For laboratory, hydroponics, aquarium, and brewing
Connects directly to your device – no other parts required. The AnyLeaf open-source software makes measuring fast and easy.

Out of stock

SKU: AL.PH-MOD Categories: , , ,

Description

Beyond pH

Includes temperature compensation, with built in sensor. Can be used with Oxidation Reduction Potential(ORP) , and other ion-selective electrodes. (Nitrate, Potassium, etc) probes.

This module can be used with any probe with a BNC connection. The I2C interface can communicate with nearly any microcontroller. Fully tested on Arduino, Raspberry Pi, and STM32.

  • Output pins are labeled on the board, as follows:
  • +VCC: 2V – 5V power input
  • SDA: I²C digital output
  • SCL: I²C digital output
  • GND: Ground

Module specifications:

  • Dimensions: 50 × 25 × 17(height) mm
  • Weight: 14 grams
  • pH precision: 0.01, with a suitable sensor
  • pH Range: 0 – 14
  • Digital precision: 16 bit
  • Input voltage: 2 – 5V
  • Mounting screws: 4 × M3, 6mm len (included)
  • I2C address: 0×48 or 0x49 (selectable)
  • Sensor interface: BNC male (Accepts BNC female sensors)
  • Power consumption: 1.375 mA
  • UPC / GTIN: 860004179009

Regular calibration is required for accurate measurements. The official drivers support 2 or 3 point calibration. 2 point is sufficient for hydroponics, aquarium, or brewing use. 3 points, or 2 carefully chosen points are required for sufficient accuracy for lab use.

Downloads

Code

Installing software

Arduino: From the Arduino IDE: Sketch → Include Library → Manage Libraries → select Anyleaf

C++: Download Anyleaf.cpp and Anyleaf.h from the C++ Github link below, and place them in your project directory

Python: Run sudo apt install python3-scipy, then pip3 install anyleaf. Ensure I2C is enabled.

Compatible with the Mycodo Environmental Monitoring and Regulation System. If you’re using a Raspberry Pi, this is a simple way to get it running with a GUI, charts, and logging. Follow the installation instructions on that page, and add AnyLeaf pH as an input.

Arduino Example

[pastacode lang=”cpp” manual=”%23include%20%3CAnyleaf.h%3E%0A%0APhSensor%20ph_sensor%3B%0A%0Avoid%20setup(void)%20%7B%0A%20%20%20%20Serial.begin(9600)%3B%0A%0A%20%20%20%20ph_sensor%20%3D%20PhSensor()%3B%0A%0A%20%20%20%20ph_sensor.calibrate_all(%0A%20%20%20%20%20%20%20%20CalPt(0.%2C%207.%2C%2025.)%2C%20CalPt(0.18%2C%204.%2C%2025.)%0A%20%20%20%20)%3B%0A%7D%0A%0Avoid%20loop(void)%20%7B%0A%20%20%20%20Serial.print(%22pH%3A%20%22)%3B%20Serial.println(ph_sensor.read())%3B%0A%0A%20%20%20%20delay(1000)%3B%0A%7D” message=”” highlight=”” provider=”manual”/]

Raspberry Pi Example

[pastacode lang=”python” manual=”import%20time%0Aimport%20board%0Aimport%20busio%0Afrom%20anyleaf%20import%20PhSensor%2C%20CalPt%2C%20OnBoard%0A%0Adef%20main()%3A%0A%20%20%20%20i2c%20%3D%20busio.I2C(board.SCL%2C%20board.SDA)%0A%20%20%20%20delay%20%3D%201%20%20%23%20Time%20between%20measurements%2C%20in%20seconds%0A%20%20%20%20phSensor%20%3D%20PhSensor(i2c%2C%20delay)%0A%0A%20%20%20%20phSensor.calibrate_all(%0A%20%20%20%20%20%20%20%20CalPt(0.%2C%207.%2C%2025.)%2C%20CalPt(0.18%2C%204.%2C%2025.)%0A%20%20%20%20)%0A%0A%20%20%20%20while%20True%3A%0A%20%20%20%20%20%20%20%20print(f%22pH%3A%20%7BphSensor.read(OnBoard())%7D%22)%0A%0A%20%20%20%20%20%20%20%20time.sleep(delay)%0A%0A%0Aif%20__name__%20%3D%3D%20%22__main__%22%3A%0A%20%20%20%20main()” message=”” highlight=”” provider=”manual”/]

Additional information

Weight 0.01 kg
Dimensions 5 × 2 × 2 cm
Manufacturer

AnyLeaf

Open Source

No

stock-location

X1