Page 1 of 1
MD0550 and 12 Bit ADC
Posted: Mon Nov 18, 2019 11:32 am
I'm trying to get the example code for MD0550 work with a 12-bit ADC instead of 10-bit that it was written for. I changed the volt per step from 0.0048828125 to 0.001220703 to account for resolution differences. The ADC voltage for RV and Temp are now showing proper values but the Temp (C) and Wind Speed (MPH) are way off. I'm assuming that the ADC resolution was factored in the other calibration numbers. Any suggestions?
Re: MD0550 and 12 Bit ADC
Posted: Sun Dec 15, 2019 2:39 pm
I apologize for the long delay on getting to the forum.
Yes that code for Rev C is suboptimal and has some of ADC resolution rolled into the math.
We just revised the Rev C and are going to revise it a couple of more times in in the two months or so to put in some temperature compensation. At that point we'll do regressions again with a pitot tube to try to put more accurate curves with better math for adopting to different boards.