Cov txheej txheem:
- Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
- Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
- Kauj Ruam 5: Hauv Visuino Teeb Cov Khoom
- Kauj Ruam 6: Hauv Visuino Connect Components
- Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 8: Ua si
Video: Arduino Weather Station Siv BMP280 -DHT11 - Kub, Vaum thiab Siab: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv qhov kev qhia no peb yuav kawm paub yuav ua lub chaw nres tsheb huab cua li cas uas yuav tso saib TEMPERATURE, HUMIDITY THIAB PRESSURE ntawm LCD Zaub TFT 7735
Saib daim vis dis aus.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (Los yog lwm yam Arduino)
- LCD Zaub TFT 7735
- BMP280 Sensor
- DHT11 Sensor
- Jumper xov hlau
- Cov qhob cij
- Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
LCD TFT ST7735
Txuas:
- 1.8 TFT Display PIN [LED] rau Arduino PIN [3.3 V]
- 1.8 TFT Display PIN [SCK] rau Arduino PIN [13]
- 1.8 TFT Display PIN [SDA] rau Arduino PIN [11]
- 1.8 TFT Display PIN [A0 lossis DC] rau Arduino PIN [9]
- 1.8 TFT Display PIN [RESET] rau Arduino PIN [8]
- 1.8 TFT Display PIN [CS] rau Arduino PIN [10]
- 1.8 TFT Display PIN [GND] rau Arduino PIN [GND]
- 1.8 TFT Display PIN [VCC] rau Arduino PIN [5V]
NCO TSEG: Qee lub Arduino cov laug cam muaj sib txawv SPI pins kom ntseeg tau tias koj txheeb xyuas koj cov ntaub ntawv teev tseg.
BMP280 Sensor
- Txuas tus pin [VIN] rau Arduino [V5]
- Txuas tus pin [GND] rau Arduino tus pin [GND]
- Txuas tus pin [SDA] rau Arduino tus pin [SDA]
- Txuas tus pin [SCL] rau Arduino tus pin [SCL]
DHT11 Sensor
- Txuas tus pin [+] rau Arduino [V5]
- Txuas tus pin [-] rau Arduino tus pin [GND]
- Txuas tus pin [S] rau Arduino tus lej digital [7]
Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
Txhawm rau pib ua haujlwm rau Arduino, koj yuav tsum muaj Arduino IDE teeb tsa los ntawm no:
Thov nco ntsoov tias muaj qee qhov teeb meem tseem ceeb hauv Arduino IDE 1.6.6. Nco ntsoov tias koj nruab 1.6.7 lossis siab dua, txwv tsis pub Cov Lus Qhia no yuav tsis ua haujlwm! Yog tias koj tsis tau ua raws cov kauj ruam hauv Phau Ntawv Qhia no teeb tsa Arduino IDE rau program Arduino UNO! Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2
Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
- Ntxiv "Siab Kub BMP280 I2C" tivthaiv
- Ntxiv "Vaum thiab Ntsuas Kub DHT11/21/22/AM2301" tivthaiv
- Ntxiv "TFT Xim Zaub ST7735" tivthaiv
Kauj Ruam 5: Hauv Visuino Teeb Cov Khoom
Xaiv "Display1" thiab teeb tsa "Kev taw qhia" mus goDown (qhov no yuav hloov pauv ncaj qha ntawm kev tso saib)
Nco tseg: Yog tias cov zaub yuav tsis ua haujlwm sim hloov Hom hauv qab qhov khoom
-
Ob npaug nias rau ntawm "Display1" thiab hauv cov ntsiab lus qhov rai nthuav tawm "Cov Ntawv" thiab "Kab" ntawm sab xis thiab rub mus rau sab laug:
- 4X "Kos Cov Ntawv"
- 3X "Kos Kab"
- 3X "Text teb"
Ntawm sab laug xaiv:- "Kos Text1" thiab hauv cov khoom qhov rai teeb tsa "Loj" rau 1, "Xim" rau aclDodgerBlue thiab "X" txog 17 thiab "Text" rau WEATHER STATION
- "Kos Kab 1" thiab hauv cov khoom qhov rai teeb tsa "Qhov siab" rau 0, "Dav" txog 120, "Xim" rau aclDodgerBlue thiab "Y" rau 0- "Kos Text2" thiab hauv cov khoom qhov rai teeb tsa "Loj" rau 1, "Xim" rau aclRed thiab "X" txog 30 thiab "Y" txog 15 thiab "Ntawv" rau TEMPERATURE
- "Text Field1" thiab hauv cov khoom qhov rai teeb tsa "Loj" rau 2, "Xim" rau aclYellow thiab "X" txog 30 thiab "Y" txog 30- "Kos Kab 2" thiab hauv cov khoom qhov rai teeb tsa "Qhov siab" rau 0, "Dav" txog 120, "Xim" rau aclDodgerBlue thiab "Y" rau 50- "Kos Text3" thiab hauv cov khoom qhov rai teeb tsa "Loj" rau 1, "Xim" rau aclAqua thiab "X" txog 40 thiab "Y" mus rau 55 thiab "Ntawv" rau HUMIDITY- "Text Field2" thiab hauv cov khoom qhov rai teeb tsa "Loj" rau 2, "Xim" rau aclYellow thiab "X" txog 30 thiab "Y" rau 70- "Kos Kab 3" thiab hauv khoom qhov rai teeb tsa "Qhov siab" rau 0, "Dav" txog 120, "Xim" rau aclDodgerBlue thiab "Y" txog 90- "Kos Text4" thiab hauv cov khoom qhov rai teeb tsa "Loj" rau 1, "Xim" rau aclWhite thiab " X "mus rau 40 thiab" Y "txog 95 thiab" Ntawv "rau PRESSURE-" Text Field3 "thiab hauv cov khoom qhov rai teeb tsa" Loj "rau 2," Xim "rau aclYellow thiab" X "txog 15 thiab" Y "txog 110
Kauj Ruam 6: Hauv Visuino Connect Components
- Txuas "PressureTemperature1" tus pin [Tawm] rau Arduino I2C [Hauv]
- Txuas "PressureTemperature1" tus pin [Siab] rau Display1> TextField3 [Hauv]
- Txuas "PressureTemperature1" tus pin [Kub] mus rau Display1> TextField1 [Hauv]
- Txuas "HumidityThermometer1" tus pin [Vaum] rau Display1> TextField2 [Hauv]
- Txuas "HumidityThermometer1" tus pin [Tawm] rau Arduino tus lej digital [7]
- Txuas "Display1" tiv thaiv tus pin [Tawm] rau Arduino tus pin SPI [Hauv]
- Txuas "Display1" tiv thaiv tus pin [Chip Xaiv] rau Arduino Digital tus pin [10]
- Txuas "Display1" tiv thaiv tus pin [Pib dua] rau Arduino Digital tus pin [8]
- Txuas "Display1" tiv thaiv tus pin [Sau Npe Xaiv] rau Arduino Digital tus pin [9]
Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
Hauv Visuino, Nias F9 lossis nyem rau ntawm lub pob uas qhia ntawm daim duab 1 los tsim Arduino code, thiab qhib Arduino IDE
Hauv Arduino IDE, nyem rau ntawm Upload khawm, txhawm rau sau thiab xa cov cai (Daim duab 2)
Kauj ruam 8: Ua si
Yog tias koj ua lub zog Arduino UNO module, LCD yuav pib qhia qhov txiaj ntsig tam sim no (TEMPERATURE, HUMIDITY, PRESSURE)
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino project, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub tawm nws ntawm no thiab qhib nws hauv Visuino:
Pom zoo:
Mini Weather Station Siv Arduino thiab ThingSpeak: 4 Kauj Ruam
Mini Weather Station Siv Arduino thiab ThingSpeak: Nyob zoo txhua tus. Hauv Cov Lus Qhia no, Kuv yuav coj koj hla cov kauj ruam los ua qhov chaw nres tsheb huab cua tus kheej. Tsis tas li, peb yuav siv ThingSpeak API los tshaj tawm peb cov ntaub ntawv huab cua rau lawv cov servers, lossis lwm yam dab tsi yog lub hom phiaj ntawm huab cua
SASSIE: Cov Txheej Txheem rau Kev Txaus Siab Tsis Txaus Siab thiab Kev Sib Tham Sib Tham: 5 Cov Kauj Ruam
SASSIE: Cov Txheej Txheem rau Kev Txom Nyem Tsis Txaus Siab thiab Kev Sib Tham Sib Tham: SASSIE yog lo lus teb rau lo lus nug peb txhua tus tau nug peb tus kheej thaum muaj kev ntsiag to txawv ntawm ib qho hauv peb lub neej, "Kuv puas yuav tham tom ntej?" Zoo tam sim no koj tsis tas yuav txhawj xeeb vim tias SASSIE tau tsim tshwj xeeb los lees paub qhov txawv txav uas ntsiag to
Kev Txiav Txim Siab thiab Qhov Siab Siv GY-68 BMP180 thiab Arduino: 6 Kauj Ruam
Kev Txiav Txim Siab thiab Qhov Siab Siv GY-68 BMP180 thiab Arduino: Txheej txheem cej luam Hauv qhov kev qhia no, koj yuav kawm paub siv BMP180 sensor, uas yog ib qho ntawm feem ntau
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
Acurite 5 in 1 Weather Station Siv Raspberry Pi thiab Weewx (lwm Cov Chaw Huab Cua Tau Tshaj): 5 Cov Kauj Ruam (nrog Duab)
Acurite 5 in 1 Weather Station Siv Raspberry Pi thiab Weewx (lwm Lub Chaw Huab Cua Puas Tau Tshaj): Thaum kuv tau yuav Acurite 5 hauv 1 lub chaw nres tsheb huab cua Kuv xav kom tuaj yeem tshawb xyuas huab cua ntawm kuv lub tsev thaum kuv nyob deb. Thaum kuv los txog tsev thiab teeb tsa kuv pom tias kuv yuav tsum muaj cov khoom txuas nrog lub khoos phis tawj lossis yuav lawv lub hauv paus ntse