Cov txheej txheem:
- Kauj Ruam 1: Npaj Bootloader thiab Kev Txhim Kho Ib puag ncig
- Kauj ruam 2: Nruab Sketch
- Kauj ruam 3: Cov laug cam
- Kauj Ruam 4: Tsis teb los tau: Case
Video: Sega Genesis Controller rau USB Adapter rau $ 2: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Qhov hloov pauv no tso cai rau Sega Genesis / Mega Drive maub los ua raws ob lub XBox 360 gamepads rau siv nrog retroarch lossis lwm yam software. Nws siv Arduino-sib xws stm32f103c8t6 cov ntsiav tshuaj xiav rau cov khoom siv hluav taws xob.
Cov khoom xyaw:
- stm32f103c8t6 ntsiav tshuaj xiav
- ob lub txiv neej DB9 qhov (Kuv ua kuv tus kheej)
- xov hlau
Kauj Ruam 1: Npaj Bootloader thiab Kev Txhim Kho Ib puag ncig
Npaj bootloader thiab ib puag ncig txhim kho Arduino.
1. Pib los ntawm ua raws cov lus qhia ntawm no.
2. Nco tseg: Hmoov tsis zoo, tam sim no muaj ntab ncig cuav stm32f103c8t6 cov laug cam, nrog IC rov ua dua tshiab. Qhov kev rov ua haujlwm IC no tsuas muaj 32K nyem thiab 10K ram tsis zoo li 64K (lossis txawm tias 128K) nyem thiab 20K ram ntawm qhov qub, thiab tej zaum yog stm32f103c6. Yog tias koj muaj ib qho ntawm cov no, thaum thaum koj tab tom yuav nyem lub booloader, STM32 Demonstrator yuav qhia rau koj tias koj muaj qhov ntom ntom ntom ntom ntom ntom ntom ntom 32K (saib cov duab). Yog tias koj nyob hauv txoj haujlwm ntawd, xyuas kom tseeb tias koj muaj qhov tseeb Arduino core thiab bootloader, vim tam sim no lawv txhawb nqa cov cuab yeej qis-kawg no. Thiab koj yuav tsum xaiv Generic stm32f103c6 hauv Arduino IDE.
3. Hauv koj li libmaple core, hloov cov ntsiab lus ntawm STM32F1/tsev qiv ntawv/USBComposite nrog qhov hloov tshiab kawg (lossis tsawg kawg 0.92) los ntawm no. Qhov no xav tau los txhawb nqa ob tus XBox360 tus tswj hwm.
4. Cov tshuaj xiav muaj qhov tsis zoo USB resistor, feem ntau 10K hloov 1.5K. Nrog qee lub khoos phis tawj, lawv yuav ua haujlwm zoo, tab sis lawv yuav ua teeb meem rau lwm tus. Txheeb koj qhov kev tiv thaiv nruab nrab ntawm 3.3V thiab A12. Yog tias nws tsis yog 1.5K, ntxiv tus tiv thaiv kab ke ntawm cov pins no kom tau 1.5K. Piv txwv li, yog tias koj muaj 10K, tom qab ntawd ntxiv 1.8K resistor.
Kauj ruam 2: Nruab Sketch
Tau txais kuv daim duab thiab muab tso rau hauv lub rooj tsavxwm. Muaj ob txoj kev kos duab, nyob ntawm seb Xbox 360 tus tswj hwm koj xav ua raws (kev sib haum xeeb yuav txawv):
- x360 cev
- x360 wireless ua.
Rau kuv lub hom phiaj retroarch, kos duab xa mus rau sab laug txav hauv cov lus teb rau lub khawm dpad los ntawm lub neej ntawd, tab sis yog tias koj tuav lub khawm pib thaum nias lub pob dpad, nws xa XBox dpad nyees khawm hloov. Yog tias koj tsis xav tau qhov no, tawm tswv yim tawm ntawm kab:
#define START_ACTIVATED_DPAD
Txuas lub rooj tsavxwm rau hauv computer thiab tshawb xyuas tias ob daim gamepads tshwm (lawv yuav tsis txav mus, tau kawg, vim tias koj tsis muaj dab tsi txuas rau ntawm lub rooj tsavxwm). Ntawm Windows, nias win-R thiab ntaus joy.cpl kom pom ob gamepads.
Kauj ruam 3: Cov laug cam
Tau txais lossis ua rau koj ob tus txiv neej DB9 qhov (lossis tsuas yog ib qho yog qhov uas koj xav tau; qhov xwm txheej ntawd, koj yuav xav hloov kho txoj cai).
Tam sim no txuas lawv zoo li hauv ob daim duab qhia rau koj cov tshuaj ntsuab. Qhov pom ntawm no yog los ntawm sab nraum qab ntawm DB9 lub qhov (socket), piv txwv li, sab koj tso rau ntawm (lossis, sib npaug, pem hauv ntej ntawm tus poj niam nkaus ntawm tus tswj).
Kauj Ruam 4: Tsis teb los tau: Case
Kuv muaj tus qauv tsim rau rooj plaub 3D luam tawm rau txoj haujlwm ntawm no, piv txwv tias koj tab tom siv kuv li 3D luam ntawv DB9 qhov nyob.
Pom zoo:
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): 3 Cov Kauj Ruam
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): Peb txhua tus nyiam ua si nrog peb tus lej L … cov ntsiab lus tau ntxiv thiab nws tsis tshwj xeeb rau lub qhov muag. Arduino IDE cov phiaj xwm tsis
Kev Nkag Mus Rau Cov Hauv Paus Cov Hauv Paus Cov Ntaub Ntawv Siv DB410 Raws Li Ethernet Dongle: 6 Cov Kauj Ruam
Kev Nkag Mus Rau Cov Hauv Paus Cov Hauv Paus Cov Ntaub Ntawv Siv DB410 Raws Li Ethernet Dongle: Lub Hom Phiaj: Txhim kho cov cuab yeej cuab tam thiab rov ua dua cov ntsiav kom ntxig USB Ethernet CDC Gadget txhawb nqa; Rov tsim boot.img los ntawm Linaro rau khau raj USB Ethernet CDC; Tsim NFS server los tuav lub hauv paus cov ntaub ntawv system; IP teeb tsa hauv DEVICE thiab HOST
Cov Txheej Txheem Hluav Taws Xob rau FTC Robots - Cov Txheej Txheem thiab Cov Lus Qhia: 4 Cov Kauj Ruam
Muaj Cov Txheej Txheem Hluav Taws Xob rau FTC Neeg Hlau - Cov Txheej Txheem thiab Cov Lus Qhia: Ntau pawg FTC tso siab rau cov txheej txheem thaiv yooj yim thiab cov cuab yeej los teeb tsa hluav taws xob rau lawv cov neeg hlau. Txawm li cas los xij, cov txheej txheem yooj yim no thiab cov ntaub ntawv yuav tsis txaus rau cov kab hluav taws xob xav tau ntau dua. Txawm hais tias koj pab neeg tab tom siv kev paub ntau dua
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rov Ua Rau Lawv rau 12V.: 3 Cov Kauj Ruam
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rewiring Lawv rau 12V: Kuv txoj kev npaj tau yooj yim. Kuv xav txiav cov phab ntsa uas siv hluav taws xob LED teeb ua ib daim ces rov txuas nws kom khiav tawm 12 volts. Lwm txoj hauv kev yog siv lub zog hloov pauv, tab sis peb txhua tus paub tias lawv tsis muaj txiaj ntsig zoo, puas yog? Txoj cai? Los yog lawv?
12v rau USB Adapter 12v rau 5v Transformer (zoo rau Tsheb): 6 Cov Kauj Ruam
12v rau USB Adapter 12v rau 5v Transformer (zoo rau Tsheb): Qhov no yuav qhia koj yuav ua li cas thiaj ua tau 12v rau USB (5v) adapter. Qhov pom tseeb tshaj plaws ntawm qhov no yog rau 12v lub tsheb hloov pauv, tab sis txhua qhov chaw koj muaj 12v koj tuaj yeem siv nws! Yog tias koj xav tau 5v rau lwm yam uas tsis yog USB, tsuas yog hla cov kauj ruam hais txog kev ntxiv USB chaw nres nkoj