Hello!
I connect Pulse 15-Pulse water meter to GPIO RPi2 for tracking interrupts and water metering.
The counter is connected by one wire to GPIO, and the other to GND. For example, PIN29 and PIN30.
I debugged my C # script using the normal reset button removed from the PC case and everything worked correctly. When connected instead of a button counter, RPi behaves a trace. in the following way:
If you connect to PIN29 and turn on the pull-up pull-up, the GPIO always fixes a logical 0. Even when the reed switch is open.
If you connect to PIN5 (there is already a 1.8 kΩ pull-up resistor on this GPIO), then the GPIO always fixes a logical 1. Even when the reed switch of the counter is closed.
The key point, I think, is counter resistance. The multimeter captures ~ 1.6kΩ, of course, when the reed switch is closed.
How to make RPi track the status of the reed switch in the light of the above?

