Skip to the content
2 layers50 × 35 mmSoil pH AFE, the printed circuit board in 3D

Guarded pH analog front end: KiCad design, fabrication files, ESP32-S3 bring-up firmware and engineering review. Unbuilt prototype.

Size
50 × 35 mm
Copper layers
2
Thickness
1.6 mm
Parts
44
Nets
22
Pads
114
Tracks, vias
257, 47
Pours
3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
21 Oct 2026
Updated
21 Oct 2026

Overview

Soil pH AFE is an open-source printed circuit board by xmyoot, from the xmyoot/guarded-ph-acquisition-module repository on GitHub. It is a 2-layer board of 50 × 35 mm with 44 parts on 22 nets, routed with 257 tracks and 47 vias.

It is built around the ADS112C04IPW, LMP91200MT and TPS3839K33DBZT, with the TPS7A2033PDBVR-TP, CRCW06030000Z0EA and TNPW06031K00BEEA among its other parts. Its parts include 13 capacitors, 8 resistors, 5 ICs and 2 connectors.

Main components

10

README

README.md

Guarded pH Acquisition Module

Rev A · engineering prototype · CAD reviewed 21 October 2026 · unbuilt / hardware validation pending

A 50 × 35 mm, two-layer pH analog front end for an external ESP32-S3 host. The design combines an LMP91200 electrode buffer, ADS112C04 16-bit delta-sigma ADC, REF3220 2.048 V reference, and a quiet 3.3 V supply with delayed reference enable.

KiCad assembly rendering

CAD rendering, not a photograph. The BNC connector is a drawing-derived visualization with threaded barrel, bayonet lugs and socket; small details are approximate, not vendor mechanical CAD.

Engineering focus

  • Driven guards on both faces surround a 4.143 mm top-layer electrode trace with no vias or test-point stubs.
  • Differential conversion at gain 2, external 2.048 V reference, and nominal 20 SPS single-shot mode; 31.25 µV per code. This is resolution, not demonstrated accuracy.
  • Matched 1 kΩ input resistors and a 10 nF C0G differential capacitor; calculated pole 7.96 kHz.
  • Supervisor-controlled reference startup, local test access, removable I²C pullups, and diagnostic/calibration firmware.
  • Frozen project symbols and footprints; complete Gerber, drill, placement, and BOM outputs.
  • Route cleanup reduced track segments from 352 to 257 and removed 8.203 mm of unnecessary copper while preserving locked analog geometry.

Review status

Native KiCad 10.0.7 reports 0 ERC errors/warnings, 0 DRC violations, 0 unconnected pads, and 0 schematic-parity footprint errors. A separate audit matches every native pad net and checks input geometry, copper exclusion, and via/paste separation. Generic analyzer findings and deliberate rule exceptions are explained in the design review.

The board has not been fabricated, assembled, powered, or tested. Leakage, noise, settling, startup, effective capacitor values, probe calibration, and interference remain hardware acceptance tests. The ≤0.01 pH electronics objective is an unproven target. There is no field ESD protection, onboard isolation, motor driver, battery system, radio, or cloud application.

Files

DeliverableLocation
Native KiCad projectSoil_pH_AFE.kicad_pro
Schematic PDFschematic.pdf
Fabrication packageRev A Gerber/drill ZIP
Fabrication and assembly instructionsfabrication_notes.md
Orderable board BOM / host mating partsBOM.csv / mating_parts.csv
Assembly drawing / placementassembly_top.pdf / placement_smd.csv
Firmware / bring-upArduino sketch / bringup.md
Review and decisionsdesign_review.md / decisions.md
Architecture and calculationsArchitecture / calculations.json
Release hashesSHA256SUMS.txt
Tools and reproducibilitytools.md

Scope and integration

This is an independent bench prototype based on an incomplete soil-instrument brief. Original Altium files and the promised replacement schematic were unavailable. The design therefore implements the requested analog chain on a separate board; it does not claim to preserve or reproduce the original product. Original client screenshots are retained locally and excluded from the public repository; the architecture contains the technical requirement summary.

Supply J2 with regulated 4.75–5.25 V and use 3.3 V open-drain I²C. J2: 1 = +5 V, 2 = ground, 3 = SDA, 4 = SCL, 5 = ground, 6 = reserved/unconnected. Confirm pin 1 on the assembly drawing; do not infer it from viewing the cable end.

The insulated BNC shell is driven at approximately 1.024 V (PH_VCM); it is not ground. Use only a floating sample with no other conductive connection. Product integration requires a separately qualified isolated power and I²C interface, plus connector protection with a measured leakage budget. See bring-up before applying power.

Phase 1 documents are retained as historical planning; final implementation decisions and BOM take precedence. Design/review used kicad-happy and routing used KiCadRoutingTools, with manual protection of the high-impedance input and guard. Architecture was developed with Astra and implementation with 6.1 Sol; automated checks do not replace physical engineering qualification.

Parts

44
QtyValueFootprintReferences
6100nSoil_pH:C_0603_1608MetricC3, C4, C5, C6, C8, C12
31uSoil_pH:C_0603_1608MetricC2, C7, C11
3OPTICALFiducial_1mm_Mask2mmFID1, FID2, FID3
20RSoil_pH:R_0603_1608MetricR5, R6
21kSoil_pH:R_0603_1608MetricR1, R2
24.7kSoil_pH:R_0603_1608MetricR3, R4
24.7uSoil_pH:C_0805_2012MetricC9, C10
2M2 NPTHMountingHole_2.2mm_M2H1, H2
1+3V3_ASoil_pH:TestPoint_Pad_D1.0mmTP3
1+5V_INSoil_pH:TestPoint_Pad_D1.0mmTP2
1100kSoil_pH:R_0603_1608MetricR8
110kSoil_pH:R_0603_1608MetricR7
110n C0GSoil_pH:C_0603_1608MetricC13
110uSoil_pH:C_1206_3216MetricC1
1ADC_DRDY_NSoil_pH:TestPoint_Pad_D1.0mmTP11
1ADS112C04Soil_pH:TSSOP-16_4.4x5mm_P0.65mmU2
1AFE_READYSoil_pH:TestPoint_Pad_D1.0mmTP8
1GND_ASoil_pH:TestPoint_Pad_D1.0mmTP1
1HOST / JST PH6Soil_pH:JST_PH_B6B-PH-K_1x06_P2.00mm_VerticalJ2
1I2C_SCLSoil_pH:TestPoint_Pad_D1.0mmTP10
1I2C_SDASoil_pH:TestPoint_Pad_D1.0mmTP9
1INSULATED BNCSoil_pH:BNC_031-5431-1010J1
1LMP91200Soil_pH:TSSOP-16_4.4x5mm_P0.65mmU1
1PH_VCMSoil_pH:TestPoint_Pad_D1.0mmTP5
1PH_VOCMSoil_pH:TestPoint_Pad_D1.0mmTP7
1PH_VOUTSoil_pH:TestPoint_Pad_D1.0mmTP6
1REF3220 / 2.048VSoil_pH:SOT-23-6U3
1REF_2V048Soil_pH:TestPoint_Pad_D1.0mmTP4
1TPS3839K33 / 2.93VSoil_pH:SOT-23U5
1TPS7A2033 / 3.3VSoil_pH:SOT-23-5U4

Similar boards

  • 4 layers150 × 100 mmPower profiler carrier, the printed circuit board in 3D

    Power profiler carrier

    Guiimartinho/open-power-profiler

    Open-source PPK2-class power profiler built on the Raspberry Pi Pico 2: 100 kSPS, 100 nA to 1 A auto-ranging, source meter and ampere meter modes, USB stream.

    425 partsMIT
  • 6 layers162 × 171 mmAdc board prot, the printed circuit board in 3D

    Adc board prot

    bcancinov/4-channel-adc-module

    4 Channel ADC module for detector controller prototype

    383 parts1
  • 4 layers65 × 56 mmRbphat, the printed circuit board in 3D

    Rbphat

    zcrawling/LOONARover

    2026 LOONAR Rover project

    76 parts
  • 8 layers245 × 129 mmSquishy main panel, the printed circuit board in 3D

    Squishy main panel

    esden/squishy-hardware

    Squishy hardware design files

    1,155 parts1CERN-OHL-S-2.0
  • 6 layers450 × 235 mmBaseline, the printed circuit board in 3D

    Baseline

    DeadlySIn777/Controller

    Unfinished CNC controller motherboard: native KiCad sources, rules, DSN and global routing review

    2,723 parts
  • 4 layers100 × 90 mmOSBAMS Rev2 RC1, the printed circuit board in 3D

    OSBAMS Rev2 RC1

    hle12345/OSBAMS

    Moved here on 2026-10-01. The Rev.1 80x80 mm carrier PCB is a proven-prototype reference (circuits and interfaces that worked), not a design to revise or manufacture.

    149 partsMIT
  • 4 layers49.5 × 56.8 mmBLE CAN module, the printed circuit board in 3D

    BLE CAN module

    shivamtiwari020505/Automotive-BLE-CAN-Module

    KiCad hardware design for an automotive BLE-to-CAN module

    110 parts

Questions

How big is the Soil pH AFE PCB?

It measures 50 × 35 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Soil pH AFE use?

44 parts, built around the ADS112C04IPW, LMP91200MT, TPS3839K33DBZT and TPS7A2033PDBVR-TP. 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 Soil pH AFE KiCad files?

From the xmyoot/guarded-ph-acquisition-module repository on GitHub, at the commit this page was made from: the board is hardware/Soil_pH_AFE/Soil_pH_AFE.kicad_pcb and its schematic hardware/Soil_pH_AFE/Soil_pH_AFE.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Soil pH AFE design in my own project?

Its repository states no licence, so its author keeps all rights: ask xmyoot before reusing the design.