Cov txheej txheem:

Retro-CM3: Lub zog RetroPie Handled GAME Console: 8 Kauj Ruam (nrog Duab)
Retro-CM3: Lub zog RetroPie Handled GAME Console: 8 Kauj Ruam (nrog Duab)

Video: Retro-CM3: Lub zog RetroPie Handled GAME Console: 8 Kauj Ruam (nrog Duab)

Video: Retro-CM3: Lub zog RetroPie Handled GAME Console: 8 Kauj Ruam (nrog Duab)
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Retro-CM3: Lub zog RetroPie Handled GAME Console
Retro-CM3: Lub zog RetroPie Handled GAME Console
Retro-CM3: Lub zog RetroPie Handled GAME Console
Retro-CM3: Lub zog RetroPie Handled GAME Console
Retro-CM3: Lub zog RetroPie Handled GAME Console
Retro-CM3: Lub zog RetroPie Handled GAME Console

Cov lus qhia no yog kev tshoov siab los ntawm adafruit's PiGRRL Zero, Wermy thawj Gameboy Zero tsim thiab GreatScottLab's Handled Game Console. Cov RetroPie raws game game siv raspberry pi xoom (W) ua lawv cov tub ntxhais. TAB SIS, tom qab kuv tau tsim ntau Pi Zero Consoles, ob qhov teeb meem tseem ceeb tau pom.

1) Raspberry Pi Zero (W) tsuas muaj ib leeg tub ntxhais Cortex-A7 thiab 512MB ram, uas yog OK rau NES/SNES/GB yam khoom. Txawm li cas los xij, thaum kuv sim khiav PS/N64 Emus, qhov kev paub dhau los tsis txaus ntseeg. Txawm tias qee qhov ntawm GBA kev ua si tsis tuaj yeem ua haujlwm tau yooj yim (Qee lub suab qeeb, kuj tseem nyob hauv qee qhov NEOGEO game zoo li Hlau Slug thaum cuam tshuam cov xwm txheej nyuaj); 2) Feem ntau ntawm cov game game tsim siv SPI lossis TV-tawm raws li cov duab tso saib. SPI zaub yuav xav tau CPU los pab ua tus tsav tsheb tsis zoo uas yuav ua rau kev ua si tsis zoo thiab fps kuj tseem txwv los ntawm kev nrawm ntawm SPI moos. Thiab cov zaub zoo ntawm TV-tawm tsuas yog tsis zoo txaus.

Hauv Cov lus qhia no, peb yuav siv RaspberryPi Compute Module 3 thiab DPI interface LCD los tsim qhov kawg RetroPie game console. Nws yuav tsum muaj peev xwm khiav tau txhua tus emulators zoo thiab muab kev daws teeb meem siab thiab tus lej siab.

Qhov loj me me ntawm cov game game yog 152x64x18mm nrog txog li 2000mAh roj teeb. Tag nrho kev tsim nqi kwv yees li $ 65, suav nrog kev cai PCB, txhua yam khoom siv, daim npav 16GB TF thiab RaspberryPi suav qhov module 3 Lite. Raws li kuv twb muaj lub tshuab luam ntawv 3D, rooj plaub them kuv tsuas yog 64g PLA filament.

Cia peb pib.

Nco tseg: Raws li lus Askiv tsis yog kuv thawj hom lus, yog tias koj pom ib qho yuam kev lossis qee yam tsis meej, thov ua siab zoo qhia rau kuv paub.

Nov yog kuv thawj zaug tshaj tawm hauv instructable.com thiab kuv xav tau txhua yam lus pom zoo los ntawm koj.

Kauj ruam 1: Cov khoom xyaw

Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw

Nov yog cov khoom xyaw koj xav tau los tsim cov game game. Qee qhov yuav tsis muaj nyob hauv koj cheeb tsam, sim qee qhov ntxiv.

1) RaspberryPi Compute Module 3 Lite. Yuav nws los ntawm lub khw uas koj tau txais koj li RaspberryPi 3B lossis sim nws ntawm ebay.

2) 3.2 nti LCD nrog RGB/DPI interface. Ua kom ntseeg tau tias koj tau txais RGB/DPI interface LCD module vim nws yog YUAV TSUM tsim lub console no. Kuv tau txais kuv lub LCD los ntawm e-khw hauv ib cheeb tsam thiab tib tus qauv tuaj yeem pom hauv alibaba. Yog tias koj yuav lwm tus qauv LCD, Ua Ntej Nug tus kws muab khoom xa koj cov lus ntxaws ntxaws thiab cov lej pib. Nws tseem yog qhov kev xaiv zoo los yuav cov khoom sib txuas los ntawm tib lub khw vim tias muaj ntau yam sib txawv ntawm cov khoom sib txuas.

3) ALPS SKPDACD010. Tact hloov nrog 1.75 mm mus ncig. Tshawb nrhiav nws ntawm koj lub khw khoom siv hluav taws xob hauv ib cheeb tsam.

4) Lwm cov yuam sij. Siv lwm txoj hauv kev uas koj tuaj yeem tau txais START/SELECT/VOL+/VOL- khawm.

5) Hais lus. Ib qho 8 ohm, 0.5-1.5 W hais lus.

6) Roj teeb. Kuv xaiv 34*52*5.0mm 1S 1000mAh Li-ion roj teeb x2.

7) Qee qhov ICs. STM32F103C8T6, IP5306, TDA2822, NC7WZ16, SY8113, PT4103 thiab lwm yam.

8) Qee Cov Txuas Txuas. USB-Micro Poj Niam, PJ-237 (xov tooj nkaus), TF-Card Jack, DDR2 SODIMM thiab lwm yam.

9) Qee yam khoom siv Passive. Resistors, Capacitors thiab Inductors.

10) Kev Cai PCB. Cov ntaub ntawv schematic thiab PCB tau muab rau thaum kawg. Nco ntsoov hloov pauv nws yog tias koj siv lwm txoj hauv kev.

11) Ib Lub Tshuab Luam Ntawv 3D. Nco ntsoov tias nws muaj peev xwm luam tau qhov loj mus txog qhov loj 152*66*10 hli.

12) Txaus PLA Filament.

Kauj Ruam 2: Tus Qauv Zauv 3

Tus Qauv Zauv 3
Tus Qauv Zauv 3
Tus Qauv Zauv 3
Tus Qauv Zauv 3

Raspberry Pi Compute Module 3 yog lub rooj tsav xwm tseem ceeb muaj zog rau kev tsim qauv qee cov khoom siv nyiam. Cov ncauj lus kom ntxaws tuaj yeem pom ntawm no. Thiab qee cov ntaub ntawv muaj txiaj ntsig tuaj yeem nrhiav tau ntawm no.

Tus qauv siv DDR2 SODIMM hom txuas, uas nyuaj me ntsis rau siv. Ntxiv rau txhua GPIO tus pin ntawm BCM2837 cov tub ntxhais BANK1 thiab BANK0 raug coj tawm.

Txhawm rau pib siv cov lej suav, peb yuav tsum muab ntau qhov sib txawv: 1.8V, 3.3V, 2.5V thiab 5.0V. Ntawm lawv, 1.8V thiab 3.3V tau siv los txhawb qee yam khoom siv hluav taws xob uas xav tau txog 350mA txhua. Cov kab hluav taws xob 2.5V tsav lub TV-tawm DAC thiab nws tuaj yeem txuas rau 3.3V vim peb tsis xav tau TV-tawm feature. Lub 5.0V yuav tsum txuas nrog VBAT tus pin thiab nws ua haujlwm rau Core. VBAT cov tswv yim lees txais qhov hluav taws xob ntau ntawm 2.5V txog 5.0V thiab tsuas yog xyuas kom lub zog hluav taws xob tuaj yeem tawm mus txog 3.5W. VCCIO pins (GPIO_XX-XX_VREF) tuaj yeem txuas nrog 3.3V thaum peb siv 3.3V CMOS qib. Tus pin SDX_VREF yuav tsum txuas nrog 3.3V.

Txhua lub HDMI, DSI, CAM pins tsis siv ntawm no, tsuas yog tso lawv ntab. Nco ntsoov khi EMMC_DISABLE_N tus pin rau 3.3V raws li peb yuav siv daim npav TF ua lub zog tsav tsis siv lub USB boot feature.

Tom qab ntawd txuas SDX_XXX tus pin rau tus lej sib thooj ntawm daim npav TF daim npav thiab tsis xav tau rub tawm lossis tsis rub tawm qhov xav tau. Ntawm cov kauj ruam no, peb tau npaj rau khau raj Raspberry Pi Compute Module 3. Qhib lub zog hluav taws xob hauv qhov kev txiav txim qis: 5V, 3.3V thiab tom qab ntawd 1.8V, lub kaw lus yuav tsum muaj peev xwm khau raj tau tab sis vim tsis muaj qhov tso tawm. ntaus ntawv, peb tsuas yog tsis paub yog tias nws ua haujlwm zoo. Yog li, peb yuav tsum ntxiv cov zaub los tshuaj xyuas nws hauv cov kauj ruam tom ntej.

Tab sis ua ntej peb mus txuas ntxiv, peb yuav tsum xub qhia rau Pi tias kev ua haujlwm ntawm txhua GPIO yog dab tsi. Ntawm no kuv muab qee cov ntaub ntawv, muab "dt-blob.bin", "bcm2710-rpi-cm3.dtb" thiab "config.txt" hauv khau raj nplaub tshev ntawm daim npav TF tshiab. Muab lub "dcdpi.dtbo" tso rau hauv /boot /overlay folder. Dt-blob.bin txhais lub luag haujlwm tsis raug ntawm txhua GPIO. Kuv hloov GPIO14/15 mus rau GPIO ib txwm thiab txav UART0 ua haujlwm rau GPIO32/33 raws li peb xav tau GPIO14/15 los cuam tshuam nrog LCD module. Kuv kuj qhia tus Pi kom siv GPIO40/41 ua pwm ua haujlwm thiab ua rau lawv kom raug thiab sab laug tso suab. Dcdpi.dtbo yog cov ntaub ntawv-ntoo hla cov ntaub ntawv thiab nws qhia rau Pi tias peb yuav siv GPIO0-25 ua DPI ua haujlwm. Thaum kawg, peb sau "dtoverly = dcdpi" kom paub tus Pi txhawm rau thauj cov ntaub ntawv overlay uas peb tau muab.

Lub sijhawm no, Raspberry Pi tau nkag siab zoo tias lub luag haujlwm twg yuav tsum siv rau txhua GPIO thiab peb tau npaj mus ntxiv.

Kauj Ruam 3: Sib cuam tshuam LCD Module

Kev cuam tshuam ntawm LCD Module
Kev cuam tshuam ntawm LCD Module
Kev cuam tshuam ntawm LCD Module
Kev cuam tshuam ntawm LCD Module
Kev cuam tshuam ntawm LCD Module
Kev cuam tshuam ntawm LCD Module

Raws li qhov sib txawv DPI/RGB interface LCD module tuaj yeem siv hauv lub console no, ntawm no peb coj tus qauv siv hauv kuv tus kheej tsim ua piv txwv. Thiab yog tias koj xaiv qhov sib txawv, txheeb xyuas tus lej tus lej txhais ntawm koj tus qauv thiab tsuas yog ua kev sib txuas raws li tus lej tus lej raws li pom hauv qhov piv txwv.

Muaj ob qhov cuam tshuam ntawm LCD module: SPI thiab DPI. SPI tau siv los teeb tsa qhov teeb tsa pib ntawm LCD tsav tsheb IC thiab peb tuaj yeem txuas lawv mus rau ib qho GPIO uas tsis siv. Tsuas yog txuas tus Pib dua, CS, MOSI (SDA/SDI) thiab SCLK (SCL) tus pin, MISO (SDO) tus pin tsis siv. Txhawm rau pib ua tus tsav tsheb LCD, ntawm no peb siv BCM2835 C Lub Tsev Qiv los tsav GPIOs thiab tso tawm qee qhov pib ua ntu zus muab los ntawm cov khoom siv. Cov ntaub ntawv qhov chaw tuaj yeem pom tom qab hauv cov lus qhia no.

Nruab BCM2835 C Library ntawm lwm Raspberry Pi 3 raws li cov lus qhia ntawm no. Tom qab ntawd siv qhov hais kom ua "gcc -o lcd_init lcd_init.c -lbcm2835" txhawm rau sau cov ntaub ntawv. Tom qab ntawv ntxiv kab tshiab hauv /etc/rc.local cov ntaub ntawv ua ntej "tawm 0": "/home/pi/lcd_init" (xav tias koj tau muab daim ntawv thov tso ua ke hauv/home/pi folder). Nws yuav tsum tau hais txog tias cov ntaub ntawv siv tsuas yog siv rau qee qhov qauv kuv tau siv thiab rau qhov sib txawv ntawm LCD, tsuas yog nug tus muag khoom rau qhov pib ua ntu zus thiab hloov kho cov ntaub ntawv raws li. Cov txheej txheem no nyuaj heev vim tias nyob rau lub sijhawm no tsis muaj dab tsi tuaj yeem pom los ntawm lub vijtsam, yog vim li cas kuv thiaj hais qhia koj ua qhov no ntawm RPI-CMIO board raws li nws coj tawm txhua GPIOs yog li koj tuaj yeem debug nws nrog uart lossis wlan.

Cov hauv qab no yog qhov yooj yim, tsuas yog txuas sab laug ntawm tus lej LCD raws li ntawm no. Nyob ntawm seb yam LCD hom twg koj tau txais, xaiv hom RGB kom zoo. Rau kuv, ntawm no kuv xaiv DPI_OUTPUT_FORMAT_18BIT_666_CFG2 (hom 6). Hloov kho "dpi_output_format = 0x078206" kab raws li koj xaiv. Thiab yog tias koj tus qauv LCD siv qhov kev daws teeb meem sib txawv, kho qhov "hdmi_timings = 480 0 41 60 20 800 0 5 10 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Yog tias txhua qhov kev teeb tsa raug, ntawm lub khau raj tom ntej ntawm koj Pi, koj yuav tsum pom cov zaub ntawm lub vijtsam tom qab 30-40s dub (los ntawm lub zog rau hauv kab ke thauj koj li SPI pib ntawv).

Kauj Ruam 4: Cov Ntsiab Lus Ntsiab Lus thiab Suab

Lub Ntsiab Pad thiab Suab
Lub Ntsiab Pad thiab Suab
Lub Ntsiab Pad thiab Suab
Lub Ntsiab Pad thiab Suab

Peb tau ua tiav nrog Core thiab Output hauv ob kauj ruam kawg. Tam sim no cia peb txav mus rau ntu kev nkag.

Lub game game xav tau cov yuam sij thiab cov nyees khawm. Ntawm no peb xav tau 10 ALPS SKPDACD010 hloov pauv raws li nce/nqis/sab xis/sab laug, LR thiab A/B/X/Y khawm. Thiab ib txwm 6x6 nto mount cov yuam sij tau siv rau lwm cov nyees khawm xws li pib/xaiv thiab ntim-nce/nqis.

Muaj ob txoj hauv kev los cuam tshuam cov nyees khawm nrog Raspberry Pi. Ib txoj hauv kev yog txuas cov nyees khawm ncaj qha rau GPIOs ntawm Pi thiab lwm txoj hauv kev yog txuas cov nyees khawm rau MCU thiab cuam tshuam nrog Pi los ntawm USB HID raws tu qauv. Ntawm no kuv tau xaiv qhov thib ob, vim tias peb xav tau MCU los daws lub zog ntawm ib qib zuj zus thiab nws muaj kev nyab xeeb kom Pi nyob deb ntawm tib neeg kov.

Yog li, txuas cov yuam sij rau STM32F103C8T6 thiab tom qab ntawd txuas MCU rau Pi nrog USB. Ib qho piv txwv ntawm txoj haujlwm MCU tuaj yeem nrhiav pom thaum kawg ntawm cov theem no. Hloov tus lej tus lej txhais hauv hw_config.c thiab suav nrog nws nrog MCU USB lub tsev qiv ntawv pom ntawm no. Lossis koj tuaj yeem rub tawm cov ntawv hex ncaj qha mus rau MCU tsuav koj qhia tib tus lej tus lej txhais hauv cov txheej txheem tom kawg ntawm cov lus qhia no.

Raws li rau lub suab tso tawm, cov txheej txheem ua haujlwm ntawm Raspberry Pi 3 B muab txoj hauv kev zoo los lim lub pwm nthwv dej thiab tib lub Circuit Court yuav tsum ua haujlwm zoo ntawm no. Ib yam uas yuav tsum tau taw qhia yog nco ntsoov ntxiv "audio_pwm_mode = 2" kab ntawm qhov kawg ntawm config.txt txhawm rau txo qis suab nrov ntawm lub suab tso tawm.

Txhawm rau tsav tus neeg hais lus, xav tau tus neeg hais lus tsav tsheb. Ntawm no kuv tau xaiv TDA2822 thiab lub Circuit Court yog lub luag haujlwm BTL Circuit. Nco ntsoov tias lub xov tooj nkaus PJ-327 muaj tus pin tshem nws tus kheej ntawm txoj cai tso tawm. Thaum tsis muaj lub mloog pob ntseg ntsaws, tus pin 3 txuas nrog rau txoj cai. Thiab sai li sai tau lub mloog pob ntseg tau txuas, tus pin no raug cais tawm ntawm txoj cai. Tus pin no tuaj yeem siv ua tus hais lus tus pin thiab tus hais lus yuav kaw thaum lub mloog pob ntseg ntsaws.

Kauj Ruam 5: Lub Hwj Chim

Lub Hwj Chim
Lub Hwj Chim
Lub Hwj Chim
Lub Hwj Chim
Lub Hwj Chim
Lub Hwj Chim

Cia peb rov qab mus rau ntu fais fab thiab tshawb xyuas cov ncauj lus kom ntxaws.

Muaj 3 ntu ntu fais fab: MCU cov khoom siv, Charger/Booster thiab DC-DC Bucks.

MCU cov khoom tau faib los ntawm txhua lwm cov khoom siv hluav taws xob vim tias peb xav tau nws los ua ntu ntu ua ntej lub zog. Raws li lub zog khawm raug thawb, PMOS yuav txuas EN tus pin ntawm LDO rau lub roj teeb kom pab tau LDO. MCU yog lub zog siv (lub pob tseem raug nias). Thaum pib ntawm MCU, nws yuav tshuaj xyuas yog tias lub pob fais fab tau nias ntev txaus. Tom qab li 2 vib nas this, yog MCU pom lub hwj huam tseem tab tom nias, nws yuav rub tus "PWR_CTL" tus pin kom PMOS nyob. Lub sijhawm no, MCU ua tus tswj ntawm MCU lub zog xa khoom.

Thaum lub hwj huam khawm tau nias rau 2 thib ob ntxiv, MCU yuav ua kom lub zog qis zuj zus. Thaum kawg ntawm lub hwj chim nqis qis, MCU yuav tso "PWR_CTL" tus pin kom cia PMOS kaw thiab MCU cov khoom siv tau xiam lawm.

Lub charger/lub zog txhawb nqa siv IC IP5306. Qhov IC no yog 2.4A them nyiaj thiab 2.1A tso tawm ntau ua ke rau Soc rau lub txhab nyiaj siv thiab nws zoo kawg nkaus haum rau peb cov kev xav tau. IC muaj peev xwm them lub roj teeb, muab 5V tso tawm thiab qhia cov qib roj teeb nrog 4 LEDs tib lub sijhawm.

DC-DC Buck ib feem siv ob SY8113 kev ua haujlwm siab 3A phaw. Cov zis hluav taws xob tuaj yeem tsim los ntawm 2 tus tiv thaiv. Txhawm rau kom ntseeg tau lub zog ua ntu zus, peb xav tau MCU txhawm rau ua kom Booster ua ntej. Lub KEY_IP lub teeb liab yuav sim ua qhov tseem ceeb nias rau tus KEY tus pin ntawm IP5306 thiab ua rau lub zog 5V sab hauv. Tom qab ntawd, MCU yuav pab kom 3.3V pob los rub RASP_EN tus pin siab. Thiab tom qab 3.3V muab, 1.8V buck tus EN tus pin tau rub siab thiab ua rau 1.8V cov zis.

Raws li rau lub roj teeb, ob lub 1000mAh Li-ion roj teeb yog txaus rau lub console. Qhov loj me me ntawm cov roj teeb no nyob ib puag ncig 50*34*5mm.

Kauj Ruam 6: Teeb tsa Qhov System

Teeb Qhov System
Teeb Qhov System

Hauv theem no, peb yuav muab txhua qhov teeb tsa ua ke.

Ua ntej, koj yuav tsum rub tawm thiab nyem cov duab RetroPie rau hauv daim npav TF tshiab. Tutorial thiab download tau tuaj yeem pom ntawm no. Rub tawm Raspberrypi 2/3 version. Koj yuav pom 2 ntu tom qab nyem cov duab: a "khau raj" muab faib ntawm FAT16 hom thiab "Retropie" muab faib ntawm EXT4 hom ntawv.

Thaum koj tau ua tiav, tsis txhob ntxig nws rau Raspberry Pi tam sim vim tias peb xav tau ntxiv FAT32 muab faib rau roms. Siv cov cuab yeej muab faib zoo li DiskGenius txhawm rau kho qhov faib EXT4 txog li 5-6GB thiab ua qhov faib FAT32 tshiab nrog txhua qhov chaw seem tshuav ntawm koj daim npav TF. Xa mus rau Daim Duab Kuv tau muab tso rau.

Nco ntsoov tias koj lub kaw lus tuaj yeem txheeb xyuas daim npav TF daim npav ua USB-HDD ntaus ntawv thiab koj yuav pom 3 ntu hauv koj tus neeg tshawb nrhiav. Ob ntawm lawv tuaj yeem nkag tau thiab Windows yuav nug koj kom format tus laug. TSIS TXHOB format nws !!

Ua ntej qhib qhov "khau raj" muab faib thiab ua raws Kauj Ruam 2 txhawm rau teeb tus pin teeb tsa. Lossis koj tuaj yeem unzip lub boot.zip hauv qab cov kauj ruam no, thiab luam tag nrho cov ntaub ntawv thiab cov ntawv tais ceev tseg rau koj qhov muab faib faib. Nco ntsoov theej ua ke lcd_init tsab ntawv sau rau hauv kev faib ua ke ib yam nkaus.

Ntawm no peb tau npaj los ua thawj khau raj, tab sis raws li tsis muaj cov khoom Kuv pom zoo kom koj siv RPI-CMIO board nrog lub usb wlan ntaus ntawv. Tom qab ntawd koj tuaj yeem teeb tsa wpa_supplicant cov ntaub ntawv thiab pab kom ssh ntawm cov kauj ruam no. Txawm li cas los xij, yog tias koj tsis npaj siab yuav tau txais, GPIO32/33 tuaj yeem siv ua UART davhlau ya nyob twg. Txuas tus TX (GPIO32) thiab RX (GPIO33) tus pin rau usb-rau-uart board thiab nkag mus rau lub davhlau ya nyob twg nrog tus lej baud ntawm 115200. Xijpeem, koj yuav tsum tau txais lub davhlau ya nyob twg nkag mus rau koj Pi.

Thaum thawj khau raj, lub kaw lus yuav nyam thaum sim nthuav cov ntaub ntawv system. Tsis quav ntsej nws, nias pib (nkag tus yuam sij ntawm USB HID keyboard) thiab rov pib dua. Ntawm lub davhlau ya nyob twg, theej lcd_init tsab ntawv rau tus neeg siv "pi" lub tsev ntawv tais ceev tseg thiab ua raws Kauj Ruam 3 txhawm rau teeb tsa pib. Tom qab lwm qhov rov pib dua, koj yuav tsum pom lub vijtsam kom pom kev thiab qhia qee yam.

Lub sijhawm no, koj lub console game tau npaj ua si. Txawm li cas los xij, txhawm rau txhawm rau roms thiab BIOSs rau hauv koj daim npav TF, koj xav tau nkag mus rau lub davhlau ya nyob twg txhua lub sijhawm. Txhawm rau ua kom yooj yim, kuv qhia koj teeb tsa FAT32 muab faib.

Ua ntej thaub qab RetroPie nplaub tshev hauv qab /home /pi rau RetroPie-bck: "cp -r RetroPie RetroPie-bck". Tom qab ntawv ntxiv kab tshiab hauv/etc/fstab: "/dev/mmcblk0p3/home/pi/RetroPie defaults, uid = 1000, gid = 1000 0 2" kom pib mount FAT32 muab faib rau RetroPie nplaub tshev nrog teeb tsa tus tswv rau tus neeg siv "pib". Tom qab rov pib dua, koj yuav pom cov ntsiab lus ntawm RetroPie nplaub tshev tau ploj mus (yog tias nws tsis yog, rov pib dua) thiab qee qhov yuam kev tshwm sim ntawm qhov screen. Luam tag nrho cov ntaub ntawv hauv RetroPie-bck rov qab mus rau RetroPie thiab rov pib dua. Qhov yuam kev yuav tsum ploj mus thiab koj tuaj yeem teeb tsa lub cuab yeej siv ua raws cov lus qhia ntawm lub vijtsam.

Yog tias koj xav ntxiv roms lossis BIOSs, ntsaws daim npav TF thaum siv hluav taws xob thiab txuas nws rau koj lub computer. Qhib qhov muab faib thib 3 (NCO NTSOOV rau IGNORE cov lus qhia ntxaws !!!) thiab luam cov ntawv mus rau cov ntawv sib thooj.

Kauj Ruam 7: 3D Luam Ntawv Case thiab Khawm

Cov Ntawv Luam 3D thiab Nyees khawm
Cov Ntawv Luam 3D thiab Nyees khawm
Cov Ntawv Luam 3D thiab Nyees khawm
Cov Ntawv Luam 3D thiab Nyees khawm
Cov Ntawv Luam 3D thiab Nyees khawm
Cov Ntawv Luam 3D thiab Nyees khawm

Kuv tau tsim GameBoy Micro style rooj plaub rau lub game game.

Tsuas yog luam tawm

4x ABXY. STL

2x LR. STL (Xav tau ntxiv kev txhawb nqa)

1 x CROSS. STL

1 x TOP. STL

1 x BOTTOM. STL

Kuv luam lawv siv PLA nrog 20% ntim, 0.2 hli txheej thiab nws muaj zog txaus.

Raws li rooj plaub nruj, xyuas koj lub tshuab luam ntawv kom raug nrog qee lub voos xwmfab kuaj ua ntej luam.

Thiab peb 5mm ntev φ3mm screws thiab plaub 10mm ntev φ3mm screws yog xav tau los sib sau ua ke.

Kauj Ruam 8: Txhua Qhov Ua Ke thiab Teeb Meem Teeb Meem

Tag nrho ua ke thiab teeb meem tua
Tag nrho ua ke thiab teeb meem tua
Tag nrho ua ke thiab teeb meem tua
Tag nrho ua ke thiab teeb meem tua
Tag nrho ua ke thiab teeb meem tua
Tag nrho ua ke thiab teeb meem tua
Tag nrho ua ke thiab teeb meem tua
Tag nrho ua ke thiab teeb meem tua

Raws li lub Circuit Court yog yam nyuaj, nws yog qhov kev xaiv zoo los ua qee yam PCB ua haujlwm. Tag nrho cov txheej txheem thiab kuv tus kheej PCB version tau tso rau thaum kawg ntawm cov kauj ruam no. Yog tias koj npaj siab siv kuv li PCB version, thov ua siab zoo tsis tshem kuv lub logo rau ntawm Top_Solder txheej. Nws yog qhov zoo dua los ua koj tus kheej kev cai thiab muab koj tus kheej cov ntaub ntawv PCB rau cov chaw tsim khoom hauv cheeb tsam kom ua tawm vim tias nws nyuaj heev yuav yuav txhua qhov tib yam uas kuv siv ntawm kuv PCB.

Tom qab muab tag nrho cov khoom sib txuas ntawm PCB thiab sim, thawj qhov uas yuav tsum ua yog rub cov ntawv hex rau MCU. Tom qab ntawd, lo tus qauv LCD ntawm PCB. LCD module yuav tsum yog 3 hli siab dua PCB kom haum rau hauv rooj plaub. Siv qee daim kab xev tuab tuab los lo rau nws. Tom qab ntawd txuas FPC mus rau qhov txuas thiab ntxig rau daim npav CM3L thiab TF. TSIS TXHOB siv lub roj teeb tam sim no, ntsaws lub hwj chim usb rau hauv thiab khau raj nws!

Kos tag nrho cov nyees khawm thiab tso saib. Ntsuas qhov hluav taws xob ntawm BAT+ thiab GND, xyuas seb qhov hluav taws xob nyob ib puag ncig 4.2V. Yog tias qhov hluav taws xob zoo, tshem lub usb cable thiab txuas lub roj teeb rau. Sim lub hwj huam khawm.

Muab CROSS thiab ABXY khawm hauv TOP rooj plaub, thiab muab PCB rau hauv rooj plaub. Siv 3 tus ntsia hlau los txhim kho PCB hauv rooj plaub. Ntxiv qee qhov tuab ob daim kab xev nyob tom qab ntawm txhua lub SKPDACD010 cov nyees khawm, thiab lo lub roj teeb rau nws. TSIS siv daim kab xev tuab kom tsis txhob khawm SKPDACD010 ua rau lub roj teeb puas. Tom qab ntawd lo tus hais lus rau BOTTOM rooj plaub. Ua ntej kaw nws, koj yuav xav sim tag nrho cov nyees khawm, xyuas yog tias lawv ua haujlwm thiab thaws kom raug. Tom qab ntawd kaw qhov rooj nrog 4 tus ntsia hlau.

Txaus siab rau.

Qee qhov teeb meem tua cov lus qhia:

1) Triple kos tus pin txuas ntawm LCD module ntawm schematic thiab PCB.

2) Ua raws txoj kab LCD teeb liab nrog kev txwv ntev.

3) Thaum koj tsis paub meej txog ntu fais fab, muab tshuaj txhuam thiab ntsuas txhua ntu ua raws lub zog ua ntu zus. 5V ua ntej thiab tom qab ntawd 3.3V, thiab 1.8V. Tom qab tag nrho cov ntu fais fab raug sim, muab lwm cov khoom sib txuas.

4) Yog tias cov zaub plooj plooj, sim rov ua qhov sib txawv ntawm PCLK teeb liab los ntawm kev teeb tsa dpi_output_format.

5) Yog tias cov zaub tawm ntawm qhov chaw ntau, sim ntxeev lub polarity ntawm HSYNC lossis VSYNC teeb liab.

6) Yog tias cov zaub tawm ntawm qhov chaw me ntsis, sim kho qhov teeb tsa overscan.

7) Yog tias cov zaub yog xim dub, sim tos rau lub kaw lus kom khau raj mus rau rc.local tsab ntawv. Yog tias koj xav tau cov zaub los ntawm qhov pib, sim xaim SPI interface rau MCU thiab siv MCU los pib lub LCD module.

8) Yog tias cov zaub dub txhua lub sijhawm, txheeb xyuas qhov pib ua ntu zus ntxiv.

9) Zoo siab los nug ib qho lus nug ntawm no lossis los ntawm email: [email protected]

Pom zoo: