Hi, I have an EKM high definition pulse output water meter. From what I can tell, using pigpio is the best method of coutning pulses, via interrupts/callbacks. But I don't how to hook the meter up to my pi. Here is what I know:
Per this thread, here is some info about my EKM meter:
Black wire - Common
Red wire - Pulse output 1
White wire - Pulse output 2 (Not needed in my case, because I just have one device, my raspberry pi, reading the output, so the white wire will be unused)
Maximum pulse rate is 4.9 pulses per second (which is about 22 gallons per minute, with the model I have)
From an email to their tech support, I also learned:
Up to 24v is acceptable. I specifically asked if 3.3v was acceptable, and they said it is.
Up to 20mA is acceptable.
I've read a lot about pull up and pull down resistors, but I'm still a little unclear about how to wire all this up. I have some breadboards, and a multi pack of resistors of various sizes, but I'm not sure if I have pull up, or pull down resistors (???). I'm hoping someone can lay out a diagram for me to follow.