Skip to the content
PCBKitNew board
2 layers85.1 × 40 mmEsp32c flowsensor, the printed circuit board in 3D

Esp32c flowsensor

ieb/FlowSensor

Temperature Dispersion Flow Sensor for Raw Water Cooled marine engines.

Size
85.1 × 40 mm
Copper layers
2
Thickness
1.6 mm
Parts
36
Nets
30
Pads
94
Tracks, vias
200, 10
Pours
5
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
10 Jun 2026
Updated
23 Jun 2026

Overview

Esp32c flowsensor is an open-source printed circuit board by ieb, from the ieb/FlowSensor repository on GitHub. It is a 2-layer board of 85.1 × 40 mm with 36 parts on 30 nets, routed with 200 tracks and 10 vias.

It is built around the AMS1117-5.0, BC817 and SMAJ18CA, with the IRF540N and US1J among its other parts. Its parts include 11 resistors, 7 capacitors, 6 diodes, 5 connectors and 3 transistors. It belongs with the sensors and measurement boards and the ESP32 and RISC-V boards of this library.

Main components

5

README

README.md

Flow Sensor

Status

This project has got to the state of building a prototype sensor, but testing has indicated that measuring the temperature and rate of change of temperature of the exaust elbow on a water cooled exhaust relative to the engine coolant temperature is a very effective early warning system. The heat source, engine exhaust is in the kw range. The cooling source is the same, when the cooling source reduces the temperature of the water cooled elbo rises rapidly triggering an alarm within 5s, evidenced by live data recorded from 2 engine overheats, one slow and one fast. On that basis, I am not taking this project further. See N2KEngine project for more details.

Intro

The aim is to build a simple temperature difussion flow sensor to monitor and warn about conditions that would permanently damage a impeller pump as used on raw water cooling for marine engines. In my case a Volvo Penta D2-40 which has a F4B-9 pump prone to running dry as a result of suction caused by the boat when sailing. If these pumps run dry for more than 30s as can happend on startup, they overhead and fail with broken vanes and damaged sealing. When they are unable to overcome the back pressure from the wet exaust system, the engine rapidly overheats within a few miniutes. The F4B pumps are more susceptable than the larger models becuase they only have 6 impeller vanes so if only 1 fails the seal is broken and they suck dry when sailing above 8kn. The service life is less than 50h although the manual states 500h or once yearly. Failure can happen at any time, typically preceded by lower flow levels when running.

  • Minimal reduction in flow
  • Able to operate in salt water.
  • Able to sense, air, still salt water and measure flow
  • Sounds an alarms when the pump is dry and will likely not self prime, ideally before the engine is started.
  • Sounds an alarm when flow is low and the engine is running.
  • Ideally standalone and not reliant on engine monitoring

Design options

  • In flow vane (rejected, only on-off, cant detect still water vs air, prone to blockages)
  • Paddle wheel (rejected, cant detect still water vs air, too much flow restriction and prone to being blocked by debris)
  • Untrasonic (needs 1MHz ultrasonics, complex needing specialist silicon, may not detect air)
  • Heated probe (selected, simple, but commercial options v expensive)
  • Heated probe and upstream fluid reference temperature sensor. (may be considered later)

Chosen design

  • PTC heated thin wall probe in contact with the flow, temperature measured by a ceramic bead NTC.
  • Probe is about the size of a M6x30 bolt with the head in the flow and a 3mm hole down the center for the NTC.
  • Heater on the outer end is a 12V 80C 3-6W self regulating ceramic heater.

Control

  • The single probe is probably too complex to sense the flow rate without a micro controller expecially, so a ESP32-C will be used, noting that the ADCs are only usable between 0.5V and 2.5V, and need carefull sampling.
  • Will expose data on a BLE GATT for an android app to monitor.
  • Will support an external indicator and alarm
  • May run continuously if possible.
  • Will be able to control (on/off only) the PTC heater to observe reference fluid temperature.

Parts

36
QtyValueFootprintReferences
810KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R2, R5, R7, R8, R9, R10, R11
3100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C6, C7
3LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD4, D5, D6
210uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2, C3
2BC817Package_TO_SOT_SMD:SOT-23Q1, Q3
2SMAJ18CADiode_SMD:D_SMAD2, D3
110RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4
112V InConnector_JST:JST_VH_B2P-VH_1x02_P3.96mm_VerticalJ5
11uFCapacitor_SMD:C_1206_3216MetricC5
12K2Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6
147uFCapacitor_SMD:CP_Elec_6.3x5.4C4
14K7Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3
1500mAResistor_SMD:R_2010_5025Metric_Pad1.40x2.65mm_HandSolderF1
15AFuse:Fuse_Blade_ATO_directSolderF2
1ALARMConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ4
1AMS1117-5.0Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1ESP32-C3-WaveshareiebSpecials:ESP-C3-Zero-WaveshareU3
1HeaterConnector_JST:JST_VH_B2P-VH_1x02_P3.96mm_VerticalJ3
1IRF540NPackage_TO_SOT_THT:TO-220-3_Horizontal_TabDownQ2
1NTC1Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ1
1NTC2Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ2
1US1JDiode_SMD:D_SMAD1

Questions

How big is the Esp32c flowsensor PCB?

It measures 85.1 × 40 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Esp32c flowsensor use?

36 parts, built around the AMS1117-5.0, BC817, SMAJ18CA and IRF540N. 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 Esp32c flowsensor KiCad files?

From the ieb/FlowSensor repository on GitHub, at the commit this page was made from: the board is pcb/esp32c-flowsensor/esp32c-flowsensor.kicad_pcb and its schematic pcb/esp32c-flowsensor/esp32c-flowsensor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Esp32c flowsensor design in my own project?

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

Similar boards

  • 2 layers64 × 78 mmActuator board, the printed circuit board in 3D

    Actuator board

    ieb/autopilot

    An ML Autopilot designed and written almost entirely by Google AntiGravity.

    37 parts
  • 4 layers136.4 × 77.8 mmMother, the printed circuit board in 3D

    Mother

    emiirkaya/ThermovitalSync-PCB

    A PCB project for a vital monitoring-cooling device with GUI

    99 parts2MIT
  • 2 layers100 × 100 mmProject RedGlow, the printed circuit board in 3D

    Project RedGlow

    ASURacingTeam/ICE-EngineControlUnit

    503 parts
  • 2 layers100 × 100 mmDC line module+Meter probe, the printed circuit board in 3D

    DC line module+Meter probe

    kwiecinski/BMS-and-offgrid-photovoltaic-management-system

    Project contains BMS for lead-acid batteries and ESP-based board used to pull information from EASUN offgrid inverter, energy meters and sensors.

    100 parts3MIT
  • 2 layers75.9 × 72.4 mmOpenDTU, the printed circuit board in 3D

    OpenDTU

    plewka/ESP-Solar_OpenDTU

    PCB for OpenDTU in Cable Branchbox, LineSupply w. Fuses, RS485/RS232-Olimex, Relais, DS2485 OneWire, I2C-Header...

    46 parts4GPL-3.0
  • 4 layers140 × 300 mmLLC DCDC V5, the printed circuit board in 3D

    LLC DCDC V5

    BOAB235/Design_of_1200W_LLC_DCDC

    In battery electric vehicles (BEVs) and 48 V mild-hybrid architectures, a high-voltage DC-DC converter steps the 300–400 V traction battery bus down to the 48 V auxiliary rail that powers lighting, HVAC blowers…

    212 parts1
  • 2 layers94.8 × 57.5 mmHVGene, the printed circuit board in 3D

    HVGene

    Teille98/HVGene-OpenHardware

    Open-source, digitally controlled high-voltage AC power supply for cold atmospheric plasma (CAP) research, developed with a specific focus on flexible-endoscope decontamination applications.

    33 parts