Cov txheej txheem:

IoT ESP8266 Series: 2- Saib Xyuas Cov Ntaub Ntawv Los Ntawm ThingSpeak.com: 5 Cov Kauj Ruam
IoT ESP8266 Series: 2- Saib Xyuas Cov Ntaub Ntawv Los Ntawm ThingSpeak.com: 5 Cov Kauj Ruam

Video: IoT ESP8266 Series: 2- Saib Xyuas Cov Ntaub Ntawv Los Ntawm ThingSpeak.com: 5 Cov Kauj Ruam

Video: IoT ESP8266 Series: 2- Saib Xyuas Cov Ntaub Ntawv Los Ntawm ThingSpeak.com: 5 Cov Kauj Ruam
Video: Next Videos - ESP32 Development Board (Web Server Project) 2024, Kaum ib hlis
Anonim
IoT ESP8266 Series: 2- Saib Xyuas Cov Ntaub Ntawv Los Ntawm ThingSpeak.com
IoT ESP8266 Series: 2- Saib Xyuas Cov Ntaub Ntawv Los Ntawm ThingSpeak.com

Nov yog ntu ob ntawm IoT ESP8266 Series. Txhawm rau pom ntu 1 xa mus rau IoT ESP8266 Series: 1 Txuas rau WIFI Router.

Ib feem no yog lub hom phiaj los qhia koj yuav ua li cas xa koj cov ntaub ntawv sensor mus rau ib qho ntawm IoT nrov dawb kev pabcuam huab https://thingspeak.com. Cov ntaub ntawv tuaj yeem yog cov ntaub ntawv koj yuav nkag siab xws li: Kub, Vaum, ntsuas huab cua hauv huab cua lossis txawm tias GPS qhov chaw nyob.

Kauj ruam 1: Teeb tsa ThingSpeak Channel

Teeb tsa ThingSpeak Channel
Teeb tsa ThingSpeak Channel
Teeb tsa ThingSpeak Channel
Teeb tsa ThingSpeak Channel
Teeb tsa ThingSpeak Channel
Teeb tsa ThingSpeak Channel
Teeb tsa ThingSpeak Channel
Teeb tsa ThingSpeak Channel

Qhib ThingSpeak.com

Txhawm rau teeb tsa koj li ThingSpeak teeb tsa ua cov theem hauv qab no

  1. Sau npe
  2. Ua tus channel tshiab
  3. Npe lub channel (piv txwv li Huab cua, yog tias koj tab tom saib xyuas cov ntaub ntawv huab cua)
  4. teeb Fields (piv txwv li Temp, yog tias koj zoo rau ntsuas kub). Koj tuaj yeem ntxiv txog 8 txoj hauv kev rau txhua lub channel
  5. Nco koj tus Channel ID
  6. Mus rau API Keys thiab nco koj li Sau API Key

Kauj Ruam 2: Cov Cheeb Tsam Xav Tau thiab Circuit

  1. ESP8266 ESP-12E NodeMCU
  2. ts USB kab
  3. Potentiometer
  4. Creadboard thiab xov hlau

Cov Potentiometer tso tawm mus rau A0 hauv ESP8266, ib sab rau GND thiab lwm qhov rau 3.3 V

Kauj ruam 3: Code

Code
Code

Rub tawm ThingSpeak Library thiab import nws.

Download tau kuv code

Teeb myChannelNumber ua rau koj tus lej Zauv uas koj tau nco qab lawm.

Teeb myWriteAPIKey rau koj Sau API Key uas koj twb tau nco txog lawm.

Kauj Ruam 4: Qhov tshwm sim

Qhov tshwm sim
Qhov tshwm sim

Txaus siab rau Saib koj cov ntaub ntawv

Kauj Ruam 5: Tshooj Tom ntej

Saib ntu 3 ntawm koob kom paub tswj ob lub LEDs los ntawm ThingSpeak thiab Android daim ntawv thov.

IoT ESP8266 Series: 3- ThingSpeak-Android Control NodeMCU's Ports

Pom zoo: