Cov txheej txheem:

SONAR Qhov Siab Ntsuas Ntsuas 2: 3 Cov Kauj Ruam (nrog Duab)
SONAR Qhov Siab Ntsuas Ntsuas 2: 3 Cov Kauj Ruam (nrog Duab)

Video: SONAR Qhov Siab Ntsuas Ntsuas 2: 3 Cov Kauj Ruam (nrog Duab)

Video: SONAR Qhov Siab Ntsuas Ntsuas 2: 3 Cov Kauj Ruam (nrog Duab)
Video: Zoo Siab Nrog Koj - Paj Tsua Thoj [ Official MV ] Nkauj Tawm Tshiab 2022 2024, Hlis ntuj nqeg
Anonim
Image
Image
SONAR Qhov Siab Ntsuas Ntsuas 2
SONAR Qhov Siab Ntsuas Ntsuas 2

version 1.0: https://www.instructables.com/id/SONAR-Height-Meas …

Xav Tsim Lub PC:

Taw qhia:

Txoj Haujlwm no yog qhov ntsuas ntsuas qhov siab uas yog ua raws ntawm arduino thiab ntawm kev hnov suab ultra.

Ntsuas qhov siab qhov tseeb ntawm ib yam khoom lossis khoom kom raug & meej hauv kev lag luam yog qhov tseem ceeb heev thiab tseem ceeb heev kom tswj tau qhov ua tau zoo thiab ua haujlwm tau zoo. Qhov ntsuas no yog ua raws txoj cai saum toj no; nws yog tus neeg siv tus phooj ywg, ib qho tsuas yog xav tau muab cov khoom tso rau hauv lub thawv.

sonarheightmeasuringinstrument.weebly.com/

Qhov zoo dua lwm cov cuab yeej ntsuas:

(i) Puas tuaj yeem Ntsuas Cov Khoom Nyuaj Thaum ntsuas ntawm cov khoom sib dhos lossis cov khoom muag nrog qee qhov sib nrug lossis qhov siab ntsuas cov cuab yeej zoo li Venire caliper, ntsuas lub ntsuas cua peb tau txais qhov ntsuas tsis raug raws li txhua tus ntawm lawv muaj lub puab tsaig uas ua kom cov khoom tawg. Tab sis yog tias SONAR ntsuas qhov siab ntsuas tsis muaj lub puab tsaig txhawm rau txhawm rau qhov khoom, yog li peb tuaj yeem ntsuas qhov nrug lossis qhov siab ntawm cov khoom siv tau yooj yim hauv nws.

(ii) Tsis xav tau cov txuj ci tshwj xeeb: Txhawm rau ntsuas qhov siab ntawm ib yam khoom nrog feem ntau ntawm qhov siab/ nrug ntsuas cov cuab yeej xws li Venire caliper, Ntsia Hlau ntsuas, nws xav tau qee qhov txuj ci tshwj xeeb thiab kev paub los ntsuas lub hom phiaj kom raug thiab raug. Tab sis nws yog qhov yooj yim heev los siv SONAR ntsuas qhov siab ntsuas, txhua yam koj yuav tsum tau ua yog tso koj cov khoom rau hauv. (iii) Ua kom nce ntxiv hauv qhov ua tau zoo thiab raug: Sophisticated Ultra Sonic sensors tuaj yeem siv los ntsuas qhov siab ntawm cov khoom kom raug dua, thiab ntau dua qhov tseeb, dua li lwm yam cuab yeej ntsuas qhov siab xws li Venire caliper, ntsia hlau ntsuas. (iv) Ceev

Yog xav paub ntxiv:

Kauj Ruam 1: Cov Khoom Yuav Tsum Tau

Cov Khoom Yuav Tsum Tau
Cov Khoom Yuav Tsum Tau
Cov Khoom Yuav Tsum Tau
Cov Khoom Yuav Tsum Tau
Cov Khoom Yuav Tsum Tau
Cov Khoom Yuav Tsum Tau

1. Ib lub thawv tawv,

nov kuv tau siv lub thawv ntoo yooj yim, uas yog tsim los ntawm peb cov neeg nyob ze tus txiv ntxawm.

2. Cov Khoom Siv Hluav Taws Xob Siv

(i) Arduino UNO:

(ii) HC-SR04 Ultrasonic Sensor:

(iii) LCD Zaub Screen:

(iv) Jumper Cables:

NCO TSEG: Nws tau pom zoo tias, yuav cov khoom siv los ntawm kuv qhov txuas, raws li lawv tau muag los ntawm cov tswv lag luam txhim khu kev qha thiab tus nqi zoo tshaj.

(i) Arduino UNO: https://amzn.to/2mD7A31 Lub Rooj Tswjhwm Saib Arduino tiag tiag yog lub rooj tsim tshwj xeeb tsim los rau kev ua haujlwm thiab tsim qauv nrog Atmel microcontrollers tsim cov cuab yeej digital thiab cov khoom sib tham uas tuaj yeem nkag siab thiab tswj cov khoom hauv ntiaj teb lub cev. Kuv tau siv nws los laij qhov siab ntawm qhov khoom thiab muab tso rau ntawm lub vijtsam LCD.

(ii) HC-SR04 Ultrasonic Sensor: https://amzn.to/2mD7A31 Lub HC-SR04 ultrasonic sensor siv sonar txhawm rau txiav txim siab nrug rau ib yam khoom zoo li puav lossis ntses taub ntswg ntev. Nws muaj qhov ua tau zoo uas tsis yog kev sib cuag kom paub nrog qhov tseeb thiab nyeem tau ruaj khov hauv cov pob uas siv tau yooj yim, los ntawm 2cm txog 400 cm lossis 1 txog 13 feet. Nws ua haujlwm tsis cuam tshuam los ntawm tshav ntuj lossis cov khoom siv dub zoo li Sharp rangefinders yog (txawm hais tias cov khoom siv suab zoo li daim ntaub tuaj yeem nyuaj rau pom). Nws los ua tiav nrog ultrasonic transmitter thiab receiver module.

(iii) LCD Zaub Screen: https://amzn.to/2mD7A31 Ntawm no kuv tau siv 16X2 LCD zaub ua qhov nruab nrab ntawm kev sib cuam tshuam ntawm tus tswj hwm micro thiab tus neeg siv.

(iii) LCD Zaub Screen:

Kauj ruam 2: Kev thaiv kab

Thaiv
Thaiv

Yooj yim li ntawd.

Kauj Ruam 3: Program thiab Header File

Program thiab Header File
Program thiab Header File
Program thiab Header File
Program thiab Header File

Yog tias koj lub Box yog tsis siab 31 cm ces nrhiav qhov siab tso tawm tom qab ntawd hloov 31 mus rau qhov siab uas pom, hauv:

"Qhov siab = 31- (ultrasonic. Ranging (CM));" (hauv qhov haujlwm) yog tias koj tau txais cov txiaj ntsig tsis txheeb xyuas seb puas muaj xaim poob lossis tsis.

Pom zoo: