Cov txheej txheem:
- Kauj ruam 1: Kev npaj
- Kauj ruam 2: Tus Pin Header Npaj
- Kauj ruam 3: Sib dhos
- Kauj Ruam 4: Txoj Haujlwm
- Kauj ruam 5: Txaus siab rau
Video: Me USB USB Joystick: 5 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Qhov kev tsis txaus ntseeg no qhia yuav ua li cas yooj yim heev me me USB joystick.
Cov lus qhia no cuam tshuam nrog Hall Effect USB Joystick rau muab kev daws teeb meem qis.
Kauj ruam 1: Kev npaj
Joystick
2-axis joystick breakout module
Digispark Dev Board
Nov yog daim ntawv me me dev uas tuaj yeem ua raws USB HID ntaus ntawv, piv txwv li USB Keyboard, nas lossis joystick
Lwm tus
Ib lub khob cij me me, qee lub xov tooj cua thiab qee lub taub hau tus pin
Kauj ruam 2: Tus Pin Header Npaj
Soldering tus pin headers rau lub rooj tsavxwm yog tias tsis tau.
CEEV FAJ Ua ntej Plug rau hauv Breadboard
Digispark dev pawg thawj coj saib lub hwj chim pins tsis yog phooj ywg zoo!
Txoj haujlwm no tsuas yog xav tau 5V thiab GND pins, Nws yuav tsum tau khoov 5V tus pin me me rau sab nraum, yog li nws tsis txuas rau hauv tib kab thaum ntsaws rau hauv lub thawv ntawv. Los yog koj yuav tshuab ib yam dab tsi tawm.
Kauj ruam 3: Sib dhos
Kev tso tus pin rau ob lub rooj tsavxwm tsis zoo, nws xav tau tus pin ntxiv los txhawb lub ces kaum uas tsis muaj tus pin header.
Nov yog cov ntsiab lus sib txuas:
Digispark -> Joystick
GND -> GND 5V -> 5V P2 -> VRx P5 -> VRy P0 -> SW
Nco tseg:
- SW txhais los ntawm nias lub joystick
- P3 thiab P4 txuas nrog USB, yog li ib qho USB HID txoj haujlwm tsis tuaj yeem txuas lwm yam rau 2 tus pin
- P2 tseem muaj rau lwm yam, piv txwv li teeb liab LED lossis khawm ntxiv
- Nws yuav tsum tau siv cov tswv yim sib txuas los nyeem VRx thiab VRy tus nqi, Digispark P2 thiab P5 yog cov pins analog analog. Qee lub rooj tsav xwm yuav tsis qhib P5 (efuse RSTDISBL me ntsis). Koj tuaj yeem sim nws los ntawm Arduino "ntsais" piv txwv ntawm tus pin 5. Koj yuav tsum rov hlawv Bootloader lossis hloov pauv efuse kom pab tau nws. Xav paub ntau ntxiv:
Ref.:
Kauj Ruam 4: Txoj Haujlwm
Teeb Arduino nrog Digispark txhawb nqa yog tias tseem tsis tau:
digistump.com/wiki/digispark
Rub tawm thiab teeb tsa qhov chaws qhov chaws:
github.com/moononournation/TinyUSBJoystick
Kauj ruam 5: Txaus siab rau
Tam sim no koj muaj lub cuab yeej me me los pab koj ua haujlwm nrog 2-axis analog tus nqi.
Pom zoo:
YADPF (YET Lwm Tus Duab Duab Duab): 7 Kauj Ruam (nrog Duab)
YADPF (YET Lwm Tus Duab Duab Duab): Kuv paub qhov no tsis yog khoom tshiab, Kuv paub, Kuv tau pom qee qhov ntawm cov haujlwm no ntawm no, tab sis kuv ib txwm xav tsim kuv tus kheej cov duab thav duab. Txhua daim duab thav duab kuv tau pom yog qhov zoo, tab sis kuv tab tom nrhiav lwm yam, Kuv tab tom nrhiav qhov zoo nkauj tiag tiag
Kev Tsim Qauv Duab Duab/Duab Duab Duab: 4 Kauj Ruam
Kev Tsim Qauv Duab Duab/Duab Duab Duab: Nyob zoo txhua tus, Hauv qhov kev qhia no, Kuv yuav qhia koj cov txheej txheem ntawm yuav ua li cas thiaj tsim 3D qauv siv cov duab digital. Cov txheej txheem hu ua Photogrammetry, tseem hu ua Image-Based Modeling (IBM). Tshwj xeeb, hom txheej txheem no tau siv los rov ua dua
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
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
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