Cov txheej txheem:
- Kauj Ruam 1: Qhov Chaw
- Kauj ruam 2: Kev thaiv kab
- Kauj ruam 3: Lub thawv
- Kauj ruam 4: Code
- Kauj ruam 5: Muaj Kev Lom Zem
Video: PressKill: Arduino Game: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
PressKill yog kev ua si lub cev rau plaub tus neeg uas kuv tau tsim thiab ua siv Arduino rau lub tsev kawm ntawv qhov haujlwm. Kev tsim cov game cuam tshuam nrog kev ua haujlwm, kev sib dhos, ua cov phiaj xwm vector, txiav laser thiab qee qhov gluing. Koj puas xav ua rad game los ua si nrog phooj ywg? Nyeem rau!
Cov cai rau qhov kev ua si:
- Thaum ib tus neeg ua si nias lawv lub pob, lawv tau txais lub ntsiab lus thiab Deadzone pib.
- Thaum ib tus neeg ua si nias lawv lub pob thaum lub sijhawm Deadzone, lawv xoob thiab tawm ntawm qhov kev ua si.
- 5 vib nas this tom qab nws pib Deadzone xaus. Tsis muaj qhov qhia txog qhov no.
- Thawj tus neeg uas muaj tsib lub ntsiab lus lossis yog zaum kawg sawv, yeej.
Kauj Ruam 1: Qhov Chaw
Nov yog cov npe ntawm txhua ntu uas tau nkag mus rau hauv kev tsim lub cev ntawm qhov kev ua si.
- 1 Arduino
- 4 lub khawm loj arcade nrog cov teeb pom kev zoo
- 16 tus poj niam txuas
- 4 coj dawb
- 4 220 Ohm resistors
- 4 10.000 Ohm resistors
- ntau kab
- cua sov ntsws tubing
- perfboard
- 1 daim ntawv ntawm 3 hli MDF ntoo
- ntoo ntoo
Kuv kuj siv cov cuab yeej hauv qab no:
- Soldering hlau
- Laser txiav
- Cov phom cua sov (sib zog ua haujlwm ib yam nkaus)
Kauj ruam 2: Kev thaiv kab
Kev thaiv nws tus kheej tsis yog qhov nyuaj, nws tsuas yog ua rau nkees vim tias koj yuav tsum ua tib yam plaub zaug, ib zaug rau txhua lub khawm. Nov yog cov lus qhia zoo rau khawm khawm: Big-dome-push-button-LinkIt-basics
Zoo, ntawm no yog qhov nyob hauv tsib qib nkaus xwb:
- Ntxig lub LED rau hauv cov khawm arcade. Yog tias koj cov nyees khawm tau yooj yim sib xws nrog LED's, zoo heev! Kuv tsis yog, yog li kuv tau muab lawv tso rau hauv qhov chaw.
- Txuas cov poj niam txuas rau qee cov xov hlau. Kuv soldered lawv kom ntxiv dag zog rau kev txuas thiab ntxiv qee qhov cua sov ntsws tubing, siv rab phom cua sov, kom muaj kev nyab xeeb. Kuv xim coded cov xov hlau kom tsis zoo (grey) thiab zoo (liab).
- Kuaj tag nrho cov xov hlau rau txhua lub khawm rau ib qho me me ntawm perfboard, txhawm rau ntxiv txoj cai tiv thaiv. Nws kuj pab npaj me ntsis. Txheeb nrog cov duab kom ze saib ntawm cov xov sib txawv thiab cov tiv thaiv. Tom qab ntawd txuas cov xov hlau nrog cov poj niam txuas rau khawm. tam sim no rov ua plaub zaug!
- Muab tag nrho cov xov hlau ntawm txhua lub pob uas nkag mus rau 5V thiab GND ntawm Arduino mus rau lwm daim me me ntawm perfboard, ua ke. txoj kev no koj tsuas yog yuav tsum txuas ob lub xov hlau rau koj Arduino es tsis txhob siv yim.
- Nov yog cov kauj ruam xaiv tau, tab sis yog tias koj nyiam nyob ua ke me ntsis zoo li kuv, sau cov xov hlau los ntawm txhua lub pob uas nkag mus rau tus lej PIN ntawm Arduino. Kuv xim-coded kuv los ntawm khawm xim.
Uas yog hais txog nws rau cov khoom siv hluav taws xob! Yog tias koj ntse dua kuv, npaj koj cov phiaj xwm ua ntej kom koj tuaj yeem tswj cov kab hluav taws xob tau yooj yim thiab zam qhov spaghetti loj ntawm cov xov hlau.
Kauj ruam 3: Lub thawv
Vim yog tus kheej, kuv xav ua lub thawv txiav laser kom tuav tau txhua yam khoom siv hluav taws xob. Nws yog qhov yooj yim dua thiab tuaj yeem ua tau yooj yim los ntawm tsuas yog pom ntoo thiab tho qhov ncig, yog li yog qhov nrawm dua lossis nkag tau yooj yim rau koj, qhov ntawd yog qhov ntse. Tab sis cia kuv qhia koj, cov ntiv tes sib txuas zoo li txias.
Kuv coj tus qauv rau lub thawv los ntawm makercase.com, uas ua rau nws yooj yim heev kom tsis txhob rub tag nrho cov ntiv tes sib txuas rau kuv tus kheej. Tom qab ntawd kuv hloov kho tus qauv hauv Inkscape, qhov kev kos duab dawb vector. Hauv kuv qhov kev paub Inkscape tsis zoo ntawm kev xa tawm.dxf-cov ntaub ntawv uas tau nyeem los ntawm lub tshuab txiav laser, yog li kev daws teeb meem ntawd yog siv Adobe Illustrator.
Lub thawv nws tus kheej ntsuas 30 x 30 x 10 cm. Thaum koj muaj koj li mdf laser txiav koj tuaj yeem lo cov vaj huam sib luag ua ke. Tsis txhob lo rau hauv qab tab sis! Nws ua haujlwm raws li lub hau rov qab los nkag rau kho vajtse. Koj tuaj yeem ua kom nws txuas tau los ntawm gluing qee cov hlau nplaum rau sab hauv. Kuv tsis tau, tsuas yog vim kuv tsis xav tau. Nws yog qhov kev txiav txim siab zoo yog tias koj xav txav lub thawv ntau yam yam tsis muaj hauv qab ntog tawm.
Nco tseg: cov phiaj xwm muab hauv cov lus qhia no tsis suav nrog lub qhov rau lub hwj chim cable rau Arduino. Kuv tau nqus ib qho ntawm kuv tus kheej, tab sis koj tuaj yeem hloov pauv cov phiaj xwm kom haum rau ib qho, lossis muab lub zog 5 V tso rau hauv lub thawv. Tseem muaj chaw txaus rau qhov ntawd.
Kauj ruam 4: Code
Nov yog tus lej rau Arduino. Nws yog tsim los ntawm kuv thiab tuaj yeem muaj kab, txawm hais tias kuv tsis tau pom dua ib qho, tam sim no. Nws tau tawm tswv yim thiab koj muaj kev ywj pheej ntxiv los ua kom zoo dua, hloov kho lossis ntxiv rau nws.
Kauj ruam 5: Muaj Kev Lom Zem
Qhov no yuav suab cheesy, tab sis kuv txhais nws: muaj kev lom zem ua thiab ua si! Tsuas yog nco ntsoov: tsis muaj kev lom zem kuj yog ib feem ntawm kev lom zem ntawm kev ua. Yog tias koj tau daig, ua si ib puag ncig thiab sim ua kom pom cov kev daws teeb meem tshiab. Nws yog qhov kuv tuaj yeem ua qhov kev ua si no. Tsaug rau kev nyeem ntawv!
Pom zoo:
Arduino Rhythm Game Controller (rau Kuv Tus Kheej Game): 6 Kauj Ruam
Arduino Rhythm Game Controller (rau Kuv Tus Kheej Game): Hauv cov lus qhia no kuv yuav qhia koj li cas kuv tsim qhov Rhythm Game Controller los ntawm kos. Nws cuam tshuam nrog kev txawj ntoo ntoo yooj yim, kev txawj 3D luam ntawv yooj yim thiab cov txuj ci yooj yim soldering. Koj tuaj yeem zaum tsim txoj haujlwm no ua tiav yog tias koj muaj xoom ex
Arduino Raws DIY Game Controller - Arduino PS2 Game Controller - Ua Si Tekken Nrog DIY Arduino Gamepad: 7 Kauj Ruam
Arduino Raws DIY Game Controller | Arduino PS2 Game Controller | Ua Si Tekken Nrog DIY Arduino Gamepad: Nyob zoo cov neeg, ua si game yog ib txwm lom zem tab sis ua si nrog koj tus kheej DIY kev cai game Controller yog kev lom zem dua.Yog li peb yuav ua tus tswj kev ua si siv arduino pro micro hauv cov lus qhia no
Arduino Game Controller + Game Unity: 5 Kauj Ruam
Arduino Game Controller + Game Unity: Hauv cov lus qhia no kuv yuav qhia koj li cas tsim/program a arduino game controller uas tuaj yeem txuas rau kev sib koom siab
Arduino Game Controller With Lights Response to Your Unity Game :: 24 Kauj Ruam
Arduino Game Controller With Lights Response to Your Unity Game :: Ua ntej tshaj Kuv tau sau qhov no tawm hauv lo lus. Nov yog thawj zaug kuv siv cov lus qhia yog li thaum twg kuv hais: sau cov lej tawm zoo li paub tias kuv hais txog cov duab nyob rau saum toj ntawm cov kauj ruam ntawd. Hauv qhov haujlwm no kuv siv 2 arduinos los khiav 2 cais me ntsis
Arduino Pocket Game Console + A -Maze - Maze Game: 6 Cov Kauj Ruam (nrog Duab)
Arduino Pocket Game Console + A -Maze - Maze Game: Zoo siab txais tos rau kuv thawj qhov kev qhia! Txoj haujlwm kuv xav qhia rau koj hnub no yog Arduino tshawb nrhiav game, uas dhau los ua lub hnab ntim khoom muaj peev xwm zoo li Arduboy thiab zoo ib yam li Arduino raws cov khoom siv. Nws tuaj yeem ua rau pom nrog kuv (lossis koj) kev ua si yav tom ntej ua tsaug rau nthuav tawm