Water meter with 3 wire reed switch

No debouncing required if you use all 3 wires (Form-C type: NO, NC and COM). Just connect the NO and NC to separate inputs with 10K pullup resistors and connect COM to GND.

Here's example code that detects 5 unique conditions, bounce free.

1 Like