Cov txheej txheem:

Mini Bartop Arcade: 8 Kauj Ruam (nrog Duab)
Mini Bartop Arcade: 8 Kauj Ruam (nrog Duab)

Video: Mini Bartop Arcade: 8 Kauj Ruam (nrog Duab)

Video: Mini Bartop Arcade: 8 Kauj Ruam (nrog Duab)
Video: Top 5 Best Foldable Pool Tables Reviews With Buying Guide 2024, Kaum ib hlis
Anonim
Mini Bartop Arcade
Mini Bartop Arcade

Lub sijhawm no, Kuv xav qhia koj kuv lub sijhawm qub arcade version siv Raspberry Pi Zero, raws li Picade Desktop Retro Arcade Machini, raws li pom hauv lub xaib no:

howchoo.com/g/mji2odbmytj/picade-review-ra…

Lub hom phiaj ntawm txoj haujlwm no yog tsim kom muaj cov vis dis aus game retro uas yog khoom plig rau kuv tus nus uas nqa tau yooj yim, siv tau yooj yim, zoo nkauj thiab lom zem heev.

Khoom siv

  • Raspberry Pi Zero W. Nws tau pom zoo kom siv Raspberry Pi Zero W, txij li lub cuab yeej no txuas rau Is Taws Nem hla Wi-nkaus.
  • Joystick thiab cov nyees khawm. Nws tsis yog qhov tsim nyog xoom ncua lub rooj tsavxwm, txij li hauv txoj haujlwm no joystick thiab cov nyees khawm yuav txuas ncaj qha rau Raspberry Pi Zero W GPIO.
  • 12V x 5A hloov lub hwj chim.
  • 5V x 3A fais fab fais fab hauv tsev (suav nrog hauv qhov project). Qhov no tsis tsim nyog nyob rau hauv rooj plaub ib tus xav siv 5V x 5A hloov lub zog siv.
  • 7 nti LCD saib.
  • Laser txiav acrylic thiab MDF qhov chaw.
  • USB DAC PCM2704 pawg thawj coj saib.
  • Ib khub hais lus.

Kauj ruam 1: Electronics

Electronics
Electronics
Electronics
Electronics

Lub plawv ntawm txoj haujlwm yog Raspberry Pi Zero W. Txawm hais tias nws loj npaum li cas, nws muaj lub zog los ua txhua yam tshwm sim. Lub khoos phis tawj me me sau cov emulators zoo li Nes, SNes, Neo Geo, Mame, thiab lwm yam, muab cov kev xaiv dav ntawm retro-games.

Cov cuab yeej tau nruab nrog USB DAC PCM2704 pawg thawj coj uas muab lub suab digital hauv qhov txaus siab.

Cov kev tswj hwm tau txuas nrog lub khoos phis tawj los ntawm GPIO, uas xav tau qee qhov haujlwm los teeb tsa lub kaw lus kom ua haujlwm tau zoo.

Thiab thaum kawg, cov khoom siv no tsis muaj nqis yam tsis muaj lub vijtsam. Raws li lub tswv yim xav ua qee yam nqa tau, txhua qhov kev lom zem tau lav los ntawm 7 LCD saib.

Txhawm rau ua kom lub zog muaj zog, 12V x 5A hloov lub zog siv tau siv hauv qhov kev tsim no thaum 5V x 3A kev tswj hwm lub zog txo qis qhov hluav taws xob rau Raspberry Pi Zero W thiab lub rooj saib xyuas.

Kauj Ruam 2: 5V X 3A Tswj Cov Khoom Siv Hluav Taws Xob

5V X 3A Tswj Cov Khoom Siv Hluav Taws Xob
5V X 3A Tswj Cov Khoom Siv Hluav Taws Xob
5V X 3A Tswj Cov Khoom Siv Hluav Taws Xob
5V X 3A Tswj Cov Khoom Siv Hluav Taws Xob

Lub Circuit Court yog ua raws LM 350 transistor, uas muab 5.6V ntawm 3A tso tawm tam sim no, uas ua rau Raspberry Pi Zero W thiab lub vijtsam LCD.

Lub rooj sib txoos tsis muaj teeb meem, zoo li tuaj yeem pom hauv Eagle files.

Kauj Ruam 3: Kev Txuas Joystick rau GPIO

Kev sib txuas Joystick rau GPIO
Kev sib txuas Joystick rau GPIO

Hloov chaw ntawm kev siv qhov xoom-ncua USB daim npav los txuas cov kev tswj hwm mus rau lub khoos phis tawj (Raspberry Pi Zero W tsuas muaj ib lub USB chaw nres nkoj, uas tau siv los ua cov suab digital), GPIO yog txoj hauv kev daws teeb meem.

Daim duab qhia pom Raspberry Pi Zero W GPIO txuas rau lub joystick thiab cov nyees khawm ntawm lub cuab yeej. Txij li thaum peb yuav xav tau tsuas yog ib tus neeg ua si, tsuas yog cov pins ntsuab tau siv rau kev tswj hwm kev ua si (nws tsim nyog hais tias cov koob hauv av yog qhov tsim nyog kaw lub Circuit Court thiab ua txhua yam tshwm sim).

Yog xav paub ntxiv, saib:

Kauj Ruam 4: Lub Rooj Sib Tham

Lub Rooj Sib Tham
Lub Rooj Sib Tham
Lub Rooj Sib Tham
Lub Rooj Sib Tham
Lub Rooj Sib Tham
Lub Rooj Sib Tham

Lub retro-arcade tau ua los ntawm laser-txiav MDF thiab acrylic, ntsia nrog yas kaum. Tom qab kev sib dhos ua ntej, txhua qhov ntawm MDF tau pleev xim dub, uas coj mus rau qhov kev sib dhos zaum kawg.

Raws li ib tus tuaj yeem pom, lub ntsej muag yas dub npog lub ntsej muag acrylic, tso tawm tsuas yog tus hais lus thiab lub vijtsam LCD.

Cov duab qhia cov txheej txheem sib dhos.

Kauj ruam 5: Kho lub RetroPie

Cov theem hauv qab no tau muab los ntawm https://www.instructables.com/id/Breadboard-RetroP… thiab

Ua ntej, nws yog qhov tsim nyog los rub tawm RetroPie duab, uas tuaj yeem ua tiav los ntawm qhov txuas hauv qab no:

Xaiv "Raspberry Pi 0/1" xaiv los rub cov duab rau Raspberry Pi Zero W.

Cov txheej txheem teeb tsa, nrog rau tag nrho cov lus qhia RetroPie, tuaj yeem pom ntawm qhov txuas hauv qab no:

Kauj Ruam 6: Kho lub GPIO Controller

Txhawm rau teeb tsa GPIO tus tswj hwm, ib tus yuav tsum rub cov ntaub ntawv mk_arcade_joystick_rpi:

git clone

Sau thiab teeb tsa module:

sudo mkdir /usr/src/mk_arcade_joystick_rpi-0.1.5/

cd mk_arcade_joystick_rpi-master/

sudo cp -a * /usr/src/mk_arcade_joystick_rpi-0.1.5/

export MKVERSION = 0.1.5

sudo -E dkms tsim -m mk_arcade_joystick_rpi -v 0.1.5

sudo -E dkms nruab -m mk_arcade_joystick_rpi -v 0.1.5

Kauj Ruam 7: Pib thauj tus tsav tsheb thaum Pib

Qhib /etc /modules:

sudo nano /thiab /modules

thiab ntxiv kab uas koj siv los thauj tus tsav tsheb:

mk_arcade_joystick_rpi

Tom qab ntawd tsim cov ntawv /etc/modprobe.d/mk_arcade_joystick.conf:

sudo nano /etc/modprobe.d/mk_arcade_joystick.conf

thiab ntxiv cov qauv teeb tsa:

xaiv mk_arcade_joystick_rpi daim ntawv qhia = 1

Kev Xeem:

Siv cov lus txib hauv qab no los ntsuas cov khoom siv joysticks:

jstest/dev/input/js0

Cov lus qhia ntxiv tuaj yeem pom nyob hauv cov kab txuas hauv qab no:

www.instructables.com/id/Breadboard-RetroP…

github.com/recalbox/mk_arcade_joystick_rpi

Kauj Ruam 8: Qhov Kawg

Qhov Kawg
Qhov Kawg
Qhov Kawg
Qhov Kawg
Qhov Kawg
Qhov Kawg

Raws li koj tuaj yeem pom, qhov no yog qhov kawg ntawm txoj haujlwm, uas ua haujlwm tau zoo thiab npaj rau kev lom zem heev! Txaus siab rau!

Pom zoo: