Abstract

In this paper, the method of temperature acquisition by STM32 is described. The hardware circuit is designed. In order to make the measurement value accurate and reliable, the software is programmed,the temperature sample for 100 times. Remove the maximum number of twenty, the same as the minimum, with the remaining 60 data to sum, and calculate the average value as the final acquisition value. This mean filtering algorithm can effectively remove interference. The test results show that the design can accurately collect the temperature value, and has a certain practical value.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.