sylvandb / gruvin9x

Automatically exported from code.google.com/p/gruvin9x
0 stars 0 forks source link

Batt Volts calibration (ANA Screen) and BG averaging. #82

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The V4 firmware already has two decimal places for batt. Volts on the ANA 
screen. Ideally, the stock radio version would do the same.

This is related to the averaging of the BG reading, since the same is included 
in the batt. Volts mathematics.

On the basis that ADC aliasing error can cause a BG reading to shift up and 
down by a single count if you're unlucky enough to have a BG reading just on 
the threshold between two values, I guess I have to relent and agree that some 
averaging is required to avoid this problem. (Sorry -- I never thought about 
this condition before. I had only seen 'wild' instability, with values jumping 
around al of the place.)

So by all means then, lets intelligently implement the BG averaging and the 
two-decimal places (only for ANA screen).

Thanks.

Original issue reported on code.google.com by gru...@gmail.com on 13 Dec 2011 at 12:18

GoogleCodeExporter commented 8 years ago
errata: "...with values jumping around all over the place.)"

Original comment by gru...@gmail.com on 13 Dec 2011 at 12:54

GoogleCodeExporter commented 8 years ago
I would prefer not working on this one because I am almost sure that you will 
not like the way I would implement it ;) Anyhow if the way I did it in open9x 
is ok for you, I am ok to do the port here.

Original comment by bson...@gmail.com on 23 Feb 2012 at 1:42

GoogleCodeExporter commented 8 years ago
Fair enough. No problem. Thanks.

Original comment by gru...@gmail.com on 24 Feb 2012 at 12:18

GoogleCodeExporter commented 8 years ago

Original comment by gru...@gmail.com on 3 Apr 2012 at 6:58