Monday 28 October 2013

First controlled flow.

I got my first reading from the flow meter. The instructions reminded me to use the pull up resistor. The code is a bit basic.

Octave code for plot
times = [ 66.192 67.180 68.180 69.180 70.180 71.180 71.280 72.180 72.280 73.380 75.180 75.480 76.180 76.580 77.180 77.680 78.080 78.780 79.080 79.880 80.080 80.980 81.800 82.080];
ticks = [ 34 101 105 750 833 836 846 847 862 921 923 942 944 964 967 1018 1021 1072 1075 1132 1137 1196 1200 1266 ] ;
plot(times, ticks);

This isn't the best data but it's late and I want to go to bed. It's supposed to start with a low flow and then get to a steady state, this is to prevent the flow meter being overwhelmed. I'm sure at this flow rate that there is no real danger of that but it was the right idea to start with.
The k-factor is 1120, that is 1120 ticks per litre. Next time I shall see about measuring amounts.

No comments:

Post a Comment