Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Tsav Tsheb & Kev Txhim Kho Tsev Qiv Ntawv hauv Arduino IDE
- Kauj Ruam 2: Kev Sib Txuas Circuit thiab Kev Xeem
- Kauj ruam 3: Code
- Kauj Ruam 4: Qhov tshwm sim
Video: Coronavirus Case Counter - ESP32: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nrog kev kis mob kis thoob qhov txhia chaw tsis ntev los no, Kuv txiav txim siab sau cov ntawv taug kev ntawm tus kabmob coronavirus hauv phau ntawv muag khoom. Tab sis ib qho ntawm cov teeb meem kuv tau ntsib yog tau raug thiab cov lej tsis ntev los no rau kev kis tus kab mob. Thaum qhov kev kaw nkag pib, kuv txiv tau yuav kuv ESP - 32 pawg thawj coj, thiab yog li kuv tau kawm txog kev siv nws, Kuv txiav txim siab los daws qhov teeb meem rau kuv.
Kuv tau tsim qhov program uas siv cov ntaub ntawv hais txog kev kis mob thoob ntiaj teb los ntawm https://github.com/NovelCOVID/API("source ") thiab tom qab ntawd qhia nws ntawm 0.96" OLED. Yog li, kuv yuav sib koom cov cai thiab teeb tsa koj, nrog rau kev qhia koj tias txoj cai ua haujlwm li cas.
Kuv tau siv ESP-32 DOIT DEVKIT V1 pawg thawj coj, tab sis koj tuaj yeem siv txhua lub rooj tsav xwm nrog Wi-nkaus muaj peev xwm.
Khoom siv
Qhov tseem ceeb:
USB rau micro-USB cable
ESP-32 Pawg Thawj Coj (ib qho, kuv yog DOIT DEVKIT V1)
OLED zaub - 0.96 nti (128 x 64 pixels)
4 poj niam rau poj niam jumper xov hlau
Arduino IDE (ntawm lub khoos phis tawj)
Yeem yeem
Cov qhob cij
Kauj Ruam 1: Tsav Tsheb & Kev Txhim Kho Tsev Qiv Ntawv hauv Arduino IDE
- Ua ntej, mus rau Cov Cuab Yeej >> Pawg Thawj Coj thiab hloov nws mus rau pawg twg uas koj muaj. Tej zaum koj yuav tau ntxiv nws siv Tus Thawj Saib Xyuas Haujlwm.
- Tom qab ntawd, hloov chaw nres nkoj mus rau qhov chaw nres nkoj twg koj muaj, thiab teeb tsa qhov upload ceev rau 115200.
-
Tom ntej no, mus rau Sketch >> suav nrog Lub Tsev Qiv Ntawv >> Tswj Tsev Qiv Ntawv thiab ntxiv cov tsev qiv ntawv hauv qab no
- Arduino_Json
- NTPClient
- Adafruit GFX Lub Tsev Qiv Ntawv
- Adafruit SSD1306
- Sijhawm
Tom qab ntawd, koj tau npaj txuas lub Circuit Court.
Kauj Ruam 2: Kev Sib Txuas Circuit thiab Kev Xeem
Pib los ntawm kev txuas VCC tus pin rau 3.3V tso tawm ntawm ESP32 thiab txuas GND rau hauv av.
Tom ntej, txuas SCL tus pin rau D22 tus pin ntawm koj ESP32 thiab txuas SDA tus pin rau D21 tus pin ntawm koj ESP32.
Txhawm rau ntsuas OLED, mus rau FIle >> Piv txwv thiab nqes mus txog thaum koj mus txog Piv txwv los ntawm cov tsev qiv ntawv tshwj xeeb. Tam sim no, tshawb nrhiav Adafruit SSD1306. Xaiv ssd1306_128x64_i2c. Koj yuav tau xaiv lwm qhov yog tias koj li OLED txawv.
Ib qho kev hloov kho uas tseem ceeb rau koj los ua yog tias yog koj lub OLED tsis muaj khawm rov pib dua, tom qab ntawd koj yuav tsum teeb tsa qhov sib txawv rau -1.
#define OLED_RESET -1
Kauj ruam 3: Code
Tam sim no, qhov no yog qhov nyuaj tshaj plaws. cov coding. Kom tau txais cov ntaub ntawv, kuv siv qhov no. Nov yog cov cai kuv tau sau. Tam sim no, yog tias koj tsis xav nkag siab tias nws tau sau li cas, thiab tsuas yog xav sim nws, lub taub hau mus rau qib tom ntej.
Txwv tsis pub, cia pib.
Thaum pib ntawm txoj cai, 'suav nrog' qhia qhov haujlwm uas, tsev qiv ntawv siv, uas pab sau cov haujlwm yooj yim, nrog rau ntxiv cov yam ntxwv zoo li OLED.
Tom qab ntawd, nws mus rau tus neeg rau zaub mov thiab nug txog qhov hloov tshiab kawg, uas nws tom qab ntawd ua qauv thiab nthuav tawm ntawm lub vijtsam.
Kuv kuj tau ntxiv cov lus pom ntawm txhua kauj ruam hauv cov cai kom nkag siab ntau ntxiv.
Kauj Ruam 4: Qhov tshwm sim
Tam sim no, txhawm rau ua haujlwm, txheeb xyuas tias koj tau xaiv qhov chaw nres nkoj siv tau thiab koj tus tsav tsheb tau teeb tsa. Ua raws qhov txuas no yog tias nws tsis yog, lossis tshawb hauv online.
Tam sim no, mus thiab nias lub pob upload tom qab txuas koj lub rooj tsavxwm, thiab koj yuav tsum tau txais cov txiaj ntsig zoo ib yam li saum toj no.
Nrog koj zoo siab! Tam sim no koj tau txais qhov ua haujlwm tau zoo tiv thaiv COVID. Ua si nrog cov cai thiab saib yog tias koj tuaj yeem txuas nws rau lub suab nrov los qhia koj thaum tus lej tau nce, lossis ua rau nws qhia txog lub tebchaws tshwj xeeb.
Cia siab tias qhov kev kis mob no yuav xaus sai sai, thiab zoo siab pom koj yuav ua dab tsi, Kos Npe Tawm, Xarcrax
Pom zoo:
Qhov tseeb ntawm YouTube Cov Neeg Sau Npe Counter: 4 Cov Kauj Ruam
Kev Txheeb Tus Neeg Sau Npe Hauv YouTube Muaj Tseeb: Kuv tau pib npaj rau txoj haujlwm no txog ib hlis dhau los, tab sis tom qab ntawd kuv tau poob los ntawm YouTube thaum lawv tshaj tawm tias lawv yuav tsis muab cov neeg siv tiag tiag ntxiv tab sis cov lej sib npaug ze tshaj. Tam sim no, qhov ntawd tsis yog qhov teeb meem tiag tiag rau
Plaub hau Iphone! DIY PHONE CASE Life Hacks - Kub Glue Phone Case: 6 Cov Kauj Ruam (nrog Duab)
Plaub hau Iphone! DIY PHONE CASE Lub Neej Hacks - Kub Glue Xov Tooj Case: Kuv twv koj tsis tau pom dua plaub hau iPhone! Zoo hauv qhov kev qhia DIY xov tooj no koj yeej yuav! :)) Raws li peb cov xov tooj niaj hnub no zoo li peb tus kheej thib ob, Kuv tau txiav txim siab los ua " me me me " … Me ntsis txaus ntshai, tab sis lom zem heev
Duck Tape Phone Case Case With Money Pouch: 3 Cov Kauj Ruam (nrog Duab)
Duck Tape Phone Case With Money Pouch: Cov lus qhia no yuav qhia koj yuav ua li cas thiaj ua lub rooj xov tooj tawm ntawm daim kab xev nrog lub hnab nyob tom qab uas tuaj yeem tuav ib lossis ob daim nqi. Kev tsis lees paub: Cov ntaub ntawv no yuav tsis muaj kev tiv thaiv txaus rau koj lub xov tooj yog tias koj tso nws. Txawm li cas los xij
555 Timer Nrog Lub Kaum Ib Hlis Counter thiab LEDS thiab Piezo Buzzer; Cov lus piav qhia yooj yim ntawm Circuit: 6 Cov Kauj Ruam
555 Timer Nrog Decade Counter thiab LEDS thiab Piezo Buzzer; Cov lus piav qhia yooj yim ntawm Circuit: Qhov Circuit no muaj peb ntu.Lawv yog piezo buzzer uas ua suab. Ib Txoj Cai (program) yuav ua si " Zoo Siab Hnub Yug " los ntawm Arduino los ntawm piezo Cov kauj ruam tom ntej yog 555 lub sijhawm uas yuav tsim cov mem tes uas ua raws li lub moos
Reincarnate Case Cassette Raws Li IPod Case: 6 Cov Kauj Ruam
Reincarnate Case Cassette Raws Li IPod Case: Kuv tau ua cov xwm txheej no ob peb xyoos tam sim no rau cov phooj ywg. Lawv yooj yim heev tab sis ua haujlwm tau zoo thiab tsis nyuaj rau kos. Kuv nyiam li cas iPod cov ntawv qhia qhia meej los ntawm rooj plaub kaw. Lawv haum rau tiam thib 5, 30 gigabyte Video, thiab