Cov txheej txheem:

PC Khau Pedals: 7 Kauj Ruam
PC Khau Pedals: 7 Kauj Ruam

Video: PC Khau Pedals: 7 Kauj Ruam

Video: PC Khau Pedals: 7 Kauj Ruam
Video: ЛЮБОВЬ С ДОСТАВКОЙ НА ДОМ (2020). Романтическая комедия. Хит 2024, Kaum ib hlis
Anonim
PC ko taw Pedals
PC ko taw Pedals

Kuv tau ua tus ko taw rau khoov rau hauv Pubg (Player Unknown Battlegrounds) raws li kuv xav zoo li kuv xav tau ntiv tes ntxiv. Kuv tau siv nws rau Kerbal Space Program ib yam nkaus.

Cov ntawv thov tsis muaj qhov kawg thiab koj tuaj yeem ntxiv khawm ntau dua lossis tsawg dua yog tias koj xav tau.

Tsis muaj qhov yuav tsum tau siv !!!

Txoj haujlwm no ua haujlwm zoo li cov keyboard thiab tau npaj rau nkag cov keyboard nias. Qhov no tsis ua haujlwm nrog Arduino Uno. Kuv tau siv Arduino Leonardo

Kauj Ruam 1: Qhov Chaw

Qhov
Qhov
Qhov
Qhov
Qhov
Qhov
Qhov
Qhov

Arduino Leonardo

Txiv neej Ntev USB A rau Txiv Neej Mini USB B Cable

Momentary lossis Pushbutton keyboards

Pob Poj Niam Spade Connectors

Arduino txiv neej rau txiv neej jumper xov hlau

Hluav taws xob xaim (txhua lub teeb ntsuas)

Thaum tshav kub kub ntsws tubing (me ntsis loj dua xaim)

Kauj Ruam 2: Cov Cuab Yeej

Cov cuab yeej
Cov cuab yeej

Ncej

Ntoo lossis cov cuab yeej siv hlau

Laum, spade ntsis/ qhov pom, ntsia hlau

(Kev tsim vaj tsev yog nyob ntawm koj. Kuv siv cov plywood tab sis koj tuaj yeem siv lub thawv lossis cov hlau hlau. Muaj kev lom zem nrog nws.)

Hluav taws xob

Cutters hlau/ txiab (yog tias koj muaj lawv. Txiab thiab rab chais yuav ua haujlwm)

Kev sib txuas crimp (txhua tus pliers yuav ua haujlwm)

Phom cua sov (lub teeb cigarette yuav ua haujlwm)

Code

Rub tawm Arduino IDE software

Nws yog pub dawb thiab tso cai rau koj sau, sau ua ke thiab nyem qhov chaws rau Leonardo

Download tau no

Kauj Ruam 3: Vaj Tsev

Vaj Tsev
Vaj Tsev
Vaj Tsev
Vaj Tsev
Vaj Tsev
Vaj Tsev

Ib feem no yog tiag tiag rau koj lub tswv yim tab sis kuv yuav qhia qhov kuv tsim thiab vim li cas.

Kuv tau ua lub hauv paus 600mm dav yog li kuv tuaj yeem haum ob txhais taw ntawm qhov yooj yim, Kuv txiav txim siab ua ob txoj hlua sib cais tab sis kuv txhawj xeeb tias kuv yuav yuam kev tsoo cov cable qee lub sijhawm yav tom ntej. Sab laug taw tswj ob lub nyees khawm ntawm sab laug thiab sab xis rau lwm peb.

Kuv siv Plywood 16mm tuab thiab 50mm ntsia hlau raws li qhov no xav tau kom muaj zog raws li koj ib txwm siv rau ntawm qhov no txhua hnub. Cov khawm arcade tuaj yeem raug txim.

Yog tias koj yuav pleev xim nws, tam sim no nws yog lub sijhawm. Kuv tau pom tib neeg npog tag nrho txoj haujlwm zoo li qhov no nrog kev sib cuag (koj paub, cov khoom koj npog koj phau ntawv ua haujlwm nrog). Koj thiab yuav nws ntau yam xim thiab qauv hauv khw muag khoom hauv chaw ua haujlwm. Zoo li cov khoom no

Kuv ntxiv ob peb daim kab xev roj hmab rau ntawm ko taw yog li koj tsis tuaj yeem thawb tag nrho chav nyob ntawm koj los ntawm kev sib tsoo thaum siv nws.

Kauj Ruam 4: Circuit thiab Pinout

Circuit thiab Pinout
Circuit thiab Pinout
Circuit thiab Pinout
Circuit thiab Pinout
Circuit thiab Pinout
Circuit thiab Pinout

Tsis txhob txhawj, qhov no zoo li nyuaj dua qhov nws yog.

Ntsia lub Rooj Tswjhwm Saib Arduino mus rau hauv qab thiab nyob ntawm ntug vaj tsev. Nco ntsoov tias koj yuav tuaj yeem txuas USB yam tsis muaj kev cuam tshuam.

1. Ua 5 txoj kab txuas mus los ntawm Arduino txhua qhov hloov pauv los ntawm kev tshem ib qho kawg ntawm jumper cable (cov xov txuas nrog tus pin kawg) thiab txuas nws mus rau qhov ntev ntawm cov xov hluav taws xob. - Txhawm rau txuas cov hlua uas tsis muaj xov hlau xaus ua ke tom qab ntawd xaub ntu me me ntawm cov cua sov kom qis dua qhov sib koom thiab cua sov kom xauv lawv ua ke). Sawb lwm qhov kawg ntawm cov xaim (tsis yog tus pin kawg) thiab crimp tus poj niam rab phom txuas mus rau qhov kawg.

2. Thawb tus pin kawg ntawm txoj hlua rau hauv tus lej pin qhov 2 ntawm Arduino. Txuas tus spade txuas rau lub khawm mus rau sab laug deb. (ceeb toom* cov hloov pauv muaj 3 tabs rau txuas kab. Raws li daim duab kuv tau txuas tus pin tawm cable rau nruab nrab tab. Qhov no yog "ib txwm kaw" tab.

3. Rov ua dua rau tus pin 3, 4, 5 thiab 6.

4. Tam sim no peb yuav tsum ua dab tsi hu ua 'daisy chain' txhawm rau txuas hauv av mus rau hauv qab tab ntawm txhua lub nyees khawm. Nov yog kab ntawv uas yuav "dhia" rau txhua lub khawm.

Txiav thiab ntsuas ntu ntawm cov kab hluav taws xob mus los ntawm khawm kom khawm nrog ntxiv me ntsis. Sawb ob qho kawg ntawm txhua ntu, muab ob ntu ua ke thiab sib dhos ntawm qhov txuas mus txog thaum koj muaj txaus rau txhua lub khawm. Muab cov hlua txuas txuas rau ib kawg thiab txuas rau txhua tus pin hauv av ntawm Arduino.

Kauj ruam 5: Code

Code
Code

Lub sijhawm siv cov txuj ci tseem ceeb tshaj plaws uas koj tau kawm hauv tsev kawm ntawv….. luam, muab tshuaj txhuam.

Suav nrog yog cov ntawv sau nrog cov cai.

Rub tawm lossis saib nws, xaiv txhua qhov, theej, qhib Arduino IDE (txuas rau rub tawm hauv Cov Cuab Yeej kauj ruam), tsim tshiab, muab tshuaj txhuam.

Yog tias koj xav hloov ib qho kev sib txuas tseem ceeb koj tuaj yeem ua tam sim no los ntawm kev hloov cov yuam sij hauv cov cai hauv kab lus piv txwv: ('q').

Yog tias koj xav siv cov yuam sij hloov pauv (hloov pauv, tswj, alt, F1, Ntxig rau lwm yam) muaj cov npe ntawm yam yuav ntaus NTAWM NO

Yog tias koj tsuas yog siv 1 lossis 2 khawm koj tsis tas yuav rho tawm qhov tsis siv. Yog tias tsis muaj cov nyees khawm txuas nrog rau tus lej cim nws yuav tsis quav ntsej ntu ntawm txoj cai.

Kauj Ruam 6: Tso Cai Rau Arduino

Uploading Code rau Arduino
Uploading Code rau Arduino
Uploading Code rau Arduino
Uploading Code rau Arduino

1. Txuas Arduino rau hauv PC ntawm USB

2. Mus rau 'Cov Cuab Yeej' coj mus rau 'Chaw Nres Nkoj'

Xaiv qhov chaw nres nkoj uas qhia koj Arduino Leonardo.

3. Mus rau 'Sketch' tab ces 'Upload'.

Qhov no yuav txheeb xyuas thiab sau cov cai thiab xa nws mus rau Arduino.

Yog tias muaj qhov yuam kev txheeb xyuas tus lej tsis ploj ib yam ntawm tus lej qub.

Kauj Ruam 7: Kuaj thiab Troubleshoot

Arduino yuav tsum rov pib dua tom qab rub tawm thiab lees paub tias yog USB keyboard los ntawm koj lub PC.

Qhib tus ntawv nyeem thiab pib mob !! Cov ntawv tseem ceeb yuav tsum tau nthuav tawm rau hauv cov ntawv thaum koj thawb lub pob.

Yog tias cov ntawv tsuas yog sau nrog qhov tsis muaj qhov xaus qhov yuam kev thiab tsuas yog tso tseg thaum koj thawb cov nyees khawm ces koj yuav tsum txheeb xyuas tias cov hlua txuas rau cov nyees khawm tau txuas nrog lub 'ib txwm kaw' tab tsis yog 'ib txwm qhib' tab.

Yog tias tsis muaj dab tsi tshwm sim thaum koj thawb cov nyees khawm txheeb xyuas tag nrho koj cov xov tooj thiab sim lwm USB cable. Pib dua lub PC.

Yog tias tus xov tooj hluav taws xob poob tawm ntawm Arduino vim yog lub ntiajteb txawj nqus thiab tsuj koj yuav xav hloov lub jumper cables. Lawv tau xav ua kom tuab tib yam tab sis hmoov tsis qee qhov tsuas yog nruj dua lwm tus.

Yog tias cov nyees khawm yog qhov yuam kev koj tuaj yeem rov kho lub koob hauv Arduino lossis hloov kho txoj cai thiab rov ua dua cov txheej txheem.

Pom zoo: