Anyone interested in putting together this system for me - I have the board but haven't yet learned to use it... and I need the application written - I'd be interested if anyone wants to quote...
I need to count electronic pulses from an in-line flow sensor (it outputs 4600 pulses per litre of flow). I want to use my Arduino Mega to count the pulses, take a time average (say over 1 second) and output a voltage (0 to 5V) proportional to the time average (and hence to the average flow rate). I have a device that will accept this output voltage from the Mega and do all the data logging etc - so I only need the board to provide a raw voltage out.
The flow sensor is this one: http://docs-asia.electrocomponents.com/webdocs/001b/0900766b8001bb47.pdf
. (Its output voltage range etc is given in the specification document.)
I could simply plug the flow meter output into my existing logging device (a PICO TC-08 with an adapter to accept 0 to 5V) but it is also measuring various other parameters and I only want to measure these every one second or so - I don't want to have to log millions of data readings just to get my flow rate - I just want to have a voltage available for me to log at any instant that is proportional to flow rate.
As an example
Step 1: The arduino board counts 95 pulses in 1 second (Ps=95).
Step 2: It outputs a voltage proportional to the flow rate per second. This is a simple linear relationship: Vout=(5*Ps)/(498.3333)
Step 3: It countinues to output this voltage (in this case 953 mV) for one second while counting pulses for the next second
Step 4: Return to Step 1
So any time I sample a reading from the Arduino board it is reporting a voltage proportional to the flow rate for the previous one-second.
Any queries let me know.