Cov txheej txheem:

Tsis Siv Neeg Meter: 3 Kauj Ruam
Tsis Siv Neeg Meter: 3 Kauj Ruam

Video: Tsis Siv Neeg Meter: 3 Kauj Ruam

Video: Tsis Siv Neeg Meter: 3 Kauj Ruam
Video: Cas Tsis Xaiv Koj - R-Lin Thoj New Song Original By Zaj Dub [Official MV] 2023 2024, Kaum ib hlis
Anonim
How it Works Watch on
How it Works Watch on

Cov lus qhia no yuav qhia koj yuav ua li cas ua lub tshuab uas qhia tib neeg li cas koj tsis khoom thiab ua rau cov neeg nyob deb thaum koj tsis khoom.

Lub tshuab no tso cai rau koj los qhia tias koj tsis khoom li cas koj siv peb qib: tsis khoom, tsis khoom me ntsis, thiab tsis khoom. Cov qib tau qhia nrog LEDs uas muaj xim sib txawv. Koj tuaj yeem kho qib los ntawm nias lub pob. Lub tshuab siv lub ntsuas hluav taws xob ultrasonic uas yuav ua lub suab ceeb toom thaum ib tus neeg nyob ze koj heev thaum koj "tsis khoom".

Khoom siv

Arduino Leonardo

Cov qhob cij

Jumper xov hlau

1x ntsuab LED

1x LED daj

1x LED liab

1x zog

1 x nub

1 x ultrasonic sensor

4x tiv

Kauj ruam 1: Sib dhos

Sib dhos
Sib dhos

Sib sau cov khoom siv raws li daim duab qhia. Nco ntsoov:

-Button txuas rau d2

-Trig thiab ncha ntawm ultrasonic sensor txuas nrog d6 thiab d7

-Buzzer txuas nrog d8

-Green LED txuas rau d10

-Txhua LED txuas nrog d11

-Red LED tau txuas rau d12

Kauj ruam 2: Coding

Nov yog cov cai kuv siv rau qhov haujlwm no:

create.arduino.cc/editor/vin0617/fb9cd73f-…

Kauj ruam 3: Kho kom zoo nkauj

Kho kom zoo nkauj
Kho kom zoo nkauj
Kho kom zoo nkauj
Kho kom zoo nkauj

Siv lub thawv ntawv (lossis lwm yam uas koj xav tau) los npog koj txoj haujlwm kom nws zoo dua.

Pom zoo: