Cov txheej txheem:
- Kauj Ruam 1: Txiav Txim Siab Pom Zoo Khawm Configuration
- Kauj Ruam 2: Kuv 4-Khawm Sib Sau
- Kauj Ruam 3: Game Game
- Kauj ruam 4: Lub taub hau rau taub hau kev sib tw
- Kauj Ruam 5: Yeem 2 Player Controllers
- Kauj Ruam 6: Hloov kho (s)
Video: 4 Khawm Ua Si Siv Ib Lub Tswv Yim Analog: 6 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Cov lus qhia no tsom mus rau kev siv ib kab lus sib piv rau ntau lub khawm uas tuaj yeem tshawb pom ywj siab ntawm ib leeg.
Thiab kom hais txog kev siv cov khawm no suav nrog yog software ua si plaub qhov sib txawv 4-Khawm ua si. Txhua qhov kev ua si (8 tag nrho) nyob ntawm no siv Led teeb ntaiv (hais txog txoj haujlwm yav dhau los: qhia: Ib Leeg-Kab-LED-Zaub-Ua Si).
Koj tuaj yeem siv koj tus kheej 4-khawm sib dhos nrog lwm cov khoom tso tawm, yooj yim siv 'scanButtons ()' ua haujlwm los ntawm ib qho ntawm cov duab kos nrog. Thiab siv cov kev kos duab piv txwv siv nws.
Cov game yog cov txuj ci kev ua si: Whack-a-Mole, nco kev ua si: Simon Hais tias, kev xav sib tw ua si Hiav Txwv Hunt thiab Flip'd ob tus neeg ua si game zoo ib yam li Reveri. Tom qab ntawd, hauv cov lus qhia no, Kuv tseem yuav qhia tom qab plaub tus neeg ua si ntawm lub taub hau rau kev sib tw.
Kauj Ruam 1: Txiav Txim Siab Pom Zoo Khawm Configuration
Cias siv qee qhov tiv thaiv kab hauv kab nrog cov nyees khawm tapped tawm ntawm txhua qhov yuav ua haujlwm yog tias koj tsis tas yuav txhawj xeeb txog ib lub pob nyem tshwm sim lwm qhov. Hauv qhov kev teeb tsa zoo li txhua lub pob, thaum nias, thaiv tawm ib qho thiab txhua qhov hauv qab nws. Txawm tias thaum koj tsuas xav tau ob lub nyees khawm thiab koj tsuas yog saib xyuas ib leeg ib zaug, zoo li hauv kev siv ping-pong; nws yuav yog teeb meem, yog tias tus neeg ua si tsis ua (tsuas yog qeeb dhau, lossis ua phem) kom tshem nws tus ntiv tes los ntawm nws lub pob ua ntej lwm tus yuav tsum ntaus nws.
Ntau lub khawm tau feem ntau txuas nrog rau ib kab kab sib xws txhua nrog nws muaj tus yam ntxwv sib txawv resistor qhov tseem ceeb mus rau cov tswv yim. Koj tuaj yeem, yooj yim txaus, sib txawv lub pob lossis tus khub raug nias thaum tsuas muaj 2 lossis 3 khawm xwb. Tab sis tsis ntseeg tau nrog cov nyees khawm ntau dua lossis ntau dua ob qhov nias, raws li qhov xwm txheej tsis zoo ua ke ntawm kev nyeem dhau los ua qhov tsis meej pem dhau los ua ke.
Nov nrog qhov kuv hu ua Double-Y teeb tsa ntawm plaub lub khawm & cov tiv thaiv, koj tuaj yeem ntseeg tau ntseeg tau pom ib qho, ob npaug, txawm tias peb npaug lossis tag nrho plaub lub khawm raug nias. Tus tsav tsheb software kom ua li ntawd tau them rau hauv ntu txuas ntxiv thiab cov npe teev npe.
Nrog lub siab xav kom muaj plaub lub khawm txuas rau ib qho lus sib piv uas txhua lub pob nyem tuaj yeem kuaj pom tsis hais txog lub xeev ntawm lwm cov nyees khawm, Kuv ua qauv ntau yam teeb tsa hauv daim ntawv nthuav tawm. Kuv pom tias ob-Y (suav nrog 2 pawg ntawm peb tus tiv thaiv) teeb tsa muab qhov ua tau zoo tshaj plaws. Saib daim kab xev schematic daim duab hauv qab no. Kuv tau tshuaj xyuas lawv raws li kev sib cais feem ntau ntawm tag nrho cov kev tawm tsam ntawm ob qho kev sib txuas ua ke ntawm cov nyees khawm. Kuv ntxiv qauv ua piv xam qhov tseem ceeb. Xa mus rau daim ntawv spreadsheet hauv qab no.
Txhawm rau txiav txim siab qhov txiaj ntsig zoo tshaj plaws los siv nyob rau hauv cov teeb tsa saum toj no kuv tau sau ib qho kev sim, uas tau sim tag nrho txhua qhov kev tso cai ntawm qhov muaj peev xwm tiv taus qhov muaj txiaj ntsig, nrhiav cov teeb uas tsim qhov tsawg kawg sib txawv ntawm qhov nyeem tau nkag tau. Kuv tau muab cov cai kuv siv. Nov yog qhov cuab yeej siv zog uas kuv cuam tshuam ua ke, tau txais yam kuv xav tau thiab muab tso tseg, yog li nws tsis muaj txoj hauv kev zoo dua. Nws yog tag nrho raws li yog, rau keeb kwm siv nkaus xwb (Daws_4R.html hauv qab no).
Nov yog nws cov txiaj ntsig los tshuaj xyuas:
R1: 10 R2: 12 R3: 10 R4: 12 R5: 10 R6: 15 minR delta: 3.3658818125
R1: 10 R2: 12 R3: 10 R4: 12 R5: 10 R6: 18 minR delta: 4.9490620031 R1: 10 R2: 12 R3: 10 R4: 12 R5: 18 R6: 10 minR delta: 4.9490620031 R1: 10 R2: 12 R3: 10 R4: 15 R5: 10 R6: 33 minR delta: 5.0576510475 R1: 10 R2: 12 R3: 10 R4: 15 R5: 12 R6: 10 minR delta: 7.104826870 R1: 10 R2: 12 R3: 10 R4: 18 R5: 10 R6: 18 minR delta: 8.1673424912 R1: 10 R2: 12 R3: 10 R4: 18 R5: 15 R6: 22 minR delta: 8.6504939648 R1: 10 R2: 12 R3: 10 R4: 22 R5: 10 R6: 18 minR delta: 10.1721492515 R1: 10 R2: 12 R3: 10 R4: 22 R5: 10 R6: 22 minRta delta: 10.5040000560 R1: 10 R2: 12 R3: 10 R4: 27 R5: 12 R6: 27 min 10 R2: 12 R3: 12 R4: 33 R5: 15 R6: 36 minR delta: 10.8827552754 R1: 10 R2: 12 R3: 12 R4: 68 R5: 10 R6: 22 minRta: 11.4499029683 R1: 10 R2: 12 R3: 12 R4: 68 R5: 10 R6: 27 minR delta: 12.0961591599 R1: 10 R2: 12 R3: 15 R4: 68 R5: 10 R6: 27 minR delta: 12.7992171382 R1: 10 R2: 12 R3: 15 R4: 75 R5: 10 R6: 27 minR delta: 12.7992171382 R1: 10 R2: 12 R3: 15 R4: 82 R5: 10 R6: 27 minR delta: 1 2.7992171382 R1: 10 R2: 12 R3: 15 R4: 91 R5: 10 R6: 27 minR Delta: 12.7992171382 R1: 10 R2: 12 R3: 27 R4: 82 R5: 10 R6: 15 min 12 R3: 27 R4: 91 R5: 10 R6: 15 minR delta: 12.7992171382 R1: 10 R2: 12 R3: 27 R4: 100 R5: 10 R6: 15 minR delta: 12.7992171382 R1: 10 R2: 12 R3: 68 R4: 15 R5: 10 R6: 27 minR delta: 12.7992171382 R1: 10 R2: 12 R3: 75 R4: 15 R5: 10 R6: 27 minR delta: 12.7992171382 R1: 10 R2: 12 R3: 82 R4: 15 R5: 10 R6: 27 minR delta: 12.7992171382 R1: 10 R2: 12 R3: 82 R4: 27 R5: 10 R6: 15 minR delta: 12.7992171382 R1: 10 R2: 12 R3: 91 R4: 15 R5: 10 R6: 27 minR delta: 12.7992171382 R1: 10 R2: 12 R3: 91 R4: 27 R5: 10 R6: 15 minR delta: 12.7992171382 R1: 10 R2: 12 R3: 100 R4: 27 R5: 10 R6: 15 minRta: 12.7992171382 R1: 10 R2: 15 R3: 10 R4: 18 R5: 18 R6: 12 minR delta: 13.2909379968 R1: 10 R2: 15 R3: 10 R4: 22 R5: 12 R6: 10 minR delta: 14.245362837 R1: 10 R2: 15 R3: 10 R4: 39 R5: 18 R6: 27 minR delta: 14.5126340326 R1: 10 R2: 15 R3: 10 R4: 56 R5: 12 R6: 15 minR delta: 15.220571553 R1: 10 R2: 15 R3: 12 R4: 27 R5: 12 R6: 12 minR delta: 18.8228671943 R1: 10 R2: 15 R3: 12 R4: 39 R5: 18 R6: 27 minR delta: 19.236186493 R1: 10 R2: 15 R3: 15 R4: 47 R5: 22 R6: 33 minR delta: 19.5685736556 R1: 10 R2: 15 R3: 22 R4: 56 R5: 22 R6: 27 minRta: 19.7887024012 R1: 10 R2: 15 R3: 27 R4: 220 R5: 12 R6: 10 minR delta: 21.2533513149 R1: 10 R2: 15 R3: 220 R4: 27 R5: 12 R6: 10 minR delta: 21.2533513149 R1: 10 R2: 18 R3: 22 R4: 68 R5: 33 R6: 39 minR delta: 21.58566448 R1: 10 R2: 18 R3: 27 R4: 75 R5: 33 R6: 36 minR delta: 22.158443806 R1: 10 R2: 18 R3: 27 R4: 82 R5: 33 R6: 36 minR delta: 22.158443806 R1: 10 R2: 18 R3: 27 R4: 82 R5: 33 R6: 39 minR delta: 22.158443806 R1: 10 R2: 18 R3: 33 R4: 75 R5: 27 R6: 18 minR delta: 24.2578084248 R1: 10 R2: 18 R3: 75 R4: 33 R5: 27 R6: 18 minR delta: 24.2578084248 R1: 10 R2: 36 R3: 36 R4: 68 R5: 12 R6: 18 minR delta: 24.380952380 R1: 10 R2: 36 R3: 36 R4: 75 R5: 12 R6: 18 minR delta: 24.380952380 R1: 10 R2: 36 R3: 39 R4: 75 R5: 12 R6: 15 minR delta: 24.380952380 R1: 10 R2: 36 R3: 68 R4: 36 R5: 12 R6: 18 minR delta: 24.380952380 R1: 10 R2: 36 R3: 75 R4: 36 R5: 12 R6: 18 minR delta: 24.380952380 R1: 10 R2: 36 R3: 75 R4: 39 R5: 12 R6: 15 minR delta: 24.380952380 R1: 10 R2: 39 R3: 15 R4: 39 R5: 10 R6: 27 minR delta: 24.4674161824 R1: 10 R2: 39 R3: 22 R4: 47 R5: 10 R6: 22 minR Delta: 24.4674161824 R1: 10 R2: 39 R3: 22 R4: 56 R5: 10 R6: 22 minR Delta: 24.4674161824 R1: 10 R2: 39 R3: 27 R4: 56 R5: 10 R6: 15 minR delta: 24.4674161824 R1: 10 R2: 39 R3: 39 R4: 15 R5: 10 R6: 27 minR delta: 24.4674161824 R1: 10 R2: 39 R3: 47 R4: 22 R5: 10 R6: 22 minR delta: 24.4674161824 R1: 10 R2: 39 R3: 56 R4: 22 R5: 10 R6: 22 minR delta: 24.4674161824 R1: 10 R2: 39 R3: 56 R4: 27 R5: 10 R6: 15 min R delta: 24.4674161824 R1: 12 R2: 39 R3: 33 R4: 75 R5: 15 R6: 39 minR delta: 24.5467795136 R1: 12 R2: 39 R3: 33 R4: 82 R5: 18 R6: 47 minR delta: 24.789976640 R1: 12 R2: 39 R3: 47 R4: 100 R5: 18 R6: 33 minR delta: 24.789976640 R1: 12 R2: 39 R3: 56 R4: 100 R5: 15 R6: 12 minR delta: 25.3564579616 R1: 12 R2: 39 R3: 100 R4: 56 R5: 15 R6: 12 minRta: 25.3564579616 R1: 12 R2: 47 R3: 18 R4: 47 R5: 10 R6: 27 minR delta: 27.4996466431 R1: 12 R2: 47 R3: 22 R4: 56 R5: 10 R6: 22 minR delta: 27.4996466431 R1: 12 R2: 47 R3: 27 R4: 56 R5: 10 R6: 18 minR delta: 27.4996466431 R1: 12 R2: 47 R3: 47 R4: 18 R5: 10 R6: 27 minR delta: 27.4996466431 R1: 12 R2: 47 R3: 56 R4: 22 R5: 10 R6: 22 minR delta: 27.4996466431 R1: 12 R2: 47 R3: 56 R4: 27 R5: 10 R6: 18 minR Delta: 27.4996466431 R1: 15 R2: 56 R3: 22 R4: 56 R5: 10 R6: 27 min 56 R3: 22 R4: 56 R5: 12 R6: 33 minR delta: 29.811354701 R1: 15 R2: 56 R3: 33 R4: 68 R5: 12 R6: 22 minR delta: 29.811354701 R1: 15 R2: 56 R3: 56 R4: 22 R5: 12 R6: 33 minR delta: 29.811354701 R1: 15 R2: 56 R3: 68 R4: 33 R5: 12 R6: 22 minR delta: 29.811354701 R1: 18 R2: 68 R3: 27 R4: 68 R5: 12 R6: 33 minR delta: 30.7487559507 R1: 18 R2: 68 R3: 33 R4: 68 R5: 12 R6: 27 minR delta: 30.8965517241 R1: 18 R2: 68 R3: 68 R4: 33 R5: 12 R6: 27 minR delta: 30.8965517241 R1: 18 R2: 75 R3: 27 R4: 68 R5: 12 R6: 36 minR Delta: 30.9007058823 R1: 18 R2: 75 R3: 47 R4: 91 R5: 12 R6: 10 minR delta: 30.9007058823 R1: 18 R2: 75 R3: 68 R4: 27 R5: 12 R6: 36 minR delta: 30.9007058823 R1: 18 R2: 75 R3: 91 R4: 47 R5: 12 R6: 10 minR delta: 30.9007058823 R1: 22 R2: 82 R3: 36 R4: 82 R5: 15 R6: 39 minR delta: 33.2525545171 R1: 22 R2: 82 R3: 82 R4: 36 R5: 15 R6: 39 minR delta: 33.2525545171 R1: 36 R2: 82 R3: 22 R4: 82 R5: 39 R6: 15 minR delta: 33.2525545171 R1: 36 R2: 82 R3: 82 R4: 22 R5: 39 R6: 15 minR delta: 33.2525545171 R1: 82 R2: 22 R3: 36 R4: 82 R5: 15 R6: 39 minR delta: 33.2525545171 R1: 82 R2: 22 R3: 82 R4: 36 R5: 15 R6: 39 minR Delta: 33.2525545171 R1: 82 R2: 36 R3: 22 R4: 82 R5: 39 R6: 15 minR delta: 33.2525545171 R1: 82 R2: 36 R3: 82 R4: 22 R5: 39 R6: 15 minR delta: 33.2525545171 R1: 36 R2: 82 R3: 82 R4: 22 R5: 39 R6: 15 minR delta: 33.2525545171
Kauj Ruam 2: Kuv 4-Khawm Sib Sau
Rau kuv plaub lub khawm kuv siv cov nyees khawm no thiab lub perforated PCB thiab cov tiv thaiv raws li qhia hauv daim duab saum toj no. Yuav ua li cas koj lub cev ua raws koj plaub lub khawm tau qhib dav thiab nyob ntawm koj thiab koj cov phiaj xwm xav tau. Tsuav nws yog hluav taws xob dab tsi hauv daim duab saum toj no. Nco ntsoov tias koj qhov kev tsim kho-teeb tsa zoo li koj yuav tsis muaj kev sib cuag nrog cov hlua txuas rau cov nyees khawm vim qhov ntawd yuav cuam tshuam cov nyeem uas ua rau khawm tsis raug.
Kuv muaj khawm me me ntxiv ntawm kuv lub rooj tsavxwm uas kuv siv zoo li 'Function' qhov tseem ceeb. Nws yog nyob rau hauv kab nrog 2 megohm resistor, uas tsis cuam tshuam cuam tshuam kuv lwm qhov kev nyeem ntawv nkag; txawm tias kuv tsuas tuaj yeem kuaj pom nws thaum nws nyob ib leeg. Koj tuaj yeem tsis quav ntsej nws lossis tshawb xyuas cov cai kom nkag siab ntxiv tias kuv siv nws li cas.
Kev kos duab kos 'Test_12Leds_6Btns' tuaj yeem siv los ntsuas qhov pom ntawm khawm (s) nias los ntawm koj li MCU thiab qhov sib dhos khawm tiag. Nws cov zis tau teeb tsa los saib ob qho tib si nrog LED Ladder lossis cov saib txuas. Nws tuaj yeem hloov kho kom yooj yim los ntawm txhua hom zaub uas koj muaj.
Koj yuav xav tau kho cov txheej txheem ntawm kev nyeem nyeem nws sib piv cov tswv yim rau, vim qhov muaj peev xwm sib txawv hauv koj li MCU sab hauv rub tawm tus tiv thaiv lossis kom zam rau cov neeg tawm tsam koj siv. Koj tuaj yeem, yog tias koj xav tau, siv qhov ntsuas qhov tseeb, vam tias tsis tas yuav hloov kho qhov ntsuas. Los ntawm txoj kev, Kuv tsis siv qhov rub tawm sab nraud vim nws yuav cuam tshuam nrog lwm qhov kev siv Kuv npaj rau ib qho ntawm kuv cov phiaj xwm.
Ib qho ntawm cov software tseem ceeb tau ua, txhawm rau txiav txim siab tias lub pob (s) raug nias tsis muaj kev cuam tshuam los ntawm cov khoom siv hluav taws xob theem (&/lossis MCU sib txawv), yog rau qhov ntsuas cov lus sib piv raws li nws qhov kev nyeem siab tshaj plaws uas tig yog cuam tshuam los ntawm qhov muab hluav taws xob.
Lub software 'tsav tsheb' uas pabcuam cov nyees khawm no yog ib txwm ua 'scanButtons ()'. Nws tos rau cov txiaj ntsig sib piv sib tham los daws teeb meem tom qab ntawv qhia kev nyeem ntawv ua ntu zus ntawm cov txiaj ntsig tau txiav txim siab ua ntej; thiab txhais cov ntawd rau hauv cov xeev sib xws rau kev sau cov nyees khawm. Qhov niaj hnub no, thiab cov kev hloov pauv pej xeem nws koom nrog cov ntawv thov software, yog txhua yam uas xav tau los ua kom zoo sib xws siv cov teeb tsa no hauv cov nyees khawm ywj pheej.
Nco tseg! Qhov tam sim no ntawm 'scanButtons ()' tsis sim txhawm rau txheeb xyuas txhua yam ntawm qhov ua tau peb khawm ua ke raws li qhov ntawd, rau kuv, tsis xav tau tiag tiag thiab yuav ua rau nyuaj ntxiv cov cai thiab ntsuas qhov raug.
Kauj Ruam 3: Game Game
Ib qho kos duab, 'LadderGames4' lossis 'Head2head' tuaj yeem nkag mus rau thiab khiav los ntawm feem ntau ntawm Arduino MCU, tab sis LadderGames4 yuav tsum muaj 'SimonSays' lossis ib qho ntawm ob qho kev ua si tau hais tawm kom haum rau hauv 8K Bytes ntawm qhov chaw hauv qhov program ib Attiny-85. Suab kuj tseem yog qhov teeb meem nrog ATtiny-85, saib cov phiaj xwm yav dhau los hais los saum no. Txoj cai tau teeb tsa nrog kev suav sau ua ke, thiab paub ua haujlwm nrog Nano, Uno thiab ATtiny-85.
Nrog txhua qhov kev kos duab no tom qab pib ua haujlwm koj tau nthuav tawm nrog Cov Ntawv Qhia, nrog ib qho xim nyob rau ib lub sijhawm teeb pom kev tag nrho Liab … Daj … Ntsuab … Xiav Leds, sib haum rau plaub qhov kev xaiv ua si. Koj ib txwm nias Btn1 thaum lub siab xav tau teeb lossis txhua lub sijhawm koj nias Btn2-4 rau kev ua si 2-4. Txoj hauv kev tsis tau xaiv los xaiv yog li yuav tsum sib haum nrog ob thiab plaub khawm kev siv thiab ua si. Yog tias muaj ntau yam hloov pauv rau qhov kev ua si koj yuav tsum xaiv lub teeb liab rau ver-1, ci daj rau ver-2, thiab ntxiv rau.
4 Khawm Ua Si
Kev ua si nco, kev sib koom tes nrog lub qhov muag, thiab ob lub tswv yim ua si.
Simon Hais Tias Qhov no yog rov ua tiav ntawm qhov kev ua si los ntawm daim ntawv uas kuv tau muaj, hauv cov phiaj xwm ua ntej no:
www.instructables.com/id/Fast-Easy-Simon/
www.instructables.com/id/Improved-Simon-Says-Code/
Nws ua si zoo li feem ntau lwm qhov 'Simon Says' game.
Txawm li cas los xij, Kuv tau ntxiv ob tus neeg hloov pauv (thaum koj xaiv qhov kev xaiv 2, ntsais daj), qhov twg txhua tus neeg uas ua ntawv, tig mus, ntxiv lub teeb tshiab-ceeb toom rau koob. Thawj qhov tsis raug kom rov ua txhua yam uas tau los ua ntej poob qhov kev ua si.
Whack ib Mole
Rau 30 vib nas this sib txawv moles tshwm (liab, yel, grn, blu) 1, 2 lossis 3 ib zaug. Koj yuav tsum "ntaus" lawv los ntawm nias lub khawm sib xws Btn1-4. Tsuas yog ib lub khawm nias yuav raug lees txais, tsis muaj ntau lub khawm sib txuam ua ke. Ntev npaum li cas cov moles nyob qis dua tau luv dua li qhov kev ua si mus. Yog tias koj tsoo tag nrho cov moles pom, tom qab ntawd txheej tshiab yuav tshwm; xws li sai dua koj yog ntau moles koj yuav muaj txoj hauv kev los tsoo.
Thaum qhov kev ua si tau ua tiav cov zaub yuav cuam tshuam cov qhab nia, teeb pom kev zoo ib qho coj rau txhua 10 moles uas tau tsoo. Raws li qhov kev ua si tau qhab nia 10 cov ntsiab lus rau txhua qhov mole whack, 5 lit leds yuav sawv cev rau tus qauv Whac-a-Mole tus qhab nia ntawm 500+. Txhawm rau ua si lwm qhov koj yuav tsum rov xaiv qhov kev ua si.
Kuv siv tus ntiv tes ntawm txhua lub pob kom ua nrawm thiab tau qhab nia siab. Rau qhov kev sib tw kom raug dua ib tus yuav tsum siv tus ntiv tes ntawm ib txhais tes, teb rau kev siv ib lub pob zeb.
Kuv tus qhab nia raug siv tus ntiv tes nyob hauv 500s, siv 4 tus ntiv tes (ib tus khawm) nws yog 600+. Kuv qhov qhab nia siab tshaj yog 700+. Kev siv ntau tus ntiv tes yog qhov tshwj xeeb tshaj yog tias yog muaj qhov sib tshooj hauv ib qho thiab lwm qhov thib ob yuav tsis raug lees paub los ntawm software, xav kom koj tso txhua lub khawm ua ntej lwm tus yuav raug lees txais. Yog leej twg tau tag nrho 12 lub teeb ci, rau 1200+ tus qhab nia, thov qhia rau peb paub.
Hiav Txwv Hunt
Muaj lub nkoj tsis pom kev txav mus los ntawm qhov tob. Nws yog qhov chaw pib thiab kev taw qhia yog qhov xwm txheej. Nws ua rau koj txav mus los tom qab txhua qhov koj tig los. Koj yuav tsum kwv yees nws qhov chaw nyob ntawm cov ntawv ceeb toom sonar thiab tso nws nrog qhov tob-them. Lub suab nrov nrov nthwv dej tawm (hauv ob qho lus qhia) los ntawm nws qhov chaw pib ua lub teeb pom kev thiab ci (nrog rau ping) ntawm qhov deb ntawm sub. Txawm li cas los xij nco ntsoov tias sub tuaj yeem yog ib txoj hauv kev ntawm koj thiab tab tom txav mus rau qhov tsis paub. Qhov kev them nqi tob tob tob hauv qab qhov uas nws tau tsim tawm. Koj hnov qhov muffled tawg yog tias tsis muaj dab tsi, lossis nyob ntawd, lwm qhov koj hnov qhov tawg loj ntawm sub thiab lub teeb ci.
Txhawm rau txav tus cursor coj mus rau qhov chaw uas koj xav tso lub sonar buoy lossis qhov tob-them ua tiav nrog Btn2 & Btn3 rau sab laug & sab xis. Khawm-1 yog siv los tua lawv.
Hauv version 1, txhua qhov kev sim yog kev sib xyaw ua ke tob-them nqi thiab sonar qhia; thiab koj tuaj yeem siv tus lej tsis txwv ntawm lawv.
Hauv version 2, Lub taub hau rau taub hau, tig rov qab, kom pom leej twg tswj hwm kom poob lub sub. Neeg uas ua ntawv 1 siv Btn1 thiab tus neeg siv thib ob siv Btn4 los tshaj tawm lawv qhov kev them nqi tob.
Hauv version 3, qhov tob-tsub thiab cov lus ceeb toom sonar tau pib ntawm nws tus kheej los ntawm Btn1 thiab Btn4 feem. Koj tsuas muaj peb qhov kev them nqi tob rau koj. Koj tuaj yeem tau txais tag nrho cov ntawv ceeb toom uas koj xav tau. Koj poob yog tias koj ua tsis tau nws nrog cov nqi ntawd.
Hauv version 4 lub sub tuaj yeem txav ntawm tus lej ntawm 1-3 qhov chaw ntawm ib lub ntaus pob, thiab lwm yam ua si zoo li version 3, tab sis koj tau txais 6 qhov nqi qis.
Keeb kwm: Kuv xub tsim 'Sea Hunt' game xyoo 1970's. Tom qab ntawd cov khoom siv tawm & tso tawm yog lub xov tooj cua. Txawm li cas los xij, tom qab ntawd lub hiav txwv yog daim phiaj 2 seem, tsis zoo li 1 seem raws li nws nyob ntawm no.
NCO TSEG: Kuv tau tawm tswv yim tawm qhov tob-nqi txwv hauv txoj cai, nrog lub tswv yim tias nws twb nyuaj txaus los ua si rau cov neeg feem coob.
Flip tau
Qhov ob tus neeg ua si sib tw me ntsis zoo li Reveri, hauv qhov koj tau sim tig txhua lub cell rau koj cov xim, tab sis qhov no ua tiav los ntawm qhov sib txawv.
Hauv ob qhov kev ua si no, ib tus neeg lub hom phiaj yog tig tag nrho cov teeb tawm, thiab lwm qhov kom tig lawv txhua tus. Ib tus neeg siv siv Btn1 txhawm rau tig ib pab pawg ntawm lwm tus neeg ua si lub teeb tawm lossis tso tseg ib qho ntawm nws "Tawm teeb" (tig nws). Lwm tus neeg siv siv Btn4 txhawm rau tig ib pab pawg ntawm "Tawm teeb" rau On lossis ib leeg ntawm nws nraub qaum.
Lub rooj tsavxwm pib nrog teeb tsa teeb ntawm lub teeb. Thaum nws yog thawj tus neeg ua si tig muaj qhov nrawm nrawm lossis teeb pom kev zoo ntawm tus coj ntawm 'tus cursor', qhov kev txaus siab, kom muaj peev xwm tig tau. Thaum tus neeg uas ua ntawv #2 tig muaj lub teeb nyem ntev ntawm tus coj ua tus cim tus cim. Yog tias tus neeg ua tsis raug cai thawb nws lub pob, tawm ntawm qhov tig, muaj lub suab nrov luv luv. Tus cursor tau txav mus rau sab laug los ntawm Btn2 thiab sab xis los ntawm Btn3. Tus neeg uas ploj lawm pib qhov kev ua si hauv qab no.
Lub tswv yim hais txog dab tsi rau Flip tuaj yeem yog qhov tseem ceeb.
Kauj ruam 4: Lub taub hau rau taub hau kev sib tw
Ob Khawm / Ob Tus Neeg Ua Si Ua Si
Hauv thawj txheej ntawm 4 khawm kev ua si tsuas yog 'Whack-a-Mole' tiag tiag tso siab rau kev ua tiav kev ywj pheej ntawm lub khawm ua. Kuv kuj tau siv plaub lub taub hau rau kev ua si, txhua qhov uas nyob ntawm kev ywj pheej khawm pom. Cov kev ua si no yog: Kev Nyuaj Siab, Tug Tsov Rog, Qaib, thiab Kub Tes (Slapsies).
Kos nrawm (Cov tshuaj tiv thaiv)
Kev sib tw tau pib nrog 'Npaj'/liab, 'Teeb'/daj, thiab 'Kos!'/Ntsuab; ua ncaj ncees zoo li thaum nws muab lub teeb ntsuab rau koj. Thawj ntaus lawv khawm yeej. Ntaus sai dhau thiab koj tau txaj muag nrog lub suab nrov.
Player 1 siv Btn1 (ntawm sab laug) thiab player 2 siv Btn4 (ntawm sab xis).
Tug of War
Pib nrog 'Npaj', 'Teeb' … 'Mus!'. Muaj qhov khoom pom nyob hauv nruab nrab, 'hneev' ntawm txoj hlua. Tom qab ntawd cov players ntaus lawv cov nyees khawm kom nrawm thiab ntau npaum li lawv tuaj yeem ua tau. Tus hneev taw yuav txav mus rau tus neeg uas ua ntawv nrog ntaus ntau tshaj. Thaum hneev mus txog ib kawg uas yog tus yeej.
Qaib
Qhov kev sib tw no tau pib zoo ib yam. Tom qab lub suab & ntsuab nyem ntawm 'Mus!' cov neeg ua si nias thiab tuav lawv cov nyees khawm, lub teeb ci (lawv lub tsheb thauj khoom) pib txav los ntawm lawv mus rau lwm qhov. Tus yeej yog tus uas tso nws lub khawm (dhia tawm ntawm lawv lub tsheb nees) kawg, ua ntej ob lub blips yuav sib tsoo. Yog tias ib tus neeg tso lig dhau los lossis tsis txhua, lawv tsoo thiab poob. Yog tias ob leeg dhia (tso tawm) lig dhau lawm tsis muaj leej twg yeej.
Thaum pib ib khub ntawm cov teeb liab sib tw hla cov zaub, lub sijhawm no yog tias koj ntaus Fnc-Btn2 qhov kev ua si nrawm yuav nce ntxiv. Qhov no tuaj yeem rov ua ob peb zaug.
Kub Tes
Ib qho digital ntawm kev ua si npuaj tes (aka Red-Hands lossis Slapsies). Txhawm rau pib ob tus neeg sib tw nias lawv cov nyees khawm ua ke, ib sab tso tawm ces sim nias nws lub pob ob zaug ua ntej lwm sab tuaj yeem tso nws lub pob. Tom ntej no lwm sab sim ua zoo ib yam. Tus neeg uas ua ntawv uas nws tig nws yog qhia thaum pib puag ncig los ntawm teeb pom kev zoo ntawm lub teeb ntawm nws ib sab. Kuv pom tias ib lub pob tsuas yog thawb-npuaj nrawm dhau thiab yooj yim heev, Yog li kuv tau ua ob qho uas yuav tsum tau ua, uas yuav tsum ua ntau dua thiab sijhawm, zoo li yuav tsum tau ob leeg tig ib txhais tes hla thiab siab dua lwm tus thiab tom qab ntawd npuaj. TBD: Hauv qhov hloov pauv thib ob, nws pub dawb rau txhua tus, txhua lub sijhawm twg los xij tus neeg siv tuaj yeem sim ua kom tau txais qhov zoo tshaj plaws ntawm lwm qhov.
Ceeb toom! Kuv qhia koj kom luam tawm cov kev ua si saum toj no cov cai ntawm kev ua haujlwm thiab rov nyeem lawv ua ntej koj ua si game uas koj tsis tau ua si tsis ntev los no. Txwv tsis pub, koj tuaj yeem ua rau koj tus kheej chim siab; xav tias qhov kev ua si tsis ua haujlwm zoo thaum nws qhov tseeb nws yog, tab sis koj thiab kev ua si muaj ntau txoj hauv kev thiab kev cia siab. Kuv, kuv tus kheej, tau poob prey rau qhov no ntau dua li ob peb zaug.
Nrog yim qhov kev ua si ntawm no thiab plaub hauv kuv qhov haujlwm ua ntej Ib Leeg-Kab-LED-Zaub-Ua Si, uas ua rau software muaj los ua si 12 kev ua si nrog plaub khawm no + coj cov ntaiv kho vajtse ua ke.
Kuv muaj tsawg kawg plaub qhov kev ua si lom zem rau qhov no (khawm-tso saib) kho vajtse los ua ntej kawg ntawm lub xyoo.
Kauj Ruam 5: Yeem 2 Player Controllers
Rau cov kev ua si uas tsuas xav tau ob lub khawm, Kuv tuaj yeem muaj, tau kawg, siv 4-khawm PCB nrog cov game ntawd; txawm li cas los xij hauv kev ua si cov games no ib txwm ua rau lub cev zoo heev. Yog li, kuv siv cov plunger hom sib dhos khawm sib dhos, ua los ntawm ib daim yas yas npog nrog lub tsheb kauj vab tuav tuav thiab khawm loj.
Plunger hom khawm qhov:
- 1/2 "drip kab yeeb nkab, cov kais dej sawv ntsug-tawm, lossis PVC (Kho vajtse khw)
- Tsheb kauj vab tuav tuav (Walmart)
- Cov khawm loj loj (eBay)
- 2 resistors
Txhawm rau tswj kev sib raug zoo ib lub pob muaj 75 ohm resistor hauv koob nrog nws thiab lwm qhov muaj 36-39 ohm hauv koob; xws li software yuav pom lawv li Btn1 thiab Btn4 feem.
Koj tuaj yeem siv tubing los ntawm hais tias muab cov khaub noom pov tseg lossis tus tuav tuav.
Ib lub adapter tuaj yeem ua rau qhov uas koj tuaj yeem txuas qhov qub game console joy stick; muaj ib tus khawm hluav taws xob tau txuas raws li Btn1 thiab Btn4 rau lwm qhov, thaum sib koom Btn1-4 mus rau txoj kev zoo siab lo 'cov nyees khawm.
Plaub Hlis 2018: Tam sim no xav siv 5/8 Compression Couplers ua lub cev rau sab nraud lub plunger style nyees khawm. Cov khawm loj (nrog daim kab xev me me hla lawv cov xov ntxiv) haum zoo rau hauv lawv thiab lawv haum hauv tes zoo heev. cov menyuam nyiam siv ib khub ntawm cov no, Kuv tau ntxiv ob peb txheej ntawm lub taub hau taub hau kom yooj yim txuas ib sab tes tuav khawm hla Bnt1 tiv tauj thiab ib qho rau Btn4.
Kauj Ruam 6: Hloov kho (s)
Kuv tau ua 3D luam ntawv rooj plaub rau tsev In-Line LED ntaiv zaub thiab cov nyees khawm.
Kuv tau ua ke 12 qhov kev ua si uas kuv tau tsim kom deb li deb, rau qhov 12 LED zaub, rau hauv ib qho kos duab 'Menu_12Games'. Cov software no xav tau txoj haujlwm kho vajtse no nrog 32KB flash MCU (piv txwv li Nano lossis Uno) thiab 5 khawm, 4 lub ntsiab + FncKey.
Cov ntawv qhia zaub mov xaiv tam sim no yog ob qib; ua ntej koj xaiv 1 ntawm 4 pab pawg ua si tom qab ntawd ua si 1-4 hauv pawg ntawd, … raws li tau teev tseg hauv qab no. Thaum tseem tos qhov kev xaiv tso saib scan R-Y-G-B ib ntus, koj nias Btn1-4 raws li koj xaiv thaum twg los xij, nws tsis muaj qhov txawv dab tsi uas tau tshwm sim thaum koj nyem qhov koj xaiv. Thaum lub sijhawm 'pab pawg' xaiv txhua Leds yog tsawg kawg ib nrab ntawm cov ntawv thaum RYGB luam theej duab. Txhawm rau tawm ib qho game lossis thim rov qab los ntawm 'game' rau 'group' xaiv ntaus FncKey-Btn1.
Kuv tseem tsis tau sau qhov kawg 4. Kuv tau sau 3 (suav nrog 'LeMans'). Kuv tsis tau tuaj nrog qhov kev ua si zaum kawg yuav yog dab tsi. Qhia kuv nrog cov tswv yim.
Hloov Kho 25 Lub Ib Hlis 17: Rau cov ntawm koj uas nyiam nkag mus rau lub tshuab luam ntawv 3D, koj yuav txaus siab rau rooj game game uas kuv tau ua rau kuv lub cuab yeej: https://www.instructables.com/id/3D-Printed-Case- rau-Inline-LED-Zaub-Console-thiab/
Hloov Kho 17 Lub Ob Hlis 17: Kuv tau ntxiv qhov kev ua si zaum kawg 4, uas tam sim no muaj raws li "Menu_16Games.ino" hauv qab "Kauj Ruam 7: Hloov tshiab, Ua Si Ntxiv" ntawm Cov Lus Qhia: Ib Leeg-Kab-LED-Display-Games (Menu_12Games.ino yog tam sim no defunct)
Pawg ua si: 1– Liab 2- Daj 3- Ntsuab 4- Xiav
1 liab PushIt PingPong ShootEmUp JumpMan 2 Yel QuickDraw Tug_a_War Chicken Hot_Hands 3 Grn Le_Mans Txau PIG BiFunc 4 Blu SimonSays Whack_Mole Sea_Hunt Flip_d
Pom zoo:
DIY Huab Cua Chaw Ua Haujlwm Lub Tswv Yim Lub Tswv Yim rau 12+ Xyoo: 4 Kauj Ruam
DIY Huab Cua Chaw Ua Haujlwm Lub Tswv Yim Lub Tswv Yim rau 12+ Xyoo: Hauv qhov haujlwm no, cov koom nrog yuav teeb tsa lawv lub chaw nres tsheb huab cua, xa nws mus rau saum huab cua, thiab saib xyuas cov ntaubntawv kaw (lub teeb, kub, av noo) hauv lub sijhawm tiag tiag ntawm Blynk app. Nyob rau sab saum toj ntawm txhua qhov no, koj yuav kawm paub yuav tshaj tawm cov txiaj ntsig tau sau tseg li cas
Cov Lus Qhia Ua Kom Koj Lub Tswv Yim Lub Tswv Yim Muaj Tseeb: 6 Cov Kauj Ruam (nrog Duab)
Cov Lus Qhia Kom Ua Koj Lub Tswv Yim Lub Tswv Yim: Qhov tseem ceeb tshaj plaws ntawm txoj haujlwm ua tiav yog muaj lub tswv yim zoo tiag tiag, tab sis qee zaum lub tswv yim yog qhov yooj yim! Tom qab ntawd los ua haujlwm nyuaj hauv kev ua qhov flash flash ntawm kev txawj ntse rau qee yam uas tib neeg " ooh " thiab " ah " ov
Laptop Cooling Pad DIY - Txaus Lub Neej Hacks Nrog CPU Ntxuam - Tswv yim tswv yim - Khoos phis tawj Computer: 12 Kauj Ruam (nrog Duab)
Laptop Cooling Pad DIY | Txaus Lub Neej Hacks Nrog CPU Ntxuam | Tswv yim tswv yim | Khoos phis tawj Computer: Koj yuav tsum saib cov vis dis aus no kom txog thaum nws xaus. kom nkag siab cov yees duab
Tshiab DIY Lub Tswv Yim Kom Siv Universal Lub Hwj Huam POWER TOOLS Tsis Siv Hluav Taws Xob: 4 Kauj Ruam (nrog Duab)
Tshiab DIY Lub Tswv Yim Kom Siv Universal Motor POWER TOOLS Tsis Muaj Hluav Taws Xob: Hav Guys !!!! Hauv cov lus qhia no koj yuav kawm paub yuav ua li cas xaiv hluav taws xob thaum muaj xwm ceev los khiav koj cov cuab yeej siv hluav taws xob thoob plaws thaum tsis muaj hluav taws xob hauv tsev Qhov teeb tsa no yog lub siab tshuab rau kev ua haujlwm cov cuab yeej siv hluav taws xob hauv thaj chaw deb lossis txawm tias nyob ntawm
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS YOOJ YIM: 4 Cov Kauj Ruam
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS: Nyob zoo txhua tus hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas kom yooj yim " SOIL DRYNESS SENSOR ". Qhuav ntawm cov av tau txheeb xyuas siv qhov taw qhia coj. Lub teeb ci wi