Cov txheej txheem:
- Kauj Ruam 1: Qhov Yuav Tsum Tau:
- Kauj Ruam 2: Cov Cuab Yeej Xav Tau:
- Kauj Ruam 3: Txiav txim qhov Casing
- Kauj Ruam 4: Siv Lub Tshuab Hluav Taws Xob mus rau Daim Npav Cartridge
- Kauj Ruam 5: Txiav Pawg Thawj Coj
- Kauj Ruam 6: Txhuam Txhua Yam Ua Ke
- Kauj Ruam 7: *** BONUS *** Soldering Buttons
- Kauj Ruam 8: *** BONUS *** Soldering LED thiab Rotary Encoder
- Kauj Ruam 9: *** BONUS *** Txiav Lwm Pawg Thawj Coj
- Kauj Ruam 10: *** BONUS *** Soldering Bonus Bonus
- Kauj Ruam 11: *** BONUS *** Muab Txhua Yam Hauv
- Kauj Ruam 12: Muab Txhua Yam Hauv
- Kauj Ruam 13: Txuas Txhua Yam
- Kauj Ruam 14: Tshaj Tawm Arduino Code
- Kauj Ruam 15: Kuaj Cov Ntaus
- Kauj Ruam 16: *** BONUS *** Tswj Kev Ua Si
- Kauj ruam 17: Outro
Video: Game Boy Reader Controller: 17 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Hauv phau ntawv qhia no kuv yuav sim piav qhia tias kuv ua lub cuab yeej li cas saum toj no. ua si hauv koj lub computer. Tam sim no qhov no tsuas ua haujlwm ntawm Windows.
Kuv yuav pom cov lus qhia no tsis yog rau cov pib tshiab, koj xav tau qee qhov kev txawj ntse ua ntej koj sim ua cov lus qhia no. Thov nyeem txhua qib ua ntej ua ntej pib, qhov no yuav txuag sijhawm thiab nyiaj txiag.
Bonus Raws li cov nyiaj tshwj xeeb koj tuaj yeem siv lub cuab yeej ua tus tswj hwm, hmoov tsis tam sim no kuv muaj qee qhov teeb meem nrog txoj cai. Kuv tau ua cov cuab yeej no rau hauv tsev kawm ntawv txoj haujlwm thiab tsis tuaj yeem ua qhov haujlwm no, yog vim li cas nws thiaj li tau txais nyiaj ntxiv. Yog tias leej twg pom qhov kev daws teeb meem, thov tawm tswv yim hauv qab no kom txhua tus tuaj yeem txaus siab rau txoj kev ua si tshiab no.
Kauj Ruam 1: Qhov Yuav Tsum Tau:
- nyob ib ncig ntawm 60 xov hlau ntawm 20 centimeters
- DS (Lite) daim cartridge qhov 2
- ib qho Arduino Uno rev. 3
- qhov tsawg kawg 40 qhov x 50 qhov ua lub rooj tsavxwm tsab ntawv (kwv yees li 2 hli raster)
- 3mm coj (default yog liab)
- 220 Ohm resistor
- 31 lub taub hau pins
- 74HC595
- 4 2mm ntsia hlau nrog qhov ntev tsawg kawg ntawm 25mm
Qhov khoom ntxiv:
-74 HC165
- 5 lub khawm tactile
- teb encoder nrog khawm
- 8 x 10k Ohm resistors
Kauj Ruam 2: Cov Cuab Yeej Xav Tau:
- cam khwb cia hlau
- laug
- pincers
- pliers
- stripping cov pliers
- tweezers
- cov cuab yeej teb lossis riam riam
- drilling tshuab (lossis lwm txoj hauv kev txhawm rau txhawm rau lub qhov nyob hauv pawg thawj coj saib qauv)
- tus pas ntsuas (lossis lwm yam ntsuas ntsuas)
Kauj Ruam 3: Txiav txim qhov Casing
Txij li 3D luam ntawv tuaj yeem siv sijhawm ntau, peb pib nrog xaj cov khoom. Qhov no yuav siv li 6 hnub. Hauv lub sijhawm nruab nrab koj tuaj yeem ua tus so ntawm cov lus qhia no. OrderingDownload 3 ntu ntawm no.
Tom qab ntawd koj tuaj yeem xaj lawv ntawm Oceanz. Feel dawb los xaiv koj tus kheej cov xim thiab qhov zoo los luam tawm cov khoom. Nco ntsoov tseem siv SLS cov txheej txheem luam ntawv, txwv tsis pub cov nyees khawm tau nyam thiab koj yuav siv tsis tau lawv.
Kauj Ruam 4: Siv Lub Tshuab Hluav Taws Xob mus rau Daim Npav Cartridge
Peb pib nrog qhov muag tag nrho cov pins ntawm daim cartridge slot. But ua ntej koj yuav tsum txiav qee daim los ntawm lub adapter, txwv tsis pub Game Boy game yuav tsis haum. Saib thawj daim duab kom paub tias daim twg yuav tsum tau txiav tawm. Kuj txiav ntawm cov duab plaub yas nyob tom qab ntawm daim cartridge. Txoj hauv kev no koj yuav tuaj yeem xaub lub laub game nyob hauv lub casing tom qab. Txoj hauv kev zoo tshaj plaws los xaim cov xov hlau rau ntawm tus pin, yog los ntawm kev txuas lawv mus rau tom qab ntawm lub qhov. Yog li tsis mus rau ntawm lub adapter uas pom ntawm daim duab. Koj tuaj yeem siv cov cuab yeej sib txawv los ua kom yooj yim dua soldering. SchematicI suav nrog daim duab ntawm cov duab uas tau ua los ntawm InsideGadgets. Cov resistors yog xaiv tau thiab tsis suav nrog hauv cov lus qhia no vim tias qhov chaw me me uas peb ua haujlwm hauv. Siv cov lus qhia kom paub tias cov xaim hluav taws xob xav tau mus qhov twg, thiab qhov twg tuaj yeem txuas nrog ib leeg.
Kauj Ruam 5: Txiav Pawg Thawj Coj
Arduino ntaub thaiv npog
Cov kauj ruam tom ntej yog txhawm rau txuas cov xov hlau mus rau lub rooj tsav xwm tsab. Ua ntej peb tuaj yeem ua qhov no, peb yuav tsum txiav lub rooj tsav xwm tsab ntawv kom raug qhov ntau thiab tsawg. Muaj ntau txoj hauv kev los ua qhov no. Kuv tau siv lub cuab yeej hloov pauv, tab sis koj kuj tseem tuaj yeem siv rab riam los txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau tiv thaiv peb txiav ib daim ntawm 20 los ntawm 21 qhov. Tom qab ntawd koj tuaj yeem sim ua kom haum hauv qee lub taub hau thiab tseem txiav lawv kom loj li qhov xav tau. Tsuav lawv tuaj yeem tso rau hauv txhua tus pin ntawm Arduino, koj yuav tsum yog tus zoo, txawm tias cov pins tsis haum rau 0 txog 7 tus pin ntawm Arduino. Yog li kuv txiav tawm ib feem me me ntawm daim thaiv npog thiab txuas cov xov hlau ncaj qha mus rau tus pin, uas kuv yuav qhia cov kauj ruam tom ntej
Kauj Ruam 6: Txhuam Txhua Yam Ua Ke
Tom qab txiav daim phiaj thaiv peb tuaj yeem pib haum txhua yam nyob rau ntawd. Kuv xub pib nrog soldering 74HC595 hloov npe rau pawg thawj coj saib. Nco ntsoov muab lawv tso rau ntawm qhov chaw uas lawv tsis tuaj yeem kov ib feem ntawm Arduino board. Tom qab ntawd muab lub taub hau taub hau rau Arduino thiab kuaj lub rooj tsavxwm tom qab ntawd. Yog tias nws tsis haum, nco ntsoov hloov nws kom nws ua tau.
Ib zaug ntxiv, Kuv suav nrog cov lej qhia koj kom koj paub tias cov xov tooj twg xav tau mus qhov twg. Thov ua tib zoo ua qhov no. Raws li peb tsis siv cov resistors, peb tuaj yeem yooj yim ua luv luv thiab kib cov npe hloov pauv lossis ua rau lwm qhov puas. *** Thaum koj xaim cov xov hlau rau lub taub hau pins ntawm daim thaiv npog, nco ntsoov muab lawv tso rau hauv qab ntawm pawg thawj coj saib. Txwv tsis pub Arduino nrog daim thaiv txuas nrog yuav tsis haum rau hauv lub khauj khaum *** Cov kauj ruam tom ntej yog qhov tau txais txiaj ntsig. Yog tias koj tsuas xav tau Game Boy tus nyeem ib feem, thov txuas ntxiv mus rau qib 12.
Kauj Ruam 7: *** BONUS *** Soldering Buttons
Qhov yuav los tom ntej yog khoom plig.
Tam sim no peb pib nrog soldering cov nyees khawm. Peb kuj siv 10k resistors raws li rub-resistors yog li peb tau txais ntau dua cov nyees khawm nias. Kuv suav nrog cov ntaub ntawv ntawm cov khawm khawm, saib cov duab kom paub tias cov xov hlau mus qhov twg. Tom qab ntawd nws yuav tsum zoo ib yam li hauv daim duab thib ob.
Kauj Ruam 8: *** BONUS *** Soldering LED thiab Rotary Encoder
LED
LED tsis nyuaj rau solder. Cov ceg ntev tshaj yog 5V sab thiab yuav tsum muaj 220 Ohm resistor ntawm txhais ceg thiab xaim. Cov ceg luv yog Sab Hauv av thiab tsuas yog yuav tsum tau muab xaim nrog xaim.
Teb Encoder
Teb encoder muaj ob sab nrog tus pin. Sab nrog 3 tus pin yog sab teb. Ib qho nrog 2 tus pin yog sab khawm. Ib zaug ntxiv, saib daim duab kom paub tseeb tias yuav txuas cov xov hlau li cas.
Qhov nruab nrab tus pin ntawm qhov teb yog Ground. Lwm ob tus pin yog cov uas sau npe qhov sib hloov ntawm ib feem. Tus pin txoj cai tshaj yog tus pin "A" thiab tus pin sab laug tshaj yog tus pin "B". Tsuas yog nco ntsoov ua ntej xaim tus pin A rau qhov hloov pauv npe thiab tom qab tus lej B. Tsis tas li ntawd koj yuav tsum hloov cov pins tom qab hauv txoj cai. Ntxiv rau, cov pins uas mus rau npe hloov pauv, yuav tsum muaj xaim nrog 10k resistor rau hauv av.
Kauj Ruam 9: *** BONUS *** Txiav Lwm Pawg Thawj Coj
Rau Cov Khawm peb txiav lwm lub rooj tsav xwm qauv. Pawg thawj coj no yuav mus rau sab xis hauv qab cov lus teb rau hauv rooj plaub. Peb kuj yuav tsum tau laum ob lub qhov rau lub cav nkag teb chaws, txwv tsis pub lub rooj tsavxwm tsis haum rau hauv. Tseem, lub rooj tsavxwm yuav tsis haum rau sab hauv. Raws li cov duab tuaj yeem hais ib txhiab lo lus, thov saib daim ntawv txuas nrog. Cov qhov liab yuav tsum tau txiav thiab tshem tawm.
Txoj kev zoo tshaj plaws kom paub yog tias lub cav sib dhos haum yog los ntawm thawj lub cim rau ntawm lub rooj tsavxwm tsab ntawv thiab saib yog tias cov nqes nyob ntawm ib sab ntawm lub cav nkag teb chaws nyob hauv qhov chaw cim. Tom qab ntawd laum thiab txiav cov khoom tseg.
Kauj Ruam 10: *** BONUS *** Soldering Bonus Bonus
Cov nyiaj tau los tam sim no tau npaj yuav muab muag rau ntawm pawg thawj coj saib. Kuv tso daim ntawv hloov pauv ntawm sab xis ntawm lub rooj tsavxwm, hauv qab daim ntawv txiav tawm thiab mus rau sab xis ntawm cov lus teb. Kuv txuas ib qho schematic los qhia tias yuav tsum mus rau xaim qhov twg. Nco ntsoov paub tias kev taw qhia yog dab tsi ntawm kev hloov pauv npe, koj tuaj yeem pom qhov no ntawm qhov me me ib nrab ntawm lub voj voos nkag. Qhov kev nkag teb chaws yog sab saum toj ntawm lub nti (ib yam li ib qho hauv cov txheej txheem).
Kauj Ruam 11: *** BONUS *** Muab Txhua Yam Hauv
Tam sim no peb yuav tsum muaj txhua yam soldered thiab npaj kom muab tso rau hauv rooj plaub. Peb pib nrog cov khoom ntxiv, raws li cov no mus rau sab saum toj ntawm lub casing. Tom qab ntawv swb hauv pawg thawj coj saib me me kom nws nyob ntawm qhov chaw nyob. Saib daim duab. Tom qab ntawd muab tag nrho cov nyees khawm. Cov no yuav tsum swb yooj yim yooj yim.
Kauj Ruam 12: Muab Txhua Yam Hauv
Tam sim no peb yuav tsum muaj txhua yam soldered thiab npaj kom muab tso rau hauv rooj plaub. Nws mus rau sab xis hauv qab lub qhov ntawm lub hauv ntej ntawm lub cuab yeej, tom qab khawm "B".
Tom qab ntawd koj tuaj yeem xaub hauv Game Boy daim cartridge qhov. Txoj hauv kev zoo tshaj yog pib nrog sab xis. Tom qab ntawd koj tuaj yeem thawb sab laug rau hauv qhov chaw nrog koj tus tweezers. Koj tuaj yeem sim yog tias txhua yam haum los ntawm kev zawv zawg Game Game cartridge nyob rau hauv.
Kauj Ruam 13: Txuas Txhua Yam
Peb cov kauj ruam kawg ntawm kev sib dhos yog txuas cov ntaub thaiv npog nrog Arduino Uno thiab swb Arduino nyob rau hauv qhov chaw. Yog tias koj xaim cov xov hlau rau hauv qab ntawm tus pin, nws yuav tsum haum txhua qhov. Tom qab ntawd ntswj rau hauv qab ntawm lub cuab yeej thiab peb txhua tus tau teeb tsa kom xa qee qhov chaws rau lub cuab yeej.
Kauj Ruam 14: Tshaj Tawm Arduino Code
Peb tuaj txog ntawm ib qho ntawm cov kauj ruam kawg ntawm cov lus qhia no. Txhawm rau siv cov cuab yeej no, peb yuav tsum tau xa qee cov cai. Cov cai no tseem muaj cov lej ntxiv, yog li tsis txhob txhawj txog qhov ntawd.
Dab tsi nws ua Dab tsi cov cai no ua, yog nws sib txuas lus nrog Python tsab ntawv. Python tsab ntawv qhia rau Arduino yuav ua dab tsi thiab Arduino yuav tom qab ua ib qho lej thiab xa cov ntaub ntawv rov qab mus rau Python tsab ntawv. Cov cuab yeej teb rau qhov ntawd thiab koj Game Boy game yuav rub tawm rau koj lub khoos phis tawj. Thaum ob qho kev ua si thiab khaws cov ntaub ntawv tau rub tawm, qhov kev ua si tau pib hauv tus emulator (BGB).
Rub tawm & Nruab
Thov rub cov ntawv txuas.zip. Qhov no suav nrog Arduino kos duab ua ke nrog lub tsev qiv ntawv tshwj xeeb. Txhawm rau teeb tsa lub tsev qiv ntawv no, koj yuav tsum luam daim nplaub tshev "GBController" rau koj li Arduino Libraries folder uas ib txwm muab tso rau ntawm "C: / Program Files (x86) Arduino / libraries"
Thaum koj theej cov ntawv, koj yuav tsum rov pib dua Arduino IDE tag. Yog li kaw tag nrho koj cov duab kos (thov tseg lawv ua ntej ua li ntawd) thiab tom qab ntawd qhib GBCartRead_v1_6_Rev1.ino cov ntaub ntawv. Rub nws mus rau koj Arduino yog li peb tuaj yeem pib ntsuas. *** Ua ntej muab tso rau hauv lub laub game koj yuav tsum tshem lub cuab yeej! Txwv tsis pub koj sawv qhov kev pheej hmoo ntawm kev tshem koj RAM ntawm lub laub game thiab yog li poob koj qhov kev nce qib hauv kev ua si! ***
Kauj Ruam 15: Kuaj Cov Ntaus
Thaum ntsaws rau hauv, koj Arduino tau npaj txhij xa qee cov ntaub ntawv. Tab sis qhov no yuav tsis tshwm sim tsuav yog Python tsab ntawv tsis ua haujlwm. Yog li thov rub cov ntawv txuas thiab muab tso rau qee qhov ntawm koj lub computer.
Yog tias koj tsis muaj Python teeb tsa hauv koj lub khoos phis tawj, thov rub tawm nws ntawm no koj kuj xav tau Pyserial.
Xeem
Txoj cai nyem rau ntawm GBControllerReader.py cov ntawv thiab xaiv "kho nrog IDE". Koj yuav tsum pom qee yam zoo li hauv daim duab. tuaj yeem nias F5 kom khiav cov cai thiab Python tsab ntawv yuav pib nyeem lub taub hau ntawm Game Boy game. Tom qab ntawd koj tuaj yeem xaiv pov tseg qhov kev ua si.
Kauj Ruam 16: *** BONUS *** Tswj Kev Ua Si
Tom qab koj tau pov tseg qhov kev ua si, nws yuav cia li pib hauv emulator. Tam sim no koj tuaj yeem pib Txheej Txheem kos duab txuas nrog.
Teeb meem Kuv muaj qee qhov teeb meem nrog ntu no tab sis, tab sis tej zaum nws ua haujlwm rau koj. Raws li kuv tau hais hauv cov lus qhia ntawm cov lus qhia no. Yog leej twg paub yuav daws qhov teeb meem no li cas, xav tias dawb te teb hauv cov lus, yog li kuv tuaj yeem kawm los ntawm qhov no (thiab lwm tus ib yam nkaus). Thiab tom qab ntawd peb yuav tuaj yeem ntsib txoj hauv kev tshiab ntawm kev ua si peb cov kev ua si uas peb nyiam.
Kauj ruam 17: Outro
Ua tsaug rau kev nyeem phau ntawv qhia no. Kuv vam tias koj nyiam qhov no thiab muaj kev lom zem ua nws. Kuv tseem xav ua tsaug rau Oceanz ntxiv rau kev pab kuv nrog qhov no. Lawv zoo heev nrog 3D luam ntawv. Lawv xa cov kev pabcuam zoo nrog rau qhov zoo thiab txawm tias tus nqi zoo tshaj plaws muaj. Yog tsis muaj lawv qhov no yuav tsis ua haujlwm.
Tswv yim?
Yog tias koj pom qhov ua yuam kev hauv cov lus qhia no lossis muaj cov lus qhia los ua kom nws zoo dua, thov koj xav hais dawb. Tom qab ntawd peb txhua tus tuaj yeem txaus siab rau nws ntau dua. Tau kawg kuv xav pom yuav ua li cas koj cov ntawv tau dhau los, yog li kuj xav tias tso tawm qee cov duab ntawm nws hauv cov lus. Kuv tos ntsoov rau txhua qhov koj xav tau.
Pom zoo:
Yuav Ua Li Cas Txhim Kho Kev Tswj Xyuas AGS-001 Pem Hauv Ntej Rau Hauv Qhov Game Game Boy Advance (Tsis Muaj LOCA!): 5 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Txhim Kho Kev Tswj Xyuas AGS-001 Pem Hauv Ntej Rau Hauv Qhov Kev Ua Si Thawj Tub Ntxhais Ua Ntej (Tsis Muaj LOCA!): Koj tab tom nrhiav kom pom koj lub Game Game Boy Advance qub. Koj tsis tuaj yeem pom cov khoom siv tshiab IPS backlit IPS nyob txhua qhov chaw, thiab cov khoom siv AGS-101 qub dhau ntawm cov khoom lossis cov nqi ntau dhau. Dhau li, koj xav kom tuaj yeem pom lub vijtsam thaum koj nyob nraum zoov
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: 7 Cov Kauj Ruam (nrog Duab)
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: Nyob zoo txhua tus! Cov lus qhia no tau yug los ntawm lub laptop faib ua ib nrab, yuav los ntawm ib tus phooj ywg. Thawj qhov kev sim ntawm txoj haujlwm no yog kuv Lego Digital Photo Frame, txawm li cas los xij, yog ib tus neeg mob siab rau Siri thiab Google Tam sim no, Kuv txiav txim siab coj nws mus rau qhov tshiab
Nintendo Controller rau hauv PC Card Reader: 4 Cov Kauj Ruam (nrog Duab)
Nintendo Controller Rau Hauv PC Card Reader: Muab daim npav nyeem rau hauv Nintendo Controller rau koj lub khoos phis tawj lossis laptop. Txhua qhov hais txog ntawm txoj haujlwm no yuav tsum muab txuas rau www.zieak.com nrog credit rau Ryan McFarland