Cov txheej txheem:
- Kauj Ruam 1: Sau cov Cheeb Tsam Tsim Nyog
- Kauj Ruam 2: Daim Duab Circuit Court thiab Coding
- Kauj Ruam 3: Txiav, pleev xim thiab ua kom zoo
- Kauj Ruam 4: Txhim Kho Txoj Cai Txwv thiab Xeem Kawg
- Kauj Ruam 5: Muab Nws Txhua Qhov Ua Ke
Video: ARDUINO CONTROLLED GAMEPAD RAU PC: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nyob zoo cov neeg, Kuv yog Sarvesh. Ob peb hnub dhau los Kuv xav ua si qee qhov retro games. Yog li kuv tau teeb tsa lawv ntawm kuv lub PC. Tab sis kuv tsuas tuaj yeem ua si nrog kuv lub Pc cov keyboard thiab qhov ntawd tsis tau muab qhov kev xav ntawm kuv thaum yau. Yog li kuv txiav txim siab tsim gamepad rau kuv lub Pc uas tuaj yeem ua si qub nrog rau kev ua si tshiab (Tsis yog txhua). Kuv siv tus tswj hwm kev ua si qub thiab hloov kho nws los tsim qhov Gamepad txaus. Nov yog lub xov tooj game wired rau PC. Nws tuaj yeem siv los ua si emulator thiab PC games. Kuj tus joystick tuaj yeem ua tus nas rau koj lub PC. Kev ua si ncoo yog tswj siv Arduino Pro Micro.
Kauj Ruam 1: Sau cov Cheeb Tsam Tsim Nyog
Tau txais txhua yam khoom siv yog thawj zaug thiab tseem ceeb tshaj plaws hauv kev tsim cov phiaj xwm. Thiab kom paub tseeb tias koj tau txais lawv kom raug yog los ntawm kev xaj lawv los ntawm ib qho chaw. Qhov no pab kom tau txais tag nrho cov khoom siv tib lub sijhawm.
Kuv xav qhia koj cov tub kom yuav cov khoom siv los ntawm UTSource vim tias lawv ntseeg tau zoo thiab cov khoom lag luam zoo kuj zoo. Lawv xa cov khoom raws sijhawm thiab qhov ntawd zoo ib yam.
Tam sim no cia saib ntawm cov khoom.
1. Qub retro game controller
Koj tuaj yeem siv tus tswj hwm game retro zoo li qhov kuv tau siv. Yog tias koj tau nkag mus rau lub tshuab luam ntawv 3d, koj tuaj yeem luam koj tus kheej lub casing (Qhov kev xaiv no yuav muab chav rau koj ntxiv cov nyees khawm ntxiv).
2. Arduino Pro Micro
Rau txoj haujlwm no koj yuav tsum siv Arduino Pro Micro lossis Arduino Leonardo mini. Hauv ntej koj xav tau lub micro tswj nrog HID (Tib Neeg Kev Sib Txuas Ntaus) muaj peev xwm. Arduino Pro micro muaj ATmega 32U4 micro controller.
3. Hloov
Nov yog qhov hloov pauv ib txwm uas kuv tau siv rau lub hom phiaj xwm txheej ceev. Qhov teeb meem nrog kev ua haujlwm nrog nas thiab keyboard lub tsev qiv ntawv yog tias yog koj tsis xa cov lej raug koj tuaj yeem xoob qhov kev tswj hwm ntawm koj cov keyboard lossis nas. Yog li nws yog qhov tseem ceeb heev kom muaj qhov hloov pauv uas tuaj yeem pab koj rov qab tswj hwm koj lub PC nas/keyboard.
4. Joystick Module
Txhawm rau tswj cov nas txav peb yuav tsum siv lub joystick module. Txhua tus qauv tswj hwm X thiab Y kev taw qhia.
5. Txwv Kev Hloov
Kuv siv cov kev txwv txwv li ua rau kuv tus tswj. Cov no yog nyob ntawm yeem yog tias koj xav ua lub ncoo game uas tsuas yog thawb khawm.
6. Khawm Khawm
Laub cov nyees khawm tuaj yeem cuam tshuam hauv rub tawm lossis rub nqis teeb tsa. Ntawm no kuv tau siv rub nqis teeb tsa rau txhua lub khawm thiab hloov pauv. Kuv siv 10 K ohm resistors rau qhov no.
7. Lub hom phiaj dav dav PCB
Tau txais lub hom phiaj dav dav PCB txhawm rau txhawm rau txhawm rau txhua yam khoom siv.
Kauj Ruam 2: Daim Duab Circuit Court thiab Coding
Txuas tag nrho cov khoom siv raws li daim duab qhia chaw hauv qab no. Kuv kuj tseem tau txuas phau ntawv qhia nrawm rau cuam tshuam cov nyees khawm nrog Arduino.
Kuv xav kom xub xub txheeb xyuas txhua qhov kev sib txuas thiab ua haujlwm ntawm lub khob cij.
Cov txheej txheem ntawm kuv qhov kev tso khawm tiag tiag tseem tau qhia saum toj no kom muab koj lub tswv yim meej uas lub pob nyob qhov twg, daim ntawv lo nws tau programmed nrog dab tsi thiab nws ua cim dab tsi nws xa mus rau lub khoos phis tawj.
Tam sim no rub tawm cov cai thiab teeb tsa mouse.h thiab keyboard.h cov tsev qiv ntawv. Tshaj tawm cov cai rau koj Arduino.
NYEEM NTAWV DOWNLOAD CODE
Kauj Ruam 3: Txiav, pleev xim thiab ua kom zoo
Ua ntej txiav PCB raws li qhov loj ntawm Game pad thiab kho kom haum lub laub nyees khawm thiab lub joystick module. Koj tuaj yeem zam qhov haujlwm hnyav no ntawm kev ua haujlwm los ntawm kev xaj PCB. UTSource.net muab PCB zoo hauv tus nqi pheej yig.
Tom qab ntawd pleev xim lub ncoo game nrog cov xim uas koj xaiv.
Tam sim no siv lub laub khawm thiab joystick ntawm lub hom phiaj dav pcb.
Kauj Ruam 4: Txhim Kho Txoj Cai Txwv thiab Xeem Kawg
Tam sim no txhim kho qhov txwv txwv hauv lawv txoj haujlwm nrog kev pab ntawm qee cov kua nplaum super.
Kuaj cov khoom seem thiab ua qhov kev xeem zaum kawg.
Kauj Ruam 5: Muab Nws Txhua Qhov Ua Ke
Tam sim no kaw qhov thaiv nrog kev pab los ntawm qee cov ntsia hlau.
Kuv tau txuas qee cov duab saum toj no los qhia koj li cas cov khoom kawg zoo li.
Qhov ntawd yog koj ua tiav. Tam sim no sim ua qee qhov kev ua si. Koj tuaj yeem ua si emulator zoo li PC games (uas tsis xav tau tus lej ntau ntxiv).
Nrog qhov no xaus kuv thawj qhov kev qhia. Kuv vam tias koj nyiam nws:)
Pom zoo:
Qhia 'Deodorino' - Infra -Red Controlled Arduino nyob rau hauv ib qho khoob Deodorant Stick. Nyem rau daim duab 1: 7 Kauj Ruam
Qhia 'Deodorino' - Infra -Red Controlled Arduino nyob rau hauv ib qho khoob Deodorant Stick. Nyem rau daim duab 1: Tam sim no nqes mus kom ntxaws
Kawm Ib Qho Kev Ua Yeeb Yam Yooj Yim ntawm SOLIDWORKS: Ua Rau Rau Rau Ib Sab Ncig: 22 Kauj Ruam
Kawm Ib Qho Kev Ua Yeeb Yam Yooj Yim ntawm SOLIDWORKS: Ua Rau Rau Rau Rau Ib Sab: Cov Lus Qhia no yuav taug koj cov hauv kev uas yuav tsum tau ua kom ua qauv 3D ntawm rau rau sab ib sab. Cov duab 3D, thiab cov fab sab hauv thiab sab nrauv lossis cov qauv 3D.Thaum ua haujlwm
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?
Ntxiv Pc Sync Jack rau Nikon Sc-28 Ttl Cable (siv Auto Settings rau lub Koob Yees Duab Flash thiab Ua Rau Lub Koob Yees Duab Tawm !!): 4 Kauj Ruam
Ntxiv Pc Sync Jack rau Nikon Sc-28 Ttl Cable (siv Auto Settings rau ntawm Lub Koob Yees Duab Flash thiab Ua Rau Lub Koob Yees Duab Tawm Tsam !!): Hauv cov lus qhia no kuv yuav qhia koj yuav tshem tawm ib qho ntawm cov khoom ntiag tug 3pin TTL txuas txuas ntawm ib sab ntawm Nikon SC-28 tawm lub koob yees duab TTL cable thiab hloov nws nrog tus qauv PC txuas txuas. qhov no yuav tso cai rau koj siv lub siab nyem, s
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