Schematic Design Review


Created 2 project docs

Concise BOM - Part Name, Value, Designators

View Document

Date: 2026-07-11 Project: ESP32-C3 ADS1115 pH ORP Sensor Interface 4412

Circuit and Documentation Reverification

View Document

Date: 2026-07-11 Project: ESP32-C3 ADS1115 pH ORP Sensor Interface 4412
Done — I reverified the live schematic/netlist and documentation, and created the requested BOM.
Files created:
Summary: ERC-style schematic checks are clean, but the same real design issues remain: I2C on GPIO8/GPIO9, DNP I2C pull-ups, missing external ALRT/RDY pull-up, ambiguous ADS1115 module identity, and unclear external power-module intent. The older docs also still contain stale Arduino/5V/J2 references that should be updated before firmware handoff or manufacturing.
just remove the esp32 from the circuit and instead use a pin header.
I’ll replace the ESP32-C3 module interface with a simple pin header while preserving the existing signals for an external controller connection, then verify the schematic connectivity.
Done — I removed the ESP32-C3 module U4 and replaced it with J2, a 1x08 external-controller pin header.
J2 pinout:
  • Pin 1: 3V3
  • Pin 2: GND
  • Pin 3: SDA
  • Pin 4: SCL
  • Pin 5: ALT
  • Pin 6: ADR
  • Pin 7: DQ
  • Pin 8: GND
Verification passed: the new header nets are connected and ERC checks showed no open schematic issues. I also updated Concise BOM - Part Name, Value, Designators and Circuit and Documentation Reverification.
Fix issues and verify
Add ALRT pull-up
Make pull-ups populated
Update all documentation
Run full review
Explain header wiring

ESP32-C3 ADS1115 pH/ORP Sensor Validation and Firmware Handoff Report
Project: ESP32-C3 ADS1115 pH ORP Sensor Interface
Date: 2026-07-09
Purpose: schematic validation summary, short net map, battery/power guidance, and firmware handoff details for an ESP32-C3 Super Mini pH + ORP sensor node.
1. Current Hardware Summary
This upgraded design is a through-hole-friendly, ESP32-C3-oriented pH and ORP probe interface using:
  • Controller target: ESP32-C3 Super Mini, connected by header J2.
  • ADC: U1 ADS1115 breakout/module, powered from 3V3 and read over I2C.
  • pH input: J1 5-pin through-hole BNC connector, U2 MCP6002-I/P buffer, ADS1115 A0/A1 differential input.
  • ORP input: J5 5-pin through-hole BNC connector, U3 MCP6002-I/P buffer, ADS1115 A2/A3 differential input.
  • Temperature compensation: J3 waterproof DS18B20 probe connector and J4 optional DQ/GND debug header.
  • Battery/power interface: J6 labels the external TP4056/18650/3.3V regulator connections.
  • Short net names: schematic nets were shortened for readability and firmware mapping.
The design is intentionally kept through-hole/module-based where practical. MCP6002-I/P is retained because it is available to the user; it is usable for a student/Arduino/ESP32-grade pH/ORP interface, but calibration and clean layout are essential for accuracy.
2. Short Net Map

Table


NetMeaning
3V3Regulated 3.3 V rail for ADS1115, MCP6002s, DS18B20 pull-up, and I2C pull-ups if fitted
GNDSystem ground
SDAI2C SDA, recommended ESP32-C3 GPIO8 per user guide
SCLI2C SCL, recommended ESP32-C3 GPIO9 per user guide
ALTADS1115 ALERT/RDY, optional GPIO input
ADRADS1115 ADDR pin, default pulled down for address 0x48
DQDS18B20 1-Wire data, recommended ESP32-C3 GPIO4
VBDMid-supply divider node, nominal 1.65 V from 100k/100k divider
VBIBuffered pH bias/reference from U2B
VBOBuffered ORP bias/reference from U3B
PHEpH BNC center electrode before series resistor
PHIpH high-impedance op-amp input after R3
PHBBuffered pH output from U2A
PHRpH BNC shield/reference node, biased near 1.65 V, not ground
PH+ADS1115 A0 pH positive ADC input
PH-ADS1115 A1 pH negative/reference ADC input
OREORP BNC center electrode before series resistor
ORIORP high-impedance op-amp input after R12
ORBBuffered ORP output from U3A
ORRORP BNC shield/reference node, biased near 1.65 V, not ground
OR+ADS1115 A2 ORP positive ADC input
OR-ADS1115 A3 ORP negative/reference ADC input
USB55 V charger input label for external TP4056 module
BAT18650/protected battery node label
3. ESP32-C3 Header Mapping
J2 is now documented as the ESP32-C3 Super Mini signal header:

Table


J2 pinNetESP32-C3 connectionNotes
13V3ESP32 3V3 rail or external regulated 3V3Do not power ADS1115 from 5 V when connected to ESP32 GPIOs
2GNDGNDCommon ground
3SDAGPIO8I2C SDA; onboard ADS1115 pull-up likely present
4SCLGPIO9I2C SCL; GPIO9 is BOOT strapping pin, keep high at reset
5ALTOptional GPIOADS1115 ALERT/RDY; may be left unused in firmware
6ADROptional GPIO or leave as defaultR14 pulls low for ADS1115 address 0x48
7DQGPIO4DS18B20 1-Wire data
8GNDGNDExtra ground reference
Important ESP32-C3 note: GPIO8/GPIO9 are strapping-related pins on ESP32-C3. The user's guide maps them to I2C. This should work if they are not forced low during reset. The I2C pull-ups keep them high, which is normally safe, but avoid any external sensor/module that pulls SCL/GPIO9 low at boot.
4. ADS1115 Pull-Up Finding
The user-provided ADS1115 module photo shows visible SMD resistors marked 103 near the SDA/SCL area. 103 means 10 kOhm, and this strongly suggests the breakout already has onboard I2C pull-up resistors to the module VDD.
Design action taken:
  • R7 and R8 were changed to optional/DNP 10 kOhm pull-ups to 3V3.
  • R7/R8 are marked excluded from BOM.
  • If the actual ADS1115 module measures about 10 kOhm from SDA to VDD and SCL to VDD with power off, do not populate external pull-ups.
  • Power the ADS1115 module from 3V3 so its onboard pull-ups also pull to 3.3 V, not 5 V.
5. pH Front End
pH signal path:

Text


J1 BNC center -> PHE -> R3 1M -> PHI -> U2A buffer -> PHB -> R5 1k -> PH+ -> ADS1115 A0
J1 shield pins -> PHR -> R6 1k -> PH- -> ADS1115 A1
VBD 1.65V -> U2B buffer -> VBI -> R4 1k -> PHR
Filters:
  • C7 = 100 pF from PHI to PHR for RF filtering only at the raw high-impedance input.
  • C11 = 100 nF from PH+ to GND.
  • C12 = 100 nF from PH- to GND.
  • C8 = 100 nF across PH+ and PH-.
Important: the pH BNC shield/reference pins are biased to about 1.65 V through the buffered bias path. They are intentionally not connected to GND.
6. ORP Front End
ORP signal path:

Text


J5 BNC center -> ORE -> R12 1M -> ORI -> U3A buffer -> ORB -> R9 1k -> OR+ -> ADS1115 A2
J5 shield pins -> ORR -> R10 1k -> OR- -> ADS1115 A3
VBD 1.65V -> U3B buffer -> VBO -> R13 1k -> ORR
Filters:
  • C13 = 100 pF from ORI to ORR for RF filtering only at the raw high-impedance ORP input.
  • C9 = 100 nF from OR+ to GND.
  • C10 = 100 nF from OR- to GND.
  • C14 = 100 nF across OR+ and OR-.
  • C16 = 100 nF from ORR to GND.
Important: the ORP BNC shield/reference pins are also biased to about 1.65 V and are intentionally not connected to GND.
7. Bias and Battery Optimization
The bias divider was changed from 10k/10k to 100k/100k:

Text


3V3 -- R1 100k -- VBD -- R2 100k -- GND
At 3.3 V this draws about 16.5 uA instead of 165 uA, reducing battery drain. VBD is buffered by MCP6002 channels before driving the probe reference/shield nodes.
Recommended power approach:
  • Use the TP4056 module for charging a protected 18650 cell, but understand that common TP4056 modules are not true load-sharing/power-path chargers.
  • Use a protected 18650 cell or a TP4056 module with protection ICs.
  • Do not use MP1584 for single 18650 to 3.3 V regulation. MP1584 is a buck regulator and cannot maintain 3.3 V as the cell discharges below regulator headroom; it also has poor low-power behavior for this sensor node.
  • Best option: low-Iq buck-boost 3.3 V regulator module.
  • Acceptable simple option: use ESP32-C3 Super Mini 3V3 output if powered in the way recommended by that board, but analog noise and battery-life performance depend on the module regulator.
8. Firmware Measurement Plan
ADS1115 channels:

Table


MeasurementADS1115 functionSuggested PGA
pHAIN0 - AIN1 = PH+ - PH-±1.024 V initially; ±0.512 V after confirming no clipping
ORPAIN2 - AIN3 = OR+ - OR-±2.048 V initially
Sampling recommendations:
  • Use low data rate: 8, 16, or 32 SPS.
  • Average 8-32 samples.
  • Wait after switching ADS1115 mux/gain before trusting the first sample.
  • For best noise performance, disable WiFi/BLE while taking analog readings, then reconnect/transmit afterward.
  • Use 2-point or 3-point calibration for pH.
  • Use ORP calibration/check solution if accurate ORP readings are required.
9. Temperature Compensation
Nernst slope:

Text


slope_mV_per_pH = 59.16 * (temperature_C + 273.15) / 298.15
At 25 C, ideal pH slope is approximately 59.16 mV/pH. Firmware should read the DS18B20 on DQ and use it to compensate the pH slope. Calibration still dominates final accuracy.
10. Prompt to Paste into Another AI for Firmware Help

Text


I have an ESP32-C3 Super Mini connected to an ADS1115 pH/ORP sensor board. Use Arduino framework.

GPIO/net map:
- SDA = GPIO8 -> ADS1115 SDA
- SCL = GPIO9 -> ADS1115 SCL
- DQ = GPIO4 -> DS18B20 waterproof temperature probe data
- ADS1115 address = 0x48 because ADR is pulled low
- ADS1115 ALERT/RDY = ALT, optional/unconnected in firmware unless needed

Hardware details:
- ADS1115 module is powered from 3V3.
- The module photo shows likely onboard 103 = 10k I2C pull-ups, so external pull-ups are optional/DNP.
- pH probe uses a 5-pin BNC. Center electrode is PHE/PHI, shield/reference pins are PHR biased to ~1.65V, not GND.
- ORP probe uses a second 5-pin BNC. Center electrode is ORE/ORI, shield/reference pins are ORR biased to ~1.65V, not GND.
- U2 MCP6002 buffers pH and pH bias. U3 MCP6002 buffers ORP and ORP bias.
- ADS1115 pH channel: read AIN0-AIN1 = PH+ - PH-.
- ADS1115 ORP channel: read AIN2-AIN3 = OR+ - OR-.
- DS18B20 is pulled up to 3V3 with 4.7k.

Firmware requirements:
1. Use Wire.begin(8, 9).
2. Use Adafruit_ADS1X15, OneWire, DallasTemperature, and Preferences/NVS.
3. Read pH differential AIN0-AIN1 with PGA ±1.024V initially.
4. Read ORP differential AIN2-AIN3 with PGA ±2.048V initially.
5. Average samples and reject obvious outliers.
6. Read DS18B20 temperature and apply Nernst temperature compensation to pH.
7. Implement serial commands to calibrate pH 7, pH 4, pH 10, and ORP millivolt offset.
8. Store calibration in ESP32 Preferences.
9. Print temperature, raw pH voltage, calibrated pH, raw ORP voltage, calibrated ORP mV, and status.
10. For battery power, avoid WiFi during analog sampling and use deep sleep if periodic logging is enough.
11. Schematic Readiness Status
Schematic-level upgrade completed:
  • Short nets applied.
  • 3.3 V ESP32-C3 operation applied.
  • ADS1115 A0/A1 = pH differential.
  • ADS1115 A2/A3 = ORP differential.
  • DS18B20 mapped to DQ.
  • R7/R8 documented as optional/DNP because the ADS1115 module likely has onboard 10k pull-ups.
  • pH and ORP use 5-pin BNC connectors matching the user's photo.
  • MP1584 is documented as not recommended for single-cell 18650 to 3.3 V.
PCB routing is intentionally out of scope per user instruction. Airwires/unrouted PCB items should not be treated as blockers unless manufacturing layout is requested later.
  • 1. Current Hardware Summary

  • 2. Short Net Map

  • 3. ESP32-C3 Header Mapping

  • 4. ADS1115 Pull-Up Finding

  • 5. pH Front End

  • 6. ORP Front End

  • 7. Bias and Battery Optimization

  • 8. Firmware Measurement Plan

  • 9. Temperature Compensation

  • 10. Prompt to Paste into Another AI for Firmware Help

  • 11. Schematic Readiness Status