Cov txheej txheem:

Ntes Dej Qib: 7 Cov Kauj Ruam
Ntes Dej Qib: 7 Cov Kauj Ruam

Video: Ntes Dej Qib: 7 Cov Kauj Ruam

Video: Ntes Dej Qib: 7 Cov Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
Dej Qib Ntes
Dej Qib Ntes

Lub ntsuas hluav taws xob ultrasonic ua haujlwm ntawm tib lub hauv paus ntsiab lus raws li lub kaw lus radar. Lub ntsuas hluav taws xob ultrasonic tuaj yeem hloov pauv hluav taws xob hluav taws xob mus rau lub suab nrov thiab hloov pauv. Lub npe nrov HC SR04 ultrasonic tsim hluav taws xob ultrasonic ntawm 40kHz zaus

Feem ntau, lub microcontroller siv rau kev sib txuas lus nrog lub ntsuas hluav taws xob ultrasonic. Txhawm rau pib ntsuas qhov deb, lub microcontroller xa lub teeb liab mus rau lub ntsuas ultrasonic. Lub luag haujlwm tseem ceeb ntawm qhov teeb meem no yog 10µS rau HC-SR04 ultrasonic sensor. Thaum ntsuas, lub ntsuas hluav taws xob ultrasonic tsim yim lub suab (ultrasonic) nthwv dej tawg thiab pib lub sijhawm ntsuas. Sai li qhov tau txais (lub ncho) teeb liab tau txais, lub sijhawm nres. Qhov tso tawm ntawm lub ntsuas hluav taws xob ultrasonic yog lub plawv dhia siab nrog lub sijhawm zoo ib yam li lub sijhawm sib txawv ntawm kev sib kis ultrasonic tawg thiab tau txais lub teeb liab ncha

Kauj ruam 1:

Duab
Duab

Kev xav, qhov nrug deb tuaj yeem suav nrog ntsuas ntsuas ntsuas TRD (sijhawm/tus nqi/nrug). Txij li qhov suav qhov deb yog qhov kev mus los ntawm ultrasonic transducer mus rau qhov khoom-thiab rov qab mus rau transducer-nws yog ob txoj kev mus. Los ntawm kev faib qhov nrug no los ntawm 2, koj tuaj yeem txiav txim siab qhov kev ncua deb ntawm tus hloov pauv mus rau qhov khoom. Ultrasonic nthwv dej taug kev nrawm ntawm lub suab (343 m/s ntawm 20 ° C). Qhov kev ncua deb ntawm qhov khoom thiab lub ntsuas yog ib nrab ntawm qhov kev mus los ntawm lub suab yoj. Cov kab zauv hauv qab no suav qhov nrug mus rau ib qho khoom tso rau pem hauv ntej ntawm lub ntsuas ultrasonic.

DISTANCE = (SIJ HAWM TUAJ X XYUAS NTAWV QHOV TSEEB)/2

Kauj Ruam 2: SCHEMATICS RAU ULTRASONIC WATER LEVEL INDICATOR

SCHEMATICS RAU ULTRASONIC WATER LEVEL INDICATOR
SCHEMATICS RAU ULTRASONIC WATER LEVEL INDICATOR

1) ARDUINO (UNO, NANO, ETC).

2) BREADBOARD.

3) JUMPER WIRE.

4) ULTRASONIC SENSOR.

5) HC-SR04.

6) POTENTIOMETER.

7) RESISTER (220 OHM).

Kauj Ruam 3: TSEV KAWM NTAWV HAUV QHOV TSEEB TSHAJ LUS QHUAB QHIA Siv ULTRASONIC SENSOR

TSEV KAWM NTAWV HAUV QHOV TSEEB QHOV TSEEB TSHAJ PLAWS Siv ULTRASONIC SENSOR
TSEV KAWM NTAWV HAUV QHOV TSEEB QHOV TSEEB TSHAJ PLAWS Siv ULTRASONIC SENSOR

Kauj Ruam 4: PROGRAM (xam nrug hauv Meters)

PROGRAM (xam nrug deb hauv Meters)
PROGRAM (xam nrug deb hauv Meters)
PROGRAM (xam nrug deb hauv Meters)
PROGRAM (xam nrug deb hauv Meters)

txoj haujlwm ntsuas kev nrug deb rau txoj haujlwm ntsuas ntsuas dej

Kauj Ruam 5: PROGRAM (Suav DISTANCE IN CENTIMETER)

PROGRAM (XAUS DISTANCE IN CENTIMETER)
PROGRAM (XAUS DISTANCE IN CENTIMETER)
PROGRAM (XAUS DISTANCE IN CENTIMETER)
PROGRAM (XAUS DISTANCE IN CENTIMETER)

Kauj Ruam 6: DISTANCE ua ntej dej tau ntim

DISTANCE ua ntej dej tau sau
DISTANCE ua ntej dej tau sau

Kauj Ruam 7: DISTANCE Tom qab Dej tau ntim

DISTANCE Tom qab dej tau sau
DISTANCE Tom qab dej tau sau

Koj tuaj yeem pom tias qhov kev ncua deb txo qis hauv LCD DISPLAY thaum dej hauv lub raj mis yas tau ntim. Qhov no qhia tias lub luag haujlwm tab tom los ze rau ULTRASONIC SENSOR.

TUS ULTRASONIC SENSOR tsis tuaj yeem txheeb xyuas qhov kev ncua deb tsawg dua 3CM thiab tseem nyob siab dua 400CM, yog li kom zam qhov kev ua yuam kev no kom nyob hauv qhov ntev 3CM txog 400CM.

Pom zoo: