Hi All!
Soon I will receive my pressure sensor for measuring the pressure of water at different speeds. The plan is to place the sensor in a tub of water just under the surface and spin the sensor in a circle through the water at different speeds. The rotating arm will be about 8” long so that one revolution will be about 24” or 2’ of total travel. The motor that rotates the arm holding the sensor is connected to a switchable power supply. To determine speed you need to know how much time it takes to travel the 2’. There is a switch at the top which allows for a start/stop signal to trigger a timer in the PIC. I am not sure if I should use a counter and allow a start/stop of say 10 times to ensure an average in case there is a slight variance in pressure at each revolution and if I should allow the PIC program to continue to run and add a “Pause 100” and count the number of pause 100’s or simply activate some type of PIC timer? I welcome any and all ideas.

Thanks, Ed