
Watermeter sensor
pifactory/watermeter
Design files for making inductive sensor for reading out smart water meters.

Design files for making inductive sensor for reading out smart water meters.
Watermeter zigbee is an open-source printed circuit board by pifactory, from the pifactory/watermeter repository on GitHub, published under the CC-BY-4.0 licence. It is a 2-layer board of 53 × 30 mm with 11 parts on 30 nets, routed with 81 tracks and 9 vias.
It is built around the E72-2G4M20S1E. Its parts include 3 connectors, 2 resistors, 2 switches, 1 capacitor and 1 IC. It belongs with the radio and wireless boards of this library.
Design files for making inductive sensor for reading out smart water meters.

Many water meters are made 'smart-ready', ie they include a wheel under the glass which makes 1 turn per liter. Half of the wheel contains some metal (copper) on it which can be sensed by an inductive sensor.
Because of the costs water supply companies usually do not install smart reading device on such meters, but some nerds among us are stubborn enough to design and install their own reading device. Just to know how much water is used and be able to monitor it with, say, a Home Assistant. It can be also used to detect leaks.
One inductive sensor is not enough for reliable readings. There are some corner cases when the sensor will miss a turn of the wheel or count 1 turn 2 times. Think of it like this: wheel can stop at any moment at any angle and then continue movement at any time later on. During this stop environment can change significantly (temperature & humidity) to fool the sensing circuit. On top of it, to save power, each inductive sensor is scanned once in 800ms, ie there is no continous output from it. All in all, 2 inductive sensors allow to detect illogical readings and in many cases repair them.
For now here is just the sensor, controller is coming soon... I've made one for Zigbee already and it runs on 2 AAA batteries.
Here is the photo of the first prototype:
I used KiCAD 6 to make the design. You will probably also want to install kicad-goodies libraries, but this is not required.
A word about choosing a PCB shop. Inductive sensors on the PCB require as much as possible turns on as little space possible. This means that the traces have to be as thin as possible and the spacing between them has to be as small as possible. Also there is no copper around them + geometry of the traces = you might get shorts between traces if you push it to the limit.
Most shops out there (including JLCPCB) claim to be able to produce 6 mils traces with 6 mils spacing between them. I work with AISLER and they produce 5/5 mils boards for the same price, so this design has 5/5 PCB coils. I've made 6/6 PCB coils available in kicad-goodies, you can try them if 5/5 coils will not work for you. AISLER will need just *.kicad_pcb file, no Gerber is needed there and therefore not provided in this repo.
This repo has all you need to make a Zigbee microcontroller for the sensor:
Microcontroller is based on EBYTE module with CC2652P.
Firmware has following features:
Because of a bug in TI software, rejoin period cannot be longer than 5 minutes. Also rejoin uses more power than standard data report, so try to avoid situations when device stays on for longer periods without a connection to the network (like days, weeks, months)
Operation with 2 buttons and 1 LED:
Place provided pifactory_watermeter.js file in the same directory as configuration.yaml file.
Add these lines to configuration.yaml file:
external_converters:
pifactory_watermeter.jsRestart Zigbee2MQTT and join the device
I've made a holder which fits my Elster water meter. Meter without sensor looks like this:
I didn't tried the holder on any other meter, but I suspect it fits different models as well. Please share your meters/holders or contact me if you need help fitting this sensor to your meter.
This work is licensed under a Creative Commons Attribution 4.0 International License.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | 10k | Resistor_SMD:R_0805_2012Metric | R2 |
| 1 | 1uF | Capacitor_SMD:C_0402_1005Metric | C1 |
| 1 | 4k7 | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | BTN1 | Button_Switch_SMD:SW_SPST_EVQP2 | SW2 |
| 1 | Battery | Battery:BatteryHolder_Keystone_2468_2xAAA | P2 |
| 1 | Debug | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | P3 |
| 1 | E72-2G4M20S1E | RF_Module_Goodies:E72-2G4M20S1E | U1 |
| 1 | GREEN | LED_SMD:LED_1206_3216Metric | LED1 |
| 1 | RESET | Button_Switch_SMD:SW_SPST_EVQP2 | SW1 |
| 1 | Sensor | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | P1 |
The 10 most common of 11 parts.

pifactory/watermeter
Design files for making inductive sensor for reading out smart water meters.


google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards


FrameworkComputer/ExpansionCards
Reference designs and documentation to create Expansion Cards for the Framework Laptop

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!


tardate/LittleArduinoProjects
a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!
It measures 53 × 30 mm and has 2 copper layers, 1.67 mm thick.
11 parts, built around the E72-2G4M20S1E. 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.
From the pifactory/watermeter repository on GitHub, at the commit this page was made from: the board is pcbs/watermeter_zigbee/watermeter_zigbee.kicad_pcb and its schematic pcbs/watermeter_sensor/watermeter_sensor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the CC-BY-4.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).