Pressure Sensor Counter
from KEUWLSOFT
Privacy Policy for Pressure Sensor Counter
Can be downloaded at Buy Me a Coffee (coffee optional).
Supporters on Patreon can find the app here .
Can be downloaded at Buy Me a Coffee (coffee optional).
Supporters on Patreon can find the app here .
Pressure Sensor Counter
A counter based on the pressure sensor in your device.
Requires a Barometer/Pressure sensor in your device.
App Summary
The pressure or barometer sensor in your device is continually monitored and when the detection level is crossed, the counter is increased by one.
Can be used to count each time a pressure changing event occurs such as elevation changes, a room door closing or a gust of wind.
• Select between Pascals, bar, mbar, psi, Torr, atmospheres or inches of mercury for the displayed pressure unit.
• Detect on rising or falling past the detection level.
• Reduce double counts with optional no-count wait after detection.
• Graph to show pressure values versus time.
• Counts indicated on graph and with optional 'click' sound.
Pressure sensors will vary in sampling speed, resolution and accuracy from one device to the next. For indication only.
User Guide
The pressure sensor returns pressure values in mbar. In settings, the pressure unit can be selected between Pascals, Bar, mbar, absolute PSI, Torr, Atmospheres and inches of Mercury (inHg).1 Pascal = 1 N/m² = 0.01 mbar.
1 Bar = 1000 mbar.
1 Atmosphere = 101325 Pascals.
1 Atmosphere = 760 Torr.
1 Atmosphere = 14.696 psi = 14.696 lbf/in². Note absolute psi and not gauge psi (that relative to atmospheric pressure) is used in this app.
1 Atmosphere = 29.921 inHg (at 0°C).
The zero button resets the counter and clears the graph.
The pause button pauses the graph and counting until it is pressed again.
Note that pressure sensors will vary in sampling speed, resolution and accuracy from one device to the next. Therefore this app is for indication only.
Count Detection
Level – To detect a count event, the measured pressure must cross the count detection level given in this section and shown on the graph with an orange line. Use the arrows to adjust the level or enter a value by tapping the edit button.No re-count time – To avoid signals being detected to close together, a wait can be added so that another count will not be registered until after the wait period has passed.
Direction - Select whether to detect counts either when the signal rises from below to above the detection level, or falls from above to below the the detection level.
Graph
The graph shows the pressure readings versus time. It is auto scaling by default and scrolls once filled. If auto scale is turned off in the settings, then the scale can be manually set by panning or pinching on the graph. If the count detection level is within the auto scaled range, it is shown by an orange line. When the signal crosses this line in the right direction, a count is registered and a red circle appears. A subsequent fainter line follows where another count event cannot be registered as determined by the detection settings. After which the trace returns to the original colour indicating that another count will be registered once the input level once again crosses the count detection level.When auto scale is off, or the detection is paused, the graph can be manually scaled. A single touch allows the graph y axis scale to be moved up or down, or in the case of the x-axis, pan back to see more recent data. A double touch, i.e. pinching on the graph can change the scales of either axis. Since, the graph is small, using fingers on opposite hands can make this task much easier.
Settings
Clicking the cogs button at the top left of the screen brings up a settings menu:Pressure Units – The pressure can shown in either Pascals (N/m2), Bar, mbar, Absolute PSI, Torr, Atmospheres or inches of Mercury (inHg).
Auto scale graph Y-Axis - The Y-Axis of the graph will be auto scaled when not paused. Otherwise panning or pinching on the graph can change the axis scales.
Smooth Sensor Data - The data will be smoothed a little.
Stay awake – Check this option to stop the device from sleeping.
Sound On – Button presses and counts will make a click sound if this is enabled.
Beep when count detected – If both the sound and this option are on, then a 'click' sound will be played every time a new count is detected.
Vibrate On – Button presses and counts can cause the device to vibrate if this is enabled.
Vibrate when count detected – If both this and vibrate are on, then every time a count is registered the device will vibrate.
Measurement Speed – Three speed options for the update interval.
Reset to defaults – Resets all preferences back to their default values and zeros the counter.
Edit counter value – Use this if you need to adjust the counter value.
Edit detection values – You can also edit the detection values here, typing in the values rather than using the arrow buttons.
Long tapping on the counter value allows its value to be copied to the clipboard.
Preferences and counter value are stored for the next time the app is run.
