Cov txheej txheem:

Handheld Recalbox Game Console Siv 2.2 TFT: 6 Cov Kauj Ruam
Handheld Recalbox Game Console Siv 2.2 TFT: 6 Cov Kauj Ruam

Video: Handheld Recalbox Game Console Siv 2.2 TFT: 6 Cov Kauj Ruam

Video: Handheld Recalbox Game Console Siv 2.2 TFT: 6 Cov Kauj Ruam
Video: Comment faire un serveur Minecraft avec un Raspberry (Version2)(Toutes versions de minecraft) 2024, Hlis ntuj nqeg
Anonim
Handheld Recalbox Game Console Siv 2.2 TFT
Handheld Recalbox Game Console Siv 2.2 TFT
Handheld Recalbox Game Console Siv 2.2 TFT
Handheld Recalbox Game Console Siv 2.2 TFT

Cov lus qhia rau DIY ntawm kev tuav lub rooj sib tham game game siv 2.2 TFT LCD thiab Raspberry Pi 0 W thiab khawm GPIO.

Koj tuaj yeem saib cov vis dis aus youtube no rau kev qhia ua tiav ntawm cov kauj ruam cuam tshuam nrog:

A. Tau txais txhua qhov.

B. Muab cov khoom sib dhos ua ke.

C. Nruab Recalbox software.

D. Kho dua Recalbox rau GPIO khawm

E. Kho kho Recalbox rau TFT thiab hais lus

Kauj Ruam 1: A. Tau Txais Cov Khoom

A. Tau Cov Khoom
A. Tau Cov Khoom
A. Tau Cov Khoom
A. Tau Cov Khoom
A. Tau Cov Khoom
A. Tau Cov Khoom
A. Tau Cov Khoom
A. Tau Cov Khoom

Feem ntau ntawm lawv muaj nyob ntawm amazon lossis aliexpress lossis los ntawm Tuam Tshoj thiab Hong Kong Taobao.

1. Raspberry Pi Zero W.

2. 16G TF daim npav.

3. 2.2 TFT LCD SPI il9341

4. 5V USB them nyiaj rau kev tswj roj teeb

5. 3.7V 1500MaH LIPO roj teeb.

6. Ob lub hais lus mini

7. 3.5mm lub mloog pob ntseg nkaus nrog hloov

8. Ob 10uF capacitor.

9. 14 khawm ntsiag to

10. 50K VR rau LCD brigtness tswj.

11. Mini swb swb

12. ob tog 7cm x 9cm tsab PCB

13. 7cm x 9cm Arglic board rau sab nraub qaum.

14. Plaub 3mm x 20mm ntsia hlau los tuav lub nraub qaum.

15. 0.2 hli lossis 0.3 hli laminated (insulated) xaim

17. mini-HDMI rau HDMI hloov pauv ntsaws lossis cable.

18. micro-USB rau USB hloov pauv ntsaws lossis cable.

Kauj Ruam 2: B. Teeb Kho Vajtse

B. Teeb Kho Vajtse
B. Teeb Kho Vajtse
B. Teeb Kho Vajtse
B. Teeb Kho Vajtse
B. Teeb Kho Vajtse
B. Teeb Kho Vajtse
  • Txoj haujlwm no siv ob npaug ob tog 7x9 cm prototype PCB raws li tus qauv ntawm cov game game. Peb yuav hais txog qhov no ua "PCB".
  • Muab cov nyees khawm tso pov tseg raws li qhia hauv txheej txheej rau sab xub ntiag ntawm PCB.
  • Mount 2.2 "TFT LCD rau sab xub ntiag ntawm PCB. Ntxig cov pins hla PCB mus rau 9 tus pin poj niam lub taub hau ntawm lwm sab ntawm PCB.
  • Mount lub raspberry pi xoom W nyob tom qab ntawm PCB.
  • Siv 0.2 lossis 0.3mm Laminated (insulated) cov xov hlau, ua kom tag nrho cov kev sib txuas los ntawm TFT LCD mus rau Raspberry Pi tom qab daim duab kos duab thiab tus pin teeb tsa. LED tus pin ntawm LCD txuas ntawm 50K VR mus rau 3V rau kev hloov kho qhov ci.
  • Solder ib kawg ntawm lub pob rau hauv av, thiab lwm qhov kawg rau sab xis GPIO tus pin ntawm Raspberrry Pi tom qab tus pin teeb tsa.
  • Solder li 10 uF capacitors, lub mloog pob ntseg thiab cov hais lus raws li qhia hauv daim duab qhia chaw.
  • Solder li 5V lub roj teeb them hluav taws xob lub rooj tsav xwm, lub zawv zawg hloov thiab lub roj teeb mus rau 5V thiab hauv av pins ntawm Raspberry Pi raws li daim duab qhia chaw.
  • Npog sab nraum qab ntawm PCB nrog lub rooj tsav xwm argylic thiab ruaj ntseg nrog cov ntsia hlau.

Kauj Ruam 3: C. Txhim Kho Recalbox Software los Ua Haujlwm Hauv Qhov Teeb Meem

C. Txhim Kho Recalbox Software los Ua Haujlwm Hauv Qhov Teeb Meem
C. Txhim Kho Recalbox Software los Ua Haujlwm Hauv Qhov Teeb Meem
C. Txhim Kho Recalbox Software los Ua Haujlwm Hauv Qhov Teeb Meem
C. Txhim Kho Recalbox Software los Ua Haujlwm Hauv Qhov Teeb Meem

1. Rub tawm Recalbox 2018 12 24 Xmas beta boot duab rau Respberry Pi 0.

forum.recalbox.com

Christmas beta download link

forum.recalbox.com/topic/15010/testers-wan…

2. Cov duab Recalbox khau raj twb los nrog qee qhov freeware game roms. Rub tawm ntau Game Roms los ntawm lub vev xaib.

3. Siv Etcher lossis lwm yam Sdcard burner - txhawm rau hlawv Recalbox khau raj duab rau 16G TF daim npav.

4. Ntxig 16G TF daim npav rau daim npav TF daim npav ntawm Raspberry Pi 0 W.

5. Txuas lub HDMI screen mus rau qhov chaw nres nkoj mini HDMI ntawm Raspberry Pi 0W los ntawm lub mini HDMI rau HDMI hloov pauv.

5. Txuas lub USB keyboard mus rau USB chaw nres nkoj ntawm Raspberry Pi nrog lub microUSB rau USB hloov pauv.

7. Txuas lub Micro USB fais fab txuas mus rau lub roj teeb 5V.

Hloov qhov swb hloov mus rau lub zog nws.

8. Txheeb xyuas tias lub vijtsam rov rov tshwm dua thiab cov nkauj pib ua si ntawm HDMI TV screen. Txwv tsis pub, tej zaum yuav muaj teeb meem nrog kho vajtse, kos cov kev sib txuas.

9. Cov yuam sij hauv qab no ntawm cov keyboard tau teeb tsa rau lub khawm joystick rau kev teeb tsa thawj zaug:

A = (mus txuas ntxiv), S = (rov qab mus), Nkag mus/Rov Los Ua Ntej, Qhov Chaw Raws li Xaiv.

Cov xub xub nce/nqis/sab laug/sab xis raug teeb tsa rau D-PAD's nce/nqis/sab laug/sab xis.

10. Nias ENTER kom nkag mus rau cov ntawv qhia zaub mov. Siv cov xub xub mus rau Network Settings, thiab nias A.

11. Ib zaug hauv WIFI cov ntawv qhia zaub mov, siv xub tuav thiab A yuam kom qhib WIFI, nkag mus rau SSID thiab tus password ntawm koj li WIFI network. Ua kom ntseeg tau tias siv rooj plaub sab saud/qis. Thaum kawg xaiv kaw thiab nias A kom pab WIFI.

12. Rov qab mus rau Network Settings screen, thiab sau tus IP chaw nyob rau hauv Recalbox.

Kauj Ruam 4: D. Hloov Kho Cov Ntawv Sau Rov Qab rau GPIO Cov Khawm Tswj

D. Hloov Kho Tus Kheej Tus Kheej rau GPIO Cov Khawm Tswj
D. Hloov Kho Tus Kheej Tus Kheej rau GPIO Cov Khawm Tswj
D. Hloov Kho Tus Kheej Tus Kheej rau GPIO Cov Khawm Tswj
D. Hloov Kho Tus Kheej Tus Kheej rau GPIO Cov Khawm Tswj
D. Hloov Kho Tus Kheej Kho Kom Zoo rau GPIO Cov Khawm Tswj
D. Hloov Kho Tus Kheej Kho Kom Zoo rau GPIO Cov Khawm Tswj

1. Los ntawm koj lub PC lossis Mac, SSH mus rau tus IP chaw nyob ntawm lub recalbox.

ssh hauv [email protected]

Lossis koj tuaj yeem sim ssh [email protected]

2. Nkag mus siv tus lej ntawm lub hauv paus thiab lub hauv paus paus lo lus zais ntawm "recalboxroot"

3. Ntaus cov lus txib hauv qab no los teeb tsa GPIO cov nyees khawm thiab lwm yam ntsuas rau TFT LCD.

mount -o remount, rov /

cd ~ ib

koj recalbox.conf

4. Thaum nyob hauv vi, siv “/qauv” los tshawb nrhiav lo lus. tom qab ntawd nias ENTER kom dhia mus rau ntawd.

Nias A qhov tseem ceeb kom tig mus rau hom kev hloov kho.

Ntaus hauv qhov tseem ceeb xav tau (siv xub tuav, backspace/rho tawm cov yuam sij qhov xav tau).

Thaum kho kab ntawd tiav lawm, tom qab ntawd nias "ESC" tus yuam sij kom rov qab mus rau hom nyeem nkaus xwb.

Mus txuas ntxiv mus nrhiav lwm yam tsis.

Thaum txhua yam ua tiav, nias "ESC" rov qab mus rau hom nyeem nkaus xwb.

Nias x: Kom txuag thiab tawm mus.

system.power.switch = PIN56PUSH

controllers.gpio.enabled = 1

controllers.gpio.arg = daim ntawv qhia = 4 gpio = 21, 24, 26, 19, 5, 6, 22, 4, 20, 17, 27, 16, 12

5. Lub boot up script file file ntawm recalbox 2018 Xmas beta (/recalbox/scripts/recalbox-config.sh) tsis tuaj yeem siv qhov ntsuas thib ob uas kuv muab tso rau hauv daim ntawv recalbox.conf.

Txog thaum qhov no tau kho nyob rau tom qab tso tawm, peb yuav tsum hloov cov kab hauv qab no txhawm rau txhim kho qhov teeb meem no yog li kev cai GPIO khawm tus lej cim tus lej tuaj yeem siv tau.

mount -o remount, rov /

vi /recalbox/scripts/recalbox-config.sh

Thaum nyob hauv Vi Tshawb nrhiav kab nrog ntxiv 2 = "$ 4" siv cov lus txib /ntxiv 2 = ", tom qab ntawd nyem ENTER thiab a ntxiv kab tom qab nws.

ntxiv 3 = "$ 5"

Tom qab ntawd Tshawb nrhiav kab nrog daim duab qhia chaw = "$ extra2" siv qhov hais kom ua /daim ntawv qhia ="

Tom qab ntawd hloov nws mus

daim ntawv qhia = "$ ntxiv 2 $ ntxiv 3"

6. Tom qab ntawd, rov pib dua lub thawv kom rov ua haujlwm ntawm kev hloov pauv los ntawm kev ntaus ntawv

kaw tam sim no

7. Tom qab lub thawv rov hais dua tau khau raj., Siv cov yuam sij ntawm cov keyboard kom nias ENTER mus rau lub tshuab raj tseem ceeb. Tom qab ntawd xaiv cov chaw teeb tsa thiab nias A. Xaiv teeb tsa tus tswj hwm thiab nias A. nias A zaum thib ob kom paub meej.

8. Koj yuav pom ib qho screen nug koj kom nias thiab tuav ib qho ntawm koj tus lej joystick. Nias thiab tuav lub pob A ntawm koj lub cim rov qab (tsis yog cov keyboard) kom txog thaum koj pom lub vijtsam tom ntej. Yog tias qhov no tsis ua haujlwm, khawm sib txuas yuav muaj qee yam tsis raug, pls tshawb xyuas qhov sib txuas dua.

9. Yog tias txhua yam zoo, koj yuav raug hais kom nias lub pob rau txhua tus lej joystick tso rau ntawm qhov screen. Ua ntej nias D-pad tuav, nce, nqis, sab laug, sab xis, thiab lwm yam. Thaum koj los txog rau joystick-1, joystick-2, nias lub pob Down ntawm lub recalbox kom hla cov nyees khawm no vim lawv tsis muab rau ntawm GPIO cov tswj hwm. Thaum koj tuaj txog L1/nplooj ntawv, nyem L1 khawm, R1/pagedown, nias R1 khawm. Rau L2, R2, L3, R3, tsis muaj muab los ntawm GPIO cov tswj hwm, hla cov nyees khawm no. Thaum kawg, nias Hot Key (HK) rau lub pob hotkey.

10. Thaum kawg nias lub pob B kom lees txais cov nyees khawm tshiab teeb tsa.

11. Koj yuav rov qab mus rau cov ntawv qhia zaub mov tseem ceeb. Ntsuas qhov nce mus rau sab xis thiab lwm cov nyees khawm ntawm GPIO cov tswj hwm.

12. Yog tias txhua yam zoo, koj tuaj yeem npaj mus rau TFT lub vijtsam teeb tsa.

Kauj Ruam 5: E. Hloov Kho Tus Txheej Txheem Recalbox rau TFT Screen thiab Hais Lus

E. Hloov Kho Tus Qauv Kho Kom Zoo rau TFT Screen thiab Hais Lus
E. Hloov Kho Tus Qauv Kho Kom Zoo rau TFT Screen thiab Hais Lus
E. Hloov Kho Tus Qauv Kho Kom Zoo rau TFT Screen thiab Hais Lus
E. Hloov Kho Tus Qauv Kho Kom Zoo rau TFT Screen thiab Hais Lus
E. Hloov Kho Tus Qauv Kho Kom Zoo rau TFT Screen thiab Hais Lus
E. Hloov Kho Tus Qauv Kho Kom Zoo rau TFT Screen thiab Hais Lus

1. Los ntawm koj lub PC lossis Mac, SSH mus rau tus IP chaw nyob ntawm lub recalbox.

ssh hauv [email protected]

Lossis koj tuaj yeem sim ssh [email protected]

2. Nkag mus siv tus lej ntawm lub hauv paus thiab lub hauv paus paus lo lus zais ntawm "recalboxroot"

3. Ntaus cov lus txib hauv qab no los teeb tsa TFT LCD thiab hais lus.

mount -o remount, rw /khau raj

vi /boot/config.txt

Thaum nyob hauv vi, siv tus xub nqes mus txhua txoj hauv kev mus rau hauv qab ntawm cov ntawv.

Nias A qhov tseem ceeb kom tig mus rau hom kev hloov kho.

Ntaus cov kab hauv qab no, tom qab ntawd nias "ESC" tus yuam sij kom rov qab mus rau hom nyeem nkaus xwb.

Nias x: Kom txuag thiab tawm mus.

# pab GPIO TFT

hdmi_cov = 2

hdmi_mode = 87

hdmi_cvt = 320 240 60 1 0 0 0 0

dtparam = spi = rau

dtparam = i2c1 = rau

dtparam = i2c_arm = rau

dtoverlay = pitft22, tig = 270, nrawm = 64000000, fps = 30

# pab GPIOs analog suab

dtoverlay = pwm-2chan, pin = 18, func = 2, pin2 = 13, func2 = 4

4. Ntaus cov lus txib hauv qab no los teeb tsa lwm qhov ntsuas rau TFT LCD.

mount -o remount, rov /

cd ~ ib

koj recalbox.conf

5. Thaum nyob hauv vi, siv “/qauv” los tshawb nrhiav lo lus. tom qab ntawd nias ENTER kom dhia mus rau ntawd.

Nias A qhov tseem ceeb kom tig mus rau hom kev hloov kho.

Ntaus hauv qhov tseem ceeb xav tau (siv xub tuav, backspace/rho tawm cov yuam sij qhov xav tau).

Thaum kho kab ntawd tiav lawm, tom qab ntawd nias "ESC" tus yuam sij kom rov qab mus rau hom nyeem nkaus xwb.

Mus txuas ntxiv mus nrhiav lwm yam tsis.

Thaum txhua yam ua tiav, nias "ESC" rov qab mus rau hom nyeem nkaus xwb.

Nias x: Kom txuag thiab tawm mus.

system.fbcp.enabled = 1

global.videomode = default

audio.device = nkaus

6. Tom qab ntawd, rov pib dua lub thawv kom rov ua haujlwm ntawm kev hloov pauv los ntawm kev ntaus ntawv

kaw tam sim no

7. Tom qab lub thawv rov hais dua tau khau raj., TFT lub vijtsam yuav tsum dipslay lub vijtsam tawg thiab lub suab paj nruag txais tos yuav raug ntaus ntawm tus hais lus drivien los ntawm GPIO pins. yog tias koj tsis tau txais qhov ntawd tom qab 1 feeb lossis ntau dua, tom qab ntawd qee yam tsis raug. Fais fab lub thawv thiab kos cov kev sib txuas dua.

8. Yog tias txhua yam mus tau zoo, koj tuaj yeem pib ua si.

9. Ntawd yog txhua qib koj yuav tsum teeb tsa qhov no. Hmoov zoo nrog retro gaming.

10. HAHHAHAHA:)

Pom zoo: