Abstract
Determining the consumption of a resource that is measured in units of volume can be more tricky than it sounds. Use of resources such as water, gas, and even electricity is typically measured by gauges that determine either instantaneous flow rate or cumulative volume over time. Both techniques have problems. Measuring flow rate at frequent intervals allows you to do time-based reporting and generate a graph of how the flow rate varied over time, but to determine the total consumption by volume across a specific time period, you then have to integrate the data. This means there is the danger of underreporting usage if your sample rate is slow and usage rapidly fluctuates or spikes. Measuring cumulative volume makes it easy to determine total consumption across a period and is accurate in terms of total usage, but to generate a flow-rate graph, you then need to calculate the difference between each sample. If your recording interval isn’t brief enough, any short-term spikes in usage will be averaged across the recording interval and might not show clearly on the graph.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2009 Jonathan Oxer and Hugh Blemings
About this chapter
Cite this chapter
Oxer, J., Blemings, H. (2009). Water Flow Gauge. In: Practical Arduino. Apress. https://doi.org/10.1007/978-1-4302-2478-5_10
Download citation
DOI: https://doi.org/10.1007/978-1-4302-2478-5_10
Publisher Name: Apress
Print ISBN: 978-1-4302-2477-8
Online ISBN: 978-1-4302-2478-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)