Cov txheej txheem:

Hnyav Teeb: 3 Cov Kauj Ruam (nrog Duab)
Hnyav Teeb: 3 Cov Kauj Ruam (nrog Duab)

Video: Hnyav Teeb: 3 Cov Kauj Ruam (nrog Duab)

Video: Hnyav Teeb: 3 Cov Kauj Ruam (nrog Duab)
Video: Poj Laib - Xav Deev Dua Ib Zaug 2024, Hlis ntuj nqeg
Anonim
Vaum Lub Teeb
Vaum Lub Teeb

Cia peb pom li cas Humidity ua niaj hnub no …

Qhov arduino tswj LED lub teeb hloov xim thaum cov av noo tsis zoo.

Thaum twg cov av qis dua 40%, xim yuav hloov mus rau Liab

Ntawm 40 thiab 60% xim yuav ntsuab

Tshaj 60%, cov xim yuav hloov mus rau daj

Cov av noo tau ntsuas nrog DHT11 sensor

Cov teeb muaj 4 (lossis yam koj nyiam) neopixel teeb.

Arduino Nano yog tus saib xyuas lub roj teeb uas siv lub zog no thiab Arduino software yog yooj yim thiab ncaj nraim rau pem hauv ntej. Nws yog qhov yooj yim los kho nws raws li koj xav tau.

Khoom siv

Arduino Nano Cov

Neopixels LED. koj tuaj yeem siv 1 lossis txog 254, nws yog txhua yam rau koj!

Sensor rau cov av noo thiab qhov kub thiab txias: DHT11

Roj teeb thiab ib yam dab tsi los tuav txhua yam ua ke.

Kauj Ruam 1: Tshem Tawm Lub Teeb…

Stripping lub teeb…
Stripping lub teeb…
Stripping lub teeb…
Stripping lub teeb…
Stripping lub teeb…
Stripping lub teeb…

Txhawm rau ua txhua yam ua ke, koj tuaj yeem xaiv txhua yam uas koj nyiam. Xav txog qhov tseeb tias kuv yuav nkag rau qhov no hauv kev sib tw teeb pom kev zoo.lub tsev zoo li cas kuv tuaj yeem xaiv lwm qhov tom qab no lub teeb zoo nkauj uas kuv yuav lub khw hauv khw. (rau cov neeg nyob hauv Lub Tebchaws Netherlands, nws yog qhov txawv txav zoo ib yam lub npe khw "Ua")

Ua ntej koj yuav tsum tau muab nws sib nrug thiab hle tag nrho cov khoom siv ua ntej rub tawm kom tsis muaj dab tsi tab sis lub roj teeb ntim thiab qhib/tawm hloov pauv nyob twj ywm. Peb yuav siv qhov no nrog peb cov arduino

Kauj Ruam 2: Txhim Kho Peb Cov Cheeb Tsam

Mounting Peb Cheeb Tsam
Mounting Peb Cheeb Tsam
Mounting Peb Cheeb Tsam
Mounting Peb Cheeb Tsam
Mounting Peb Cheeb Tsam
Mounting Peb Cheeb Tsam
Mounting Peb Cheeb Tsam
Mounting Peb Cheeb Tsam

Ua ntej tshaj, kuv tso daim kab xev nrog 4 neopixel LEDS. Nws muaj tus kheej nplaum yog li cov kauj ruam no yooj yim!

Ib sab ntawm nws kuv tau tso Arduino Nano, siv qee cov kua nplaum kub.

Humidity sensor tau muab tso rau ntawm lwm sab kom nws zaum saum lub teeb, nyob hauv qab cov hlau npog. Kuv siv cov kua nplaum kub kom nws nyob hauv qhov chaw.

Thiab ntawm chav kawm koj yuav tsum xaim nws tag nrho

Nws tsis yog qhov nyuaj… ua tib zoo saib cov schematic.

Tsis tas li ntawd, Kuv tau hlais ib lub qhov ntawm kwv yees li 6 hli nyob rau hauv cov hlau npog uas qhov ntsuas qhov ntsuas cua nyob. Txoj kev ntawd, peb paub tseeb tias ntsuas cov av nyob hauv chav thiab tsis yog sab hauv ntawm lub thawv nkaus xwb.

Kauj Ruam 3: Txaus siab rau Cov Xim Ntawm Cov Vaum

Txaus siab rau Xim Xim Vaum
Txaus siab rau Xim Xim Vaum
Txaus siab rau Xim Xim Vaum
Txaus siab rau Xim Xim Vaum
Txaus siab rau Xim Xim Vaum
Txaus siab rau Xim Xim Vaum

Oeps… yuav luag tsis hnov qab….. Tsis txhob hnov qab program nws ua ntej.

Koj yuav tsum tau teeb tsa arduino app rau qhov ntawd … tab sis kuv twv yog tias koj twb tau ua tiav qhov ntawd.

Tam sim no….. raws li internet, feem ntau, tib neeg nyiam cov av noo nyob nruab nrab ntawm 40 txog 60%.

Yog li saib lub teeb kom pom tias koj ib puag ncig zoo li cas.

Cov av noo yog 39% lossis tsawg dua, xim ntawm lub teeb yuav RED

Cov av noo nyob nruab nrab ntawm 40% txog 59%, xim ntawm lub teeb yuav yog GREEN

Vaum yog 40% lossis ntau dua, xim ntawm lub teeb yuav YELLOW

Koj tsis nyiam cov xim? nws yog qhov hloov pauv yooj yim hauv software….. yog qhov ci ntsa iab….

Nws, koj tuaj yeem hloov pauv nws thiab siv qhov kub kom hloov xim ntawm lub teeb es tsis txhob ntub dej..

Qhib koj tus kheej! Tsis muaj cov cai… uas yog qhov zoo ntawm qhov tsim thiab kawm… tsim thiab kawm…

Pom zoo: