as I'm about to measure my fuel-oil consumption, I bout a flowmeter.
This device provides about 10.000 imp./L when a flow rate of 0.025 - 2,5L/min is flowing. (This is the specified working range)
The pump-flowrate will be about 2-4L/h, which equals roughly 0,05L/min. So to measure, this would be 500 imp./min = 8,3 imp./s.
The pulses will be a 20mV signal, so I guess I need to connect it to the analog-in.
I tried it with a simple voltage output-sketch, and when it runs, I can see the reaction. The signal is at 0 when not rotating and goes to approx. 1-10, while the max. in the program I'm using is 1023 (10bit)
Here comes my problem:
How can I count this? I have not found anything for counting analogIn etc. Best regards, Maeffjus