Cov txheej txheem:

Mega RasPi - Raspberry Pi hauv Sega Mega Drive / Chiv Keeb: 13 Kauj Ruam (nrog Duab)
Mega RasPi - Raspberry Pi hauv Sega Mega Drive / Chiv Keeb: 13 Kauj Ruam (nrog Duab)

Video: Mega RasPi - Raspberry Pi hauv Sega Mega Drive / Chiv Keeb: 13 Kauj Ruam (nrog Duab)

Video: Mega RasPi - Raspberry Pi hauv Sega Mega Drive / Chiv Keeb: 13 Kauj Ruam (nrog Duab)
Video: Retroflag Nespi 4. Больше, чем просто чехол! Raspberry Pi 4 200 ГБ, сборка Retropie. 2024, Hlis ntuj nqeg
Anonim
Mega RasPi - Raspberry Pi hauv Sega Mega Drive / Genesis
Mega RasPi - Raspberry Pi hauv Sega Mega Drive / Genesis

Phau ntawv qhia no coj koj los ntawm kev hloov pauv ntawm Sega Mega Drive qub rau lub tshuab ua si retro, siv Raspberry Pi.

Kuv tau siv sijhawm ntau suav tsis txheeb ntawm kuv thaum yau ua yeeb yaj kiab game ntawm kuv Sega Mega Drive. Kuv cov phooj ywg feem ntau muaj ib yam nkaus, yog li peb yuav sib koom ua si thiab teeb tsa kev sib tw ntawm peb tus kheej. Peb caug xyoo tom qab, thaum kawg kuv tau pom txoj hauv kev los fwm cov cim xeeb ntawd, los ntawm kev hloov Sega Mega Drive mus rau lub khoos phis tawj retro gaming thiab media server uas kuv tuaj yeem siv niaj hnub siv Raspberry Pi: Mega RasPi.

Kuv lub hom phiaj yog khaws ntau npaum li cas ntawm lub console thawj qhov thiab ua haujlwm tau zoo li sai tau, thaum ua RasPi nws tus kheej nkag tau yooj yim.

Khoom siv

  • 1 faulty Sega Mega Drive (lossis Chiv Keeb)
  • 1 lossis 2 tus tswj kev ua haujlwm, 3 lossis 6 khawm
  • 1 Raspberry Pi 3B+
  • 1 Micro SD daim npav, RetroPie v4.5 tau teeb tsa ua ntej
  • 1 ControlBlock v2.1
  • 1 Lub zog hloov pauv, 5V 3A, nrog 5.5mm / 2.1mm ntsaws
  • Raspberry Pi heatsink
  • PLA 2.85mm filament
  • Extension cables thiab xov hlau:

    • HDMI cable, 30 cm
    • Ethernet cable, 30 cm
    • 3 x USB cables, 20/30 cm
    • Micro SD daim npav nyeem ntawv cable, 25 cm
    • 3.5mm jack audio cable
    • Micro USB fais fab cable
    • Jumper xov hlau, 25 cm
  • Ntsia Hlau
  • Yeem yeem

    • 2.5 nti cia tsav
    • SATA rau USB cable

Cov Cuab Yeej thiab Cov Khoom Siv

  • Cov cuab yeej yooj yim: ntswj ntsia hlau, pliers, pom, thiab lwm yam.
  • Soldering hlau thiab khoom siv
  • 3D tshuab luam ntawv
  • Kev paub yooj yim ntawm 3D luam ntawv, cov cuab yeej soldering thiab linux

Kauj Ruam 1: Tshem tawm Mega Drive

Disassembling Mega Tsav
Disassembling Mega Tsav
Disassembling Mega Tsav
Disassembling Mega Tsav

Tsis muaj cov cuab yeej zoo nkauj xav tau rau kev sib dhos: tus ntsia hlau zoo qub qub yog txaus.

Muaj 6 tus ntsia hlau los qhib rooj plaub sab nrauv, thiab 10 ntxiv rau tshem lub rooj tsavxwm. Qee tus ntawm lawv muaj qhov ntev sib txawv tab sis, taug qab qhov twg mus qhov twg.

Ib daim ntawv ntawm tus qauv: Muaj ob peb tus qauv sib txawv nrog me ntsis txawv chaw nres nkoj teeb tsa. Ib qho siv rau phau ntawv qhia no yog 1601-18.

Kauj Ruam 2: 3D Luam Ntawv Qhov Tshiab

3D Luam Ntawv Qhov Tshiab
3D Luam Ntawv Qhov Tshiab
3D Luam Ntawv Qhov Tshiab
3D Luam Ntawv Qhov Tshiab

Kuv xav tau daim tshiab kom sawv tawm tiag tiag, yog li kuv siv cov xim liab, nrog rau kev teeb tsa hauv qab no ntawm Ultimaker Cura:

  • Tshuab Luam Ntawv: Ultimaker 3
  • Filament: PLA 2.85 hli
  • Kev daws teeb meem: 0.1 hli
  • Cov ntsiab lus: 100%
  • Kev txhawb nqa thiab Adhesion ob qho tib si raug tshuaj xyuas

Koj tuaj yeem nrhiav qhov chaw.stl cov ntaub ntawv los ntawm Sega Mega Drive 1 nrog Raspberry Pi 3 yam.

Luam tawm cov hauv qab no:

  • Sab nraub qaum: HDMI thiab Ethernet

    • rov qab-1-HDMI-1601-18.stl
    • rov qab-2-HDMI-1601-18.stl
  • Sab txuas txuas ntxiv: USB thiab Micro SD daim npav nyeem ntawv

    • qhov-1-D-SUB.stl
    • qhov-2-D-SUB.stl
    • qhov-3-D-SUB.stl
  • Sab hauv

    pi-tuav-MULTI.stl

Ib daim ntawv ntawm 3D luam ntawv: PLA yog cov khoom siv yooj yim thiab yooj yim los ua haujlwm nrog, txawm li cas los xij koj tuaj yeem txiav txim siab lwm cov ntaub ntawv rau cov ntawv muaj zog, piv txwv li: PETG Cov ntaub ntawv no yog ib feem ntawm txoj haujlwm hloov pauv zoo no thiab nws tau sau tseg zoo nrog cov lus qhia ntxaws. Tus sau muag cov khoom siv tiav ntawm nws lub vev xaib, koj yuav xav txheeb xyuas qhov ntawd ib yam.

Kauj Ruam 3: Rov Qab Chaw: HDMI thiab Ethernet

Cov Chaw Rov Qab: HDMI thiab Ethernet
Cov Chaw Rov Qab: HDMI thiab Ethernet
Cov Chaw Rov Qab: HDMI thiab Ethernet
Cov Chaw Rov Qab: HDMI thiab Ethernet
Cov Chaw Rov Qab: HDMI thiab Ethernet
Cov Chaw Rov Qab: HDMI thiab Ethernet

Lob ob qho rov qab-1-HDMI-1601-18 thiab rov qab-2-HDMI-1601-18, ua ke nrog HDMI thiab Ethernet txuas txuas. Koj tseem yuav xav tau 3 tus ntsia hlau.

Thaum ob txoj hlua txuas nyob hauv qhov chaw, ntsia hlau txhawb nqa mus rau hauv qab rooj.

Cov ntawv ceeb toom ntawm kev xa cov kab hluav taws xob zoo: Nws tsis yooj yim mus nrhiav cov cables uas haum rau cov kev txhawb nqa zoo kawg nkaus. Kuv cov lus qhia yog mus ntsib ob peb lub khw muag khoom siv hluav taws xob thiab sim qee cov hlua txuas mus txog thaum koj pom qee yam uas haum koj. Koj yuav xav tau qee qhov ntu kom haum rau hauv kev txhawb nqa. Nov yog qhov kuv tau ua nrog HDMI cable, zoo li koj tuaj yeem pom hauv cov duab. Nws yuav tsum tsis muaj teeb meem, tsuav yog koj lo rau cov kab hluav taws xob yooj yim nrog cov roj hmab ntsaws, tshwj xeeb tshaj yog yog xaj online Cov kev xaiv yuav yog los kho cov ntaub ntawv.stl thiab luam tawm cov kev cai txhawb nqa rau txoj kab hluav taws xob zoo.

Kauj Ruam 4: Sab Txuas Ntxiv Chaw: USB thiab MicroSD

Cov Chaw Txuas Ntxiv Ntxiv: USB thiab MicroSD
Cov Chaw Txuas Ntxiv Ntxiv: USB thiab MicroSD
Cov Chaw Txuas Ntxiv Ntxiv: USB thiab MicroSD
Cov Chaw Txuas Ntxiv Ntxiv: USB thiab MicroSD
Cov Chaw Txuas Ntxiv Ntxiv: USB thiab MicroSD
Cov Chaw Txuas Ntxiv Ntxiv: USB thiab MicroSD

Lob qhov-1-D-SUB, slot-2-D-SUB thiab slot-3-D-SUB, ntxiv rau USB thiab Micro SD daim npav daim npav nyeem ntawv txuas txuas. Koj tseem yuav xav tau 4 tus ntsia hlau. Mount tag nrho cov kab hluav taws xob rau hauv qhov kev txhawb nqa thiab tom qab ntawd txuas nws mus rau rooj plaub.

Daim ntawv ceeb toom ntawm USB hloov pauv: tag nrho plaub lub USB chaw nres nkoj hauv Pi 3B+ yog version 2.0. Txawm li cas los xij, Pi 4 muaj ob lub USB 3.0 chaw nres nkoj. Nco ntsoov tias kom tau txais cov kab hluav taws xob raug thiab ua kom sib haum.

Kauj Ruam 5: Txiav thiab Soldering Pawg Thawj Coj

Trimming thiab Soldering Board
Trimming thiab Soldering Board
Trimming thiab Soldering Board
Trimming thiab Soldering Board
Trimming thiab Soldering Board
Trimming thiab Soldering Board

Txiav lub rooj tsavxwm kom haum rau hauv rooj plaub nrog cov ntawv luam tawm 3D tshiab, thaum khaws cov thawj khawm thiab cov chaw nres nkoj tswj raws li qhia hauv daim duab. Khaws lub suab thiab lub hwj chim nkaus ib yam.

Siv tag nrho cov xov hlau uas tsim nyog mus rau lub dav hlau raug (saib duab):

  • Lub hwj chim hloov, 2 jumper xov hlau
  • Pib dua khawm, 2 jumper xov hlau
  • Tswj cov chaw nres nkoj, 9 jumper xov hlau rau ib qhov chaw nres nkoj
  • Lub hwj chim txuas, lub zog txuas nrog Micro USB
  • Audio jack, audio cable with 3.5 mm jack

Thaum qhov no ua tiav, txuas lub Circuit Court rau hauv qab rooj nrog 3 tus ntsia hlau.

Ib daim ntawv ntawm kev hloov pauv ntawm pawg thawj coj: Kuv nyiam lub tswv yim ntawm kev sib xyaw ua ke qub thiab cov khoom tshiab raws li kev hwm rau lub console qub thiab ua rau cov khoom qub qub muaj txiaj ntsig, tau tshoov siab los ntawm txoj haujlwm no. Txawm li cas los xij, tsis txhob ua qhov no nrog kev ua haujlwm Mega Drive! Khaws nws thiab nrhiav qhov tawg ib leeg xwb. Koj tuaj yeem pom qhov pheej yig ib qho tawm ntawm eBay.

Kauj Ruam 6: Txhim Kho thiab Txias Raspberry Pi

Txhim Kho thiab Txias Raspberry Pi
Txhim Kho thiab Txias Raspberry Pi
Txhim Kho thiab Txias Raspberry Pi
Txhim Kho thiab Txias Raspberry Pi
Txhim Kho thiab Txias Raspberry Pi
Txhim Kho thiab Txias Raspberry Pi

Lob pi-holder-MULTI, ua ke nrog Raspberry Pi thiab (xaiv tau) lub 2.5 cia tsav (xav paub ntau ntxiv txog qhov no hauv kauj ruam tom ntej)

Khaws cov cua sov rau Pi, thiab txuas Pi rau qhov kev txhawb nqa. Nws pib ua kom tsis yooj yim rau mount txhua yam nrog cov xaim, yog li khaws qhov muag ntawm qhov ntawd.

Lus ceeb toom ntawm qhov txias: Kuv tsuas muaj txias txias, kom lub kaw lus ntsiag to. Kuv tso qee qhov heatsinks ntawm CPU, RAM thiab USB/Ethernet chips. Txhawm rau teeb tsa qhov txias txias, koj yuav tsum tau luam tawm lub kiv cua-tuav-MULTI thiab muab lub kiv cua txias, tso rau saum rooj plaub. Xa mus rau thawj qhov haujlwm kom paub meej.

Kauj Ruam 7: (Xaiv tau) Ntxiv Chaw Cia

(Tsis teb los tau) Ntxiv Chaw Cia
(Tsis teb los tau) Ntxiv Chaw Cia

Yog tias koj tau xaiv los ntxiv cov tsav tsheb cia, qhov kev txiav txim siab tseem ceeb los txiav txim siab yog lub zog. Nws zoo li tias USB chaw nres nkoj yuav tsis tuaj yeem muab lub zog txaus.

Raws li kev sim, Kuv siv HDD qub nrog ntu los ntawm cov ntaub ntawv sab nraud, uas tuaj yeem siv tau ntawm nws tus kheej. Lub HDD yog tom qab txuas nrog rau tib lub jack zoo li RasPi - raws li koj tuaj yeem pom hauv daim duab.

Qhov tshwm sim yog qhov ntxeev me ntsis, thiab muaj ntau yam tsis tseem ceeb ntawm no. Kuv xav qhia qhov tshwj xeeb SATA rau USB cable hloov pauv, nrog ob lub USB chaw nres nkoj rau lub zog ywj pheej.

Kauj Ruam 8: Txhim Kho ControlBlock: Tswj, Hloov Lub Hwj Chim thiab LED

Txhim Kho ControlBlock: Tswj, Hloov Lub Hwj Chim thiab LED
Txhim Kho ControlBlock: Tswj, Hloov Lub Hwj Chim thiab LED
Txhim Kho ControlBlock: Tswj, Hloov Lub Hwj Chim thiab LED
Txhim Kho ControlBlock: Tswj, Hloov Lub Hwj Chim thiab LED

Txuas lub zog hloov pauv thiab cov tswj hwm mus rau ControlBlock. Qhov no yog qhov ncaj ncaj, raws li tus tswj tus pin 1 txog 9 tau txuas nrog ua ntu zus. Muab cov LED tso rau sab saum toj nrog ob lub xov txuas txuas ntxiv ib yam, ua kom pom qhov tseeb.

ControBlock snaps txoj cai nyob rau sab saum toj ntawm RasPi, txawm hais tias tus tsav tsheb yuav tsum tau teeb tsa kom nws ua haujlwm tau zoo.

Nruab tus tsav tsheb

Qhib RetroPie Teeb cov ntawv qhia zaub mov thiab teeb tsa tus tsav tsheb ntawm cov ntawv qhia zaub mov:

RetroPie-Teeb> Tswj cov pob> Tswj cov pob khoom tsav> tswj thaiv> Nruab

Kho kom raug hom xws li:

Ntawm lub davhlau ya nyob twg, ntaus:

sudo nano /etc/controlblock.cfg

Nrhiav gamepadtype thiab hloov nws mus rau qhov tshwm sim.

"gamepadtype": "genesis", // Teev hom gamepad. Kev xaiv: "arcade", "mame", "snes", "nes", "genesis", "none" …

Tam sim no koj yuav tsum tuaj yeem teeb tsa cov tswj hwm hauv RetroPie.

Yog xav paub cov lus qhia ntxaws ntxiv thiab teeb tsa, saib ControlBlock2 cov ntaub ntawv.

Ib tsab ntawv ntawm ControlBlock v2.1: cov khoom siv no ntxiv kev tswj hwm lub zog thiab kev txhawb nqa rau Raspberry Pi. Kev tswj hwm lub zog tiv thaiv cov ntaub ntawv tsis zoo thiab tus tswj hwm ntxiv kev txhawb nqa rau cov thawj tswj hwm. Cov tswj hwm niaj hnub tseem tuaj yeem siv nrog ib qho ntawm sab USB chaw nres nkoj lossis ntawm Bluetooth. Txawm hais tias cov khoom siv no yooj yim, koj tsis xav tau nws kom ua tiav txoj haujlwm no. Lub zog hloov pauv tuaj yeem txuas ncaj qha rau Raspberry Pi, thiab cov tswj tau txuas rau GPIO siv db9_gpio_rpi.

Kauj ruam 9: Pib dua Khawm

Pib dua khawm
Pib dua khawm
Pib dua khawm
Pib dua khawm

Lub pob pib dua yog teeb tsa kom txiav tawm ib qho emulator thiab rov qab mus rau cov ntawv xaiv xaiv game.

Nruab PiGRRL2 Tswj

Ntawm lub davhlau ya nyob twg, ntaus:

curl -O

sudo bash retrogame.sh

Xaiv qhov kev xaiv 1: PiGRRL 2 tswj hwm thiab cia tsab ntawv ua tiav kev teeb tsa.

Hloov ESC tus pin teeb tsa

Txij li tus lej pib siv rau ESC tsis sib haum nrog ControlBlock, peb yuav tsum hloov nws mus rau tus lej sib txawv, piv txwv li: GPIO 25 (tus pin 22)

sudo nano /boot/retrogame.cfg

Nrhiav ESC qhov tseem ceeb kab, thiab hloov nws mus rau 25:

ESC 25 # Tawm ROM; PiTFT Khawm 1…

Hloov kho RetroArch

Ntawm lub davhlau ya nyob twg, ntaus:

sudo nano /opt/retropie/configs/all/retroarch.cfg

Nrhiav cov input_enable_hotkey thiab input_exit_emulator thiab hloov ob qho kom "khiav tawm"

input_enable_hotkey = "khiav tawm"… input_exit_emulator = “khiav tawm”…

Txuas lub khawm pib dua

Thaum kawg, txuas lub pob pib dua jumper xov hlau rau tus pin 22 (GPIO 25) thiab tus pin 25 (Hauv av).

Daim ntawv ceeb toom ntawm PiGRRL 2: Nov yog qhov haujlwm sib txawv hauv nws tus kheej, thiab peb tsuas yog siv ib qho ntawm ntau qhov ua tau los ntawm nws. Lub pob pib dua yog yooj yim teeb tsa raws li Esc khawm tom qab lub scenes.

Kauj Ruam 10: Kev Tswj Ntim (Tsis Xeem)

Tswj Volume (Tsis Xeem)
Tswj Volume (Tsis Xeem)

Cov kauj ruam no tsis tiav hauv phau ntawv qhia no

Hmoov tsis zoo, lub ntim slider potentiometer ntawm kuv Mega Drive tau tawg thiab kuv tsis tuaj yeem txuas nws rau kuv RasPi. Txawm li cas los xij, nws muaj peev xwm tswj hwm lub suab ntim ntawm Rasperry Pi siv lub zog ntsuas. Txawm hais tias kuv tsis tuaj yeem muab cov lus qhia ntxaws, Kuv xav txhawb koj kom sim nws me ntsis.

Lub teeb liab analog los ntawm lub zog ntsuas yuav tsum hloov pauv mus rau lub teeb liab uas Raspberry Pi tuaj yeem nyeem tau, uas tuaj yeem ua tiav siv MCP3008 nti txuas nrog GPIO.

Ua tib zoo saib cov lus qhia hauv qab no rau cov lus qhia ib qib zuj zus:

Analog Inputs rau Raspberry Pi Siv MCP3008 - Hloov cov tswv yim analog rau digital thiab tswj lub suab ntim

Kauj Ruam 11: Cov Khoom Siv Hluav Taws Xob

Hwj chim Mov
Hwj chim Mov

Ntawm no, Kuv tseem khaws lub hwj chim qub, txawm li cas los xij koj yuav xav tau lub zog tsim nyog rau txoj haujlwm, tshwj xeeb tshaj yog tias koj tseem ntxiv cov tsav tsheb cia.

Ua tib zoo saib xyuas qhov zoo ntawm koj lub zog tshiab. Mega Drive lub zog fais fab tau txuas nrog qhov zoo nyob sab nraud ntawm lub ntsaws. Txawm li cas los xij, nws muaj ntau heev los nrhiav cov peev txheej hauv av nrog sab nraud. Nco ntsoov tias koj xaim txhua yam kom raug.

Kauj Ruam 12: Rov Ua Dua Qhov Case

Rov Muab Rooj Plaub
Rov Muab Rooj Plaub
Rov Muab Rooj Plaub
Rov Muab Rooj Plaub
Rov Muab Rooj Plaub
Rov Muab Rooj Plaub

Kev ua haujlwm hnyav tau ua tiav, tam sim no nws yog lub sijhawm los muab txhua yam ua ke. Nws tau lo nrog tag nrho cov kab, tab sis txhua yam yuav tsum haum. Ntsia cov ntaub ntawv sab saum toj thiab hauv qab ua ke nrog 6 tus ntsia hlau qub.

Kauj Ruam 13: Txuas nws thiab txaus siab rau

Plug rau hauv thiab txaus siab rau
Plug rau hauv thiab txaus siab rau
Plug rau hauv thiab txaus siab rau
Plug rau hauv thiab txaus siab rau
Plug rau hauv thiab txaus siab rau
Plug rau hauv thiab txaus siab rau

Plug txhua yam hauv: HDMI, Tus Tswj thiab Lub Hwj Chim thiab tig lub pob qhib. Yog tias koj tsis tau ua dhau los, cov tswj yuav tsum tau teeb tsa hauv RetroPie, txhawm rau siv tau.

Splashscreen

Raws li qhov tau txais txiaj ntsig, Kuv tau txuas nrog lub vijtsam txaws uas koj tuaj yeem siv ntawm koj tus kheej Mega Raspi. Txhawm rau siv nws, rub daim duab rau:

/tsev/pi/RetroPie/splashscreens/

Tom qab ntawd hloov qhov Splashscreen teeb tsa, hauv qab RetroPie ntawv qhia zaub mov.

Cartridge qhov easter qe

Tom qab rov ua dua lub console kuv xav tias daim cartridge tau raug tso tseg. Yog li kuv kuj tseem muaj Mega RasPi lub logo kom luam tawm 3D thiab muab tso rau hauv qab daim kab xev, kom pom tsuas yog thaum koj qhib lub qhov rooj me me.

Tam sim no nws yog lub sijhawm kom txaus siab rau Mega RasPi nrog koj nyiam ua si retro. Muaj kev lom zem!

Pom zoo: