Experimental Study on an Ultrasonic Detection System Based on the STM32 Microcontroller

preprint OA: closed
Full text JSON View at publisher

Abstract

Abstract This paper presents the design of an ultrasonic distance measurement system based on the STM32 single-chip microcomputer. Experiments were conducted using two ultrasonic sensor modules, HC-SR04 and RCWL-1605, to compare their performance. The SG90 servo motors is utilized to rotate the ultrasonic sensor, and the object's contour and position scanned by the ultrasonic waves are displayed on the TFT-LCD screen. Given that the velocity of ultrasonic waves in air varies with temperature, the DS18B20 sensor is employed to measure the ambient temperature, and calibrate the sound velocity at this temperature, thereby enhancing measurement accuracy.
Full text 8,507 characters · extracted from preprint-html · click to expand
Experimental Study on an Ultrasonic Detection System Based on the STM32 Microcontroller | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Article Experimental Study on an Ultrasonic Detection System Based on the STM32 Microcontroller Ge Xu This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-7380111/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract This paper presents the design of an ultrasonic distance measurement system based on the STM32 single-chip microcomputer. Experiments were conducted using two ultrasonic sensor modules, HC-SR04 and RCWL-1605, to compare their performance. The SG90 servo motors is utilized to rotate the ultrasonic sensor, and the object's contour and position scanned by the ultrasonic waves are displayed on the TFT-LCD screen. Given that the velocity of ultrasonic waves in air varies with temperature, the DS18B20 sensor is employed to measure the ambient temperature, and calibrate the sound velocity at this temperature, thereby enhancing measurement accuracy. Physical sciences/Engineering Physical sciences/Physics ultrasonic distance measurement STM32 temperature sensor TFT-LCD screen servo motors control Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-7380111","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Article","associatedPublications":[],"authors":[{"id":506920637,"identity":"c49a6fd7-2ee7-4cc4-b3fa-0c441415226b","order_by":0,"name":"Ge Xu","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAyElEQVRIiWNgGAWjYPACG34wlVBAvJY0yQawFgPitRyGaGEgRgu/9PGLD3/8OS/BL5Gd+OGBAYM8v9gB/Fok+3KKjXnbbktI9pzdLAF0mOHM2Qn4tRic4UmTZmy4XWdwvHcDSEuCwW0CWuyBWiR//DknYXCYd/MPorQY8LAfk+BhOyABtGUbcbZInOFhBvolGeSXbRYJBhKE/cLfw/4QGGJ2wBDL3XzzR4WNPL80AS0MDDwocSFBSDkIsD8gRtUoGAWjYBSMZAAAeAw/FBCzidcAAAAASUVORK5CYII=","orcid":"","institution":"Yiyang Vocational \u0026 Technical College","correspondingAuthor":true,"prefix":"","firstName":"Ge","middleName":"","lastName":"Xu","suffix":""}],"badges":[],"createdAt":"2025-08-15 09:23:08","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-7380111/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-7380111/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":106974645,"identity":"06874b21-4f3b-4857-a018-cd17d989243b","added_by":"auto","created_at":"2026-04-15 10:33:49","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":839114,"visible":true,"origin":"","legend":"","description":"","filename":"ExperimentalStudyonanUltrasonicDetectionSystemBasedontheSTM32Microcontroller.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7380111/v1_covered_3483733c-e190-4545-9904-e95b53a9d4e6.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Experimental Study on an Ultrasonic Detection System Based on the STM32 Microcontroller","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"ultrasonic distance measurement, STM32, temperature sensor, TFT-LCD screen, servo motors control","lastPublishedDoi":"10.21203/rs.3.rs-7380111/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-7380111/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eThis paper presents the design of an ultrasonic distance measurement system based on the STM32 single-chip microcomputer. Experiments were conducted using two ultrasonic sensor modules, HC-SR04 and RCWL-1605, to compare their performance. The SG90 servo motors is utilized to rotate the ultrasonic sensor, and the object's contour and position scanned by the ultrasonic waves are displayed on the TFT-LCD screen. Given that the velocity of ultrasonic waves in air varies with temperature, the DS18B20 sensor is employed to measure the ambient temperature, and calibrate the sound velocity at this temperature, thereby enhancing measurement accuracy.\u003c/p\u003e","manuscriptTitle":"Experimental Study on an Ultrasonic Detection System Based on the STM32 Microcontroller","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-09-04 13:47:25","doi":"10.21203/rs.3.rs-7380111/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"36b57f2e-cd9d-4000-a16c-166077f0be0f","owner":[],"postedDate":"September 4th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":53845632,"name":"Physical sciences/Engineering"},{"id":53845633,"name":"Physical sciences/Physics"}],"tags":[],"updatedAt":"2026-04-15T10:32:43+00:00","versionOfRecord":[],"versionCreatedAt":"2025-09-04 13:47:25","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-7380111","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-7380111","identity":"rs-7380111","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00