Cov txheej txheem:
- Kauj Ruam 1: Yam Yuav Tsum Tau
- Kauj ruam 2: Download Etcher
- Kauj Ruam 3: Thawj Lub Sijhawm Kho
- Kauj Ruam 4: Txhim Kho Cov Games
- Kauj Ruam 5: Kho lub TFT Display
- Kauj Ruam 6: Ntxiv Khawm Tswj
- Kauj Ruam 7: Cov neeg ua tim khawv
Video: DIY Handheld Game Console Siv RetroPie: 7 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Saib cov vis dis aus saum toj no kom nkag siab qhov haujlwm no zoo dua.
Zoo. Nws yog lub sijhawm kom koj pib!
Ua ntej tshaj plaws, peb yuav siv RetroPie. Qhov no tawm peb nrog ob txoj kev xaiv. Yog tias peb twb tau teeb tsa Raspbian ntawm peb daim npav SD, tom qab ntawv peb tuaj yeem nruab RetroPie emulator rau saum nws. Txwv tsis pub, peb tuaj yeem rub tawm Prebuilt RetroPie Image thiab teeb tsa kho vajtse, rub tawm, nruab thiab ua si game.
Kuv rub daim duab ua ntej RetroPie. Koj yuav tsum mus rau qhov txuas no: https://retropie.org.uk/download/ thiab rub Raspberry Pi 0/1 duab yog tias koj siv Raspberry Pi Zero board lossis koj tuaj yeem rub Raspberry Pi 2/3 Duab yog tias koj tab tom siv 2, 3, 3B cov laug cam.
Kauj Ruam 1: Yam Yuav Tsum Tau
Nov yog yam peb xav tau:
- Raspberry Pi Zero W.
- Keyboard lossis Joystick (Rau Kev Pib Ua Ntej)
- Micro SD Card (Min 4 GB)
- TV / Saib PC (Rau Thawj Teeb)
- Tactile Nyees khawm - 12 pc
- Zawv zawg Hloov - 1pc
- TFT Zaub (Kuv siv 2.2 "ILI9341 Zaub)
- 0.5W 8 Ohm Hlau Hais Lus
- Kauj ruam nce DC-DC Converter Module (Kuv siv MT3608)
- Resistors thiab Capacitors rau Lim (Saib schematic)
- Stereo Amp Module PAM1608 (Kuv siv lub pob qhov rooj)
- Phom phom
- Soldering Tshuab
- Lithium Polymer Battery (Kuv siv 1500mAH)
- LiPo Charger Module
Tej zaum koj yuav xav tau nkag mus rau lub tshuab luam ntawv 3D yog tias koj xav tsim lub tshuab cua tshuab puv.
Hauv qhov xwm txheej zoo li no, koj tuaj yeem rub tawm cov qauv 3D los ntawm kuv qhov profile thoob ntiaj teb:
www.thingiverse.com/thing 3089880
Kauj ruam 2: Download Etcher
Thaum daim duab rub tawm, koj tuaj yeem nyem nws rau koj daim npav SD siv software hu ua Etcher.
Koj tuaj yeem rub tawm Etcher ntawm no:
Tom qab rub tawm cov software, xaiv cov duab rub tawm thiab xaiv SD Card thiab nyem nyem. Nws yuav siv sijhawm li ob lossis ob feeb los npaj koj daim npav SD.
Tam sim no ntsaws qhov no rau hauv raspberry pi thiab txuas nws rau koj lub monitor.
Kauj Ruam 3: Thawj Lub Sijhawm Kho
Txuas lub zog los ntawm micro USB Cable.
Bingo.
Peb tau txais cov lus pib ua raws tom qab los ntawm RetroPie Splash Screen thiab tom qab ntawd Emulationstation Splash Screen uas RetroPie siv ua lub hauv ntej game launcher.
Yog tias koj muaj keyboard, txuas nws thiab nias F4 kom nkag mus rau Linux hais kom sai. Koj tuaj yeem teeb tsa cov tswv yim tom qab.
Nkag mus rau cov lus txib hauv qab no kom nkag mus rau nplooj ntawv teeb tsa
sudo raspi-teeb tsa
Koj yuav tsum hloov tus password tsis raug. Yog li mus tom ntej thiab hloov qhov ntawd.
Tom qab ntawv xaiv koj thaj av hauv kev xaiv hauv zos.
Txij li thaum peb yuav txuas tus TFT zaub los ntawm SPI Interface, peb yuav tsum pab kom SPI kev sib txuas lus hauv Kev xaiv cuam tshuam.
Nws tau pom zoo kom pab SSH ntxiv rau qhov no yuav pab peb thauj khoom thiab teeb tsa peb lub console yooj yim. Yog li mus tom ntej thiab pab nws.
Peb yuav siv lub suab los ntawm Pi's PWM tso tawm, yog li peb yuav tsum yuam lub suab los ntawm 3.5mm nkaus. Yog li mus tom ntej rau cov kev xaiv ua ntej thiab yuam lub suab rau 3.5mm nkaus.
Koj tuaj yeem tawm ntawm nplooj ntawv teeb tsa tam sim no.
Reboot Pi.
Peb tuaj yeem siv cov keyboard lossis tus joystick ib ntus los teeb tsa cov khoom siv (yeem), tuav ib lub pob kom txog thaum teeb tsa lub qhov rooj ntawm lub qhov rooj tshwm. Tom qab ntawd rau joystick khawm teeb tus yuam sij ntawm cov keyboard. Hla cov haujlwm uas tsis xav tau los ntawm kev tuav lub pob ib ntus.
Tom qab xaiv cov yuam sij nyem paub meej tias siv cov khawm teeb tsa.
Peb tuaj yeem rov teeb tsa cov nyees khawm tom qab yog xav tau.
Kauj Ruam 4: Txhim Kho Cov Games
Raws li tam sim no, yuav tsis muaj kev ua si tam sim no hauv qhov system. Koj yuav tsum rub cov games los ntawm internet thiab thauj nws mus rau hauv daim npav SD.
Muaj ob txoj hauv kev los ua.
Koj tuaj yeem siv koj tus ntiv tes xoo kom luam cov game los ntawm koj lub PC mus rau Pi, lossis koj tuaj yeem siv cov haujlwm zoo li WinSCP los rub thiab tso game rau koj Pi yog tias koj tau qhib WiFi.
Koj tuaj yeem rub cov game ROM cov ntaub ntawv los ntawm is taws nem thiab luam lawv rau cov npe sib xws hauv qab daim nplaub tshev/home/pi/RetroPie/roms/.
Kauj Ruam 5: Kho lub TFT Display
Txheeb Schematic rau tus pin txuas.
Ntxiv cov kab hauv qab no rau /boot/config.txt
=======================================================================
hdmi_cov = 2
#kuv cov lus daws teeb meem yog 320 x 240. Kho raws li koj li
hdmi_mode = 87
hdmi_cvt = 320 240 60 1 0 0 0 0
hdmi_force_hotplug = 1
luas = 48000000
fps = 60 ib
display_rotate = 2 180 degrees
#Yog tias koj xav tau lub tso suab siv qhov no
#dtoverlay = pwm-2chan, pin = 18, func = 2, pin2 = 13, func2 = 4
#Yog tias koj xav mono siv qhov no
dtoverlay = pwm, pin = 13, func = 4
=======================================================================
Nco ntsoov tias koj tau txuas cov xov hlau raws li tau hais hauv kab lus.
Nkag mus rau cov lus txib hauv qab no hauv lub davhlau ya nyob twg thiab pom tias LCD Backlight tshwm zoo li cas!
sudo modprobe fbtft_device kev cai lub npe = fb_ili9341 gpios = rov pib dua: 25, dc: 24, coj: 15 nrawm = 16000000 bgr = 1
Ntxiv cov kab hauv qab no rau /etc /modules
spi-bcm2835fbtft_device
Tus Pi yuav siv lub tsev qiv ntawv fbtft los sau rau hauv LCD.
Fbtft_device xav tau tus pin teeb tsa los qhia meej hauv cov ntawv /etc/modprobe.d/fbtft.conf
Yog li qhib cov ntawv siv:
sudo nano /etc/modprobe.d/fbtft.conf
Ntxiv cov hauv qab no rau hauv cov ntawv:
xaiv fbtft_device lub npe = fb_ili9341 gpios = rov pib dua: 25, dc: 24, coj: 15 nrawm = 16000000 bgr = 1 tig = 90 kev cai = 1
Peb yuav tsum theej tus Pi framebuffer rau lub fbtft ntaus ntawv. Yog li mus tom ntej, tsim thiab teeb tsa fbcp project.
Clone raspberry pi fbcp project los ntawm github:
git clone
cd rpi-fbcp/
mkdir ua
cd tsim/
cmk ua
ua
sudo nruab fbcp/usr/local/bin/fbcp
Tom qab qhov kev teeb tsa no, yog tias koj ntaus ntawv fbcp, koj yuav pom cov ntsiab lus ntawm tus neeg tsim khoom tau theej rau ntawm TFT screen.
Tab sis yog tias koj rov pib dua, koj yuav tsum tau nkag mus rau lo lus txib no ntxiv kom tau txais cov ntsiab lus ntawm TFT. Yog li ua qhov no txhua lub sijhawm, koj yuav tsum qhia Pi kom pib qhov no thaum khau raj qhia meej.
Yog li, ntxiv kab hauv qab no rau /etc/rc.local
sudo nano /etc/rc.local
Ntxiv fbcp & saum toj no tawm 0
Tam sim no rov pib dua thiab pom koj lub console pib ua haujlwm!
Kauj Ruam 6: Ntxiv Khawm Tswj
Kuv yuav siv Adafruit RetroGame txoj haujlwm los ntxiv kev tswj hwm rau peb lub console.
Nov yog qhov homepage ntawm qhov project:
github.com/adafruit/Adafruit-Retrogame/blo…
Rub tawm Nruab tsab ntawv siv cov lus txib hauv qab no:
curl https://raw.githubusercontent.com/adafruit/Raspbe…> retrogame.sh
sudo bash retrogame.sh
Tam sim no koj yuav raug nug kom nkag mus rau yam ntaus ntawv txhawm rau teeb tsa cov ntawv teeb tsa. Peb yuav tsum xaiv PiGRRL 2 (tus thib ib). Peb tuaj yeem hloov cov kev tswj hwm tom qab.
Reboot Pi.
Tam sim no nws yog lub sijhawm hloov pauv kev teeb tsa kev tswj hwm.
Peb yuav tsum ntxiv peb cov kev tswj hwm rau cov ntaub ntawv retrogame.cfg hauv /boot/retrogame.cfg
Hloov qhov teeb tsa uas twb muaj lawm nrog peb cov teeb tsa hauv qab no:
HNUB 4UP 16
LUAG 19
DUAB 26
LUAG 5
NTUJ 6
A 14
B 22
X 20
Y 18
L 12
R 7
SPACE yog Xaiv thiab ENTER yog Pib!
Kauj Ruam 7: Cov neeg ua tim khawv
github.com/notro/fbtft/wiki/fbtft_device
learn.adafruit.com/retro-gaming-with-raspb…
github.com/tasanakorn/rpi-fbcp
sudomod.com/forum/viewtopic.php?t=1534
Pom zoo:
Cov Hais Lus Ua Los Ntawm Cov Khoom Siv Rov Los thiab Rov Siv Dua: 6 Cov Kauj Ruam
Cov Hais Lus Ua Los Ntawm Cov Khoom Siv Rov Los thiab Rov Los Siv Rov Los: " Suab paj nruag yog cov lus thoob ntiaj teb ntawm tib neeg. Thiab qhov zoo tshaj plaws-lawv tsis tau them kuv ib dime. Txhua yam nyob rau hauv no pr
DIY Raspberry Pi Zero Handheld Game Console: 6 Cov Kauj Ruam (nrog Duab)
DIY Raspberry Pi Zero Handheld Game Console: Hauv qhov haujlwm no kuv yuav qhia koj li cas kuv siv Raspberry Pi Zero, NiMH roj teeb, lub tsev tiv thaiv tshaj tawm kev tiv thaiv Circuit Court, lub lcd saib tom qab thiab lub suab amp los tsim lub tshuab game game uas tuaj yeem ua si retro games. Cia peb pib
ESP32 Handheld Game Console: 21 Kauj Ruam (nrog Duab)
ESP32 Handheld Game Console: Cov lus qhia no qhia siv ESP32 thiab ATtiny861 los tsim NES emulator game console
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
Handheld Recalbox Game Console Siv 2.2 TFT: 6 Cov Kauj Ruam
Handheld Recalbox Game Console Siv 2.2 TFT: Cov lus qhia rau DIY ntawm lub handheld recalbox game console siv 2.2 "TFT LCD thiab Raspberry Pi 0 W thiab GPIO khawm. Tau txais txhua qhov B. Siv cov khoom sib dhos ua ke