Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom Uas Koj Xav Tau
- Kauj Ruam 2: Sau Npe Rau AskSensors
- Kauj Ruam 3: Sau Txoj Cai
- Kauj ruam 4: Khiav Code
- Kauj ruam 5: Ua tiav
Video: Yuav Ua Li Cas Txuas ESP8266 NodeMCU rau IoT Cloud: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Cov lus qhia no qhia koj yooj yim Internet ntawm Yam ua piv txwv siv ESP8266 NodeMCU thiab kev pabcuam online IoT hu ua AskSensors. Peb ua rau koj pom sai npaum li cas tau txais cov ntaub ntawv los ntawm ESP8266 HTTPS tus thov thiab npaj nws hauv kab lus rau hauv AskSensors IoT Platform.
Kauj Ruam 1: Cov Khoom Uas Koj Xav Tau
Txhawm rau ua raws nrog cov lus qhia no koj yuav xav tau yooj yim:
- Khoos phis tawj siv software arduino
- ESP8266 Node MCU
- USB micro cable txuas lub MCU ntawm lub computer.
Kauj Ruam 2: Sau Npe Rau AskSensors
Ua ntej, Tsim tus lej tshiab ntawm AskSensors. Koj yuav tau txais email uas muaj txhua cov lus qhia uas koj xav tau ua raws rau tus ID nkag mus (Nws yooj yim heev).
Ua raws cov lus qhia pib no uas piav qhia koj li cas tsim thiab teeb tsa lub Sensor tshiab yog li peb yuav tuaj yeem sau cov ntaub ntawv rau lub ntsuas cua no. Nov yog cov kauj ruam tseem ceeb:
- Nyem rau 'Sensor tshiab' los tsim kev sib txuas lus channel nrog tus lej tshwj xeeb thiab Api Keys. Muab lub npe thiab lus piav qhia rau koj lub sensor.
- Ntxiv ib qho qauv rau cov ntaub ntawv koj yuav npaj.
- Luam tawm qhov Api Key Hauv tus nqi. Peb yuav siv tus lej ESP8266 tom qab.
Kauj Ruam 3: Sau Txoj Cai
Piv txwv li kos duab thiab ESP8266 WIFI cov tsev qiv ntawv muaj nyob hauv github. Qhov muab cov cai tau npaj siv raws li yog. Nws txuas ESP8266 mus rau wireless network ua HTTPS tus thov, thiab tom qab ntawd thawb cov ntaub ntawv mus rau AskSensors txhua 25 vib nas this. Koj yuav tsum tau sau cov hauv qab no:
- Koj li WIFI SSID thiab tus password.
- Tus Api Key Hauv tsim ua ntej los ntawm AskSensors.
- Yog tias xav tau, lub sijhawm nruab nrab ntawm ob qhov kev hloov pauv cov ntaub ntawv txuas ntxiv (teeb tsa rau 25 thib ob hauv qhov piv txwv no).
// Wifi teeb tsa
const char* wifi_ssid = "………."; // SSID const char* wifi_password = "………."; // WIFI
const char* apiKeyIn = "………."; // API KEY IN, piv txwv: FALOAPPKH17ZR4Q23A8U9W0XPJL0F6OG
ncua (25000); // ncua 25sec
Kauj ruam 4: Khiav Code
- Qhib Arduino IDE thiab xa cov cai rau hauv ESP8266 nodeMCU. Ua raws cov lus qhia no yog tias koj tseem xav tau pib nrog kev sau ntawv ESP8266 ESP-12E NodeMCU siv Arduino IDE.
- Rov qab mus rau koj nplooj ntawv sensor ntawm nugSensors, nyem rau ntawm 'pom kev' thiab 'Qhia Duab' los saib koj cov ntaub ntawv sensor hauv kab duab.
-
Qhib cov davhlau ya nyob twg. Koj tuaj yeem hla kev txheeb xyuas kab ntawv nyeem nrog cov txiaj ntsig tau luam tawm ntawm koj Arduino Terminal.
Kauj ruam 5: Ua tiav
Qhov ntawd yog nws!
Ua tsaug rau kev nyeem phau ntawv qhia no!
Koj tuaj yeem sim ntau cov lus qhia ntawm no.
Thaum kawg, koj cov lus tawm tswv yim yuav zoo siab. thov tawm cov lus hauv qab no!
Pom zoo:
Txuas Txuas Txuas Txuas: 5 Cov Kauj Ruam
Txuas Txuas Lub Sijhawm: Nyob Zoo! Hauv qhov kev qhia no koj yuav pom yuav ua li cas txuas nrog ib qho khoom siv Arduino sib xws, nruab nrog WiFi, rau REST APIs! Qhov no siv GitKraken Glo Board webapp los tsim cov laug cam, kab & daim npav los npaj khoom! Qee qhov kev paub ntawm yuav ua li cas pej xeem
Yuav Ua Li Cas Txuas Cov Av Moisture Sensor thiab ESP8266 rau AskSensors IoT Cloud: 10 Kauj Ruam
Yuav Ua Li Cas Txuas Cov Av Moisture Sensor thiab ESP8266 rau AskSensors IoT Cloud: Cov lus qhia no qhia koj yuav ua li cas txuas koj cov av noo noo thiab ESP8266 mus rau IoT huab. uas ntsuas cov ntsiab lus volumetric ntawm cov dej sab hauv yog li
Kev Sib Txuas Txuas Txuas Txuas Siv Bluefruit: 4 Cov Kauj Ruam
Kev Sib Txuas Tsis Sib Txuas Siv Bluefruit: Nov yog cov lus qhia yooj yim los ntawm kauj ruam qhia los hloov koj cov xov hlau nrog bluetooth tsis muaj zog txuas: Nws coj kuv ib pliag los daws qhov no vim tias tsis muaj cov ntaub ntawv hais txog kev ua qhov no nrog bluetooth niaj hnub tsis muaj zog thev naus laus zis raws li Bluefrui
EZ Kev Sib Txuas Txuas Txuas Txuas Ntxiv - Tsis Muaj Tus Kheej! (CSRC-311): 7 Kauj Ruam
EZ Kev Sib Txuas Txuas Txuas Txuas Ntxiv - Tsis Muaj Tus Kheej! (CSRC-311): Tsis ntev dhau los ntawm Azamom.com (thov txim, tam sim no tau muag tawm) Kuv tau hla qhov kev pom zoo zoo ntawm Common Sense RC CSRC-311 tus qauv-siv servos.Noj zoo, Kuv xav hloov qee yam ntawm tsis tu ncua kev sib hloov. Txoj kev kuv tuaj nrog yog yooj yim heev thiab xav tau
Cov lus qhia rau Ua Plaub Qhov Kev Txuas Txuas Txuas Rau Qhov Chaw Mounted Footrest: 9 Cov Kauj Ruam (nrog Duab)
Cov lus qhia rau Ua Plaub Qhov Kev Txuas Txuas Txuas Rau Lub Hauv Paus Mounted Footrest: Mid-drive fais fab log lub rooj zaum (PWC) tau dhau los ua neeg nyiam nyob rau xyoo tas los no. Txawm li cas los xij, vim qhov kev tso rau pem hauv ntej casters, cov tsoos sab-mounted footrests tau hloov los ntawm ib qho chaw nruab nrab-footrest. Hmoov tsis zoo, center-mou