Cov txheej txheem:

Nodemcu Xa Cov Ntaub Ntawv Kub thiab Vaum mus rau Thingspeak: 7 Kauj Ruam
Nodemcu Xa Cov Ntaub Ntawv Kub thiab Vaum mus rau Thingspeak: 7 Kauj Ruam

Video: Nodemcu Xa Cov Ntaub Ntawv Kub thiab Vaum mus rau Thingspeak: 7 Kauj Ruam

Video: Nodemcu Xa Cov Ntaub Ntawv Kub thiab Vaum mus rau Thingspeak: 7 Kauj Ruam
Video: Расшифровка пультов дистанционного управления гаражными воротами 2024, Kaum ib hlis
Anonim
Nodemcu Xa Cov Ntaub Ntawv Kub thiab Vaum mus rau Thingspeak
Nodemcu Xa Cov Ntaub Ntawv Kub thiab Vaum mus rau Thingspeak

Nov ntawm qhov kev qhia no peb tau cuam tshuam nrog nodemcu nrog dht11 sensor thiab xa cov ntsuas kub thiab av noo mus rau yam khoom hais lus. Ntawm no peb kuj tseem npaj cov duab ntawm qhov kub thiab txias rau cov khoom server.

Kauj Ruam 1: Siv Software:

Siv Software
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 kauj ruam hauv qab no.

Kauj Ruam 2: Cheeb Tsam Siv:

Cheebtsam Siv
Cheebtsam Siv
Cheebtsam Siv
Cheebtsam 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:

Yuav Kho Li Cas Nodemcu hauv Arduino IDE
Yuav Kho Li Cas Nodemcu hauv Arduino IDE
Yuav Kho Li Cas Nodemcu hauv Arduino IDE
Yuav Kho Li Cas Nodemcu hauv Arduino IDE
Yuav Kho Li Cas Nodemcu hauv Arduino IDE
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: Thingspeak Ua Haujlwm:

Thingspeak Ua Haujlwm
Thingspeak Ua Haujlwm
Thingspeak Ua Haujlwm
Thingspeak Ua Haujlwm
Thingspeak Ua Haujlwm
Thingspeak Ua Haujlwm

Yog li txog tam sim no koj tau txais software thiab Cheebtsam siv hauv txoj haujlwm no.

Yog li tam sim no koj yuav tsum nkag siab yam hais lus Server.

Yog li dab tsi yog dab tsi: ThingSpeak yog qhov qhib qhov Internet ntawm Yam (IoT) daim ntawv thov thiab API khaws thiab khaws cov ntaub ntawv los ntawm yam khoom siv HTTP raws tu qauv hauv Is Taws Nem lossis los ntawm Ib Cheeb Tsam Hauv Cheeb Tsam.

Yog li kom tau txais cov duab thiab cov ntaub ntawv sensor hauv yam khoom ua ntej koj yuav tsum tsim tus as khauj hauv yam khoom siv.

Tom qab ua tiav kev tsim tus lej tam sim no koj yuav tsum nkag mus rau hauv tus as khauj.

Tam sim no koj yuav tsum tsim cov channel yog li rau qhov nyem rau New Channels uas tau qhia hauv daim duab saum toj no.

Tam sim no muab nws lub npe tsim nyog raws li koj Daim Ntawv Thov raws li hauv daim duab saum toj no koj tuaj yeem pom peb tau muab lub npe DHT11 sensor cov ntaub ntawv thiab sau qee yam xws li kev piav qhia thiab daim teb 1 thiab teb 2.

Peb tuaj yeem tsim txog li 8 daim teb rau ib qho channel. Ntawm no peb xav tau tsuas yog 2 txoj hauv kev raws li peb tau txais qhov kub thiab txias los ntawm dht11 sensor.

Tam sim no tom qab ua tiav kev tsim cov channel koj yuav tsum mus rau API Keys tab thiab tau txais Sau API Key ntawm cov channel no Sau API Key koj yuav siv hauv koj li nodemcu code sau hauv Arduino IDE.

Kauj Ruam 5: Daim duab Circuit:

Daim duab kos duab
Daim duab kos duab

Kauj Ruam 6: Code:

Koj tuaj yeem tau txais cov cai los ntawm peb Github Txuas

Kauj Ruam 7: Video:

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: