Cov txheej txheem:
- Kauj ruam 1: Cov ntaub ntawv
- Kauj ruam 2: Tsim
- Kauj ruam 3: Source Code
- Kauj Ruam 4: teeb tsa EasyIoT Cloud
Video: ESP8266 WiFi Touch Screen Thermostat (EasyIoT Cloud): 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Hauv qhov kev qhia no peb yuav qhia yuav ua li cas thiaj tsim WiFi kov lub ntsuas cua sov. ESP8266 WiFi kov lub ntsuas cua sov yog piv txwv ntawm cov teeb meem sensor tsim los ntawm ESP8266, Arduino Mega 2560 thiab TFT 3.2 kov lub vijtsam zaub. Thermostat txuas nrog EasyIoT Cloud thiab tuaj yeem tswj tau hauv internet.
Cov yam ntxwv tseem ceeb ntawm ntsuas cua sov
- 6 hom - Pib, Tawm, LOLO, LO, HI, HIHI
- Kov npo
- Txuas nrog WiFi
- Plaub teev kub (LOLO, LO, HI, HIHI) thiab lub sijhawm teem tseg txhua lub lim tiam
- Lub sij hawm tso tawm
- Lub sij hawm tso tawm
- Txuas nrog EasyIoT Cloud thiab tuaj yeem tswj tau hauv WEB interface lossis ib txwm siv mobile thov hauv internet
Kauj ruam 1: Cov ntaub ntawv
- Arduino Mega 2560
- ESP8266 WiFi module
- BMP180 Digital Barometric Siab Sensor
- DHT22 Digital Kub Thiab Vaum Sensor
- 1 Channel Rho Tawm 5V Relay Module
- RTC DS1302 Lub Sijhawm Sijhawm Sijhawm Tiag
- 3.2 "TFT LCD Module Touch Panel+ TFT 3.2" LCD Shield Expansion Board
Kauj ruam 2: Tsim
Kev sib txuas
Arduino Meaga 2560 TFT zaub Qhov no yooj yim, vim tias peb yuav siv daim thaiv npog. Tsuas yog muab TFT 3.2 "LCD Shield Expansion Board thiab 3.2" TFT LCD Module Touch Panel rau saum Arduino Mega 2560.
ESP8266ESP8266 tau siv los ua WiFi lub qhov rooj mus rau EasyIoT Cloud. Nws tau ntim nrog firmware sau hauv Arduino IDE. Hauv qhov no peb yuav siv HW serial1 ntawm Arduino Mega 2560 los txuas ESP8266 module. Ua raws ESP8266 Connenct 5V Arduino thiab ESP8266 qhia kom txuas ESP module rau Arduino. Arduino Serial1 RX tus pin yog 19, Tx 18 thiab Pib dua tus pin yog 12. Rau 3.3V fais fab mov peb yuav siv 3.3 V los ntawm TFT ntaub thaiv npog nthuav dav. Saib daim duab hauv qab no txhawm rau txuas 3.3 V.
NPE 180
Arduino - BMP180 tus qauv
VCC - VCC
GND - NCO
20 - TSA
21 - NCO
TSH 22
Arduino - HLB 22
VCC - 1 VCC
NCO - 4 GND
8-2 DATA cov ntaub ntawv
Relay moduleRelay module input txuas nrog tus pin 51 ntawm Arduino. Peb kuj txuas VCC thiab GND.
TSO DS1302
Arduino - DS1302
VCC - VCC
GND - NCO
11 - CEEB
10 - IAB
9 - KLS
Kauj ruam 3: Source Code
ESP8266 qhov kev pab cuam
ESP8266 qhov chaws tuaj yeem nrhiav tau ntawm GitHub. Rub tawm qhov program nrog ESP8266 Arduino IDE. Yog tias koj siv ESP-01 ces khaws DEBUG hauv cov lus. Txhawm rau kom DEBUG siv ESP8266 NODE MCU uas tso cai rau ib qho software ntxiv.
Arduino Mega 2560 program
Arduino Mega 2560 program muaj nyob ntawm GitHub.
Ua ntej koj rub qhov program mus rau Arduino raug pom zoo kom hloov cov kab hauv qab no:
#define DEFAULT_AP_SSID "XXXX"
#define DEFAULT_AP_PASSWORD "XXXX"
#define DEFAULT_CLOUD_USERNAME "XXXX"
#define DEFAULT_CLOUD_PASSWORD "XXXX"
Teeb lub npe nkag thiab lo lus zais thiab EasyIoT Cloud username thiab password. Tom qab koj tuaj yeem teeb tsa cov teeb tsa ntawm lub ntsuas cua sov kov lub vijtsam (Chaw-> WiFi Huab), tab sis nws yooj yim dua los hloov nws hauv qhov program. Qhov kev zov me nyuam yuav ntxiv ntsuas cua sov rau EasyIoT Cloud thiab teeb tsa cov qauv ntsuas. Tau kawg koj yuav tsum tso npe rau EasyIoT Cloud ua ntej.
Cov tsev qiv ntawv ntxiv nyob ntawm no: lib.
Kauj Ruam 4: teeb tsa EasyIoT Cloud
Automation
Peb lub ntsuas cua sov tseem qhia txog qhov kub thiab av nyob hauv lwm chav thiab sab nraum. Ua ntej ntxiv cov qauv no rau EasyIoT Cloud. Ntxiv peb qhov kev siv tshuab hluav taws xob mus rau tom ntej tus nqi ntawm cov ntsuas (ntsuas kub 1, av noo 1 thiab kub 2) rau lub ntsuas cua sov. Hauv kev siv tshuab (Configure-> Automation) ntxiv cov haujlwm tshiab thiab xaiv hom kev pab cuam rau Tus nqi Tom ntej. Tom qab ntawd xaiv cov qauv tsim nyog thiab ntsuas kom mus rau qhov tseem ceeb. Thermostat tsis yog cov hauv qab no:
Sensor. Parameter4 - kub 1
Sensor. Parameter5 - kub 2
Sensor. Parameter6 - av noo 1
Pom zoo:
Ua Rau Koj Tus IPod Touch's Screen Zoo Li Tshiab !!: 6 Cov Kauj Ruam
Ua Rau Koj Tus IPod Touch's Screen Zoo Li Tshiab !!: Qhov no Tej zaum yuav suab ruam, tab sis qhov no yog qhov zais cia ntawm cov khw kua thiab khw muag khoom zoo tshaj plaws, Qhov ntawd ua haujlwm tiag tiag! Thiab Christmas tab tom los Cov neeg muaj hmoo uas muaj Ib (lossis Cov Uas Yuav Tau Txais Ib Tus) Paub yuav ua li cas thiaj li ntxuav nws lub vijtsam kom raug. Nco
Ntse Thermostat ESP8266: 6 Cov Kauj Ruam (nrog Duab)
Ntse Thermostat ESP8266: Cov nyiaj tau los ntau dua hauv nouvel tsab xov xwm. On se retrouve aujourd'hui pour un projet que j'ai réalisé durant tout ce temps libre que m'a offert le kev kaw. Ce projet m'a été proposé par mon père, en effet il vient de déménager dans une vieille maison thiab
Xaiv Cov Kauj Ruam Tsav Tsheb thiab Tsav Tsheb rau Arduino Automated Shade Screen Project: 12 Cov Kauj Ruam (nrog Duab)
Xaiv Cov Kauj Ruam Tsav Tsheb thiab Tsav Tsheb rau Arduino Automated Shade Screen Project: Hauv Cov Lus Qhia no, Kuv yuav hla cov kauj ruam uas kuv tau xaiv los xaiv Lub Kauj Ruam Tsav Tsheb thiab Tsav Tsheb rau qhov ua piv txwv Automated Shade Screen project. Cov ntxaij vab tshaus ntxoov ntxoo yog qhov nrov thiab pheej yig Coolaroo tes cranked qauv, thiab kuv xav hloov
IoT Cov Ntaub Ntawv Kev Tshawb Fawb PiNet rau Lub Sijhawm Tiag Smart Screen Cov Ntaub Ntawv Viz: 4 Cov Kauj Ruam
IoT Cov Ntaub Ntawv Kev Tshawb Fawb PiNet rau Lub Sij Hawm Tiag Smart Screen Cov Ntaub Ntawv Viz: Koj tuaj yeem yooj yim ua ke IoT network ntawm cov lus qhia ntse rau cov ntaub ntawv pom tau los ua kom muaj zog ntxiv koj li kev tshawb fawb hauv Cov Ntaub Ntawv Kev Tshawb Fawb lossis ib qho kev ua haujlwm ntau. Koj tuaj yeem hu rau " thawb " ntawm koj cov phiaj rau cov neeg siv khoom raug cai los ntawm koj li
Kev Tshaj Tawm Thermostat Siv ESP8266/NodeMCU thiab Blynk: 7 Cov Kauj Ruam (nrog Duab)
Kev Tshaj Tawm Thermostat Siv ESP8266/NodeMCU thiab Blynk: Kuv nyuam qhuav yuav lub tshuab cua sov, uas yuav tsum tau pab kom kuv cov paj thiab cov noob zaub tawg ua ntej lub caij. Nws tuaj yam tsis muaj cua sov. Thiab vim tias qhov ntsuas sov tau kim heev, Kuv txiav txim siab ua kuv tus kheej. Raws li kuv xav siv