I'm pleased with how low the noise is in the reading. That's not where my problem is.
It's how to determine if the pressure is rising or falling that I'm having difficulty. The example below points out the problem.
Here's how I currently have it coded.
- every 15 seconds, take 4 measurements and compute the average.
- take the difference between the last 15 second average and the current 15 second average.
- if difference is > 0.01 in Hg (current average lower) display a down arrow.
- if the difference is < -0.01" (current average higher) display an up arrow.
- If neither, show a '-'
The problem though is that this only shows me the pressure change from the reading 15 seconds ago. Even if it were every 15 mins, if the pressure dropped quickly only in that 15 seconds, but then was steady afterwards, at the 30 min sample the display is now saying there is no change.
Maybe instead just take data, compute the slope of the line over a greater time period and if positive, it's increasing, negative, decreasing, etc.
Is there an accepted 'standard' for determining/displaying barometric pressure trends?