Cov txheej txheem:
- Kauj Ruam 1: Siv Software:
- Kauj Ruam 2: Cov Khoom Siv:
- Kauj Ruam 3: Yuav Kho Li Cas Nodemcu hauv Arduino IDE
- Kauj Ruam 4: Daim duab Circuit:
- Kauj ruam 5: Code:
- Kauj Ruam 6: Yees Duab:
Video: Yuav Ua Li Cas Xa DHT11 Cov Ntaub Ntawv rau MySQL Server Siv NodeMCU: 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv Txoj Haujlwm no peb tau cuam tshuam DHT11 nrog nodemcu thiab tom qab ntawd peb tab tom xa cov ntaub ntawv ntawm dht11 uas yog cov av noo thiab kub mus rau phpmyadmin database.
Kauj Ruam 1: Siv Software:
1. Arduino IDE: Raws li nodemcu peb tab tom siv arduino IDE nkaus xwb. Koj tuaj yeem rub tawm qhov tseeb Arduino IDE los ntawm qhov txuas no:
www.arduino.cc/en/Main/Software
Tam sim no yuav teeb tsa nodemcu rau arduino IDE li cas, peb yuav qhia koj qhov ntawd hauv cov theem hauv qab no.
2. Kev teeb tsa XAMPP server: Ntawm no peb siv XAMPP server nws tuaj yeem siv tau ob qho tib si hauv lub qhov rais thiab Linux, tab sis kuv qhov lus pom yog tias yog koj nyob hauv Ubuntu (Txhua lub platform Linux) tom qab ntawd mus nrog LAMP. Tam sim no txij li peb nyob hauv windows yog li peb tau nyiam XAMPP server. Yog li koj tuaj yeem rub tawm XAMPP server los ntawm qhov txuas no. Ib qho ntxiv ntawm no yog cov kauj ruam rau LAMP server:
1. Nruab Apache
sudo apt-tau nruab apache2
2. Nruab MySQL:
sudo apt-tau nruab mysql-server
3. Nruab PHP:
sudo apt-tau nruab php5 libapache2-mod-php5
4. Restart Server:
sudo /etc/init.d/apache2 rov pib dua
5. Txheeb xyuas Apache https:// localhost/
koj yuav tau txais ib nplooj ntawv apache los ntawm nyem qhov txuas saum toj no yog tias koj tsis tau txais nws txhais tau tias muaj qee yam tsis raug nrog koj teeb tsa
Ntawm no peb tab tom siv PHPMYADMIN uas yog lub vev xaib sib tham ntawm MySQL server yog li txhawm rau txhim kho qhov kev siv hais kom ua:
sudo apt-tau nruab phpmyadmin
Kauj Ruam 2: Cov Khoom Siv:
1) Node MCU V3: Node MCU yog qhov qhib IOT platform. Nws suav nrog cov khoom siv uas khiav ntawm ESP8266 Wi-Fi SoC los ntawm kho vajtse uas yog raws li ESP-12 module. Lub sij hawm "Node MCU" los ntawm lub hauv paus hais txog lub firmware ntau dua li cov khoom siv dev.
2) DHT11 sensor: Qhov DHT11 Kub thiab Vaum Sensor nta qhov ntsuas ntsuas cov teeb liab tso tawm nrog qhov ntsuas kub thiab av noo lub peev xwm. Nws tau koom ua ke nrog kev ua haujlwm siab 8-ntsis microcontroller. Nws cov cuab yeej siv ua kom ntseeg tau zoo thiab ruaj khov mus sij hawm ntev zoo. Qhov ntsuas no suav nrog lub hauv paus tiv thaiv thiab lub ntsuas rau ntub NTC ntsuas cov ntsuas kub. Nws muaj qhov ua tau zoo tshaj plaws, teb tau sai, muaj peev xwm tiv thaiv kev cuam tshuam thiab ua haujlwm tau zoo.
Kauj Ruam 3: Yuav Kho Li Cas Nodemcu hauv Arduino IDE
Hauv qab no yog cov kauj ruam los teeb tsa nodemcu hauv arduino IDE
Saum toj no I1, I2 thiab I3 cov duab muaj nyob rau qhov siv uas peb yuav siv rau peb cov ntawv ua kom koj nkag siab
Kauj Ruam 1: Ua ntej koj yuav tsum qhib Arduino IDE.
Kauj ruam 2: Tam sim no nyem rau ntawm qhov nyiam tab zoo li I1 duab. Tam sim no koj yuav tsum tau luam ib qho URL hauv tus thawj tswj hwm ntxiv. Nov yog qhov URL- https://arduino.esp8266.com/stable/package_esp8266… ces nyem ok
Kauj Ruam 3: Tam sim no mus rau Cov Cuab Yeej ces xaiv Pawg Thawj Coj. koj yuav tau txais ib lub qhov rais zoo li I2.
Tsuas yog nqes mus rau ntawm lub qhov rai ntawd thiab tshawb rau esp8266 los ntawm ESP8266 Zej Zog lossis koj tuaj yeem tshawb ncaj qha esp8266 los ntawm kev ntaus ntawm qhov kev xaiv tshawb nrhiav, tam sim no nyem rau ntawm lub pob install.
Kauj ruam 4: Rov pib dua koj Arduino IDE
Kauj ruam 5: Tam sim no mus rau Cov Cuab Yeej ces Xaiv koj lub cuab yeej nodemcu raws li peb tau qhia hauv I3 duab
Kauj Ruam 4: Daim duab Circuit:
Kauj ruam 5: Code:
Koj tuaj yeem tau txais cov cai los ntawm peb Github Txuas
Kauj Ruam 6: Yees Duab:
Kev piav qhia tag nrho Txoj Haujlwm tau muab rau hauv cov vis dis aus saum toj no
Yog tias koj muaj kev tsis ntseeg txog txoj haujlwm no thov tawm lus rau peb hauv qab no. Thiab yog tias koj xav kawm paub ntau ntxiv txog kev teeb tsa kab ke koj tuaj yeem mus ntsib peb tus youtube channel
Thov mus saib thiab nyiam peb Facebook nplooj ntawv rau hloov tshiab tas li.
Ua tsaug & Ua tsaug, Embedotronics yees
Pom zoo:
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card - DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: 5 Cov Kauj Ruam
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card | DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: Taw qhia: nyob zoo, qhov no yog Liono Maker, ntawm no yog YouTube txuas. Peb tab tom tsim txoj haujlwm muaj tswv yim nrog Arduino thiab ua haujlwm ntawm cov kab ke. Cov ntaub ntawv-Logger: Cov ntaub ntawv logger (tseem cov ntaub ntawv-logger lossis cov ntaub ntawv kaw) yog cov cuab yeej siv hluav taws xob uas sau cov ntaub ntawv dhau sijhawm
RAWS LI COV NTAUB NTAWV NTSEEG NTAWV NTAWV MUAJ NTAWV TSHUAJ NTAWV TSO CAI RAU RASPBERRY PI: 6 Kauj Ruam (nrog Duab)
RAWS LI COV NTAUB NTAWV NTAWV MUAJ NTAWV TSHUAJ NTXIV RAU RASPBERRY PI: Hauv qhov haujlwm no, peb yuav txuas peb ntawm Atlas Scientific's EZO sensors (pH, yaj cov pa thiab kub) mus rau Raspberry Pi 3B+. Hloov chaw ntawm txuas cov kab hluav taws xob mus rau Raspberry Pi, peb yuav siv Whitebox Labs Tentacle T3 daim ntaub thaiv. T
Arduino Xa Dht11 Cov Ntaub Ntawv rau MySQL Server (PHPMYADMIN) Siv Python: 5 Cov Kauj Ruam
Arduino Xa Dht11 Cov Ntaub Ntawv rau MySQL Server (PHPMYADMIN) Siv Python: Hauv Txoj Haujlwm no kuv tau cuam tshuam DHT11 nrog arduino thiab tom qab ntawd kuv xa cov ntaub ntawv ntawm dht11 uas yog qhov av noo thiab kub mus rau phpmyadmin database. Tsis zoo li peb txoj haujlwm yav dhau los peb tsis tau siv ib qho thaiv ethernet hauv qhov no, ntawm no peb tsuas yog nyeem t
Yuav Ua Li Cas Thiaj Nkag Dvd Cov Ntaub Ntawv kom Ruaj Ntseg Tseg Koj Cov Ntaub Ntawv: 8 Kauj Ruam
Yuav Ua Li Cas Thiaj Nkag Dvd Cov Ntaub Ntawv kom Ruaj Ntseg Koj Cov Ntaub Ntawv.: Kuv pom qhov no yog txoj hauv kev yooj yim heev los ua encrypted dvd zoo heev rau kev ruaj ntseg rau koj cov ntaub ntawv.Kuv siv PGP desktop los ua ENCRYPTED VIRTUAL DRIVER (EVD). Nco tseg: PGP desktop tsis yog lub freeware koj xav tau yuav lub software tech-piersrsr Tom qab koj teeb tsa
Yuav Nyuaj Li Cas Koj Psp Backups 'ISO Cov Ntaub Ntawv rau hauv CSO Cov Ntaub Ntawv kom Txuag Chaw: 4 Kauj Ruam
Yuav Nyuaj Li Cas Koj Psp Backups 'ISO Cov Ntaub Ntawv rau hauv CSO Cov Ntaub Ntawv kom Txuag Chaw.: Hauv qhov kev qhia no Kuv yuav qhia koj yuav ua li cas thiaj li nrawm koj li psps' thaub qab los ntawm ISO rau CSO kom txuag chaw ntawm koj lub cim xeeb lo, siv tsuas yog ib qho ntawm cov software uas yog siv tau nrog Wine Hauv Ubuntu. Koj tseem yuav xav tau CFW (Cusstom Firm-Ware) psp los ua