Cov txheej txheem:

3.2 TFT Weather Station: 4 Kauj Ruam
3.2 TFT Weather Station: 4 Kauj Ruam

Video: 3.2 TFT Weather Station: 4 Kauj Ruam

Video: 3.2 TFT Weather Station: 4 Kauj Ruam
Video: ESP32 Internet Weather with 3 5inch TFT Display 2024, Hlis ntuj nqeg
Anonim
3.2 TFT Weather Station
3.2 TFT Weather Station
3.2 TFT Weather Station
3.2 TFT Weather Station
3.2 TFT Weather Station
3.2 TFT Weather Station

Yog! Nws yog tib lub chaw nres tsheb huab cua dua, tab sis nws siv cov zaub loj dua. Pls ua tib zoo saib cov lus qhia yav dhau los.

Kuv tseem muaj 320X480 lcd zaub rau arduino mega thiab kuv xav tsis thoob yog tias kuv tuaj yeem rov sau kuv daim duab kos los ua haujlwm rau nws. Kuv muaj hmoo vim tias lub tsev qiv ntawv HX_8357 tsim los ntawm Bodmer (ua tsaug phooj ywg!) Yog qhov zoo heev thiab tuaj yeem luam tawm ntab thiab lwm yam. Nws coj kuv li ib teev thiab nws tau ua haujlwm zoo.

Kauj Ruam 1: Qhov Yuav Tsum Tau

- Arduino mega lossis Mega2560 pro

3.2 TFT LCD ILI9481 (HX8357)

DHT11 lossis 22

SWB 3223 Stb

- PIB 180

DS18B20

- Analog lub teeb sensor

-Libraries thiab kos duab

Kauj ruam 2: Software

Rub tawm cov duab kos thiab suav nrog cov tsev qiv ntawv, sau ua ke thiab rub tawm.

Kauj Ruam 3: Tsab Ntawv

Tsab ntawv
Tsab ntawv
Tsab ntawv
Tsab ntawv
Tsab ntawv
Tsab ntawv

Kuv tsis tau txais kuv daim ntawv pov thawj rau kuv Mega uas kuv xaj los ntawm Suav teb, yog li kuv tau txi kuv RSD Mega ib ntus.

Tab sis kuv tau ceev faj thiab siv cov xaim hluav taws xob sib txuas thiab siv lawv kom zoo zoo.

Kuv tsis xav hloov tus pinout. Yog li kuv tau ua me ntsis pcb phaj nrog poj niam lub taub hau rau cov ntsuas.

Tsis zoo nkauj txhua, tab sis nws ua haujlwm kom txog thaum nws ua tiav.

Kuv siv BMP180 sensor lub sijhawm no vim tias kuv lub BMP280 sensor tau ua qhov txawv thiab nws tau qhia qhov tsis raug.

2019.02.15. Ntxiv cov av noo tsis suav.

Kauj Ruam 4: Cov phiaj xwm yav tom ntej

Kuv tau nyeem ntau tsab xov xwm hais txog plua plav thiab huab cua ntsuas qhov zoo. Yog li kuv txiav txim siab xaj 2 sensor ntawm 2 hom sib txawv.

Nws zoo li tsis nyuaj rau cuam tshuam nrog lawv nrog cov laug cam arduino thiab tsim hauv txoj haujlwm no.

Kuv tab tom npaj ntxiv Kev Nyeem Ntawv Huab Cua Zoo, siab hauv mmHg, digital qhov av noo thiab lub teeb pom kev zoo. (Thiab leej twg paub dab tsi ntxiv)

Qhov laj thawj yog vim li cas kuv tshaj tawm cov lus qhia no yog tias peb muaj lub rooj tsav xwm loj dua, tso saib, qhov cim xeeb loj (piv rau Uno) thiab ntau yam analog thiab digital pins.

Thaum kuv saib ntawm cov zaub nws yog qhov txaus siab me ntsis los nyeem txhua qhov ua tau ntawm kev ntsuas; yog vim li cas kuv ntxiv cov ntawd.

Kuv twb tau yuav lub thawv yas rau qhov chaw huab cua no. Thaum nws yuav ua tiav kuv yuav xa cov txiaj ntsig. (Kuv vam tias)

Kuv vam tias qee tus ntawm koj yuav siv tau zoo rau nws.

Ua tsaug rau kev nyeem phau ntawv qhia no!

Pom zoo: