Cov txheej txheem:
- Kauj Ruam 1: Sau Koj Cov Khoom
- Kauj Ruam 2: Txuas Koj Li Circuit Court
- Kauj ruam 3: Programming Koj Arduino
- Kauj Ruam 4: Sau Koj Cov Ntaub Ntawv Txheeb Xyuas
- Kauj Ruam 5: Tsim Koj Txoj Kev Ntsuas Calibration
- Kauj Ruam 6: Calibrating Koj Qhov System
Video: Arduino Range Finder: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Qhov kev tshawb nrhiav ntau yam no tau tsim los saib xyuas seb lub qhov rooj qhib lossis tsis qhib. Kev ntsuas qhov deb ntawm lub qhov rooj yuav tso cai rau peb txheeb xyuas seb lub qhov rooj qhib lossis kaw.
Kauj Ruam 1: Sau Koj Cov Khoom
Txhawm rau ua tiav txoj haujlwm no ib tus yuav tsum tau:
Arduino Uno microcontroller
USB cable (txuas Arduino rau lub khoos phis tawj)
Lub laptop computer
Resistors (10, 000 Ohm)
Cov qhob cij
Sonar
Kauj Ruam 2: Txuas Koj Li Circuit Court
Ua raws daim duab saum toj no txhawm rau txuas koj lub Circuit Court. Koj yuav pom tias vcc txuas nrog 5v tus pin, trig txuas nrog 9 tus pin, echo txuas nrog 10 tus pin, thiab gnd txuas nrog hauv av.
Kauj ruam 3: Programming Koj Arduino
Luam thiab muab cov cai no tso rau hauv koj tus khoos phis tawj xa nws mus rau koj Arduino. Qhov no yuav tsim cov txiaj ntsig deb ntawm koj li Arduino uas peb yuav xav tau los ntsuas
Kauj Ruam 4: Sau Koj Cov Ntaub Ntawv Txheeb Xyuas
Tam sim no koj Arduino tsis ua qhov tseem ceeb nrug, nws ua lub sijhawm ntev. Peb yuav tsum tsim kom muaj qhov ntsuas ntsuas kom pom qhov sib npaug ntawm kab. Txhawm rau ua qhov no coj tus kav thiab teeb tsa koj Arduino ntawm lub hauv paus ntawm nws, txhua 5 ntiv tes sau lub sijhawm uas Arduino tsim tawm. Peb yuav nqa cov ntaub ntawv no thiab nkag mus rau hauv daim ntawv nthuav tawm zoo.
Kauj Ruam 5: Tsim Koj Txoj Kev Ntsuas Calibration
Hauv qhov ua tau zoo kom ntseeg tau tias hauv kab 1 koj tso koj nrug deb thiab hauv kab 2 koj tso koj nrug deb. Tom qab ntawd ua kom pom cov kab ntawv thiab tom qab ntawd xaiv ntxig cov phiaj xwm tawg. Txoj cai nyem rau ntawm ib qho ntawm cov ntaub ntawv cov ntsiab lus thiab nyem hom qauv kab, tom qab ntawd xaiv tawm. Thaum kawg xaiv cov kab zauv ntawm daim duab. Thaum kawg sau qhov sib npaug muab rau koj.
Kauj Ruam 6: Calibrating Koj Qhov System
Tam sim no koj tau pom koj qhov kev ua zauv koj yuav hloov lub sijhawm mus rau qhov deb. Koj coj koj qhov kev ua zauv thiab nkag mus rau hauv koj cov cai hauv qab qhov uas peb tawm mus thaum xub thawj. Piv txwv li kuv qhov sib npaug yog y = 0.007x-0.589 yog li kuv yuav nkag mus:
ntev = pulseIn (echoPin, HIGH);
ncua (1000);
nrug = 0.007*ntev-0.589;
Serial.println (nrug);
ncua (500);
Txuag cov cai no thiab muab tso rau hauv koj li Arduino
Pom zoo:
Arduino UNO Nrog OLED Ultrasonic Range Finder thiab Visuino: 7 Kauj Ruam
Arduino UNO Nrog OLED Ultrasonic Range Finder thiab Visuino: Hauv qhov kev qhia no peb yuav siv Arduino UNO, OLED Lcd, Ultrasonic range finder module, thiab Visuino los tso tawm ultrasonic ntau ntawm Lcd thiab teeb tsa qhov txwv nrug nrog liab LED. Saib daim vis dis aus
Sonar Range Finder: 4 Kauj Ruam
Sonar Range Finder: Hauv Phau Ntawv Qhia no, cov phiaj xwm sim tau tsim los saib seb lub sonar range finder tuaj yeem txiav txim siab tias lub laptop qhib lossis tsis yog. Hauv qab no, yog cov lus qhia yuav ua li cas thiaj tsim lub sonar range finder, yuav ua li cas rau program Arduino thiab ntsuas nws
DIY Range Finder Nrog Arduino: 6 Kauj Ruam
DIY Range Finder Nrog Arduino: Hauv kab lus no kuv yuav qhia koj yuav ua li cas koj tuaj yeem ua tus nrhiav pom ntau yam siv arduino
Ultrasonic Range Finder Tutorial Nrog Arduino & LCD: 5 Kauj Ruam
Ultrasonic Range Finder Tutorial Nrog Arduino & LCD: Coob leej neeg tau tsim Cov Lus Qhia yuav siv Arduino Uno nrog Ultrasonic Sensor thiab, qee zaum, nrog rau lub vijtsam LCD. Kuv ib txwm pom, txawm li cas los xij, cov ntawv qhia no feem ntau hla hla cov kauj ruam uas tsis pom tseeb pib
Ultrasonic Sensor Range Finder: 5 Kauj Ruam
Ultrasonic Sensor Range Finder: Taw Qhia: Ultrasonic Range Finder Siv Arduino. Ultrasonic Range Finder yog txoj hauv kev yooj yim ntawm kev suav nrug deb ntawm qhov teeb meem los ntawm qhov deb tsis muaj kev sib cuag ntawm lub cev. Nws ntiav tus neeg saib xyuas nrug deb deb uas siv lub suab nrov