Cov txheej txheem:

Tua Kab Mob Coronavirus: Yooj Yim Handwash Timer: 8 Kauj Ruam (nrog Duab)
Tua Kab Mob Coronavirus: Yooj Yim Handwash Timer: 8 Kauj Ruam (nrog Duab)

Video: Tua Kab Mob Coronavirus: Yooj Yim Handwash Timer: 8 Kauj Ruam (nrog Duab)

Video: Tua Kab Mob Coronavirus: Yooj Yim Handwash Timer: 8 Kauj Ruam (nrog Duab)
Video: Только стакан этого сока ... Обратное забивание артерий и снижение высокого кровяного давления 2024, Hlis ntuj nqeg
Anonim
Image
Image
Tua Kab Mob Coronavirus: Yooj Yim Handwash Timer
Tua Kab Mob Coronavirus: Yooj Yim Handwash Timer

Nrog kev kis thoob ntiaj teb tam sim no, qhov xwm txheej zoo li txaus ntshai heev. Tus kab mob Corona tuaj yeem nyob txhua qhov chaw. Raws li peb paub, ib tus tuaj yeem nqa tus kab mob rau ob peb hnub yam tsis muaj tsos mob tshwm sim. Ntshai tseeb.

Tab sis hav, tsis txhob ntshai heev. Muaj qee txoj hauv kev yooj yim peb tuaj yeem tawm tsam tus kab mob no. Ib qho yog ntxuav peb txhais tes, kom raug. Peb txhais tes yog tus nqa khoom loj ntawm txhua hom kab mob. Peb nquag kov peb lub qhov muag, qhov ntswg, thiab qhov ncauj yam tsis pom nws. Cov kab mob los ntawm txhais tes uas tsis tau ntxuav tuaj yeem nkag rau hauv peb cov zaub mov ib yam, qee qhov kuj tseem tuaj yeem loj hlob hauv cov zaub mov thiab thaum peb noj cov ntawd, lawv tuaj yeem ua rau peb mob hnyav. Thiab ntxuav tes nrog xab npum feem ntau tuaj yeem tua lawv.

Tab sis ntev npaum li cas koj xav tias koj ntxuav koj txhais tes? Koj puas hu nkauj hnub yug zoo siab? Ib zaug lossis ob zaug? Puas yog ib txwm txaus lossis puas yog koj tsuas yog khawb koj txhais tes me ntsis rau 5 vib nas this thiab ntxuav nws? Yog tias peb suav peb lub sijhawm ntxuav tes tas li, feem ntau ntawm peb tsis tshua siv sijhawm so 10 vib nas this, uas yog qhov tsis txaus. Yog li ntawm no ntawm The Tech Lab, peb xav ua qee yam yooj yim, qee yam los yuam kom peb ntxuav kom tsawg li 20 feeb zoo.

Lub sijhawm yooj yim no nyob ib sab ntawm koj lub xab npum dispenser. Nws muaj lub ntsuas cua nyob saum uas pom thaum koj nqa koj txhais tes rau ntawm lub tshuab xab npum. Tom qab ntawd nws pib suav qis dua 20 vib nas this, teeb ib qho LED tom qab lwm qhov. Thaum lub ntsuab ntsuab qhib, koj tau ntxuav koj txhais tes ntev txaus los tua cov kab mob feem ntau, thiab koj tuaj yeem ntxuav xab npum tawm nrog dej.

Khoom siv

  • Arduino Nano/Uno
  • HC-SR04 Ultrasonic Distance Sensor
  • 1 Liab LED
  • 1 Ntsuab LED
  • 4 Xiav LED
  • Cov ntaub ntawv kaw
  • Cov qhob cij thiab cov dhia rau cov qhob cij version lossis, Perfboard/veroboard yog tias koj paub yuav siv li cas;)

Kauj Ruam 1: Nws Ua Haujlwm Li Cas

Nws Ua Haujlwm Li Cas
Nws Ua Haujlwm Li Cas

Peb tau ua txoj haujlwm no yooj yim heev kom txhua tus tuaj yeem tsim nws thaum hnub so. Tsis tsuas yog nws lom zem los ua nrog cov menyuam tab sis nws tseem yog kev kawm, thiab muaj txiaj ntsig zoo hauv qhov xwm txheej tam sim no. Lub hlwb tseem ceeb ntawm lub sijhawm suav suav rov qab no yog "Arduino". Nws yog lub khoos phis tawj me me uas tuaj yeem tsim kho siv lub khoos phis tawj ntiag tug. Arduinos tau siv dav rau kev kawm, tsim qauv thiab txawm tias yog cov khoom lag luam tiag. Yog tias koj tsis muaj kev paub nrog nws ces tsis txhob txhawj xeeb, peb yuav taug koj txoj hauv kev yooj yim thiab koj yuav tuaj yeem pib nrog Arduino, tej zaum txawm tias yuav ua ntau txoj haujlwm yav tom ntej nrog nws yog tias koj nyiam lub tswv yim ntawm nws.

Yog li Arduino txuas nrog lub ntsuas hluav taws xob ultrasonic nrug, thiab 6 LEDs. Arduino tab tom xa lub suab ultrasonic tsis nrog lub ntsuas qhov deb thiab txheeb xyuas lub sijhawm nws yuav siv rau lub suab nthwv kom pom rov qab rau lub sensor. Siv lub sijhawm, nws ntsuas qhov nrug ntawm txhua yam nyob ntawm nws xub ntiag. Yog li Arduino ib txwm nyeem lub ntsuas cua, tos koj txhais tes tshwm hauv thaj tsam 30 cm. Sai li nws pom qee yam tsis pub dhau 30 centimeters, Arduino tig rau lub teeb liab liab thiab tos txog 4 thib ob rau koj kom haus dej thiab xab npum ntawm koj txhais tes. Tom qab ntawd nws pib 20 vib nas this suav rov qab. Thaum kawg lub 5 xiav LEDs teeb, ib ntawm ib qho, dhau lub sijhawm 20 vib nas this.

Thaum lub ntsuab ntsuab tig los, koj tau ntxuav koj txhais tes ntev txaus thiab koj tuaj yeem yaug tawm xab npum.

Kauj ruam 2: Ua Breadboard Version

Ua Breadboard Version
Ua Breadboard Version
Ua Breadboard Version
Ua Breadboard Version
Ua Breadboard Version
Ua Breadboard Version
Ua Breadboard Version
Ua Breadboard Version

Muaj ob qhov qauv ntawm txoj haujlwm no uas koj tuaj yeem tsim. Ib qho yog nyob ntawm cov laug cam tsawg dua thiab lwm qhov yog nyob ntawm veroboard lossis perfboard. Yog tias koj tsis paub yuav ua li cas los yog muaj kev paub me me nrog nws, peb txhawb koj kom ua cov qhob cij raws li nws xav tau yam tsis muaj kev sib dhos. Peb pom zoo Arduino Uno yog tias koj xav ua cov qhob cij version txij li Arduino Nano yuav tsum tau siv cov laug.

Ua qhov haujlwm no ntawm daim ntawv qhia zaub mov yog yooj yim heev. Peb tsuas yog txuas peb Arduino mus rau lub sensor thiab 6 LEDs. Koj tuaj yeem ua raws daim duab uas tau hais los saum toj no uas qhia yuav ua li cas sib txuas nrog ob qho tib si Arduino Uno thiab Nano, qhov twg yog qhov koj nyiam. Peb siv jumper xov hlau los txuas txhua yam ua ke. Tsis txhob hnov qab tshuaj xyuas cov kab ke LED. Tus pin ntev dua feem ntau yog tus pin zoo, yog li tus pin ntev yuav tsum txuas nrog Arduino digital pins. Tus pin luv dua ntawm tes yuav tsum txuas nrog hauv av (GND) tus pin ntawm Arduino.

Kauj Ruam 3: Ua Tus Veroboard/Perfboard Version

Ua Veroboard/Perfboard Version
Ua Veroboard/Perfboard Version

Yog tias koj muaj qee qhov kev paub nrog khoom siv hluav taws xob thiab koj paub yuav ua li cas txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau lub zog ntawm lub cev. Cov txheej txheem tau muab rau saum toj no, ntawm no yog EasyEDA cov ntaub ntawv tsim kom koj tuaj yeem xa tawm PCB tau yooj yim.

Thaum soldering, xyuas kom tseeb tias koj tau txais cov LED polarities raug. Koj tseem tuaj yeem ntxiv qee qhov 150 Ohm resistors rau txhua lub LEDs kom lawv tau txais lub neej ntev dua. Peb tsis suav nrog cov neeg tawm tsam kom ua txoj haujlwm no zoo dua qub. Tsis siv cov resistors yog qhov ua tiav raws li peb qhov kev sim, LEDs zoo li tsuas yog zoo. Lawv yuav tsum nyob ntev li ntev raws li lawv tsuas yog taws rau 4 vib nas this ib zaug.

Kauj Ruam 4: Xa Cov Cai

Xa cov Code
Xa cov Code

Thaum peb ua tiav kev tsim lub Circuit Court, nws yog lub sijhawm los rub cov cai rau Arduino board. Yog tias koj tsis tau siv Arduino ua ntej, peb pom zoo kom koj mus dhau cov ntaub ntawv pib ntawm tus nom Arduino lub vev xaib. Koj yuav tsum teeb tsa Arduino IDE (Kev Txhim Kho Ib Leeg Ib puag ncig) rau koj lub khoos phis tawj lossis phau ntawv sau. Tom qab ntawd rub cov kab ntawv txuas hauv qab no hauv cov kauj ruam no. Peb tau sau ntau cov lus pom hauv cov cai kom nws nkag siab yooj yim rau cov neeg tshiab.

Tam sim no txuas Arduino rau koj lub khoos phis tawj nrog lub xov tooj uas tuaj nrog nws. Qhib tus lej ntawm koj lub computer siv Arduino IDE. Los ntawm Cov Cuab Yeej> Pawg Thawj Coj, xaiv Arduino uas koj tab tom siv. Rau peb nws yog Arduino Nano. Kuj xaiv qhov chaw nres nkoj rau koj Arduino los ntawm Cov Cuab Yeej> Chaw Nres Nkoj. Tom ntej no, nyem lub pob Upload nyob rau sab saum toj sab laug. Kev xa tawm yuav tsum pib. Koj yuav tsum tau txais "Ua Dhau Los" cov lus thaum nws ua tiav.

Yog tias koj tau txais qhov yuam kev thaum rub tawm, nco ntsoov tias koj tau xaiv lub rooj tsavxwm raug thiab chaw nres nkoj. Sim qhov chaw nres nkoj sib txawv kom txog thaum nws ua haujlwm. Koj kuj tseem yuav xav hloov tus txheej txheem yog tias koj siv Arduino Nano qub, koj tuaj yeem pom qhov kev xaiv hauv Cov Cuab Yeej> Txheej Txheem.

Kauj Ruam 5: Xeem Kev Ua Haujlwm

Xeem Kev Ua Haujlwm
Xeem Kev Ua Haujlwm

Thaum koj tau ua tiav xa cov cai, nws yog lub sijhawm los xyuas seb lub timer ua haujlwm raug li cas ua ntej muab tso rau hauv ib lub thawv. Feem ntau tag nrho cov LED yuav tsum tawm. Coj koj txhais tes rau pem hauv ntej ntawm lub sensor, lub liab LED yuav tsum qhib. Thaum kawg tag nrho cov LED yuav tsum qhib nrog 4 vib nas this luv, thaum kawg teeb pom kev ntsuab ntsuab.

Nrog koj zoo siab! Koj lub timer ua haujlwm! ??

Yog tias txhua yam tsis ua haujlwm ib txwm muaj, xub txheeb xyuas koj cov kev sib txuas mus rau lub ntsuas hluav taws xob ultrasonic. Nws yooj yim rau yuam kev txuas lub sensor pins rov qab. Yog tias LED tsis pom kev, tshawb xyuas nws qhov kev sib txuas thiab qhov tsis sib xws. Yog tias nws tseem tsis ua haujlwm, sim hloov LED.

Kauj Ruam 6: Ua Qhov Ruaj Ntseg

Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw

Thaum koj ua tiav kev tsim cov Circuit Court, nws yuav yog lub tswv yim zoo los muab txhua yam tso rau hauv ib lub thawv. Lub thawv ntawv nqa tus kws tshaj lij saib rau koj lub sijhawm thiab tiv thaiv nws los ntawm cov dej me me. Lub thawv ntawv tuaj yeem ua kom zoo nkauj tawm ntawm txhua yam tsuav nws zoo nkaus li zoo. Siv qee yam uas tsis ntub yog txhua yam koj xav tau. Koj tuaj yeem ua nws txawm li cas los xij koj nyiam siv koj li kev muaj tswv yim. Nws tuaj yeem tsim los ntawm lub thawv ntim khoom noj yas me me, ntoo, duab los qhia, 3D luam tawm lossis lwm yam, koj lub tswv yim yog qhov txwv. Siv koj lub tswv yim los kos lossis pleev xim koj lub thawv raws li koj nyiam.

Rau peb cov ntaub ntawv peb xav kom nws ua kom tsis txhob khawb. Yog li peb tau siv lub thawv hluav taws xob qub uas peb tau pw ib puag ncig. Peb siv qee cov xov txuas ncaj qha mus rau Arduino, txuas rau LED thiab qee lub xov hlau txuas txuas rau lub ntsuas. Peb tau npog peb nrog qee cov pa roj carbon vinyl qub nyob ib puag ncig kom muab nws zoo nkauj zoo nkauj. Thaum kawg nws muab tawm zoo nkauj zoo rau cov ntaub ntawv yooj yim peb tau siv. Qhov ntev ntawm peb lub thawv ntawv muaj qhia hauv daim duab saum toj no. Xav tias dawb siv tib qhov ntev yog tias koj nyiam.

Kauj ruam 7: Ua tiav

Ua tau zoo!
Ua tau zoo!

Koj tsuas yog ua koj tus kheej lub sijhawm me me ntxuav tes suav suav rov qab!

Txoj haujlwm yooj yim no tuaj yeem pab ua kom koj nyab xeeb los ntawm tus kab mob txaus ntshai thiab kab mob nyob ib puag ncig peb. Hauv kev sim peb pom tias peb tau siv los ntxuav peb txhais tes rau lub sijhawm luv dua ua ntej peb siv lub sijhawm ntsuas no. Qhov no kuj txhawb kom cov menyuam ntxuav lawv txhais tes ntau dua vim tias nws lom zem los saib lub sijhawm suav suav no. Koj tuaj yeem ua ob peb yam, kos koj cov cim nyiam rau nws thiab muab tso rau pem hauv ntej ntawm txhua lub xab npum dispensers hauv koj lub tsev.

Kauj Ruam 8: Cov Lus Kawg

Nrog tus kab mob Corona tam sim no, nws yog ib qho tseem ceeb heev kom peb tus kheej muaj kev nyab xeeb. Peb tuaj yeem coj qhov xwm txheej no yooj yim thiab hloov nws mus rau hauv kev qhia kom nyob nyab xeeb dua los ntawm kab mob. Txoj haujlwm no tsuas yog cov koom tes pab me me tuaj yeem ua rau qhov xwm txheej no. Peb yuav zoo siab tiag tiag yog qhov no pab koj txhua. Thov qhia rau peb paub yog tias koj ua nrog "Kuv tau ua nws" qhov tshwj xeeb. Peb kuj tseem xav xa tsab ntawv ua tsaug rau kev pab tawm tsam tus kabmob Corona. Txhawm rau kom tau nws, thov xa koj daim duab Handwash Timer rau peb siv daim ntawv no.

Nco ntsoov siv hashtag #HandwashTimerChallenge thaum koj tshaj tawm koj daim duab timer ntawm kev tshaj xov xwm. Cia peb nthuav tawm lub tswv yim no ntawm txhua tus tsim tawm.

Yog tias koj nyiam Cov Lus Qhia no, thov muab pov npav rau peb hauv Kev Sib Tw Sijhawm:)

Ua tsaug rau kev nyeem ntawv thiab nyob nyab xeeb.

Sau los ntawm Iqbal Samin Prithul, los ntawm The Tech Lab.

Pom zoo: