Cov txheej txheem:

Arduino Game Controller: 5 Kauj Ruam
Arduino Game Controller: 5 Kauj Ruam

Video: Arduino Game Controller: 5 Kauj Ruam

Video: Arduino Game Controller: 5 Kauj Ruam
Video: Arduino Game Controllers 2024, Kaum ib hlis
Anonim
Arduino Game Controller
Arduino Game Controller

Tus tswj kev ua si yog lub cuab yeej siv los muab cov tswv yim hauv cov vis dis aus game los ua tus yam ntxwv lossis cov khoom txav mus los. Kev tsim thiab ua haujlwm ntawm tus tswj kev ua si yog ib qho yooj yim thiab yuav muab rau koj qhov kev paub zoo ntawm kev ua si, Thiab nws yuav koom nrog ntau dua thaum koj yuav paub cov txheej txheem los ua nws, cov khoom siv xav tau, thiab lwm yam cuam tshuam. Kev teeb tsa yog ua raws hom kev ua si koj xav ua si thiab cov txheej txheem yog USB raws li zoo ib yam li PS1 tus tswj kev ua si.

Cov txheej txheem ntawm kev teeb tsa lub hauv paus yog yooj yim heev, tsuas yog muaj cov khoom yog qhov tseem ceeb. Cov npe ntawm cov khoom siv xav tau los ua tus tswj kev ua si yog raws li hauv qab no-

Cov khoom siv xav tau

Yuav tsum tau kho vajtse:-

  • Arduino mini tso
  • Push Buttons (zuam tack keyboards)
  • Kev cai PCB (khawm matrix PDF txuas)
  • 10K resistors
  • Jumper xov hlau

Yuav tsum tau Software:-

  • Arduino IDE Cov
  • Autodesk 360

Ua

Muaj txheej txheem txheej txheem tom qab tsim tus tswj kev ua si, nws yuav tsum tau nyob hauv tus qauv tsim kom raug. Txhawm rau ua tus tswj game, ua raws cov theem uas tau teev tseg hauv qab no-

Kauj Ruam 1: Kuaj ntawm Breadboard-

Kev Xeem ntawm Breadboard
Kev Xeem ntawm Breadboard

Txhawm rau ua tus tswj kev ua si, nws yog qhov tsim nyog yuav tsum pib nrog tus qauv. Tus qauv yog lub hauv paus tseem ceeb ntawm tus tswj hwm tshwj xeeb uas suav nrog 12 lub laub khawm, Arduino mini, thiab cov neeg tawm tsam. Pib ua ke lawv hauv ib qho kev sim ntsuas qhov ntsuas. Yog tias koj xav rov tsim tus tswj hwm, cov kab lus txuas nrog rau koj qhov kev siv.

Kauj Ruam 2: Kev Tsim PCB

Nws tsis muaj txiaj ntsig zoo thaum siv lub tshuab ua kom tiav ntawm PCB thoob ntiaj teb, ua nws tom qab ntawm PCB Board tus kws tshaj lij, Rub tus neeg xa ntaub ntawv PDF rau tib yam. Nug ib lub chaw tsim khoom PCB uas koj xaiv los ua rau koj, tab sis qhov xav tau yog nextPCB raws li qhov ua tau zoo, thiab txoj hauv kev lawv pab cov neeg siv khoom kuj tseem ceeb. Lawv muaj kev txawj ntse los daws cov teeb meem cuam tshuam nrog PCB los ntawm kev tsim rau cov khoom hauv 24 teev. Sib nrug los ntawm nws, cov kws tshaj lij pab koj hauv kev pab nrog kev lag luam thiab kev kho kom raug ua tiav hauv nws.

Kauj Ruam 3: Cheeb Tsam Mount

Cheeb Tsam Mount
Cheeb Tsam Mount

Thaum koj tau txais koj li PCB cov kauj ruam tom ntej yog siv cov khoom sib txuas. Txuas lub laub khawm, resistors, thiab Arduino. Txhawm rau xa, ua siab zoo xa mus rau daim duab txuas hauv qab no. Qhov no yuav txhawb kev txhim kho cov khoom siv ntawm lub rooj tsavxwm thiab muab lawv tso rau hauv qhov chaw.

Kauj ruam 4: Coding

Rub tawm cov cai thiab xa nws mus rau Arduino pawg thawj coj koj tau npaj mus. Koj lub Rooj Tswjhwm Saib PCB yog daim duab npaj txhij los sim tam sim no.

Kauj Ruam 5: Xeem Kawg-

Txoj cai tom qab kev txhim kho cov khoom tsim nyog, xa cov cai ntawm cov kev ua si los ua los ntawm tus tswj thiab sim nws. Koj tuaj yeem pom cov cai hauv qab no, tsuas yog rub tawm thiab rub mus rau Arduino. Qhov no yuav suav nrog txheeb xyuas qhov ua tau zoo ntawm cov nyees khawm, lawv lub luag haujlwm tseem ceeb, thiab lwm yam.

Tau txais npog rau koj lub cuab yeej thiab, koj tus tswj hwm game yog txhua yam teeb tsa los ua si cov kev ua si uas koj xaiv.

Pom zoo: