TeamSunride / MRAS

Multi Rocket Avionics System
https://mras.sunride.space/
GNU General Public License v3.0
6 stars 0 forks source link

MS507 Temperature Compensation #34

Closed nikiexpo closed 8 months ago

nikiexpo commented 1 year ago

Deal with Temperature Compensation in MS507, the temperature keeps rising to 30 degs. And the pressure nose dives. Also start-up errors were encountered while testing it. image

TomD53 commented 1 year ago

Worth looking into the temperature compensation part of this, but we fixed the other barometer issues

TomD53 commented 1 year ago

High temperature (>20 deg C) path is not currently implemented. Assigning to @nikiexpo for after signals exam

nikiexpo commented 1 year ago

It was actually the low-temperature path that wasn't implemented, I have added the sub-20 degree path, but I didn't see the reason to include sub-negative 15. I started looking into why the temperature rises constantly, suspecting some silly floating points (the original datasheet recommends int32 and int64 types, don't know why yet).