Cov txheej txheem:

Gameboy Advance Raws Li Bluetooth Gamepad: 7 Kauj Ruam
Gameboy Advance Raws Li Bluetooth Gamepad: 7 Kauj Ruam

Video: Gameboy Advance Raws Li Bluetooth Gamepad: 7 Kauj Ruam

Video: Gameboy Advance Raws Li Bluetooth Gamepad: 7 Kauj Ruam
Video: Making flash memory from SD Card 2024, Lub Xya hli ntuj
Anonim
Gameboy Advance Raws li Bluetooth Gamepad
Gameboy Advance Raws li Bluetooth Gamepad

Cov cuab yeej yog ESP32 txuas nrog GBA los ntawm qhov chaw nres nkoj txuas. Nrog lub cuab yeej txuas nrog thiab tsis muaj daim cartridge tso rau hauv GBA, ib zaug GBA tig rau ESP32 xa ib lub rom me me los thauj khoom hauv GBA. Qhov rom no yog qhov program ua kom muaj kev sib txuas lus ntawm ESP32 thiab GBA rau ob qho tib si tuav kev sib txuas bluetooth thiab xa cov neeg siv nkag mus rau ESP32 thaum nws txuas nrog lub bluetooth host thiab ua raws li gamepad. Hmoov tsis nws tsuas ua haujlwm nrog GBA ib txwm thiab kuv tsis tuaj yeem ua haujlwm nrog GBA SP. Kuv xav tias GBA SP tsuas yog tsis muab lub zog txaus.

Thaum qhib ESP32 ua ntau txoj kab sib dhos los ntawm SPI mus rau GBA xa lub rom uas ESP32 tau khaws cia hauv lub cim xeeb nyem. Thaum thauj lub ESP32 ua rau UART chaw nres nkoj nyob rau hauv tib tus pin thiab rom sib txuas lus nrog ESP32 siv UART los ntawm qhov chaw nres nkoj txuas. ESP32 yog siv los ntawm 3.3V GBA muab los ntawm chaw nres nkoj

Khoom siv:

ESP32 WROOM & ESP32 programmer

GBA-GC knock-off adapter rau GBA txuas chaw nres nkoj txiv neej txuas thiab rooj plaub

Qee cov kab xev hluav taws xob thiab wir

Kauj ruam 1: Program ESP32

Qhov program ESP32
Qhov program ESP32

Pib ua haujlwm koj li ESP32 nrog lub khoos phis tawj koj tuaj yeem pom ntawm no:

github.com/Shyri/gba-bt-hid/tree/master/es…

Kuv pom zoo kom siv ib tus programmer no lawv muag tawm, ib yam li daim duab.

Txoj haujlwm no tau sim nrog ESP-IDF v3.3.2 uas koj tuaj yeem pom ntawm no:

Koj kuj tseem yuav tsum teeb tsa btstack. Ua raws https://github.com/bluekitchen/btstack/commit/a0a… yog qhov tshiab tshaj plaws uas tau ua pov thawj los ua haujlwm hauv txoj haujlwm no.

Tsuas yog ua raws ESP32 ib puag ncig cov lus qhia ntawm no

Txuas ESP32 rau hauv tus programmer. Txuas tus programmer rau lub PC. Nkag mus rau cov npe kab ntawv thiab khiav 'ua flash'

Kauj Ruam 2: Tau Txais Qhov Chaw Txuas Txuas Txuas

Tau Txais Cov Txuas Txuas Txuas Txuas
Tau Txais Cov Txuas Txuas Txuas Txuas

Kuv pom zoo kom yuav ib qho ntawm GBA-GC cov xov hluav taws xob uas lawv muag.

Lawv yuav muab ob qho txuas txuas txuas txuas ntxiv rau rooj plaub uas koj yuav nyob hauv tsev thiab yuav txuas zoo rau hauv koj li GBA.

Disassembling nws thiab desolder qhov txuas chaw nres nkoj txuas. Ceev faj ntawm no thiab tsis txhob maj nrawm, qhov txuas feem ntau yog ua los ntawm yas thiab yog tias koj tso cov hlau txuas rau ntev dhau nws yuav pib yaj thiab nws yuav tsis ntsaws raug rau koj li GBA tom qab.

Kauj Ruam 3: Txiav PCB me me

Txiav PCB me me
Txiav PCB me me

Tej zaum koj yuav tau ceeb toom PCB uas los rau hauv GBA-GC adapter muaj qhov tshwj xeeb kom lub txuas tsis tawm ntawm rooj plaub thaum twg koj rub lub adapter los ntawm sab saum toj ntawm GBA. Txhawm rau ua tib yam kuv txiav kuv daim perfboard nrog qhov ntau thiab tsawg

Kauj Ruam 4: Txiav PCB me me (2)

Txiav PCB me me (2)
Txiav PCB me me (2)
Txiav PCB me me (2)
Txiav PCB me me (2)

Tej zaum koj yuav tau ceeb toom PCB uas los rau hauv GBA-GC adapter muaj qhov tshwj xeeb kom lub txuas tsis tawm ntawm rooj plaub thaum twg koj rub lub adapter los ntawm sab saum toj ntawm GBA. Txhawm rau ua tib yam kuv txiav kuv daim perfboard nrog qhov ntau thiab tsawg:

Koj tuaj yeem siv tus wholes ua qhov siv tau yog tias koj tsis xav tshem tus pas ntsuas los ntsuas. Tam sim no peb yuav tsum tau lo cov kab txuas txuas txuas rau ceg uas yog peb qhov hauv qhov dav. Hauv daim duab saum toj no koj yuav tso tus txuas rau ntawm sab laug thiab hauv qab ntawm qhov txuas yuav taw tes sab nraud ntawm lub vijtsam. Nco ntsoov tias txhua qhov txuas ob sab ntawm perfboard thiab peb tsis xav kom luv txuas qhov chaw nres nkoj txuas. Qhov kuv tau ua yog siv cov pins ntawm ib sab ntawm qhov txuas mus rau thawj kab ntawm qhov, thiab ntawm lwm sab txuas lwm tus peb tus pin rau kab thib ob ntawm qhov ua kom tsis txhob sib cuag nrog thawj kab. Me ntsis ntxhib tab sis nws ua haujlwm.

Kauj Ruam 5: Hlau Txuas rau ESP32

Hlau txuas rau ESP32
Hlau txuas rau ESP32

Ua raws daim duab kab no 5 txuas los ntawm qhov chaw nres nkoj txuas mus rau ESP32 pins. Nco ntsoov luv EN nrog 3V3 txwv tsis pub nws yuav tsis ua haujlwm.

Kauj Ruam 6: Kho Qhov Case

Hloov Rooj plaub
Hloov Rooj plaub
Hloov Rooj plaub
Hloov Rooj plaub

Tam sim no uas peb tau siv nws, koj tuaj yeem sim nws thiab pom tias nws ua haujlwm.

Thaum kuaj peb tuaj yeem npaj mus tso nws rau hauv rooj plaub. Txhawm rau kom nws haum peb yuav tsum tau muab cov ntaub ntawv tso rau hauv ob peb qhov chaw. Koj tuaj yeem pom hauv cov duab uas koj yuav tsum kos rau hauv ib sab ntawm rooj plaub.

Hauv lwm sab koj tuaj yeem ua ob peb lub teeb pom kev zoo kom haum rau ESP32 cov ces kaum.

Kauj ruam 7: Ua tiav

Tiav tiav
Tiav tiav

Muab qee qhov hluav taws xob coj mus rau ESP32 tus pin kom koj zam qhov luv luv thaum nws raug kaw. Muab cov khoom zoo li daim duab. Txiav perfboard nrog txuas txuas hauv ib sab thiab ESP32 ntawm lwm qhov. Nqa ob sab ua ke khoov cov kab xev kom nyob sab hauv.

Muab ob lub hau ntswj thiab koj npaj mus!

Pom zoo: