Cov txheej txheem:

Yooj Yim Yooj Yim Ua Ke Xauv!: 5 Kauj Ruam
Yooj Yim Yooj Yim Ua Ke Xauv!: 5 Kauj Ruam

Video: Yooj Yim Yooj Yim Ua Ke Xauv!: 5 Kauj Ruam

Video: Yooj Yim Yooj Yim Ua Ke Xauv!: 5 Kauj Ruam
Video: Cas Tsis Xaiv Koj - R-Lin Thoj New Song Original By Zaj Dub [Official MV] 2023 2024, Hlis ntuj nqeg
Anonim
Yooj Yim Yooj Yim Ua Ke Xauv!
Yooj Yim Yooj Yim Ua Ke Xauv!

Nyob zoo sawv daws! Hnub no kuv xav qhia koj kuv lub tswv yim ntawm kev ua tus lej yooj yim heev thiab txias. Nws tsis zoo li lwm lub xauv, nws tsis muaj tus lej cim thiab muaj tsuas yog 4 ntu! Txaus siab? Yog li cia pib!

Kauj Ruam 1: Cheeb Tsam Peb Xav Tau

Cheebtsam Peb Xav Tau
Cheebtsam Peb Xav Tau
Cheebtsam Peb Xav Tau
Cheebtsam Peb Xav Tau
Cheebtsam Peb Xav Tau
Cheebtsam Peb Xav Tau

Raws li kuv tau hais los saum no, peb xav tau tsuas yog 4 yam los ua lub tshuab no, yog li ntawm no lawv yog:

1) Ib qho Arduino (kuv siv nano) - qhov no yuav yog lub hlwb ntawm txhua qhov system;

2) Lub tshuab servo - nws yog lub hauv paus kaw, koj tuaj yeem siv lwm yam khoom koj nyiam rau lub hom phiaj no, tihs yog txhua yam ntawm koj txoj kev npau suav;

3) 10k rotating potentiometer;

4) Ib lub pob me me - kuv tau siv lub pob los ntawm cov qub tawg;

thiab …. Qhov ntawd yog txhua yam! Yog, cia pib tsim!

Kauj ruam 2: Sib dhos

Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos

Lub tswv yim yog ntxiv hom khawm rau lub hwj chim, yog li kuv tau tsim qhov kev tsim no:

Tom qab ntawd kuv tau sim rov ua qhov no ntawm lub khob cij:

Zoo zoo!

Tom qab ntawd los ua tus tuav kuv drilled lub qhov me me hauv lub pvc yeeb nkab hau. Kuv rhaub nws thiab nias rau lub qag.

Tom ntej no kuv tau ua rooj plaub ua piv txwv los ntawm lub thawv yas kuv pom hauv khw hluav taws xob. Qhov no tsis yog tsim qauv zoo, nws tsuas yog qhia lub tswv yim!

Kauj ruam 3: Upload Sketch

Upload ib daim duab
Upload ib daim duab
Upload ib daim duab
Upload ib daim duab
Upload ib daim duab
Upload ib daim duab
Upload ib daim duab
Upload ib daim duab

Thaum koj muag tag nrho cov no ua ke, qib kawg yog rub ob daim duab kos. Ua ntej, koj yuav tsum kos qee yam ntawm lub cuab yeej no. Cov kab no sib cais thaj tsam nrog cov lej ntawm kev sib xyaw. Txhawm rau kos lawv kom raug, qhib qhov kos duab thib ob "codelock_test", upload rau arduino thiab qhib com chaw nres nkoj. Koj yuav pom qee tus lej txawv, tab sis yog tias koj pib kho qhov kov ntawm potentiometer koj yuav pom tus thawj tswj hwm. Ua ntej, kos kab me ntsis ntawm tus kov, tig nws mus rau sab laug txwv ntawm lub hwj chim thiab kos rau lwm txoj kab, sab xis nyob ze rau thawj (raws li nws tau qhia hauv duab).

Ntawm qhov screen koj yuav pom "9" lossis "0". Pib tig lub suab qeeb thiab saib mus rau tus lej ntawm qhov screen. Thaum nws hloov pauv (los ntawm 9 txog 8 lossis los ntawm 0 txog 1) nres, thiab kos kab nyob ze rau thawj qhov ntawm qhov no, qhov chaw uas cov nubers hloov pauv. Txuas ntxiv thiab nqes dej zoo li no kom txog thaum koj mus txog qhov txwv.

Tam sim no koj paub qhov twg tig lub kov kom mus txog qee tus lej.

Pib paub qhov tseem ceeb?)

Kauj Ruam 4: Kev Kho zaum Kawg

Kev Kho zaum kawg
Kev Kho zaum kawg
Kev Kho zaum kawg
Kev Kho zaum kawg

Yog lawm koj hais yog lawm! Nov yog cov cuab yeej zoo sib xws uas lawv siv hauv tose qub xov tooj.

Txhawm rau ntaus tus lej tsuas yog tig tus kov nrog kab me me rau cov haujlwm nrog tus lej no thiab nias lub khawm. Ua nws 4 zaug (ua ke muaj 4 tus lej) thiab koj yuav qhib nws!

Nws kuj tseem muaj kev tiv thaiv - yog tias koj ua tsis raug 3 zaug lub kaw lus khov rau ib lub sijhawm koj tuaj yeem hloov kho hauv daim duab.

Qhov no txhua yam koj tuaj yeem kho hauv daim duab.

Txhawm rau pom nws ua haujlwm li cas saib cov vis dis aus! Nov yog cov duab kos:

Kauj ruam 5: Yees duab

Thov txim rau kuv cov lus Askiv tsis zoo thiab cov vis dis aus zoo, tab sis qhov no yog txhua yam kuv muaj)

Pom zoo: