Cov txheej txheem:
- Kauj ruam 1:
- Kauj Ruam 2: Tsim Tus Txheej Txheem Tshiab ntawm Firebase
- Kauj Ruam 3: Ntxiv Tus Tswv Lub Npe/Database Tus Kheej Tseem Ceeb rau Arduino Sketch
- Kauj Ruam 4: Txuas Koj NodeMCU mus rau WiFi
- Kauj Ruam 5: Ua tiav Arduino Sketch
- Kauj Ruam 6: Tshaj Tawm Arduino Sketch rau NodeMCU
- Kauj Ruam 7: Tsim Web Progressive Web App rau Kev Tswj Ntxiv
Video: Yuav Ua Li Cas Sau Cov Ntaub Ntawv Los ntawm Firebase Database ntawm NodeMCU: 7 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Txog qhov kev qhia no, peb yuav nqa cov ntaub ntawv los ntawm cov ntaub ntawv hauv Google Firebase thiab nqa nws siv NodeMCU rau kev txheeb xyuas ntxiv.
YUAV TSUM MUAJ TSHAJ PLAWS:
1) NodeMCU lossis ESP8266 Tus Tswj
2) G-Mail tus account rau tsim Firebase database.
3) Rub tawm Firebase Arduino IDE Library thiab nruab nws ntawm Arduino IDE.
Kauj ruam 1:
Kauj Ruam 2: Tsim Tus Txheej Txheem Tshiab ntawm Firebase
Cias taub hau mus rau Firebase console thiab nyem rau ntawm Ntxiv Project.
Thaum qhov ntawd ua tiav, lub taub hau mus rau Database tab thiab ntxiv Lub Sijhawm Sijhawm Ruaj Ntseg.
Kauj Ruam 3: Ntxiv Tus Tswv Lub Npe/Database Tus Kheej Tseem Ceeb rau Arduino Sketch
Luam tus tswv lub npe los ntawm sab saum toj ntawm cov ntaub ntawv thiab Database Cov Ntsiab Cai Tseem Ceeb los ntawm Chaw> Qhov Chaw Teeb Meem> KEV LAG LUAM QHIA> DATABASE Secrets.
Siv cov ntsiab lus no thaum pib Firebase hauv Teeb code. Piv txwv li:
Firebase.begin ("doit-data.firebaseio.com", "lGkRasLexBtaXu9FjKwLdhWhSFjLK7JSxJWhkdJo");
Kauj Ruam 4: Txuas Koj NodeMCU mus rau WiFi
Ntxiv kab hauv qab no rau koj Arduino Sketch los txuas koj NodeMCU rau lub router:
WiFi.begin ("SSID", "p@ssword");
Hloov SSID nrog SSID ntawm koj lub router thiab p@ssword nrog tus password nkag mus.
Kauj Ruam 5: Ua tiav Arduino Sketch
Lub tsev qiv ntawv Firebase/Arduino muab ntau txoj haujlwm los ua kom yooj yim nkag mus rau Firebase Database:
FirebaseObject kwv = Firebase.get ("/");
Tom qab txuas mus rau Firebase siv qhov pib hais kom ua, cov lus txib saum toj no pab koj kom khaws tag nrho cov ntaub ntawv khaws tseg, uas tom qab ntawd tuaj yeem txheeb xyuas ntxiv siv cov Khoom Siv Firebase ntxiv.
classFirebaseObject
Sawv cev tus nqi khaws cia hauv firebase, tej zaum yuav yog tus nqi ib leeg (nplooj node) lossis cov qauv ntoo.
int getInt (const Txoj hlua & txoj hauv kev)
Txoj haujlwm no tuaj yeem pab koj kom tau txais tus nqi sib npaug khaws cia ntawm txoj hauv kev hais.
Txoj hlua getString (const String & path)
getString tau txais txoj hlua khaws cia hauv tus lej muab (hais hauv txoj hauv kev).
Kauj Ruam 6: Tshaj Tawm Arduino Sketch rau NodeMCU
Ua kom ntseeg tau tias Pawg Thawj Coj tau xaiv kom raug thiab qhov chaw nres nkoj raug siv.
Xa mus rau qhov piv txwv piv txwv rau cov lus qhia ntxaws ntxiv.
Kauj Ruam 7: Tsim Web Progressive Web App rau Kev Tswj Ntxiv
Txhawm rau txuas ntxiv kev ua haujlwm hauv IoT lub ntiaj teb, koj tuaj yeem tsim Lub Vev Xaib Progressive Web zoo li uas tuaj yeem txuas ntxiv kev ua haujlwm rau Android/iOS smartphones. Kuj ceeb tias, ua PWA xav tau kev paub tsawg kawg ntawm Android Kev Txhim Kho thiab yog lub vev xaib nkaus xwb. Yog li, peb tuaj yeem tswj hwm cov ntaub ntawv siv NodeMCU ntxiv rau PWA.
Pom zoo:
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): 3 Cov Kauj Ruam
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): Peb txhua tus nyiam ua si nrog peb tus lej L … cov ntsiab lus tau ntxiv thiab nws tsis tshwj xeeb rau lub qhov muag. Arduino IDE cov phiaj xwm tsis
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
Txoj hauv kev zoo dua los Saib/Ntaub Ntawv Cov Ntaub Ntawv ntawm Cov Lus Qhia: 4 Cov Kauj Ruam
Txoj hauv kev zoo dua los Saib/Cov Ntaub Ntawv ntawm Kev Qhia: Tib neeg feem ntau suav nrog cov ntaub ntawv rau qhov haujlwm ntawm Instructables upload.Ua ntej qhov no yog software cov ntaub ntawv cov ntaub ntawv uas tej zaum tseem yuav yog lub plawv dhia ntawm kev qhia. Tab sis Instructables tsis muab txoj hauv kev rau tus nyeem yooj yim nyeem thiab tshuaj xyuas cov cai. (
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