生活中許多目標(biāo)的高度和水平距離需要進(jìn)行測(cè)量。目前主要的測(cè)量方法,仍以傳統(tǒng)的皮尺丈量為主,測(cè)量效率不高,有時(shí)還很不方便,沒(méi)有技術(shù)成熟的數(shù)字式測(cè)高測(cè)距產(chǎn)品。以基本的數(shù)學(xué)方法為理論依據(jù),利用遙控小車做為載體,采用角度傳感器測(cè)量角度、霍爾傳感器測(cè)量水平距離等,通過(guò)單片機(jī)LM3S615進(jìn)行數(shù)據(jù)計(jì)算,實(shí)現(xiàn)了對(duì)待測(cè)目標(biāo)物體的高度、水平距離等數(shù)據(jù)的快速、精確和數(shù)字式的測(cè)量,高度測(cè)量精度可達(dá)99.06%,水平測(cè)量精度則可達(dá)98.06%。
Abstract: In our lives, the height and horizontal distance of some goals are needed to be measured. Because the currently used methods are still traditional tape-based measuring methods, and the measuring efficiency is low and inconvenient so some kinds of digital and portable measuring methods or instruments are needed. Based on the basic math theory, this paper designed and manufactured a portable, digital and remote controlled measuring mobile small vehicle, which assembled with angle measuring sensor for angle measurement and Hall sensor for horizontal distance measuring. MCU LM3S615 calculated the height and horizontal distance data gotten from these sensors. The measuring process is simple, the measuring results are more accurate and the measuring efficiency is higher than traditional measure instruments. The accuracy of height and distance measurement can reach 99.06% and 98.06%.