Cov txheej txheem:
- Kauj Ruam 1: Siv lub hnab looj tes fais fab sib nrug
- Kauj ruam 2: Txiav
- Kauj Ruam 3: Drilling and Trace Prep
- Kauj ruam 4: Soldering
- Kauj ruam 5: Software
- Kauj Ruam 6: Ua Haujlwm
- Kauj Ruam 7: Koj Ua tiav !
Video: Hnab looj tes fais fab Pi: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Nov yog Nintendo Hnab Hnab Hnab nrog Raspberry pi xoom sab hauv. Kuv tab tom siv thawj D-ncoo, A, B, Pib, thiab Xaiv rau kev tswj hwm.
Yam uas koj yuav xav tau rau txoj haujlwm no:
1) Lub hnab looj tes Nintendo lub zog.
2) Raspberry pi xoom nrog SD daim npav thiab txhua lub xov tooj thiab cov hloov pauv.
3) Soldering hlau nrog cov laug.
4) Qee yam cuab yeej txiav, Kuv siv Dremel.
5) Qee qhov xaim me me thiab 330-ohm resistor.
6) Craft riam lossis rab chais hniav.
7) Cov kab hluav taws xob dub thiab cov kua nplaum kub.
8) Cov hlua hluav taws xob/tus txiav thiab lub taub hau ntsia hlau Philips.
9) Me me me ntsis nrog laum, Kuv siv ib qho rau kuv Dremel.
Kauj Ruam 1: Siv lub hnab looj tes fais fab sib nrug
1) Txiav lub qaum los sab nraub qaum.
2) Tig nws thiab coj 4 Philips ntsia hlau tawm. Lub vaj huam sib luag pem hauv ntej yuav tsum tawm.
3) Qhib lub vaj huam sib luag thiab txiav cov xaim mus rau lub ntsuas phoo nyob rau sab xub ntiag thiab cov xov hlau mus rau qaum sab nraub qaum.
4) Siv 5 tus ntsia hlau Philips ntxiv tuav lub rooj tsavxwm tseem ceeb.
5) Nqa lub rooj tsavxwm tawm thiab txiav tawm cov xov hlau uas seem, diodes, resistors, thiab txhua yam ntxiv. Tab sis TSIS TXHOB tshem RED qhov taw qhia LED ntawm lub rooj tsavxwm.
Qhov no yuav yog lub sijhawm zoo los ntxuav lub hnab looj tes.
Kauj ruam 2: Txiav
1) Siv Dremel lossis cov cuab yeej txiav, thiab txiav ib ntu ntawm pawg thawj coj saib qhov twg koj yuav haum Raspberry pi rau. Tsom rau ntawm 12 lub pob saum toj kawg nkaus thiab siv kuv daim duab los ua phau ntawv qhia. Koj yuav xav khaws D-ncoo, Chaw, A, B, Pib, thiab Xaiv cov nyees khawm. Mus ncig lub qhov nrog kab xev hluav taws xob yog li koj yuav tsis muaj lub ris luv thiab kom ntseeg tau tias Raspberry pi haum haum. Muab daim kab xev hluav taws xob tso rau ntawm lub ncoo roj hmab rau 12 khawm uas koj tsis siv.
Kauj Ruam 3: Drilling and Trace Prep
1) Siv lub laum me me, tho qhov nyob ib sab ntawm cov kab uas pom hauv daim duab. NEXT rau, tsis yog.
2) Siv rab riam los yog rab chais hniav, khawb cov txheej tiv thaiv tawm ntawm kab kom nws tig kub lossis ci ncaj los ntawm txhua lub qhov.
3) Nrog qee lub tshuab ziab khaub ncaws thiab muab cov hlau tso rau, muab qee lub lauj kaub tso rau ntawm txhua kab kom tau txais kev npaj rau kev siv cov laug.
Kauj ruam 4: Soldering
Daim duab txuas yuav qhia koj tias khawm nws yog dab tsi, thiab qhov twg xaim xav tau txuas nrog rau kab.
Rau cov xov hlau, muaj ib qho hauv av thiab ib qho rau Up, Down, Left, Right, B, A, Pib, thiab Xaiv - 9 kab/kab nyob hauv tag nrho.
1) Tau txais xov hlau txog 3 hauv qhov ntev thiab hle lawv qhov kawg. Muab lawv hla lub qhov thiab khoov cov xaim kom nws kov tau cov kab. Siv cov xaim xaim mus rau kab.
Tam sim no, kuv yuav hla mus rau kauj ruam 5 (Software) kom tau txais cov software los sim ua ntej soldering rau qhov zoo.
2) Txuas Txuas Ntxiv, Nqes, Sab laug, Txoj Cai, B, A, Pib, thiab Xaiv cov xov hlau mus rau GPIO pins ntawm Raspberry pi. Txuas qhov av ib txwm rau tus pin hauv av ntawm tus pi.
Yog tias koj tsis paub tias GPIO pins nyob qhov twg, siv cov duab saum toj no.
GPIO - Tswj
23 - Saum
27 - Ua ntej
22 - Sab laug
17 - Yog lawm
19 - Square (B)
16 - X (A)
12 - Pib
6 - Xaiv
Pin 39 av - Cov av ib txwm
3) Txuas lub teeb ci LED. Mus rau lub LED liab los ntawm D-Pad. Sab nrog cov ntug ncaj (tsis yog puag ncig) tsis zoo thiab qhov ntawd mus rau 330-ohm resistor thiab tom qab ntawd txhawm rau pin 6 (Hauv av) ntawm tus pi. Qhov puag ncig yuav mus rau tus pin 8 (GPIO 14) ntawm tus pi.
Yog tias koj muaj lub LED hauv koj qhov tsim, kom nws ua haujlwm koj yuav tsum tau pab kom GPIO qhov chaw nres nkoj txuas. Koj tuaj yeem ua qhov no hauv Retro pi lossis los ntawm kev kho koj cov ntawv /boot/config.txt thiab ntxiv kab hauv qab no:
enable_uart = 1
Thaum koj ua tiav cov tshuaj txhuam, lo tus pi mus rau lwm lub rooj tsavxwm.
Kauj ruam 5: Software
1) Tau Retro Pie "https://retropie.org.uk/download/" thiab unzip nws.
2) Siv Win32diskimager "https://sourceforge.net/projects/win32diskimager/". Sau Retro Pie rau koj daim npav SD.
3) Muab daim npav SD tso rau hauv koj li Raspberry pi thiab xyuas kom nws khau khau Retro pi zoo. Coj daim npav SD thiab muab nws rov qab rau hauv koj lub PC.
4) Txhim kho koj li GPIO Tswj.
-Install Notepad ++ yog tias koj xav hloov GPIO Pins los ntawm software.
-Download qhov hloov kho Retrogame zip file Ntawm no thiab unzip nws.
Thaum rho tawm, koj yuav pom cov ntawv hu ua (setupcontrols.bash) thiab daim nplaub tshev hu ua (otherMod)
Luam ob qho ntawm lawv thiab muab tshuaj txhuam rau hauv lub khau raj uas tau tshwm sim thaum koj tso daim npav microSD rau hauv koj lub computer.
-Tam sim no, tshem lub micro SD thiab ntxig nws rau hauv Raspberry Pi. Khau raj Pi rau hauv RetroPie thiab nias F4 ntawm koj cov keyboard txuas kom tawm mus rau kab hais kom ua.
Tam sim no lub software yuav tsum tau teeb tsa. Ua li ntawd, koj yuav tsum ntaus ib lo lus txib:
sudo bash /boot/setupcontrols.bash
Ua raws li cov lus qhia kom nruab. Kauj ruam kawg nug seb koj puas xav rov pib dua, ntaus Y thiab nkag mus kom nws tshwm sim.
Yog tias koj xav tau qee yam ntxiv hauv qhov tob ntawm cov kauj ruam no mus ntawm no: "https://othermod.com/gpio-buttons/"
Kauj Ruam 6: Ua Haujlwm
1) Siv Dremel lossis Craft riam (Kuv siv riam riam) thiab txiav qhov tawm rau 2 Micro usb thiab ib qho Micro HDMI.
Kauj Ruam 7: Koj Ua tiav !
1) Muab 2 ntawm 5 tus ntsia hlau rov qab rau hauv niam lub rooj thiab 4 lub ntsiab tseem ceeb rov qab thiab koj ua tiav. Mus ua si qee qhov kev ua si vim tias koj ua si nrog Power, Nintendo Power.
Qhov chaw:
-https://othermod.com/gpio-buttons/
-https://howchoo.com/g/ytzjyzy4m2e/build-a-simple-raspberry-pi-led-power-status-indicator
-https://www.instructables.com/id/Power-Glove-20th-Anniversary-Edition/
Pom zoo:
Cov Hnab Hnab Hnab Tsho Hnab Tsho Chaw Nyob: 11 Kauj Ruam
Cov Hnab Ntim Hnab Hauv Cov Chaw Taws Teeb: Tam sim no ib hnub cov thev naus laus zis tau txav mus rau qhov kev paub ntau ntxiv uas muab rau tus neeg siv txoj hauv kev tshiab los cuam tshuam nrog yam khoom hauv ib puag ncig virtual lossis kev muaj tiag. Nrog thev naus laus zis hnav tau nce zuj zus thiab ntau ntxiv nrog cov xov tooj ntse ntxiv rau
Taw tes rau kev hais lus/Cov ntawv hloov pauv hnab looj tes: 5 Cov Kauj Ruam
Taw tes rau Kev Hais Lus/Kev Hloov Cov Hnab Hnab: Lub tswv yim/thawb tom qab ua qhov haujlwm no yog txhawm rau pab tib neeg uas muaj teeb meem kev sib txuas lus siv kev hais lus thiab sib txuas lus siv tes taw tes lossis nrov npe hu ua Asmeskas kos npe lus (ASL). Txoj haujlwm no tuaj yeem yog ib kauj ruam rau kev pabcuam
Neeg Hlau Tes Nrog Wireless Hnab looj tes Tswj - NRF24L01+ - Arduino: 7 Kauj Ruam (nrog Duab)
Neeg Hlau Tes Nrog Wireless Hnab looj tes Tswj | NRF24L01+ | Arduino: Hauv daim vis dis aus no; 3D neeg hlau sib dhos ua ke, tswj servo, tswj lub zog tswj, tswj tsis tau nrog nRF24L01, Arduino tus txais thiab xa tawm qhov chaws muaj. Hauv ntej, hauv txoj haujlwm no peb yuav kawm paub tswj tus neeg hlau tes nrog xaim
12v Fais Fab Los Ntawm EGO Fais Fab 56v Roj Teeb: 5 Kauj Ruam (nrog Duab)
12v Fais Fab Los Ntawm EGO Fais Fab 56v Roj Teeb: Kuv muaj plaub lub zog EGO cov cuab yeej. Lawv yog qhov txaus thiab kuv hlub lawv. Tab sis kuv saib cov 4 roj teeb loj thiab kuv tu siab. Muaj peev xwm pov tseg ntau yam … Kuv xav tau EGO los tsim 110V AC lub zog siv uas ua haujlwm ntawm lawv cov roj teeb, tab sis kuv nkees nkees tos
Hnab looj tes Wizard: Arduino Controlled Hnab looj tes: 4 Kauj Ruam (nrog Duab)
Wizard Glove: Arduino Controlled Controller Glove: The Wizard Glove Hauv kuv qhov project kuv tau ua lub hnab looj tes uas koj tuaj yeem siv los ua si koj nyiam cov khawv koob ntsig txog kev ua si hauv qhov txias thiab siv tau txoj hauv kev siv tsuas yog qee qhov pib ntawm arduino thiab cov khoom muaj nqis. koj tuaj yeem ua si qee yam kev ua si zoo li cov txwj laug, lossis koj