WellDone / MoMo-Firmware

Embedded PIC Firmware and hardware designs for the WellDone Mobile Monitor (MoMo).
welldone.org
Other
8 stars 6 forks source link

Update multisensor board to make sensing more robust #179

Closed timburke closed 9 years ago

timburke commented 9 years ago

Replace the old algorithm for figuring out the flow rate with a new one based on taking the median interval between pulses to figure out the pulse per second rate and using that to infer the flow rate.

New algorithm is:

The flow rate is sampled once per 16 seconds now in order to keep the power consumption (on/off ratio) about the same as before, though a little higher. (.1/4 vs .5/16)