Cov txheej txheem:

Av noo noo Sensing - SF: 4 Cov Kauj Ruam (nrog Duab)
Av noo noo Sensing - SF: 4 Cov Kauj Ruam (nrog Duab)

Video: Av noo noo Sensing - SF: 4 Cov Kauj Ruam (nrog Duab)

Video: Av noo noo Sensing - SF: 4 Cov Kauj Ruam (nrog Duab)
Video: Lil Nas X, Jack Harlow - INDUSTRY BABY (Official Video) 2024, Lub Xya hli ntuj
Anonim
Av noo noo Sensing - SF
Av noo noo Sensing - SF

Txhawm rau pib qhov phiaj xwm sim, peb tau pib nrog peb lub hom phiaj uas yog tsim cov cuab yeej uas yuav tuaj yeem kuaj xyuas seb puas yog cov qauv av tau ntub los nag lossis tsis yog. Txhawm rau ua txoj phiaj xwm no, peb yuav tsum kawm paub siv kom raug thiab teeb tsa cov av noo nrog lub Arduino.

Kauj Ruam 1: Kauj Ruam Ib: Sau Cov Khoom

Kauj Ruam Ib: Sau Cov Khoom
Kauj Ruam Ib: Sau Cov Khoom
Kauj Ruam Ib: Sau Cov Khoom
Kauj Ruam Ib: Sau Cov Khoom
Kauj Ruam Ib: Sau Cov Khoom
Kauj Ruam Ib: Sau Cov Khoom

Txhawm rau pib tsim cov av noo noo, peb pib los ntawm kev sau peb cov ntaub ntawv:

  1. Sparkfun Av Moisture Sensor
  2. USB cable
  3. Pawg mov ci
  4. 2 Beakers rau cov av sib txawv
  5. Qhuav av
  6. Av noo
  7. 2 LED's (Xiav/Daj)
  8. Ob peb Cov Hluav Taws Xob
  9. Arduino UAS
  10. Khoos phis tawj

Kauj Ruam 2: Kauj Ruam Ob: Txhim Kho Lub Circuit Court

Kauj Ruam Ob: Txhim Kho Lub Circuit Court
Kauj Ruam Ob: Txhim Kho Lub Circuit Court
Kauj Ruam Ob: Txhim Kho Lub Circuit Court
Kauj Ruam Ob: Txhim Kho Lub Circuit Court
Kauj Ruam Ob: Txhim Kho Lub Circuit Court
Kauj Ruam Ob: Txhim Kho Lub Circuit Court

Tom ntej no, peb yuav tsum tsim peb txoj kev sib txuas los ntawm kev txuas cov av noo noo mus rau Arduino. Ua li ntawd, koj yuav tsum tau txais Arduino pawg thawj coj thiab npaj kom pib txuas cov xov hlau dhia thiab cov ntsuas dej noo kom koj tuaj yeem pib. Tom qab koj tsim lub Circuit Court raws li pom hauv daim duab saum toj no, upload rau Arduino thiab qhib Serial Monitor. Tom qab ua li ntawd koj yuav tsum pib pom tus nqi uas nyob hauv thaj tsam ntawm 0 thaum lub sensor tsis nyob hauv kev sib cuag nrog ib yam dab tsi. Yog tias koj xav kom paub tseeb tias lub ntsuas cua tau ua dab tsi nws xav tias yuav, tuav qhov kev soj ntsuam nrog koj txhais tes kom paub tseeb tias qhov kev soj ntsuam pom tias muaj dej noo, qhov laj thawj nws ua haujlwm yog vim tias cov dej noo los ntawm koj lub cev txaus rau lub ntsuas kom pom thiab muaj cov tshuaj tiv thaiv. Thaum koj ua tiav kev tsim lub Circuit Court, nco ntsoov txuas ntxiv cov LEDs thiab cov xov hlau kom nws ua haujlwm. Nws yuav tsum yog li thaum cov av noo, LED daj yuav ci, thiab yog tias nws qhuav LED xiav yuav ci.

Kauj Ruam 3: Kauj Ruam Peb: Sau Koj Li Code

Kauj Ruam Peb: Sau Koj Li Code
Kauj Ruam Peb: Sau Koj Li Code

Thaum pib ntxiv koj cov cai rau koj cov av noo noo sensor siv cov cai saum toj no raws li kev siv rau koj lub Circuit Court thiab Arduino teeb tsa. Thaum siv cov cai no, tseem nco ntsoov ntxiv cov lus "yog tias" uas yuav qhia tias yog tias cov av nyob hauv qab tus nqi nws tsis ntub thiab dhau nws. Peb tau txais cov cai no los ntawm qhov chaw: SparkFun.

Kauj Ruam 4: Kauj Ruam Plaub: Ua tiav + Tso Tawm

Kauj Ruam Plaub: Ua tiav + Tso Tawm
Kauj Ruam Plaub: Ua tiav + Tso Tawm

Tam sim no nws yog lub sijhawm kom paub tseeb tias cov av noo sensor ua haujlwm. Txhawm rau pib, muaj ob qhov piv txwv ntawm cov av npaj tau, ib qho piv txwv ntawm cov av tau ntub thiab lwm qhov qhuav. Ua ntej tshaj, muab cov av noo noo tso rau hauv cov av ntub. Yog tias lub teeb daj daj ci, tom qab ntawd lub sensor ua haujlwm. Qhuav tawm lub ntsuas cua, thiab ntsuas seb nws puas ua haujlwm rau cov av qhuav. Muab cov av noo noo tso rau hauv qhov piv txwv ntawm cov av qhuav, yog tias lub teeb xiav LED ci, tom qab ntawd lub ntsuas cua ua haujlwm rau cov av qhuav ib yam.

Pom zoo: