BasicAirData / AirDataComputer

Air Data Computer
https://www.basicairdata.eu/projects/airdatacomputer/
Other
32 stars 23 forks source link

Zeroing the sensors #62

Closed JLJu closed 6 years ago

JLJu commented 6 years ago

A dedicated message should be added to the communication protocol to handle sensors zeroing and calibration data. That function should work at a raw sensor data level. Let be M the raw sensor reading; the new message should produce a new sensor output Y=a +bM. So the function will be able to change the zero and the span of the sensor measurements. To change the sensor span the user needs a reference instrument. New function should provide advanced users the possibility to incorporate calibration data/functions/tables(lookup table + interpolation). I will post in brief a possible message format.

JLJu commented 6 years ago

I will implement a new message (maybe more) that will allow four main functions.

$CCS, SENSOR NUMBER, COMMAND (EXECUTE LOCAL CALIBRATION/USE CALIBRATION DATA FROM THE MESSAGE/SEND OUT CALIBRATION SETUP, MODE (OFFSET/LINEAR), PARAM1, PARAM2