Cov txheej txheem:

Kov-Tswb Tswb Tswb: 4 Kauj Ruam
Kov-Tswb Tswb Tswb: 4 Kauj Ruam

Video: Kov-Tswb Tswb Tswb: 4 Kauj Ruam

Video: Kov-Tswb Tswb Tswb: 4 Kauj Ruam
Video: TSIS POM QAB UA KOJ TUS TXIV TSEV( tub tswb vwj )nkauj tawm tshiab 2023 MV 2024, Hlis ntuj nqeg
Anonim
Kov-Tswb Tswb Tswb
Kov-Tswb Tswb Tswb

Txhawm rau zam kev kis kab mob COVID-19 peb tuaj yeem siv lub qhov rooj ntse kov tsis siv lub ntsej muag tus nqi zoo.

Ntse Touch-less Doorbell: Thawj kis ntawm COVID-19 tau tshaj tawm thawj zaug thaum Lub Ib Hlis thiab tom qab lub hlis nws nyob hauv Lakhs thoob plaws lub tebchaws. Tus kabmob tau tshaj tawm tias yog tus kabmob kis loj. Raws li Lub Koom Haum Saib Xyuas Kev Noj Qab Haus Huv (World Health Organization) tswj hwm kev nyob nrug deb thiab ua kom koj tus kheej huv si yog tib txoj hauv kev los tiv thaiv kev sib kis. Tab sis hauv qhov xwm txheej hnyav no, peb tsis tuaj yeem zam kev mus ntsib lwm tus neeg qhov chaw. Hauv qhov xwm txheej no, peb yuav siv lub tswb qhov rooj tab sis qhov no, muaj kev pheej hmoo siab ntawm kis tus kab mob. Qhov teeb meem no tuaj yeem daws tau los ntawm kev ua qhov kov-tsawg lub qhov rooj uas koj tuaj yeem tso koj txhais tes rau ntawm lub ntsej muag thiab lub suab nrov nrov yuav tsim los ntawm sab hauv.

Kauj Ruam 1: Cov Cheeb Tsam Xav Tau

Cheeb Tsam Xav Tau
Cheeb Tsam Xav Tau
Cheeb Tsam Xav Tau
Cheeb Tsam Xav Tau
Cheeb Tsam Xav Tau
Cheeb Tsam Xav Tau

Cov khoom siv hauv qab no xav tau los ua lub qhov rooj-tswb.

1. HC-SR04

2. Arduino UNO

3. Buzzer

4. Lub Rooj Tswjhwm Saib

5. Cov xov hlau

Kauj Ruam 2: HC-SR04 Obstacle Zam Zeem Sensor

HC-SR04 Obstacle Zam Zeem Sensor
HC-SR04 Obstacle Zam Zeem Sensor

HC-SR04 yog ib qho ntawm cov ntsuas ultrasonic nrov. Nws tau nquag siv los ntsuas kev nrug deb nyob ze ntawm ib puag ncig, tab sis nws yog qhov tseeb los txheeb xyuas qhov muaj cov khoom nyob ze tsis muaj kev sib cuag ntawm lub cev.

Txheeb xyuas

kom paub ntau ntxiv txog lub sensor thiab nws ua haujlwm li cas.

Kauj Ruam 3: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court

Ua ntej, Txuas GND rau Arduino GND

Qhov thib ob, Txuas Sensor Vcc + rau Arduino + 5V

Thib peb, Txuas Echo rau Arduino PIN 9 Tom qab ntawd, Txuas Ua Haujlwm rau Arduino PIN 10

Thaum kawg, txuas lub buzzer rau PIN 6

Kauj ruam 4: Code

Code
Code
Code
Code

Download tau cov tsev qiv ntawv:

Peb tuaj yeem rub cov tsev qiv ntawv hauv Arduino IDE

cov kauj ruam: Sketch -> Xws li cov tsev qiv ntawv -> tswj cov tsev qiv ntawv

Pom zoo: