WiFi Water Flow Meter Design

I’ll build the complete schematic around an ESP32 WiFi module, USB‑C 5V input, protected 3.3V regulation, external ultrasonic sensor connector, programming/reset circuitry, and status LEDs. I’ll first select datasheet-backed parts, then add/wire the schematic, document the power budget, and run design checks.
I selected the main parts: ESP32-S3-WROOM-1, AP2112K 3.3V LDO, USB-C receptacle, USB ESD array, resettable fuse, headers, switches, and indicator LEDs. I’m adding the schematic components now, with the sensor interface kept generic until a specific ultrasonic sensor module is chosen.
Schematic is complete for the ESP32-S3 WiFi ultrasonic water flow meter: USB-C 5V input, fuse + ESD protection, AP2112K 3.3V regulator with required caps, ESP32 reset/boot network, native USB, UART header, sensor connector, and three status LEDs.
Validation: ERC is clean; remaining review errors are PCB-layout-only airwires/overlaps because placement/routing has not started yet. I also created Project Specification, Design Notes, and Firmware Starter.
One design caveat: the exact external ultrasonic sensor model is still unspecified, so the connector supports a generic pulse/UART-style sensor interface and should be updated if the chosen sensor requires 5V, 12V, RS485, or an analog ultrasonic front end. Ready to move to PCB layout when you are.
Proceed to layout
Use 5V sensor
Add RS485 option
Review power budget
Optimize BOM
J1
U1
Manufacturer Part Number
ESP32-S3-WROOM-1-N16R8
U2
U2 VOUT - C3 P1
J2 4 - U1 IO17
U2 VOUT - C3 P1
U1 IO46 - R5 P1
U1 EN - R3 P2
F1 P2 - C1 P1
R9 P2 - D4 A
J2 4 - U1 IO17
J1 DN1 - J1 DN2
J2 3 - R10 P1
U1 IO0 - R4 P2
J1 DP1 - J1 DP2
R9 P2 - D4 A
U1 IO0 - R4 P2
J1 CC2 - R2 P1
J1 CC2 - R2 P1
U1 TXD0 - J3 3
U1 IO6 - R8 P1
U1 EN - R3 P2
U2 VOUT - C3 P1
U2 EN - C2 P1
J1 DP1 - J1 DP2
U1 RXD0 - J3 4
F1 P2 - C1 P1
U1 IO6 - R8 P1
R10 P2 - U1 IO4
J2 3 - R10 P1
U1 IO7 - R9 P1
U1 IO46 - R5 P1
J1 VBUS__1 - F1 P1
J1 CC1 - R1 P1
J1 DN1 - J1 DN2
U2 VOUT - C3 P1
U2 VOUT - C3 P1
U1 RXD0 - J3 4
J2 5 - U1 IO18
U2 VOUT - C3 P1
R7 P2 - D2 A
U2 VOUT - C3 P1
R10 P2 - U1 IO4
J1 DN1 - J1 DN2
U2 VOUT - C3 P1
R8 P2 - D3 A
R7 P2 - D2 A
J1 DP1 - J1 DP2
U1 EN - R3 P2
J1 CC1 - R1 P1
U2 VOUT - C3 P1
R10 P2 - U1 IO4
F1 P2 - C1 P1
J2 6 - U1 IO5
J1 DP1 - J1 DP2
J1 VBUS__1 - F1 P1
U1 IO7 - R9 P1
J2 6 - U1 IO5
J2 5 - U1 IO18
J1 DN1 - J1 DN2
U1 TXD0 - J3 3
F1 P2 - C1 P1
U2 EN - C2 P1
R8 P2 - D3 A
U2 VOUT - C3 P1
U2 VOUT - C3 P1
U1 IO0 - R4 P2
U1 EN - R3 P2
R5
Resistance
10000 Ω
U1 GND_10 - U1 GND_11
U1 GND_10 - U1 GND_11
U1 GND_10 - U1 GND_11
U1 GND_7 - U1 GND_8
GND
U1 GND_10 - U1 GND_11
GND
GND
GND
R3
Resistance
10000 Ω
U1 GND_3 - U1 GND_4
U1 GND_10 - U1 GND_11
R6
Resistance
100000 Ω
U1 GND_10 - U1 GND_11
GND
R1
Resistance
5100 Ω
GND
U1 GND_10 - U1 GND_11
U1 GND_10 - U1 GND_11
U1 GND_3 - U1 GND_4
R2
Resistance
5100 Ω
GND
R9
Resistance
1000 Ω
GND
GND
U1 GND_10 - U1 GND_11
GND
GND
R4
Resistance
10000 Ω
U1 GND_10 - U1 GND_11
GND
GND
U1 GND_7 - U1 GND_8
R8
Resistance
1000 Ω
U1 GND_3 - U1 GND_4
GND
GND
U1 GND_10 - U1 GND_11
U1 GND_10 - U1 GND_11
R7
Resistance
1000 Ω
R10
Resistance
100 Ω
GND
U1 GND_10 - U1 GND_11
GND
S2
S1
J3
J2
C5
Capacitance
0.1 uF
C1
Capacitance
10 uF
C3
Capacitance
10 uF
C6
Capacitance
1 uF
D4
C7
Capacitance
0.1 uF
D3
D1
F1
C4
Capacitance
22 uF
C2
Capacitance
10 uF
D2

Refine this doc
Ask about this doc
Project Specification
Design Summary
Status: Draft / Review / Approved
Manufacturing target: Prototype / EVT / DVT / PVT / Production
Software / firmware: repository link

Scope
Purpose
In scope
Out of scope

System context

Requirements
Functional
Electrical
Mechanical / environmental

Key constraints

Dependencies and risks
Dependencies
Key risks

Validation
Success criteria
Planned checks

Release-facing notes
Expected deliverables
Special release notes

Change notes / open questions
Changes in this revision
Open questions
  • Design Summary

  • Scope

  • System context

  • Requirements

  • Functional

  • Electrical

  • Mechanical / environmental

  • Key constraints

  • Dependencies and risks

  • Validation

  • Release-facing notes

  • Change notes / open questions

ESP32 Ultrasonic Flow Meter

ESP32 Ultrasonic Flow Meter thumbnail
USB-C powered ESP32 WiFi water flow meter for an external ultrasonic sensor on 3/4 inch PVC pipe, with protected 5V input, 3.3V regulation, programming header, reset/boot support, and status LEDs.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$2.72–$3.95

Digi-Key

$6.87–$10.59

HQonline

$1.72–$1.87

LCSC

$8.65–$8.92

Mouser

$13.55

TME

$2.02

Verical

$2.76–$134.92

Controls