Cov txheej txheem:

Raspberry Pi Mobile Gaming Device: 11 Kauj Ruam
Raspberry Pi Mobile Gaming Device: 11 Kauj Ruam

Video: Raspberry Pi Mobile Gaming Device: 11 Kauj Ruam

Video: Raspberry Pi Mobile Gaming Device: 11 Kauj Ruam
Video: We Turned This Cheap Second Hand Phone In A Powerful Emulation & Gaming Console! 2024, Kaum ib hlis
Anonim
Raspberry Pi Mobile Gaming Device
Raspberry Pi Mobile Gaming Device

Koj puas tau xav kom muaj peev xwm ua si cov vis dis aus classic ntawm kev mus, tab sis tsis paub meej qhov twg kom tau txais lub cuab yeej muaj peev xwm khiav cov kev ua si qub, lossis lawv tsuas yog kim heev? Tom qab ntawd ua koj tus kheej!

Nov yog cov ntaub ntawv hais txog kev tsim kuv Raspberry Pi Mobile Gaming Device, tau tshoov siab los ntawm Nintendo Hloov. Tus nqi tsuas yog qis dua $ 200, thiab muaj peev xwm khiav ntau qhov kev ua si qub nrog kev siv RetroPie. RetroPie muaj ntau dua 30 emulators ua hauv, yog li khiav cov kev ua si laus dua yog cua, tsuav koj muaj ROMs!

Muaj ntau yam uas kuv yuav tau ua txawv hauv txoj haujlwm no, thiab kuv yuav sim thiab qhia qhov ntawd nrog koj hauv qhov kev qhia no. Txoj kev ntawd koj tuaj yeem kawm los ntawm kuv qhov yuam kev yam tsis tas yuav ua rau koj tus kheej.

Vam tias koj tuaj yeem siv cov lus qhia hauv qhov kev qhia no los tsim koj tus kheej Raspberry Pi gaming ntaus ntawv. Yog tias koj ua thov qhia kuv los ntawm txhaj "Kuv Ua Nws!" qhov kawg ntawm Cov Lus Qhia.

Tsis tas li, yog tias koj nyiam txoj haujlwm no, thov pov npav rau nws zoo li nws nyob hauv Game Life contest. Ua tsaug!

Kauj Ruam 1: Daim Ntawv Teev Npe

KAWM

Koj yuav tsum tau ua ke nrog cov hlau txuas, paub Python yooj yim, thiab muaj qee qhov nkag siab hauv kev ua ntoo.

Lub peev xwm los rhuav tshem cov vis dis aus yog qhov yuav tsum tau ib yam nkaus (Kuv tseem tab tom ua qhov ntawd txawm hais tias …)

XEEM

1x Raspberry Pi 2 lossis 3 - $ 35

1x Raspberry Pi Official 7 Touchscreen - $ 75

1x Micro SD daim npav (8GB yam tsawg kawg nkaus, tej zaum koj yuav xav tau ntau dua rau koj li ROMs!)

1x Lithium Ion Battery Pack - 3.7V 4400mAh - $ 19.95 (https://www.adafruit.com/product/354)

2x Analog 2 -axis Thumb Joystick - $ 5.95 (https://www.adafruit.com/product/512)

1x PowerBoost 1000 Charger - $ 19.95 (https://www.adafruit.com/product/2465)

1x MCP3008 - 8 -Channel 10 -Bit ADC - $ 3.75 (https://www.adafruit.com/product/856)

1x Adafruit Trinket - $ 6.95 (https://www.adafruit.com/product/1500)

4 x 3mm LEDs

Ib qho kev sib txawv ntawm cov nyees khawm thawb - (puag ncig: https://www.adafruit.com/product/1009 thiab square:

Ntau yam ntawm cov xov hlau, cov tiv thaiv, thiab lwm yam khoom me me

Pawg board

1/4 "ntoo thiab 1/2" ntoo rau tsim rooj plaub

Cov cuab yeej

Soldering Hlau

Koob Ntshav Plier

Hlau Stripper

Ib Qhov Chaw Muag Khoom/Pabcuam Tes kuj tseem yuav pab tau thiab.

Laum Xovxwm

Band pom/scroll pom

Rooj Pom

Siv tawv

Dremel cuab yeej

SOFTWARE

RetroPie (https://retropie.org.uk)

Txhua tus lej thiab Fritzing schematics muaj nyob hauv cov ntaub ntawv Github no

Koj tseem yuav xav tau lwm lub khoos phis tawj los thauj RetroPie thiab ROMs rau koj li Raspberry Pi. Lub khoos phis tawj no yuav xav tau Etcher.io, Win32DiskImager, lossis lwm daim ntawv thov uas tuaj yeem sau RetroPie rau daim npav SD, nrog rau Arduino IDE tshiab kawg. Yog tias koj tab tom khiav Windows, koj yuav tsum teeb tsa PuTTY (https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html) txhawm rau SSH rau hauv koj li Raspberry Pi.

Kauj Ruam 2: Breadboard Koj Cov Hluav Taws Xob

Kuv pib los ntawm breadboarding kuv circuits, kom paub tseeb tias txhua yam ua haujlwm tau raws li tau npaj tseg.

Kuv tau suav nrog cov lej thiab cov lej hauv Github cov ntaub ntawv thaum pib ntawm kev qhia; txawm li cas los xij, Kuv tau ua qee qhov kev hloov pauv me me uas kuv tsis nco qab teev tseg, yog li qee yam yuav txawv dua li tam sim no. Cov cai tuaj yeem siv ua qhov pib rau koj txoj haujlwm, tab sis kuv pom zoo kom tsawg kawg nyeem los ntawm nws kom nkag siab nws, thiab hloov nws kom tau raws li qhov koj xav tau tshwj xeeb lossis ua kom nws zoo dua.

Txhua qhov kev tswj hwm tau txuas mus rau 3.3v, txuas rau 5v tuaj yeem ua rau koj lub Raspberry Pi puas tsuaj

Kev Tswj Hluav Taws Xob

Muaj 12 lub khawm tswj tag nrho. 4 rau A/B/X/Y, 4 rau DPAD, ib qho rau txhua Qhov Pib thiab Xaiv, thiab ob lub xub pwg khawm. Koj yuav muaj peev xwm muaj 4 lub xub pwg nyees khawm nyob ntawm qhov chaw, tab sis feem ntau RetroPie kev ua si uas xav tau lub xub pwg khawm tsuas xav tau ob (kuv xav …).

Cov nyees khawm tau xaim ntawm ib sab mus rau 3.3v dhau los ntawm 10k resistor, thiab ntawm tib sab txuas nrog lawv cov GPIO tus pin txuas los ntawm 1k resistor. Lwm sab txuas ncaj qha rau GND (hauv av). Yog tias cov laj thawj sib txawv hauv koj lub Circuit Court, nco ntsoov tias cov laj thawj hauv koj cov cai cuam tshuam qhov ntawd! Hauv cov cai kuv tau muab nws yuav ua haujlwm tau li ob txoj kev, tab sis tsis txhob hais kuv qhov ntawd;)

Cov joysticks tau txuas rau MCP3008 ADC (Analog rau Digital Converter). Muaj 8 raws ib sab, thiab SPI cuam tshuam rau lwm qhov. Nco ntsoov tias koj tab tom txuas cov txiaj ntsig los ntawm joysticks mus rau sab raug ntawm ADC! Cov joysticks 'X, Y thiab SEL (khawm xaiv) txhua tus txuas nrog ADC. SEL tus pin tsis zoo ib yam, tab sis kom txuag ntawm GPIO pins, Kuv txuas lawv rau ADC. Kuv tau xaim tus tiv thaiv los ntawm SEL pins rau 3.3v, raws li cov zis tau teeb tsa tus nqi ntab thaum tsis nias, tom qab ntawd luv rau hauv av thaum nias.

ADC txuas nrog ntawm 4 tus pin mus rau Raspberry Pi, tab sis qee qhov pins tsis xav tau (raws li kuv paub. Cov pins hauv cov txheej txheem tau sim thiab ua haujlwm zoo, nrog rau ob peb lwm tus). Ib yam li kuv tau hais los saum no, xyuas kom tseeb tias koj cov cai cuam tshuam rau koj cov cuab yeej!

Lub hwj chim thaiv

Koj yuav tsum xub xa cov cai rau Trinket los ntawm Arduino IDE. Qhib TrinketRPi.ino cov ntaub ntawv hauv Arduino IDE, xaiv koj lub rooj tsavxwm thiab chaw nres nkoj los ntawm cov cuab yeej ntawv qhia zaub mov, thiab ntaus lub pob upload.

PowerBoost's 5v cov zis tau txuas ncaj qha rau Raspberry Pi 5v GPIO tus pin thiab Touchscreen's 5v tus pin, thiab hauv av los ntawm PowerBoost tau txuas nrog Pi thiab Touchscreen cov av pins. Lub trinket yog siv los ntawm Raspberry Pi's 3.3v GPIO tus pin.

Adafruit Trinket yog siv los tswj lub zog. Pin 0 ntawm Trinket txuas nrog GPIO 15 (tsis yog lub cev 15) ntawm Raspberry Pi, thiab tus pin 2 ntawm Trinket txuas nrog EN tus pin ntawm PowerBoost. Nrog rau qhov ntawd, lub hwj huam khawm tau txuas ntawm BAT thiab EN ntawm PowerBoost. Thaum lub pob no tau nias thiab tuav txog 5 vib nas this (lub sijhawm nws yuav siv rau Trinket pib), txhua yam tau qhib. Thaum tso tawm, Trinket tuav tus pin 2 HIGH (txuas nrog EN tus pin ntawm PowerBoost), ua kom lub zog txuas mus rau qhov system.

Lub hwj huam khawm tsuas ua haujlwm raws li kev hloov ON, raws li kuv tsis paub yuav ua li cas thiaj ua tau Circuit Court uas yuav cia nws ua ob qho tib si rau thiab tawm. Tus Pi tseem tuaj yeem kaw tau yooj yim los ntawm software txawm hais tias!

Thaum Pi pib, tus pin 15 tau teeb tsa HIGH (Controller.py) txhawm rau ceeb toom rau Trinket tias nws nyob. Thaum Pi tau tawm hauv txhua txoj kev, tus pin 15 mus qis, ua rau Trinket tuav lub zog rau ~ 20 vib nas this, tom qab ntawd tua lub zog tag.

Kuv thov txim uas tau hais tias kuv tau hloov pauv qhov no uas tam sim no tau muab faus rau hauv ib lub thawv, thiab kuv tsis paub tseeb tias kuv tau ua dab tsi raws li txoj haujlwm no tau ua ib pliag dhau los. Cov txheej txheem no yuav tsum ua haujlwm, tab sis thov sim nws ua ntej ua kom nws nyob hauv qhov chaw tsis nkag mus!

PowerBoost's BAT tus pin txuas nrog ADC los nyeem qib roj teeb. 6.8k tus tiv thaiv txuas BAT tus pin rau ADC channel, thiab lwm 10k tus tiv thaiv txuas BAT tus pin rau GND. Qhov no tso cai rau ADC kom tau txais cov roj teeb hluav taws xob tso tawm, thiab kwv yees qib roj teeb. Thaum them nyiaj, lub roj teeb tso tawm yuav yog 5v, yog li tsis muaj txoj hauv kev los paub qib roj teeb thaum nws tab tom them nrog teeb tsa no.

Yog tias koj xav tau, koj tuaj yeem txuas VBUS ntawm PowerBoost tib yam li BAT; qhov no tso cai rau koj paub yog tias lub roj teeb tau them.

Qhov taw qhia LEDs

Plaub qhov taw qhia LED tso cai rau koj pom yam xws li qib roj teeb, ntim lossis tso saib pom kev zoo. Txoj cai tsuas yog teeb tsa rau qib roj teeb tam sim no.

Txhua 3mm LED txuas nrog los ntawm GPIO tus pin, dhau los ntawm 100ohm resistor, thiab rov qab rau hauv av. Kuv cov LEDs ntsuab, nco ntsoov xaiv qhov tsim nyog tiv taus rau lwm cov xim LED, vim lawv muaj lub zog sib txawv xav tau!

Nws yog rau kev thaiv! Tom qab koj tau sim koj cov xov hlau ntawm lub khob cij, koj tuaj yeem pib ua qhov txuas mus tas li.

Kauj ruam 3: Teeb Software

Teeb Software
Teeb Software

Txhawm rau rub RetroPie mus rau SD daim npav, koj yuav xav tau daim ntawv thov xws li Etcher.io (pom zoo) lossis Win32DiskImager, thiab RetroPie kev ua haujlwm los ntawm qhov txuas thaum pib.

Txhawm rau siv Etcher, ua ntej tso koj daim npav micro SD rau hauv koj lub computer. Qhib Etcher, thiab nyem "Xaiv Duab". Nkag mus rau daim nplaub tshev uas koj rub tawm RetroPie, xaiv nws, thiab nyem "Qhib". Tom ntej no, nyem "Xaiv Tsav", thiab xaiv koj daim npav SD los ntawm cov npe. Nco ntsoov tias koj xaiv daim npav SD raug, vim nws yuav tshem nws! Nyem "Flash" thiab tos nws kom tiav. Nws yuav rho tawm daim npav SD ib zaug ua tiav, yog li nws muaj kev nyab xeeb tshem tawm yog tias los ntawm koj lub computer.

Yog tias koj tsis muaj Raspberry Pi 3, koj yuav xav tau WiFi dongle. Tus tswj kev ua si tau pab ntawm cov kauj ruam no, tab sis tsuas yog xav tau cov keyboard. Ntxig koj daim npav SD rau hauv koj li Raspberry Pi, txuas nws mus rau lub monitor (lub vijtsam kov ua haujlwm tau zoo) thiab txuas lub zog. Thaum RetroPie khau looj plab hlaub, koj yuav tsum teeb tsa kev tswj hwm. Xaiv koj tus tswj hwm/keyboard thiab ua raws cov lus qhia. Thaum ua tiav, mus rau WiFi teeb tsa hauv RetroPie cov ntawv qhia zaub mov thiab teeb tsa koj li WiFi.

Koj tseem yuav xav tau kom qhib SSH. Rov qab mus rau RetroPie cov ntawv qhia zaub mov thiab xaiv raspi-teeb tsa los ntawm cov npe (Kuv ntseeg tias qhov ntawd yog qhov twg). Hauv qab cuam tshuam, xaiv SSH. Nws yuav nug yog tias koj xav pab SSH. Xaiv Tau

Tej zaum koj yuav tau rov pib dua koj Pi tam sim no. Thaum nws rov pib dua, rov qab mus rau RetroPie cov ntawv qhia zaub mov. Kuv ntseeg tias muaj tus IP chaw nyob lossis tus tswv npe xaiv uas yuav qhia rau koj Raspberry Pi tus IP chaw nyob. Luam qhov no ntawm ib daim ntawv lossis tsuas yog tso cov ntawv qhia no qhib rau tam sim no.

Hauv koj lub khoos phis tawj, koj yuav tsum tau SSH rau hauv koj li Raspberry Pi.

Yog tias koj nyob ntawm Windows, rub tawm, teeb tsa thiab qhib PuTTY (txuas hauv ntu ntu) thiab teeb lub thawv "Hostname (lossis IP chaw nyob)" rau koj Raspberry Pi lub npe hostname, tom qab ntawd nyem "Qhib" kom pib qhov kev sib tham.

Ntawm Mac thiab Linux, koj tuaj yeem yooj yim qhib lub davhlau ya nyob twg thiab ntaus

$ ssh pi@hostname

hloov "hostname" nrog IP chaw nyob uas koj tau txais ntawm Raspberry Pi. Nco ntsoov tias $ tsis raug ntaus rau lub davhlau ya nyob twg, nws tsuas yog txhais tau tias qhov no yog lub davhlau ya nyob twg tshiab tam sim.

Tom ntej no, nkag mus

$ nano /home/pi/Controller.py

thiab muab cov ntsiab lus ntawm Controller.py cov ntaub ntawv los ntawm Github rau hauv nws. Controller.py yog tsab ntawv nab nab uas ua haujlwm rau txhua qhov kev tswj hwm kev nkag, xws li joysticks thiab cov nyees khawm.

Koj yuav tsum tau hloov tus lej tus lej kom phim cov ntawd hauv koj cov khoom siv kho vajtse.

Ntaus CTRL-X lossis CMD-X thiab tom qab ntawd Y los khaws cov ntawv. Tom ntej no, nkag mus

$ sudo nano /etc/rc.local

tom qab ntawd nkag kab no rau hauv cov ntawv:

sudo python3 /home/pi/Controller.py &

ces ntaus CTRL-X (Windows) lossis CMD-X (Mac) thiab tom qab ntawd Y (tsis muaj CTRL/CMD) kom txuag tau. Qhov no teeb tsa Controller.py tsab ntawv los pib ntawm khau raj.

Tom ntej no koj tuaj yeem rov pib dua koj li kev teeb tsa, yog li koj tuaj yeem siv koj cov nyees khawm/joysticks hloov chaw ntawm USB game controller.

$ sudo ~/RetroPie-Teeb/retropie_setup.sh

thiab mus rau Emulation Station configuration teeb tsa ntawm

Tswj cov pob khoom -> Pob Pob -> emulationstation -> Kev teeb tsa lossis teeb tsa / Cov cuab yeej -> emulationstation thiab xaiv qhov kev xaiv los tshem tawm / rov pib dua Chaw Ua Haujlwm Emulation

Lub sijhawm tom ntej koj rov pib dua, koj lub USB tswj hwm yuav tsis teeb tsa ntxiv lawm, tab sis koj yuav tuaj yeem teeb tsa koj li kev tswj hwm ntawm lub sijhawm ntawd.

Txij ntawm no mus, koj tuaj yeem thauj koj cov ROMs mus rau Raspberry Pi. Muaj ntau txoj hauv kev los ua qhov no, thiab kuv pom cov vis dis aus no muaj txiaj ntsig tshaj plaws:

Los ntawm koj tus Browser-Qhov kev xaiv no tseem ua rau koj nkag tau yooj yim rau qee yam ntawm koj kev teeb tsa RetroPie, txij li nws muab lub vev xaib GUI rau ntau yam haujlwm uas ib txwm ua tiav los ntawm lub davhlau ya nyob twg lossis RetroPie ntawv raws GUI.

Hla koj Lub Network - Qhov kev xaiv no tso cai rau koj hloov ROMs los ntawm hauv koj lub computer cov ntaub ntawv browser, ua kom yooj yim dua rau koj cov ntaub ntawv. Nws tseem tso cai rau koj tshawb xyuas thiab kho qee cov ntawv sib faib ntawm RetroPie, xws li BIOS, txaws cov ntxaij vab tshaus, thiab teeb tsa cov ntaub ntawv.

Siv ob qho kev xaiv yuav tso cai tswj hwm koj li kev txhim kho RetroPie, tab sis tsuas yog ib qho xav tau los hloov ROMs. Xaiv qhov uas haum rau koj tshaj plaws.

Kauj Ruam 4: Npaj Raspberry Pi thiab Touchscreen

Txog qhov haujlwm no, qhov chaw yuav tsawg kawg, yog li kuv pib tshem tawm cov khoom tsis tsim nyog los ntawm Raspberry Pi.

Ua ntej tshaj yog USB thiab Ethernet chaw nres nkoj. Cov laug ntawm cov no tuaj yeem nyuaj rau tshem tawm, vim nws muaj qhov kub yaj ntau. Kuv txiav tawm feem ntau ntawm txhua qhov chaw nres nkoj nrog cov tin snip, thiab tom qab ntawd muab cov khoom seem pov tseg. Ceev faj thaum tshem cov chaw nres nkoj no, vim qee qhov khoom me me tuaj yeem yooj yim tsoo tawm Raspberry Pi (hais los ntawm kev paub dhau los).

Ib qhov chaw nres nkoj USB yog xaim (tsis ncaj qha) mus rau Raspberry Pi qhov tsis ntev los no nthuav tawm USB cov kab laug sab. Qhov no tso cai rau nws txuas nrog rau sab ntawm rooj plaub.

Lub USB fais fab tawm chaw nres nkoj tau raug tshem tawm ntawm lub vijtsam kov tib yam.

Tom ntej no, Kuv tau muag cov GPIO pins. Kuv pom txoj hauv kev yooj yim tshaj plaws los ua qhov no yog thawj zaug txiav tawm cov yas dub ib puag ncig hauv qab ntawm GPIO pins. Qhov no tso cai rau koj kom tshem tawm txhua tus pin cais. Kuv tsis tuaj yeem tshem tawm ib qho ntawm cov pins hauv av vim qhov siab dua melting point solder, tab sis lawv tuaj yeem txiav luv dua tom qab.

Kauj Ruam 5: Tsim Kev Tshawb Fawb rau Kev Tswj

Tsim Kev Tshawb Fawb rau Kev Tswj
Tsim Kev Tshawb Fawb rau Kev Tswj
Tsim Kev Tshawb Fawb rau Kev Tswj
Tsim Kev Tshawb Fawb rau Kev Tswj

Rau cov kauj ruam no, koj yuav xav tau ntu ntawm perf board txhawm rau txhawm rau txhawm rau khawm. Kuv tau pom tias perf board nrog tooj liab cov kab hauv kab nruab nrab ntawm qee qhov yuav ua haujlwm tau zoo dua li lub rooj tsav tsheb perf nrog txhua lub qhov sib cais. Nws nyob ntawm koj ntawm qhov koj siv txawm hais tias;)

Yuav muaj ob txheej ntawm 4 khawm hauv pob zeb diamond zoo rau DPAD thiab rau A/B/X/Y. Kuv tsis nco qab thaij duab ntawm kuv thaum muab tso ua ke, tab sis nws yuav tsum tsis txhob nyuaj rau xam cov txheej txheem. Kuv cov nyees khawm tsuas yog hais txog kov ntawm ob ntawm lawv cov ces kaum txhua. Cov Pib/Xaiv cov nyees khawm tuaj yeem muab muag rau tus kheej lub rooj sib txig sib luag, lossis koj tuaj yeem txuas tau ib qho rau A/B/X/Y khawm perf board. Lub xub pwg khawm yuav tsum tau muab ob qho tib si rau lawv tus kheej cov laug cam ib yam nkaus.

Cov joysticks hauv kuv cov ntaub ntawv yuav tsum tau muab muag rau lawv nrog cov laug cam tawg. Tej zaum koj twb tau ua qhov no yog qhov ntawd yog koj li thiab:)

Cov LEDs tau muab muag rau ib leeg ntawm ib sab ntawm cov laug cam, thiab yog li ADC.

Nco ntsoov kuaj kab nrog lub ntsuas hluav taws xob, vim kev sim tom qab teeb tsa txhua yam hauv rooj plaub yuav nyuaj!

Koj tuaj yeem xav tos ua ntej yuav siv cov xov hlau txuas mus rau Raspberry Pi lossis nruab nrab ntawm ntu ntu ntu kom txog thaum koj paub koj cov txheej txheem txheej. Kuv tsis tau thiab nws ua rau nws nyuaj rau haum txhua yam tom qab (oops).

Kauj Ruam 6: Tsim Rooj plaub

Tsim Rooj Plaub
Tsim Rooj Plaub
Tsim Rooj Plaub
Tsim Rooj Plaub
Tsim Rooj Plaub
Tsim Rooj Plaub
Tsim Rooj Plaub
Tsim Rooj Plaub

Cov ntaub ntawv yog tej zaum qhov uas siv sijhawm ntev tshaj plaws ntawm txoj haujlwm no. Cov ntaub ntawv koj ua feem ntau yuav txawv ntawm kuv, yog li kuv yuav tsis muab qhov ntev ntawm txhua yam (ntxiv rau kuv poob qhov teeb meem rau rooj plaub).

Pem hauv ntej, sab saum toj thiab nraub qaum yog tsim los ntawm 1/4 "ntoo (yog tias kuv nco tau txoj cai), thiab sab thiab hauv qab yog ua los ntawm 1/2" ntoo.

Pib los ntawm kev ntsuas qhov nrug nruab nrab ntawm koj cov nyees khawm, nrog rau txoj kab nruab nrab ntawm txhua qhov ntawm qhov dav tshaj plaws ntawm lub pob. Kos cov ntsuas no rau sab hauv ntawm rooj plaub uas koj yuav tso lawv. Koj (yuav luag) ib txwm xav laum los ntawm sab hauv ntawm rooj plaub mus rau sab nraud, raws li hauv qab ntawm lub qhov drilled qhov yuav zoo dua. Nws pab tso daim phiaj seem tom qab koj lub qhov thaum drilling, yog li nws tsis rhuav lub rooj tsavxwm.

Lub qhov joysticks tau xub ua kom tob li qhov kwv yees, thiab tom qab ntawd muab xuab zeb thiab siv Dremel cov cuab yeej sab hauv los ua puag ncig lawv kom cov joysticks yuav haum zoo dua.

Qhov loj rau lub vijtsam kov tau ntsuas los ntawm ntu hlau nyob tom qab ntawm lub vijtsam kov. Kuv pib los ntawm kev drilling lub qhov nyob ze ib sab ntawm qhov chaw uas lub vijtsam yuav mus, tshem tawm ib qho kawg ntawm cov ntawv pom, muab nws hla lub qhov, thiab rov txuas nws dua yog li kuv tuaj yeem txiav lub qhov. Ib qho me me tau ua nyob rau hauv lub qhov plaub fab rau txoj hlua kab nyob tom qab ntawm lub vijtsam kom dhau mus (daim duab saum toj no). Kuv tau siv Dremel cov cuab yeej los txiav ib ntu ntawm ib sab ntawm lub qhov, yog li lub vijtsam kov yuav ntab tawm ntawm rooj plaub.

Sab saum toj ntawm rooj plaub tau ua ntau txoj hauv kev tib yam, nrog lub qhov rau lub qhov rau HDMI, A/V nkaus, USB chaw nres nkoj thiab them chaw nres nkoj. Raspberry Pi zaum sab xis rau sab saum toj ntawm rooj plaub, yog li HDMI thiab A/V cov hlua tsis xav tau. Tej zaum kuv yuav tsum tau siv cov txuas txuas ntxiv, vim nws yog qhov haum me ntsis.

Sab nraub qaum ntawm rooj plaub muaj rau lub qhov rau lub hom phiaj ua pa. Cov no tsis muaj qhov tshwj xeeb me me lossis teeb tsa, yog li koj tuaj yeem ua tus qauv txias nrog lawv! Kuv tsis nco qab los laum lub qhov tom qab PowerBoost lub teeb ntsuas lub teeb, yog li kuv yuav tsum tuav lub cuab yeej kom raug yog li kuv tuaj yeem pom lawv los ntawm lub qhov cua. Tej zaum koj yuav xav siv lub qhov me me nyob tom qab ntawm rooj plaub kom koj pom lawv!

Ob sab thiab hauv qab ntawm rooj plaub raug thais raws cov ntug kom lawv sib dhos ua ke, thiab tsim lub hnab tshos rau pem hauv ntej thiab nraub qaum los zaum hauv.

Thaum koj muaj tag nrho cov qhov drilled/txiav, koj tuaj yeem sib dhos rooj plaub. Hauv kuv tus kheej, txhua yam tab sis sab nraub qaum tau ua ke, nrog rau sab nraub qaum txhawm rau tso cai yooj yim nkag mus rau cov khoom.

Kauj Ruam 7: Tiav Cov Khoom Siv Hluav Taws Xob thiab Kev Xeem-haum

Tiav Cov Khoom Siv Hluav Taws Xob thiab Kev Xeem-haum
Tiav Cov Khoom Siv Hluav Taws Xob thiab Kev Xeem-haum
Tiav Cov Khoom Siv Hluav Taws Xob thiab Kev Xeem-haum
Tiav Cov Khoom Siv Hluav Taws Xob thiab Kev Xeem-haum

Txog ntawm qhov no, koj yuav tsum ua tiav cov khoom siv hluav taws xob los ntawm kev siv cov xov hlau txuas ntxiv ntawm cov ntu ntu ntawm lub rooj. Xyuas kom tseeb tias koj cov xov hlau yog qhov ntev kom tau qhov lawv xav tau mus. Ib txwm mus ntev me ntsis, zoo li koj tuaj yeem khoov xov hlau me ntsis, tab sis koj tsis tuaj yeem ncab lawv!

Cov xov hlau tuaj yeem muab ncaj qha txuas rau Raspberry Pi, tsuas yog xyuas kom koj tau tshuaj xyuas ob zaug ua ntej ua qee yam ruaj khov!

Kuv pom tias nws tau txais txiaj ntsig los tsim cov kab hluav taws xob uas muaj cov av thiab qhov hluav taws xob ntawm nws, yog li txhua ntu ntu ntu hluav taws xob tuaj yeem txuas rau qhov ntawd tsis siv tus pin sib txawv ntawm Raspberry Pi lossis lwm ntu.

Ntsuas qhov haum thiab qhov sib nrug kom ntseeg tau tias koj qhov kev teeb tsa ua haujlwm!

Kauj Ruam 8: Xim Xim

Txhawm rau pleev xim kuv cov ntaub ntawv, Kuv tau xaiv cov xim ib nrab xim dub uas tau sib phim ntawm lub vijtsam zoo heev. Kuv tau kaw tawm ntawm sab hauv ntawm lub qhov xwv kom kuv yuav tsis tau pleev xim rau thaj chaw uas yuav muaj cov nyees khawm txuas rau lawv. Sab hauv tsis xav tau thiab yuav tsum tsis txhob pleev xim, tab sis tsis txhob txhawj yog tias me ntsis nkag mus rau hauv.

Kauj Ruam 9: Txhim Kho Cheebtsam

Txhim kho Cheebtsam
Txhim kho Cheebtsam
Txhim kho Cheebtsam
Txhim kho Cheebtsam

Txhawm rau teeb tsa cov nyees khawm, Kuv txiav cov ntoo me me ntawm 1/4 ntoo uas tau lo rau ntawm ntu ntu ntoo. Cov no tau muab tso rau sab hauv ntawm rooj plaub hauv lawv qhov chaw tshwj xeeb siv cov kua nplaum zoo, vim cov kua nplaum ua rau nws nyuaj rau tuav nyob rau hauv qhov chaw thaum nws qhuav.

Rau cov joysticks, kuv tau ua "sawv ntsug" me me siv cov dowels thiab cov ntoo me me, uas tom qab ntawd tau ntsia hlau thiab/lossis txuas rau lub qhov sib dhos ntawm cov laug cam. Kuv tau siv Gorilla super kua nplaum, vim nws tau nrawm nrawm thiab tuaj yeem koom nrog cov ntoo thiab cov rooj ntoo yooj yim. Ib lub joystick breakout board yuav tsum tau txiav ib sab ntawm ib sab nrog txoj siv tawv kom nws haum zoo dua.

Raspberry Pi tau teeb tsa zoo ib yam li lub joysticks, nrog cov ntoo sawv ntsug txuas rau qee qhov ntawm qhov txuas.

Lub PowerBoost muaj cov ntoo me me txuas rau hauv qab, uas tom qab ntawd lo rau sab ntawm rooj plaub.

Cov LEDs tau yooj yim glued ncaj qha rau rooj plaub. Kuv pom tias cov kua nplaum super "hlawv" cov xim yog tias nws tau tawm sab nraud thaum txhim kho cov LEDs, yog li koj yuav xav tau ceev faj thaum ua li ntawd.

Tom qab txuas lub roj teeb, nws tau kaw rau hauv qab ntawm rooj plaub siv daim kab xev ua ob tog, uas zoo li tuav tau zoo.

Tom qab ntawd, koj tuaj yeem sim tias nws ua haujlwm li cas, thiab txuas ntxiv mus rau theem kawg.

Kauj ruam 10: Ua tiav

Tiav tiav
Tiav tiav

Tam sim no uas kho vajtse tiav, koj tuaj yeem ua tiav teeb tsa kev tswj hwm hauv RetroPie. Ua ntej, ntsaws rau hauv 5v 2.5A lub zog hloov hluav taws xob, lossis ib qho nom Raspberry Pi lub zog hloov pauv, vim koj lub roj teeb tseem yuav tsis tau them. Nco ntsoov tias koj muaj tsawg kawg 2.5A yog tias koj Pi nyob ntawm lub sijhawm koj tab tom them nws, vim lub zog tau faib ntawm PowerBoost them nqi hluav taws xob thiab Raspberry Pi. Yog tias koj tab tom them nws thaum Pi tawm, txhua lub charger yuav tsum ua haujlwm. Khau koj lub Raspberry Pi los ntawm kev tuav lub hwj chim khawm txog 5 vib nas this. Kuv pom tias kuv tus kheej tsis tau khau raj thaum ntsaws rau qee qhov laj thawj, yog li koj yuav tsum tau them lub roj teeb kom txog thaum lub teeb ntsuab qhia ntawm PowerBoost teeb (lub roj teeb tau them), thiab tom qab ntawd tshem nws. Thaum RetroPie pib, koj yuav tsum tau teeb tsa tus tswj hwm, tsuas yog lub sijhawm no nws yuav yog tus nab npawb tswj. Thaum koj tau teeb tsa koj cov kev tswj hwm, xyuas kom txhua yam ua haujlwm los ntawm kev pib ua qhov koj nyiam tshaj plaws thiab sim nws!

Kauj Ruam 11: Cov Lus Kawg thiab Khab nias

Nrog koj zoo siab! Koj tau ua tiav koj tus kheej li Raspberry Pi Mobile Gaming Device! Muaj kev lom zem ua si ntawm kev mus, thiab qhia tawm rau koj cov phooj ywg!

Ob peb yam kuv yuav tau ua txawv yog:

- Siv Arduino rau kev tswj hwm es tsis txhob xaim ncaj qha rau Raspberry Pi. Muaj ob peb zaug kuv hlawv GPIO tus pin, thiab (Kuv ntseeg) Arduino muaj tus pin tiv thaiv ntau dua li Pi.

- 3D luam ntawv yuav zoo rau rooj plaub, tab sis hmoov tsis kuv tsis muaj (tseem)

- Npaj txoj hlua kom zoo dua. Kuv hom kev maj nrawm mus rau txoj haujlwm no, tom qab ntawv txiav txim siab lig me ntsis uas kuv yuav tsum tau ua qee qhov kev npaj ntxiv:)

- Qhov rau them cov xwm txheej LEDs. Qhov ntsuas ntsuas LEDs ntawm PowerBoost qhia seb lub roj teeb puas tau them lossis tsis yog, thiab kuv tsis nco qab tho qhov kom lawv tuaj yeem pom. Ib qho chaw zoo yuav yog qhov rov qab ntawm rooj plaub tom qab PowerBoost, lossis nyob rau saum toj ntawm LEDs.

- Rov qab vaj huam sib luag tshem tawm qhov. Lub vaj huam sib luag tom qab ntawm kuv yog ib qho uas haum zoo, yog li qee qhov uas yuav tso cai rau koj rub nws tawm nrog koj tus ntiv tes yuav yog lub tswv yim zoo.

Ua tsaug, Kuv muaj peev xwm ua kom tiav txoj haujlwm no, thiab kuv vam tias koj muaj lossis tseem tuaj yeem tseem thiab kawm qee yam txog kev ua ntoo, kev tsim kho, lossis kev siv tshuaj yaj yeeb.

Kuv xav ua tsaug Mr. Fields uas tau pab kuv hauv txoj haujlwm no. Nws ua siab dawb pub nws lub sijhawm, rhiav thiab ntoo rau txoj haujlwm no. Nws tau pab kuv kawm paub ntau ntxiv txog kev ua ntoo, thiab muaj peev xwm coj kuv los ntawm cov txheej txheem ntawm kev ua rooj plaub.

Ua tsaug rau koj nyeem Cov Lus Qhia no!

Pom zoo: