Cov txheej txheem:

NodeMCU Lua Pheej Yig 6 $ Board nrog MicroPython Kub thiab Vaum Logging, Wifi thiab Txawb Stats: 4 Cov Kauj Ruam
NodeMCU Lua Pheej Yig 6 $ Board nrog MicroPython Kub thiab Vaum Logging, Wifi thiab Txawb Stats: 4 Cov Kauj Ruam

Video: NodeMCU Lua Pheej Yig 6 $ Board nrog MicroPython Kub thiab Vaum Logging, Wifi thiab Txawb Stats: 4 Cov Kauj Ruam

Video: NodeMCU Lua Pheej Yig 6 $ Board nrog MicroPython Kub thiab Vaum Logging, Wifi thiab Txawb Stats: 4 Cov Kauj Ruam
Video: NodeMCU V3 ESP8266 - обзор, подключение и прошивка в Arduino IDE 2024, Hlis ntuj nqeg
Anonim
NodeMCU Lua Pheej Yig 6 $ Board nrog MicroPython Kub thiab Vaum Logging, Wifi thiab Txawb Stats
NodeMCU Lua Pheej Yig 6 $ Board nrog MicroPython Kub thiab Vaum Logging, Wifi thiab Txawb Stats
NodeMCU Lua Pheej Yig 6 $ Board nrog MicroPython Kub thiab Vaum Logging, Wifi thiab Txawb Stats
NodeMCU Lua Pheej Yig 6 $ Board nrog MicroPython Kub thiab Vaum Logging, Wifi thiab Txawb Stats

Qhov no yog huab cua huab cua chaw nres tsheb, koj tuaj yeem tshawb xyuas cov ntaub ntawv ntawm koj lub xov tooj lossis siv qee lub xov tooj raws li cov duab nyob nrog NodeMCU lub cuab yeej koj tuaj yeem sau cov ntaub ntawv ntsuas kub thiab av noo sab nraum, hauv chav, tsev cog khoom, lab, chav txias lossis lwm qhov chaw dawb kiag li.

Cov cuab yeej yuav txuas nrog internet ntawm Wifi

Koj yuav tuaj yeem tshawb xyuas qhov kev nyeem tshiab kawg ntawm koj lub xov tooj ntawm tes, desktop lossis lwm yam khoom siv nrog browser

Khoom siv:

Koj tuaj yeem yuav cov cuab yeej xav tau ntawm no (tsawg kawg xav tau):

  • NodeMcu Lua V3 CH340G ESP8266 Development Board
  • micro USB cable
  • DHT22 module nrog cable

Kuj zoo kom muaj:

  • USB charger rau Fais fab koj lub cuab yeej
  • Waterproof thaiv

Kauj Ruam 1: Ntxiv Koj Cov Ntaus rau Logging Platform

Ntxiv koj lub cuab yeej rau Logging Platform
Ntxiv koj lub cuab yeej rau Logging Platform

Ntawm no koj tuaj yeem ntxiv koj lub cuab yeej kom tau txais cov yuam sij api xav tau tom qab:

Kauj Ruam 2: Kev Kho Vajtse Txuas

Kho vajtse txuas
Kho vajtse txuas

Txuas DHT22 Tawm rau NodeMCU D2

Txuas DHT22 + rau NodeMCU 3V

Txuas DHT22 - rau NodeMCU GND

Daim duab piv txwv ntawm daim duab

Kauj Ruam 3: Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)

Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)
Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)
Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)
Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)
Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)
Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)
Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)
Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)

Txuas lub cuab yeej rau USB ntawm koj Windows PC Rub tawm thiab nruab Python ntawm no:

Rub tawm thiab khiav uPyCraft IDE cov cuab yeej los nyem koj NodeMCU ntawm no: uPyCraft.exe

Xaiv COM chaw nres nkoj (qhov no yog tus lej ntau dua yog tias koj tsis muaj lwm yam khoom siv txuas nrog) raws li ntawm daim duab 1

Hlawv microPython rub tawm firmware rau lub cuab yeej raws li ntawm daim duab 2

Yog tias koj muaj pyBoard lossis ntaus ntawv nrog preloaded firmware koj tuaj yeem hla cov kauj ruam no

Rub tawm MicroPython firmware rau NodeMCU ntawm no:

Upload LoggingForest cov cai yooj yim piv txwv rau ntaus ntawv

Rub tus lej piv txwv ntawm no: main.py

Siv cov ntawv qhia zaub mov-> Txuag nplooj ntawv lossis CTRL+S txhawm rau rub tawm los ntawm nplooj ntawv no main.py

Tam sim no qhib cov ntawv hauv uPiCraft cov cuab yeej thiab hloov pauv tsis tau txais ntawm loggingforest.com lub vev xaib raws li ntawm qhov screen 3

Rub tawm thiab Khiav raws li ntawm qhov screen 4

Kauj Ruam 4: Txheeb Cov Ntaub Ntawv ntawm LoggingForest Platform

Txheeb Cov Ntaub Ntawv ntawm LoggingForest Platform
Txheeb Cov Ntaub Ntawv ntawm LoggingForest Platform
Txheeb Cov Ntaub Ntawv ntawm LoggingForest Platform
Txheeb Cov Ntaub Ntawv ntawm LoggingForest Platform
Txheeb Cov Ntaub Ntawv ntawm LoggingForest Platform
Txheeb Cov Ntaub Ntawv ntawm LoggingForest Platform
Txheeb Cov Ntaub Ntawv ntawm LoggingForest Platform
Txheeb Cov Ntaub Ntawv ntawm LoggingForest Platform

Tom qab ntawd koj lub cuab yeej yuav pib xa cov ntaub ntawv mus rau kev txiav ntoo thiab koj tuaj yeem pom nws nyob ntawd Hauv kev txiav ntoo txiav ntoo hloov kho tsuas yog txhais lub npe tsis raug thiab qhov txiaj ntsig zoo li ntawm qhov screen 1

Nyem rau saib ua ntej raws li ntawm qhov screen 2

Thiab koj yuav pom cov ntaub ntawv zoo li ntawm qhov screen 3

Xav tias dawb los tawm tswv yim thiab qhia tawm koj lub logger, kuv pom ntawm daim duab 4

Pom zoo: