Cov txheej txheem:

ThingSpeak Siv ESP8266: 8 Cov Kauj Ruam
ThingSpeak Siv ESP8266: 8 Cov Kauj Ruam

Video: ThingSpeak Siv ESP8266: 8 Cov Kauj Ruam

Video: ThingSpeak Siv ESP8266: 8 Cov Kauj Ruam
Video: ESP8266 Programmazione con ESP-IDF ed interfacciamento di un sensore 2024, Kaum ib hlis
Anonim
ThingSpeak Siv ESP8266
ThingSpeak Siv ESP8266
ThingSpeak Siv ESP8266
ThingSpeak Siv ESP8266

Nov yog cov lus qhia siv ESP32 xa cov ntaub ntawv mus rau Yam Hais (MQTT Broker) thiab tsuas yog pom cov ntaub ntawv saib xyuas lossis siv cov ntaub ntawv ntawm koj lub vev xaib lossis nthuav koj txoj haujlwm.

Khoom siv

ESP8266: MCU/WiFi module

BME280: Lub ntsuas kub

Jumper Cables

micro USB Cable

Kauj Ruam 1: Txheeb Nyiaj Nrog Yam Hais Lus (Matlab)

Ua Tus Account Nrog Yam Hais Lus (Matlab)
Ua Tus Account Nrog Yam Hais Lus (Matlab)
Ua Tus Account Nrog Yam Hais Lus (Matlab)
Ua Tus Account Nrog Yam Hais Lus (Matlab)

Ua tus as khauj los siv Yam Hais Lus

Hais lus Sau npe

Koj yuav pom tus lej API thiab ChannelID ntawm daim duab thib ob

Kauj ruam 2: Rub tawm Arduino IDE

Rub tawm Arduino IDE
Rub tawm Arduino IDE

Ua ntej rub tawm Arduino IDE los ntawm qhov txuas hauv qab no

Download tau Arduino IDE

※ Xaiv qhov tseeb version rau koj OS

Kauj Ruam 3: Teeb Arduino IDE

Teeb Arduino IDE
Teeb Arduino IDE
Teeb Arduino IDE
Teeb Arduino IDE
Teeb Arduino IDE
Teeb Arduino IDE

Mus rau File/Preference/(Windows) Arduino/Preference (Mac)

Ntxiv qhov txuas hauv qab no rau "Tus Thawj Saib Xyuas Haujlwm Ntxiv URLs"

"https://arduino.esp8266.com/stable/package_esp8266c …"

Tom qab ntawd mus rau Cov Cuab Yeej/Pawg Thawj Coj/Cov Thawj Tswj

Ntaus "ESP8266" thiab teeb tsa pawg thawj coj saib.

Mus rau Cov Cuab Yeej/Pawg Thawj Coj thiab xaiv "NodeMCU 1.0"

Tom qab ntawd mus rau Sketch/suav nrog Lub Tsev Qiv Ntawv/Tswj Lub Tsev Qiv Ntawv

Tshawb nrhiav "ThingSpeak" thiab rub "ThingSpeak los ntawm MathWorks"

Tshawb nrhiav "BME280" thiab rub tawm "BME280 los ntawm Tyler Glenn"

Kauj Ruam 4: Nruab Tus Tsav Tsheb rau ESP

Ntawm ESP8266 thiab ESP32 modules chips zoo li Silicon labs CP2104 lossis CH403G tau siv ua USB rau UART txhawm rau tsim kev sib txuas lus nrog koj lub computer.

Yog tias koj muaj lub rooj tsav xwm nrog lub xwm fab xwm txheej ze ntawm USB uas yuav yog CP2104

CP2104 Tsav Tsheb

Yog tias koj muaj lub rooj tsav xwm nrog cov duab plaub nyob ze ntawm USB uas yuav yog CH403G

CH403G Tsav Tsheb

Kauj Ruam 5: Txuas Cov Khoos Phis Tawj

Txuas Cov Khoom Kho Vajtse
Txuas Cov Khoom Kho Vajtse

Txuas lub Sensor thiab ESP8266 raws li daim duab saum toj no.

Pom zoo: