Cov txheej txheem:

Yuav Ua Li Cas Thiaj Li Tiv Thaiv Kab Mob COVID 19 Nyob Nrog Cov Ntaub Ntawv ESP8266, E-ntawv Zaub: 7 Kauj Ruam
Yuav Ua Li Cas Thiaj Li Tiv Thaiv Kab Mob COVID 19 Nyob Nrog Cov Ntaub Ntawv ESP8266, E-ntawv Zaub: 7 Kauj Ruam

Video: Yuav Ua Li Cas Thiaj Li Tiv Thaiv Kab Mob COVID 19 Nyob Nrog Cov Ntaub Ntawv ESP8266, E-ntawv Zaub: 7 Kauj Ruam

Video: Yuav Ua Li Cas Thiaj Li Tiv Thaiv Kab Mob COVID 19 Nyob Nrog Cov Ntaub Ntawv ESP8266, E-ntawv Zaub: 7 Kauj Ruam
Video: Yuav ua li cas txhaj tshuaj tiv thaiv rau cov hluas? 2024, Kaum ib hlis
Anonim
Image
Image

1

Kauj Ruam 1: Cheeb Tsam

Hnub no peb yuav ua qhov tsis siv neeg Coronavirus COVID 19 Live Data Tracker nrog E-ntawv!

► GitHub (cov phiaj xwm thiab kos duab):

► Cov Cheeb Tsam Cov hauv qab no tau siv hauv txoj haujlwm no: ESP8266 E-paper

Kauj ruam 2: Nco tseg

1. Thaum xa cov cai, thov tsis txhob txuas rau RST ntawm E-ntawv, txwv tsis pub NodeMCU1.0 ib txwm nyob hauv lub xeev pib dua thiab cov cai yuav tsis raug xa mus tau zoo. Tom qab xa cov cai kom tiav, thov txuas RST rau D4 thiab tos kom E-ntawv rov ua dua tshiab thiab tso tawm.

2. Yog tias koj xav rov qab siv lub tshuab hluav taws xob ntawm daim ntawv xov tooj hluav taws xob kom rov zoo dua, thov tshem tawm lub jumper uas txuas RST ntawm lub vijtsam hluav taws xob mus rau RST ntawm NodeMCU1.0, thiab tom qab ntawd txuas lub jumper tom qab qhib lub zog.

3. Thov khaws internet kom nrawm, tus nqi COVID-19 yuav tsum tau rov ua dua ob peb zaug kom pom, thov ua siab ntev.

Kauj Ruam 3: Rub tawm Pawg Thawj Saib Xyuas Kev Txhim Kho thiab Lub Tsev Qiv Ntawv

Rub tawm Pawg Saib Xyuas Kev Txhim Kho thiab Lub Tsev Qiv Ntawv
Rub tawm Pawg Saib Xyuas Kev Txhim Kho thiab Lub Tsev Qiv Ntawv

1. Qhib Cov Ntaub Ntawv-Nyiam, sau https://arduino.esp8266.com/stable/package_esp8266com_index.json hauv lub thawv nkag ntawm Boards Manger URLs ntxiv, thiab nyem "OK".

Kauj ruam 4:

Duab
Duab
Duab
Duab

2. Txhim kho lub rooj tsav xwm txhim kho: Qhib Cov Cuab Yeej-Pawg-Thawj Tswj. Nkag mus rau ESP8266 hauv lub thawv tshawb nrhiav ntawm Tus Thawj Saib Xyuas Haujlwm thiab nruab nws.

Kauj ruam 5:

Duab
Duab
Duab
Duab
Duab
Duab

3. Txhim Kho Cov Tsev Qiv Ntawv: Qhib "Cuab Yeej"-"Tus Thawj Saib Xyuas Tsev Qiv Ntawv" hauv Arduino txhim kho software, tom qab ntawd tshawb rau "GxEPD", "Adafruit GFX Library", thiab tom qab ntawd nruab lawv.

Kauj Ruam 6: Kauj Ruam 2: Hloov Kho Txoj Cai

Kauj Ruam 2: Hloov Kho Txoj Cai
Kauj Ruam 2: Hloov Kho Txoj Cai
Kauj Ruam 2: Hloov Kho Txoj Cai
Kauj Ruam 2: Hloov Kho Txoj Cai
Kauj Ruam 2: Hloov Kho Txoj Cai
Kauj Ruam 2: Hloov Kho Txoj Cai

1. Hloov kho lub npe network thiab tus password WIFI hauv tus lej.

2. Hloov kho api_key hauv cov cai.

3. Mus rau https://www.worldometers.info/coronavirus/#countr… thiab xaiv lub tebchaws uas koj xav tau txais COVID-19.

4. Mus rau https://thingspeak.com/ los tsim qhov tshiab ThingHTTP.

Kauj Ruam 7: Sau thiab xa tawm

Compile thiab Upload
Compile thiab Upload
Compile thiab Upload
Compile thiab Upload
Compile thiab Upload
Compile thiab Upload
Compile thiab Upload
Compile thiab Upload

1. Xaiv pawg tswj hwm kev txhim kho raws li NodeMCU 1.0 (ESP-12E Module), qhov no yog xaiv qhov yog.

2. Xaiv qhov chaw nres nkoj, koj tuaj yeem hlawv cov cai hauv pawg thawj coj loj.

Pom zoo: