Abstract

This paper describes the method and principle of ADC acquisition by STM32. The hardware circuit is designed and built the experimental platform. In order to make the measured value accurate and reliable. The data were sampled for 200 times, and the data were sorted. Removed the maximum’s forty value and the minimum’s forty value, with the remaining 120 data to sum, and calculate the average value to get the final acquisition value. This mean filtering algorithm can effectively remove interference. The test results show that the design can accurately sample the external voltage value, and has 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.