Cov txheej txheem:

DIY Kev Nyab Xeeb Kev Nyab Xeeb Siv Arduino: 5 Cov Kauj Ruam
DIY Kev Nyab Xeeb Kev Nyab Xeeb Siv Arduino: 5 Cov Kauj Ruam

Video: DIY Kev Nyab Xeeb Kev Nyab Xeeb Siv Arduino: 5 Cov Kauj Ruam

Video: DIY Kev Nyab Xeeb Kev Nyab Xeeb Siv Arduino: 5 Cov Kauj Ruam
Video: Kev Nyab Xeeb Khoom Noj thiab Kev Nyab Xeeb Tus Kheej 2024, Hlis ntuj nqeg
Anonim
DIY Kev Nyab Xeeb Kev Nyab Xeeb Siv Arduino
DIY Kev Nyab Xeeb Kev Nyab Xeeb Siv Arduino

Kawm paub yuav ua li cas kom koj lub tsev muaj kev nyab xeeb los ntawm kev ua tub sab hauv txoj kev yooj yim!

Kauj ruam 1: Taw qhia:

Taw qhia
Taw qhia

Koj paub thaum koj mus ncig, thiab nyob tag nrho koj lub caij so xav tsis thoob yog tias koj lub tsev muaj kev nyab xeeb los ntawm kev ua phem; thiab koj tsis tuaj yeem so thaum lub sijhawm koj so? Tom qab ntawd koj qhov teeb meem raug daws! Cov qauv no yog qhov loj ntawm qhov uas yuav yog lub qhov rooj rau tsheb. Qhov no tuaj yeem cog rau hauv txhua qhov chaw nyob, tsis hais txog qhov loj me.

Kauj ruam 2: Cov ntaub ntawv

Khoom siv
Khoom siv

Txhawm rau ua qhov no, ntawm no yog yam koj xav tau:

- Arduino Uno board

- Ib lub khob cij

- Jumper xov hlau

- Ib qho deb sensor

- Lub suab nrov

- Lub khoos phis tawj nrog Arduino app teeb tsa

- Cov cai tshwj xeeb (koj yuav tuaj yeem pom nws tom qab)

-10K resistor

- USB cabe (los nrog arduino)

Kauj Ruam 3: Kauj Ruam 3 - Breadboard

Kauj ruam 3 - Breadboard
Kauj ruam 3 - Breadboard

Kauj Ruam 3.1 - Ua ntej tshaj plaws, koj yuav cais tag nrho koj cov khoom siv. Qhov no nws yuav ua rau cov txheej txheem ntawm kev tsim cov qauv yooj yim dua thiab txhim kho.

Kauj Ruam 3.2 - Ntxig qhov ntsuas qhov deb nyob rau hauv lub khob cij thiab tom qab ntawd txuas nws mus rau cov xov hlau. Ua tib yam nrog lub pob thiab lub suab nrov (Kev soj ntsuam: tsis muaj qhov kev txiav txim raug rau ntsaws cov khoom siv, tab sis kuv xav kom koj pib nrog lub ntsuas, vim nws yog qhov tseem ceeb tshaj plaws ntawm lub cav.)

Kauj Ruam 3.3 - Thaum kawg nws yuav tsum zoo li no:

Kauj Ruam 4: Kauj Ruam 4 - Txoj Cai

Kauj ruam 2.1 - Rau cov cai, thawj qhov koj yuav tsum tau ua yog qhib cov ntawv tshiab hauv app arduino thiab luam cov cai no:

Kauj Ruam 2.2 - Tom qab ntawd, txheeb xyuas seb puas yog txhua qhov ua tau zoo ntawm qhov chaw ntawm lub khob cij. Piv txwv: const int buzzPin = 2;

Kauj ruam 2.3 - Cov cai hauv paus no yog tus qauv. Nws tau tsim los kom txhua lub sijhawm ib yam dab tsi uas siab tshaj 35 centimeters nws yuav xa daim paib mus rau lub khoos phis tawj thiab nws yuav nrov nrov. Tom qab koj ua ntsuas, koj yuav tsum rov kho dua ib feem txhawm rau txhawm rau ua kom lub ntsej muag zais tab sis tseem ua haujlwm.

Piv txwv: Los ntawm: // Xam qhov deb nrug deb = ntev*0.034/2;

Mus rau: // Xam qhov deb nrug deb = ntev*0.034/2;

Kev Soj Ntsuam: Thaum koj nias lub pob, lub ntsuas cua yuav nres ua haujlwm li 10 vib nas this.

Kauj Ruam 5: Qhov Kawg:

Qhov kawg Version
Qhov kawg Version

Nco ntsoov! Qhov no tsuas yog ib qho qauv. Koj tuaj yeem ua nws thiab siv nws rau ntau yam ntxiv! Tsim kom muaj tswv yim, thiab tseem ceeb tshaj, muaj kev nyab xeeb!

Pom zoo: