Cov txheej txheem:

20 Qhov thib ob ntxuav tes Timer rau COVID-19: 6 Cov Kauj Ruam (nrog Duab)
20 Qhov thib ob ntxuav tes Timer rau COVID-19: 6 Cov Kauj Ruam (nrog Duab)

Video: 20 Qhov thib ob ntxuav tes Timer rau COVID-19: 6 Cov Kauj Ruam (nrog Duab)

Video: 20 Qhov thib ob ntxuav tes Timer rau COVID-19: 6 Cov Kauj Ruam (nrog Duab)
Video: Hmong New Song 2019 Xy Lee feat. SuabNag Yaj - Koj Yog Kuv Lub Neej (Official MV - 4K) 2024, Hlis ntuj nqeg
Anonim
20 Lub Sijhawm Ntxuav Tes Thib Ob rau COVID-19
20 Lub Sijhawm Ntxuav Tes Thib Ob rau COVID-19

Raws li kev sib kis thoob ntiaj teb COVID-19, peb yuav tsum tiv thaiv peb tus kheej tsis yog los ntawm kev sau tsawg dua thiab hnav lub ntsej muag lub ntsej muag, tab sis tseem yuav tsum tau ntxuav tes ntau dua.

Nws tsis muaj txiaj ntsig zoo tiv thaiv kab mob yog tias koj tsis ntxuav koj txhais tes kom raug.

Yuav ua li cas ntxuav peb txhais tes kom raug? Peb yuav tsum siv xab npum ntxuav tes, thiab ntxuav tsawg kawg 20 feeb. Tab sis yuav ua li cas kom ntseeg tau tias peb tau ntxuav rau 20s? Yog li kuv tau ua qhov 20 Thib Ob Ntxuav Timer Timer rau COVID-19. Koj tuaj yeem paub lub sijhawm yooj yim thiab thaum lub sijhawm suav suav tau pib thiab xaus, lub suab nrov yuav ceeb toom koj nrog lub suab nrov.

Peb yuav tsum tiv thaiv peb tus kheej hauv lub sijhawm tshwj xeeb no.

Kauj Ruam 1: Cov neeg muab khoom

Cov neeg muag khoom
Cov neeg muag khoom

Sau tag nrho cov khoom koj yuav siv hauv txoj haujlwm no.

Kuv siv cov khoom hauv qab no, rau koj siv:

Kho vajtse:

  • MakePython ESP32 Cov
  • Buzzer
  • HC-SR04 Ultrasonic Range Measurement Module
  • Cov qhob cij
  • Qee cov xov hlau dhia

Software:

uPyCraft V 1.1

Kauj Ruam 2: Hlau Cov Khoom Siv Hluav Taws Xob

Hlau Cov Khoom Siv Hluav Taws Xob
Hlau Cov Khoom Siv Hluav Taws Xob

Tom ntej no, xaim cov khoom siv hluav taws xob raws li kuv daim duab kab thaiv.

HC-SR04 ---- MakePython ESP32

  • VCC → 3.3V
  • Tus Qauv → IO13
  • Ncha -IO12

Buzzer ---- MakePython ESP32

  • VCC → 3.3V
  • O/I → IO15
  • GND thiab GND

Kauj Ruam 3: Txoj Haujlwm thiab Kev Xeem

Txoj Haujlwm thiab Kev Xeem
Txoj Haujlwm thiab Kev Xeem
Txoj Haujlwm thiab Kev Xeem
Txoj Haujlwm thiab Kev Xeem

Txhua qhov kev tivthaiv thiab kev sib txuas tau npaj tiav, tom qab ntawd nyem cov lej. Koj tuaj yeem rub tawm ntawm no.

Kauj Ruam 4: Nruab Timer rau Koj Lub Qhov Dej

Nruab Timer rau Koj Lub Qhov Dej
Nruab Timer rau Koj Lub Qhov Dej

Ok, nws yog lub sijhawm ntxuav! Nruab lub timer rau koj lub dab ntxuav tes.

Nco tseg:

1. Koj yuav tsum kho qhov ntsuas kom haum ntawm HC-SR04, raws li qhov xwm txheej ntawm koj lub dab dej.

2. Pls puas paub los tiv thaiv cov khoom siv hluav taws xob los ntawm cov av noo thiab tiv tauj nrog dej ncaj qha ?.

Kauj Ruam 5: Ua tiav thiab Ntxuav Koj Tes

Image
Image

Cia peb ntxuav peb txhais tes rau 20s thiab tiv thaiv peb tus kheej los ntawm tus kabmob coronavirus!

Kauj Ruam 6: Lwm Cov Zaub Daws Teeb Meem

Raws li Python yog qhov yooj yim thiab yooj yim-rau-kawm cov lus programming, koj tuaj yeem tsim kho los ntawm koj tus kheej kom paub ntau yam muaj tswv yim thiab zoo nkauj qhia rau suav suav daws.

Raws li peb tuaj yeem pom tseem muaj MakePython ESP32 Xim LCD uas yog qhov nthuav heev, nrog cov xim LCD zoo nkauj, yog li cov laug cam tsuas txwv los ntawm koj lub tswv yim!

Pom zoo: