Skip to the content
2 layers36.2 × 56.5 mmPHmeter, the printed circuit board in 3D

Ph and EC meter based on Arduino nano

Size
36.2 × 56.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
13
Nets
31
Pads
60
Tracks, vias
104, 0
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
24 Sep 2020
Updated
7 Mar 2025

Overview

PHmeter is an open-source printed circuit board by InzynierDomu, from the InzynierDomu/PhECMeter repository on GitHub, published under the MIT licence. It is a 2-layer board of 36.2 × 56.5 mm with 13 parts on 31 nets, routed with 104 tracks and 0 vias.

It is built around the DS18B20. Its parts include 4 connectors, 3 switches, 1 resistor and 1 IC. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

PhECMeter

GitHub Workflow Status GitHub release (latest SemVer) GitHub docs deployments Discord GitHub

Description

The video with the entire project can be watched on this video

The device has 4 possible states:

  • measure pH
  • measure EC
  • calibartion pH
  • calibration EC

photo

The device start in pH measure mode. To chnage pH/EC measure mode - press up button for more than 1s.
To enter calibration mode press both buttons more 1s.
Measure pH -> calibration pH.
Measure EC -> calibartion EC.
Calibration mode needs 2 points to save.
Set the value to which sample the probe is immersed. For that use up and dwn(down) buttons to decrease or increase the value. In EC calibration possible is to change the digit position by pressing 1s up button. To save points press 1s on both buttons. After saving two points, the device changes state to measure.

When SD card is plugged, after short press down button measurements will be save in file on SD.

Support

If any of my projects have helped you in your work, studies, or simply made your day better, you can buy me a coffee. Postaw mi kawę na buycoffee.to

Future

  • Use accumulator.
  • Add some communication maybe RS232 or RS485.

Scheme

schem

Part list

  • pH probe and board like this
  • EC probe and board like this
  • A1 Arduino Nano
  • U1 ds18b20 temperature sensor
  • J1 is socket for pH board.
  • J2 is socket for I2C screen OLED SSD1306 128x32 or HD44780 via PCF8574.
  • R1 Resistor 4,7 kohm
  • SW1, SW2 micro switch
  • SW3 switch to turning on/of power
  • J3 connect to battery box
  • J5 SD card socket (optional)

IDE

If you prefer not to use the VS Code environment or prefer simpler solutions, you can use an alternative approach For specific screen is the prepared environment:
OLED SSD1306 128x32 :nanoatmega328_oled
HD44780 via PCF8574 :nanoatmega328_lcd

The project is prepared for the Platform IO environment. A video on how to install such an environment can be watched on this video.

Formatting is done using clang-format. The description of the tool configuration is in the video.

The code contains a comment prepared for doxygen, their use is described in the video.

Quick deployment without using VS Code environment

You don't need vscode, platformio is not needed, it will be installed with the script.

Requirements

  • Python 3.x must be installed on your computer. You can download the latest version of Python from Python.org.

Usage

  • Connect the Arduino board to your computer using a USB cable.
  • Ensure that Python is available in the system environment.
  • Run the autodeploy.bat file by double-clicking on it or running it from the command prompt (cmd). This script will automatically detect the connected Arduino board and upload the project to it.

Notes

  • It's version for oled.
  • Make sure that the path to Python is added to the PATH environment variable in the Windows operating system.
  • The atodeploy.bat script works only on Windows.

Parts

13
QtyValueFootprintReferences
2Conn_01x03_MaleConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_HorizontalJ1, J4
2SW_PushButton_Switch_THT:SW_PUSH_6mm_H8mmSW1, SW2
14,7KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
1Arduino_Nano_v3.xModule:Arduino_NanoA1
1Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1DS18B20Package_TO_SOT_THT:TO-92_InlineU1
1Logo600-InzynierDomuobbo_footprints:Logo600-InzynierDomuG***
1SW_SPDTConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalSW3

The 11 most common of 13 parts.

Similar boards

  • 2 layers33.7 × 97.8 mmHAN ESP TSS721, the printed circuit board in 3D

    HAN ESP TSS721

    UtilitechAS/amsreader-firmware

    ESP8266 and ESP32 compatible firmware to read, interpret and publish data to MQTT from smart electrical meters, both DLMS and DSMR is supported

    29 parts470
  • 2 layers121 × 68 mmFreeds sanchez, the printed circuit board in 3D

    Freeds sanchez

    pablozg/freeds

    Derivador de energía solar excedente creado por Pablo Zerón, Diseño PCB por Amcalo, Tester original por Aeizoon, Wiki por Zoilo Mora

    42 parts108
  • 2 layers80 × 54.9 mmESP32WifiAisTempVolt2, the printed circuit board in 3D

    ESP32WifiAisTempVolt2

    AK-Homberger/NMEA2000WifiGateway-with-ESP32

    This repository shows how to build a NMEA2000 WiFi Gateway with voltage and temperature alarms.

    18 parts94GPL-3.0
  • 2 layers52 × 61 mmArduino motorfocus, the printed circuit board in 3D

    Arduino motorfocus

    fehlfarbe/arduino-motorfocus

    Arduino motorfocus with moonlite protocol for telescopes

    23 parts58MIT
  • 2 layers69 × 57 mmBuoy4, the printed circuit board in 3D

    Buoy4

    wjpavalko/Maker-Buoy

    Repository of Open Source Maker Buoy Files

    46 parts39
  • 2 layers26 × 34.8 mmWemosD1Mini, the printed circuit board in 3D

    WemosD1Mini

    RuiSantosdotme/ESP8266-Multisensor-Shield

    Complete step-by-step instructions »

    10 parts29
  • 2 layers162 × 60 mmEsp shield, the printed circuit board in 3D

    Esp shield

    felixwittwer/homeassistant_automaic_greenhouse

    A cool Project to make your greenhouse smart. What about automaic irrigation and collecting enviromental data right from your garden.

    20 parts27
  • 2 layers123 × 87.5 mmFastLOGIC, the printed circuit board in 3D

    FastLOGIC

    Neumi/fastLOGIC

    An affordable Arduino-based board designed for straightforward (industrial) logic control, ideal for building small-scale automation and control solutions.

    180 parts23MIT

Questions

How big is the PHmeter PCB?

It measures 36.2 × 56.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PHmeter use?

13 parts, built around the DS18B20. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the PHmeter KiCad files?

From the InzynierDomu/PhECMeter repository on GitHub, at the commit this page was made from: the board is schems/electrical/pHmeter.kicad_pcb and its schematic schems/electrical/pHmeter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PHmeter design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).