Cov txheej txheem:

Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam

Video: Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam

Video: Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Video: Computer Vision with Python! Resizing Images 2024, Kaum ib hlis
Anonim
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Kauj ruam los ntawm Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Kauj ruam los ntawm Kauj Ruam

Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Parking Sensor Circuit siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Tsheb Rov Qab ceeb toom system tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Neeg Hlau Sib Tw thiab lwm yam kev cuam tshuam txog kev siv.

Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau:

Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau

Cov Cheeb Tsam Yuav Tsum Tau:

1. Arduino UNO

2. HC-SR04 Ultrasonic Sensor

3. Mini Breadboard

4. Buzzer

5. Leds

6. 220Ω Resistor (1/4 Watt)

7. Txuas Cov Xov Tooj

Kauj Ruam 2: Daim Duab Circuit:

Daim duab kos duab
Daim duab kos duab

Kev tsim qauv ntawm Arduino Tsheb Rov Qab Chaw Nres Tsheb ceeb toom system Circuit yog yooj yim heev. Pib nrog Ultrasonic Sensor, nws muaj 4 tus pin: VCC, TRIG, ECHO thiab GND.

VCC thiab GND txuas nrog +5V thiab GND ntawm lub zog xa khoom thaum TRIG thiab ECHO txuas nrog Digital I/O pins 9 thiab 7 ntawm Arduino feem.

Lub hauv paus ntsiab lus ntawm Circuit yog raws li hauv qab no: Lub Ultrasonic Sensor xa cov suab paj nruag thiab Arduino ntsuas qhov sib nrug ntawm txhua lub teeb pom kev zoo. Raws li lub sijhawm no, Arduino tom qab laij qhov deb ntawm qhov khoom, Arduino mam li qhib lub Buzzer yog tias qhov deb nruab nrab ntawm lub ntsuas cua thiab qhov khoom tsawg dua li ntawm qee yam.

Kauj Ruam 3: Kev Sib Txuas Ultrasonic thiab Piav Qhia

Rau cov pib tshiab, koj tuaj yeem saib cov vis dis aus no thiab kawm paub yuav ua li cas cuam tshuam nrog lub ntsuas hluav taws xob ultrasonic. Kuj yuav sau cov cai li cas.

Kauj ruam 4: Code:

Txog kev qiv nyiaj, thov ua raws li kuv tus lej hauv qab no. Ua tsaug

Yog xav paub ntau cov phiaj xwm txuas nrog kuv ntawm:

Youtube: https://www.youtube.com/channel/UCTS10_CRYJhT-vb9 … Facebook nplooj:

Instagram:

Pom zoo: