balerion / ppg-instrument

development of a ppg flight instrument
GNU General Public License v3.0
0 stars 0 forks source link

slow rpm inaccurate #26

Closed balerion closed 3 years ago

balerion commented 3 years ago

with the current method of counting spark firings between intervals, at low rpms, the reading is inaccurate due to a variable number of firings in a check cycle (~2 in 60ms at 2000rpm), so the error becomes 1000rpm at 2000rpm

A solution is to measure time between firings instead

balerion commented 3 years ago

fixed by 55c965e9009cd1c129962a9e6e5bf15ba3e67741