Cov txheej txheem:

COVID-19 Lub Sijhawm Teev Npe rau ESP32: 3 Cov Kauj Ruam
COVID-19 Lub Sijhawm Teev Npe rau ESP32: 3 Cov Kauj Ruam

Video: COVID-19 Lub Sijhawm Teev Npe rau ESP32: 3 Cov Kauj Ruam

Video: COVID-19 Lub Sijhawm Teev Npe rau ESP32: 3 Cov Kauj Ruam
Video: U Lee Hawj_🎵KARAOKE🎵”Covid-19 Teev Wb Lub Kuamuag" [Instrumental] 2024, Kaum ib hlis
Anonim
Image
Image
Kho vajtse
Kho vajtse

Tus neeg taug qab me me no yuav pab koj kom paub txog tus kab mob corona tshwm sim thiab xwm txheej hauv koj lub tebchaws. Cov zaub qhia pom hloov pauv cov ntaub ntawv tam sim no ntawm ntau lub tebchaws uas koj xaiv.

Cov ntaub ntawv raug sau los ntawm lub vev xaib www.worldometers.info/coronavirus/

Kauj ruam 1: Kho vajtse

Kho vajtse
Kho vajtse

Kuv tau siv peb AZ-Touch cov khoom siv rau ESP32 ua cov khoom siv plattform. Cov khoom siv no los nrog 2.4 nti tft touchscreen, uas yuav siv rau cov ntaub ntawv tso tawm.

Kauj ruam 2: Tsev qiv ntawv

Nruab ib lub tsev qiv ntawv hauv qab no los ntawm Arduino Library Manager

Adafruit GFX Library

Adafruit ILI9341 Lub Tsev Qiv Ntawv

Koj tseem tuaj yeem rub tawm lub tsev qiv ntawv ncaj qha raws li ZIP cov ntaub ntawv thiab uncompress lub nplaub tshev hauv qab kojrarduinosketchfolder/qiv ntawv/

Tom qab txhim kho cov tsev qiv ntawv, rov pib dua Arduino IDE.

Kauj ruam 3: Software

Koj yuav pom qhov chaws ntawm Github:

github.com/HWHardsoft/COVID19-Tracker-ESP3…

Wifi chaw:

Nkag mus rau koj li WiFi SSID & tus lej zais hauv cov teb hauv ntu WiFi: #define WIFI_SSID "xxxxxx" // Sau koj li SSID ntawm no

#define WIFI_PASS "xxxxx" // Sau koj li WiFi password ntawm no

Lub teb chaws chaw:

Koj tuaj yeem hloov/ntxiv/rho tawm lub tebchaws hauv lub ntsiab lus ntawm txoj haujlwm raws li koj nyiam:

void loop () {check_country ("Tuam Tshoj"); ncua (2000); check_country ("Ltalis"); ncua (2000); check_country ("Lub Tebchaws Yelemees"); ncua (2000); check_country ("Spain"); ncua (2000); check_country ("Austria"); ncua (2000); check_country ("Switzerland"); ncua (2000); }

Thov nco tseg: Txoj cai no muaj rau Arduino MKR WiFI 1010 thiab

github.com/HWHardsoft/COVID19-Tracker-Ardu…

Pom zoo: