The Programming Algorithm Based on Embedded System for the Output Conversion of the Humidity & Temperature Sensor SHTxx

Jiu Peng Zou, Yu Qiang Dai, Xue Wu Liu, Li Ming Zhang, Feng Xia Liu
<span title="">2012</span> <i title="Trans Tech Publications"> <a target="_blank" rel="noopener" href="" style="color: black;">Advanced Engineering Forum</a> </i> &nbsp;
In order to avoid the digital humidity & temperature sensor SHTxx's output values conversion consume many quantity of storage location, and spend more operation time, a group new type of conversion polynomials, and corresponding programming algorithm were deduced and tested. The polynomials are precise equivalent to the conversion formulas provided by the manufacturers, but contain only Binary fixed-point integer, fractional part, and 2N. Using fixed-point calculations and shift operations
more &raquo; ... ad of floating-point calculations, the results of program code reduction amount of 60 percent, and computing speed faster nearly 4 times than the original algorithm are obtained. Furthermore, a kind of speedy and unified CRC algorithm for read-out data of the sensor is proposed. The novel programming algorithm makes the output conversion more simplified, so it could pave the way for the low-end embedded applications of SHTxx.
<span class="external-identifiers"> <a target="_blank" rel="external noopener noreferrer" href="">doi:10.4028/</a> <a target="_blank" rel="external noopener" href="">fatcat:tsnoulm7vre67msd3vpl6w2czu</a> </span>
<a target="_blank" rel="noopener" href="" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href=""> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="external alternate icon"></i> Publisher / </button> </a>