Cov txheej txheem:

Rub tawm Arduino thiab Tsav Chaw Nres Tsheb Software Koj Yuav Tsum Tau Rau MiniFRC (Hloov Kho 5/13/18): 5 Kauj Ruam
Rub tawm Arduino thiab Tsav Chaw Nres Tsheb Software Koj Yuav Tsum Tau Rau MiniFRC (Hloov Kho 5/13/18): 5 Kauj Ruam

Video: Rub tawm Arduino thiab Tsav Chaw Nres Tsheb Software Koj Yuav Tsum Tau Rau MiniFRC (Hloov Kho 5/13/18): 5 Kauj Ruam

Video: Rub tawm Arduino thiab Tsav Chaw Nres Tsheb Software Koj Yuav Tsum Tau Rau MiniFRC (Hloov Kho 5/13/18): 5 Kauj Ruam
Video: Nco vib nais thaum muaj kuv thiab koj By pov thoj 2024, Hlis ntuj nqeg
Anonim
Rub tawm Arduino thiab Tsav Chaw Nres Tsheb Software Koj Yuav Tsum Tau Rau MiniFRC (Hloov Kho 5/13/18)
Rub tawm Arduino thiab Tsav Chaw Nres Tsheb Software Koj Yuav Tsum Tau Rau MiniFRC (Hloov Kho 5/13/18)

MiniFRC Yog qhov kev sib tw mini-neeg hlau txhua xyoo tuav los ntawm FRC pab pawg 4561, TerrorBytes. Pab pawg tsim cov neeg hlau hauv lub hlis twg los sib tw ntawm lub quarter FRC teb. Hauv qhov kev qhia no, kuv yuav qhia koj yuav ua li cas rub tawm thiab teeb tsa txhua qhov tsim nyog software rau MiniFRC. Qhov no suav nrog:

  • Arduino software

    • AFMotor tsev qiv ntawv
    • SimpleSofwareServo
  • Chaw nres tsheb MiniFRC 2017

Qhov kev qhia no tau ua rau Windows 10

Kauj ruam 1: Arduino Software

Arduino Software
Arduino Software
Arduino Software
Arduino Software

mus rau nplooj ntawv rub tawm arduino thiab nyem "Windows installer". Tom qab ntawv nyem "Tsuas yog rub tawm". Thaum qhov ua tiav, khiav exe thiab ua tiav tus neeg ua haujlwm.

Kauj ruam 2: AFMotor Library

AFMotor Lub Tsev Qiv Ntawv
AFMotor Lub Tsev Qiv Ntawv
AFMotor Lub Tsev Qiv Ntawv
AFMotor Lub Tsev Qiv Ntawv

Mus rau AFMotor lub tsev qiv ntawv Github. Nyem "Clone lossis rub tawm", tom qab ntawd "Download ZIP". Qhov no yuav muab koj zipped nplaub tshev uas muaj lub tsev qiv ntawv. Tua tawm Arduino thiab mus rau "suav nrog Lub Tsev Qiv Ntawv" hauv Sketch tab. Nyem "Ntxiv. ZIP Library …" thiab xaiv cov ntawv koj rub tawm los ntawm Github.

Kauj Ruam 3: (xaiv tau) Rub tawm SimpleSoftwareServo Library

Yog tias koj xav siv servo ntawm koj lub neeg hlau, lub tsev qiv ntawv servo lub neej ntawd yuav tsis ua haujlwm. Koj yuav tsum tau siv lub tsev qiv ntawv SimpleSoftwareServo. Koj tuaj yeem rub tawm lub tsev qiv ntawv zipped ntawm no thiab nruab nws ib yam nkaus koj tau teeb tsa AF lub tsev qiv ntawv lub tsev.

Kauj ruam 4: Rub tawm Robot Code

Muaj 3 tus lej sib txawv uas koj tuaj yeem siv rau koj tus neeg hlau, lawv tuaj yeem pom ntawm no (qhov txuas no tseem muaj nyob hauv pab pawg cov ntaub ntawv cov ntaub ntawv). Thawj zaug (hu ua "DefaultBot") tsuas yog kev yooj yim tsav. Qhov thib ob yog "DefaultBotServo", koj tuaj yeem siv cov cai no nrog rau lub tsev qiv ntawv koj rub tawm hauv cov kauj ruam dhau los los tswj lub servo ntawm koj tus neeg hlau. Qhov thib peb yog "DefaultBotMotor", koj tuaj yeem siv qhov no los tswj koj txoj kev tsav tsheb nrog rau lub cav rau kev ua haujlwm ntxiv ntawm koj tus neeg hlau.

Kauj Ruam 5: Chaw nres tsheb MiniFRC 2017

Chaw nres tsheb MiniFRC 2017
Chaw nres tsheb MiniFRC 2017
Chaw nres tsheb MiniFRC 2017
Chaw nres tsheb MiniFRC 2017

Mus rau Github qhov chaw cia khoom no. Nyem "Clone lossis rub tawm", tom qab ntawd "Download ZIP". Thaum qhov ua tiav, unzip daim nplaub tshev thiab taw rau MiniFRC-2017-master> MiniFRC-2017-master> tsim> exe.win32-3.5. Muaj 2 cov ntaub ntawv tseem ceeb hauv phau ntawv ntawd. Thawj qhov yog cov ntawv "Drivestation.exe". Khiav daim ntawv thov no yog li cas koj yuav pib Tsav Tsheb. Nws tau pom zoo tias koj ntxiv qhov luv rau qhov exe ntawm koj lub desktop. Cov ntaub ntawv thib ob yog "config.txt". Cov lus qhia ntawm yuav muab dab tsi rau hauv cov ntawv no nyob hauv "readme".

Pom zoo: