WiFi Water Flow Meter Design


Yes, move on to PCB layout and place the components.
I’ll set up a practical 4-layer PCB, size it for the ESP32/USB-C/power/RS485 blocks, then place components with the ESP32 antenna at the board edge, connectors accessible, and decoupling close to IC pins.
PCB layout placement is complete so far.
What I completed:
  • Resized the board to 100 mm × 80 mm with rounded corners.
  • Set a 4-layer stackup for better ESP32 RF grounding, cleaner power routing, and easier RS485/power routing.
  • Placed all 40 physical components on the top layer.
  • Put:
    • USB-C input/protection on the left edge.
    • ESP32 module near the top edge with antenna facing outward.
    • 12V boost converter near the sensor power connector.
    • RS485 interface near the RS485 field connector.
    • J2/J3 sensor connectors on the right edge.
    • UART programming header and LEDs along the bottom edge.
    • Decoupling/support passives close to their ICs.
Current review state:
  • Placement has no reported component overlap or board-boundary issue.
  • The remaining layout errors are airwires, which are expected because routing has not been performed yet.
What remains:
  • Review the placement visually.
  • If you approve the placement, the next step is PCB routing.
  • After routing, run final DRC and fix any routing/clearance issues.
Route with constraints
Check placement DRC
Adjust RS485 connector
Add mounting holes
Review placement view

ESP32 WiFi Water Flow Meter

ESP32 WiFi Water Flow Meter thumbnail