Cov txheej txheem:

Game Gear Pi: 8 Kauj Ruam
Game Gear Pi: 8 Kauj Ruam

Video: Game Gear Pi: 8 Kauj Ruam

Video: Game Gear Pi: 8 Kauj Ruam
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Hlis ntuj nqeg
Anonim
Game Iav Pi
Game Iav Pi
Game Iav Pi
Game Iav Pi
Game Iav Pi
Game Iav Pi

Nyob zoo sawv daws. Nws yog kuv thawj Cov Ntawv Qhia yog li yog tias koj muaj lus nug lossis tawm tswv yim, tsis txhob yig qhia kuv paub.

Kuv ib txwm xav ua qhov phiaj xwm nqa tau nrog raspberry pi thiab tsis ntev los no kuv yuav 2 lub Game Game tawg rau 5 $ ntawm lub tsev pawnshop thiab kuv txiav txim siab ua ib qhov haujlwm nrog lawv. Kuv xav siv thawj lub rooj tsav xwm hluav taws xob thiab thawj lub rooj tsav xwm suab tau khaws los ntawm cov khoom siv. Kuv muaj hmoo vim tias kuv tau txais ib lub rooj tsav xwm ua haujlwm los ntawm ib lub iav game thiab ib lub rooj ua haujlwm suab los ntawm lwm qhov.

Kauj ruam 1: Yam Koj Yuav Tsum Tau

Yam Koj Yuav Tsum Tau
Yam Koj Yuav Tsum Tau

1 - Raspberry Pi 1/2/3/B+

2 - Game Gear Donor

3 - Pawg Thawj Fwm Tsav (Game Gear Donor)

4 - Lub Rooj Tswjhwm Saib Suab (Game Gear Donor)

5 - Khawm thiab PCB (Game Gear Donor)

6 - LCD Screen Composite 3.5in 12v (los ntawm lub dashcam)

7 - Swb Hloov (kom kaw lub vijtsam thaum tsis siv) (Nws yog daim me me nyob rau sab saum toj -sab xis ntawm daim duab)

8 - Hais Lus (Game Gear Donor)

9 - Poj Niam Jumper Hlau

10 - Txiv neej Jumper Hlau

11 - Dremel Multi -tool

12 - Ntsia Hlau Ntsia Hlau

13 - Cov Khoom Siv Hluav Taws Xob rau Game Gear (Kuv siv 9V 1A)

14 - Ntsws Tube

15 - Cov Chaw Nres Tsheb

16 - Aviation Snips - Txiav Ncaj

PS: Kuv siv jumper xaim kom tuaj yeem hloov txhua yam yooj yim thaum muaj qee yam tawg.

Kauj Ruam 2: Disassembly thiab Npaj Case

Disassembly thiab Npaj Case
Disassembly thiab Npaj Case
Disassembly thiab Npaj Case
Disassembly thiab Npaj Case
Disassembly thiab Npaj Case
Disassembly thiab Npaj Case

Koj yuav tsum tshem tawm tag nrho Game Gear thiab khaws txhua daim nyob rau sab nrog rau cov ntsia hlau. Ceev faj, sab hauv Game Gear muaj me ntsis neon. Kov nrog saib xyuas.

Tom qab ntawd, koj yuav tsum tau lo koj lub vijtsam hauv rooj plaub (Kuv siv cov kua nplaum kub).

Koj yuav tau ua lub qhov hauv qab rau SD daim npav qhov zoo li daim duab. Siv koj tus raspberry pi los pab koj txiav txim siab muab lub qhov tso rau qhov twg.

Thaum koj yuav ua lub qhov, koj yuav tsum tau kub kua nplaum raspberry pi rau hauv qab ntawm rooj plaub thiab xyuas kom nws haum rau lub qhov uas koj nyuam qhuav ua rau daim npav SD.

Kauj Ruam 3: Npaj PCB

Npaj PCB
Npaj PCB
Npaj PCB
Npaj PCB
Npaj PCB
Npaj PCB

Tam sim no koj yuav tsum txiav PCB yog tias koj xav rov siv nws zoo li kuv. Txwv tsis pub, koj tuaj yeem tsim koj tus kheej PCB nrog koj tus kheej khawm.

Ntawm daim duab koj tuaj yeem pom qhov twg txiav, tab sis rau sab ntawm D-ncoo, Kuv txiav txim siab khaws qhov 'Ext.' Txuas. Txwv tsis pub koj yuav nyam nrog qhov tsis ua tiav ntawm Game Gear. Koj tuaj yeem txiav PCB nrog Aviation Snips. Hauv kuv qhov xwm txheej, kuv tau ua yuam kev thiab qee lub khawm tsis ua haujlwm tom qab txiav PCB. Yog li kuv raug yuam kom txhuam txhua lub ncoo hauv av rau ib leeg nrog cov xov hluav taws xob. Tom ntej no, koj yuav tsum tau muab cov hlua txuas txuas txuas rau ntawm cov ntsiab lus txuas ntawm cov nyees khawm raws li pom hauv daim duab. Thaum koj ua tiav, muab D-ncoo thiab khawm nyob rau hauv qhov chaw thiab ntsia hlau rau rooj plaub.

Kauj Ruam 4: Lub Rooj Tswjhwm Saib Lub Hwjchim, Lub Rooj Tswjhwm Saib Lub Suab thiab LCD

Image
Image

Txog rau ntu no, Kuv tau tshuaj xyuas qhov vis dis aus hauv youtube uas piav qhia yuav siv lub rooj tsav xwm fais fab li cas nrog lub khoos phis tawj suab nrog raspberry pi.

Rau LCD (uas ib txwm siv los ntawm 12V lub zog xa khoom), koj yuav tsum siv 9v tso tawm ntawm lub rooj tsav xwm txij li nws yuav ua haujlwm ntawm qhov hluav taws xob no.

Kauj Ruam 5: GPIO thiab Xov Tooj

GPIO thiab Xov Tooj
GPIO thiab Xov Tooj

D-Pad / Cov Lus Taw Qhia / RPI tus pin:

UP - M10 - Pin 15

RIGHT - M13 - Pin27

LEFT - M12 - Pin 16

DOWN - M11 - Pin28

Hauv av

1-2-Pib / Cov Lus Taw Qhia / RPI tus pin:

Pib - M16 - Pin11

2 - M15 - Pin33

1 - M14 - Pin 31

Hauv av

Kauj Ruam 6: Kev teeb tsa

Hauv theem no, koj yuav tsum hlawv cov duab tshiab ntawm retropie nrog win32diskimager. Tom qab ntawd koj yuav tsim lub npe cov ntaub ntawv khoob 'ssh' ntawm lub hauv paus ntawm koj daim npav SD kom tuaj yeem ssh tom qab. Thaum koj txuas nrog

sudo raspi-teeb tsa

sudo apt-tau hloov tshiab && sudo apt-tau nruab -y proftpd

mkdir/tsev/pi/Adafruit-Retrogame

Luam cov ntaub ntawv 'retrogame.c' rau cov npe no. Kuv tau ua nws nrog proftpd.

cd/tsev/pi/Adafruit-Retrogame

ua retrogame

sudo nano /etc/udev/rules.d/10-retrogame.rules

Ntxiv kab:

SUBSYSTEM == "input", ATTRS {name} == "retrogame", ENV {ID_INPUT_KEYBOARD} = "1"

CTRL+X (txuag thiab tawm)

sudo nano /home/pi/gpio.sh

Ntxiv kab:

#!/bin/tsoo

gpio hom 3 tawm

gpio sau 31

gpio hom 4 tawm

gpio sau 41

gpio hom 22 nyob rau hauv

gpio sau 22 0

gpio hom 23 tawm

gpio sau 231

gpio hom 0 tawm

gpio sau 01

CTRL+X (txuag thiab tawm)

sudo chmod +x /home/pi/gpio.sh

sudo nano /etc/rc.local

Ntxiv kab ua ntej 'fi':

/tsev/pi/Adafruit-Retrogame/retrogame &

/home/pi/gpio.sh &

CTRL+X (txuag thiab tawm)

sudo amixer cset tus lej = 1 100%

sudo rov pib dua

Kauj Ruam 7: Kho lub Tswv Yim

Thaum Retropie nug koj kom teeb tsa cov tswv yim, koj yuav tsum teeb tsa (ua keyboard) zoo li no:

UA = UP

DAWB = DAWB

LEFT = LEFT

LUAG = RIGHT

1 = IB

2 = UA

Pib = Nkag mus

Xaiv = S.

Thiab rau qhov so, koj tuaj yeem tsis quav ntsej lawv.

Kauj ruam 8: Ua tiav

Tiav
Tiav
Tiav
Tiav
Tiav
Tiav

Thiab nws ua tiav. Koj yuav tau ntxiv qee qhov game thiab koj yuav npaj ua si.

Thov tawm lus.

Ua tsaug.

Pom zoo: