Cov txheej txheem:

Flex Bot: 6 Kauj Ruam
Flex Bot: 6 Kauj Ruam

Video: Flex Bot: 6 Kauj Ruam

Video: Flex Bot: 6 Kauj Ruam
Video: Lil Pump - Flex Like Ouu (Dir. Cole Bennett) 2024, Hlis ntuj nqeg
Anonim
Flex Bot tau
Flex Bot tau

Siv cov lus qhia no los ua 4 lub log tsav neeg hlau chassis uas tswj los ntawm koj cov leeg!

Kauj Ruam 1: Zaj Dab Neeg

Zaj Dab Neeg
Zaj Dab Neeg

Peb yog ob tug menyuam yaus hauv Tsev Kawm Qib Siab Irvington Kawm Txuj Ci ntawm Engineering, chav kawm PLTW. Peb tus kws qhia ntawv, Ms. Berbawy, muab sijhawm rau peb xaiv SIDE Project uas yuav nthuav tawm ntawm Maker Faire Bay Area. Peb tau nrhiav pom lub vev xaib hu ua "Backyard Brains" (https://backyardbrains.com), uas tau pab peb txhim kho lub tswv yim ntawm kev siv cov leeg nqaij kom txav lub cav. Peb tus kws qhia ntawv tau muab peb nrog Arduino microcontroller, EMG cov leeg nqaij, cov khoom siv vex, cov xov hluav taws xob, thiab roj teeb. Tom qab ntawd peb tau siv peb qhov kev paub yav dhau los thiab kev txawj neeg hlau (kawm los ntawm kev sib tw neeg hlau thiab kev xyaum ua haujlwm) los tsim lub chassis uas peb tswj siv peb cov leeg! Txoj haujlwm no, zoo li peb pom tom qab tshawb fawb online, tsis tau ua tiav los ntawm leej twg ua ntej, uas txhais tau tias peb yuav tsum tsim txhua yam los ntawm kos! Qhov no koom nrog ntau qhov kev sim, hloov kho, thiab rov tshuaj xyuas dua, tab sis pom peb qhov haujlwm kawg ua tiav thaum kawg tsim nyog.

Kauj Ruam 2: Cov lus piav qhia yooj yim

Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia

Peb txoj haujlwm tseem ceeb yog 4 lub log, 4 lub cev muaj zog lub cev uas yog tswj hwm siv Arduino microcontroller. Txuas nrog Arduino yog EMG cov leeg nqaij uas xa cov ntaub ntawv cov leeg hluav taws xob mus rau qhov chaw nres nkoj sib piv ntawm Arduino. Ob peb tus pin digital thiab hauv av/5 volt pins ntawm Arduino tau txuas nrog lub khob cij rau saum lub chassis, ua kom muaj zog 4 lub cev muaj zog thiab xa cov ntaub ntawv qhia rau lawv.

Zuag qhia tag nrho, thaum ib qho hloov pauv, qhov sib txawv ntawm qhov hluav taws xob tau sau tseg los ntawm EMG lub teeb liab qhia lub chaw nres nkoj digital kom xa cov ntaub ntawv mus rau cov ntaub ntawv tus lej ntawm tus tswj lub cev, uas xaus rau tig lub cav. Ib qho ntxiv, peb muaj ob lub khawm txuas nrog cov pins sib piv ntawm peb Arduino. Thaum cov nyees khawm raug nias, tam sim no raug xa mus rau cov pins sib piv, thiab thaum cov pins zoo li no sau npe cov tswv yim tam sim no, lub cav tig rau hauv cov lus qhia sib txawv kom tso cai rau lub chassis mus rau tom ntej, rov qab, sab laug, lossis sab xis.

Hauv qab no yog qhov tseem ceeb los yuav rau txoj haujlwm no:

- EMG sensor

- VEX 393 TSAV

- VEX MOTOR CONTROLLERS

- VEX HARDWARE KIT

- VEX LOJ

- BREADBOARD thiab WIRES

- UA TSAUG NTAU

- 9 VOLT BATTERIES (koj yuav xav tau ntau vim cov roj teeb no tuag hauv li 30 feeb vim qhov loj ntawm 4 VEX lub cev siv tam sim no):

Kauj Ruam 3: Kauj Ruam 1: Tsav

Kauj ruam 1: Tsav
Kauj ruam 1: Tsav
Kauj ruam 1: Tsav
Kauj ruam 1: Tsav
Kauj ruam 1: Tsav
Kauj ruam 1: Tsav
Kauj ruam 1: Tsav
Kauj ruam 1: Tsav

Txhawm rau tsim lub chassis no, koj tuaj yeem siv cov khoom kho vajtse/lub cev muaj zog, txawm hais tias VEX kho vajtse, VEX Version 4 Motors, thiab VEX lub cev muaj zog tswj tau pom zoo. Thaum tsim lub chassis no, koj yuav tsum coj mus rau hauv tus account qhov chaw xav tau los tso lub khob cij, Arduino microcontroller, roj teeb, thiab hloov mus rau sab saum toj ntawm lub chassis. Ib qho ntxiv, cov tshuab siv yuav tsum muaj peev xwm PWM. Rau lub hom phiaj ntawm txoj haujlwm no, qhov tseem ceeb txhais tau tias lub cav yuav tsum muaj tus lej zoo, tus lej tsis zoo, thiab tus lej tus lej. Qhov txuas txuas Servo Motors lossis DC lub cev muaj zog nrog lub tshuab tswj ob leeg muaj peev xwm PWM.

Dhau li cov ntaub ntawv saum toj no, lub chassis no tuaj yeem ua raws qhov koj xav tau tsuav nws muaj 4 lub log tsav!

Nov yog qee yam ntxiv uas yuav tsum nco ntsoov thaum tsim lub chassis (txhua yam no tuaj yeem pom ntawm cov duab chassis txuas nrog!):

1) txhua lub qag yuav tsum tau txhawb nqa ntawm ob lub ntsiab lus kom tsis txhob khoov

2) Lub log yuav tsum tsis txhob kov ncaj qha rau sab ntawm lub chassis (yuav tsum muaj qhov sib txawv me me, uas tuaj yeem ua tiav los ntawm kev siv spacers) qhov no txo kev sib txhuam uas ua rau qeeb ntawm lub log thaum tig

3) Siv qag hubs ntawm lwm sab ntawm lub log (tig mus deb ntawm lub chassis) kom ruaj ntseg lub log rau lub chassis

Kauj Ruam 4: Kauj Ruam 2: Circuitry

Kauj ruam 2: Circuitry
Kauj ruam 2: Circuitry

* Nco tseg, rau kev tsim cov phiaj xwm hluav taws xob rau txoj haujlwm no, peb HIGHLY pom zoo kom siv cov khoom/ua ntej khoov lub khob cij hlau raws li nws huv dua/nkag siab yooj yim dua thaum tshawb xyuas qhov Circuit rau qhov yuam kev, uas feem ntau yuav tshwm sim. Rau ib qho piv txwv ntawm kev siv cov hlau ruaj khov, thov saib cov duab pib ntawm qhov haujlwm no. *

Txoj haujlwm no siv daim ntawv qhia zaub mov rau cov laj thawj hauv qab no:

- muab qhov hluav taws xob rau ntau lub cav uas raug tswj

- xa cov ntaub ntawv teeb liab mus rau lub tshuab tswj lub cev muaj zog

- kom tau txais cov ntaub ntawv teeb tsa los ntawm cov nyees khawm

- los muab qhov hluav taws xob rau EMG sensor

- kom tau txais cov ntaub ntawv teeb tsa los ntawm EMG sensor

Thov saib daim duab TinkerCAD daim duab txuas rau kev siv.

Nov yog qee cov kauj ruam kom nkag siab tias TinkerCADcircuitry sib raug zoo li cas ntawm cov hluav taws xob peb tau/siv:

Cov xov hlau daj sawv cev rau "cov ntaub ntawv" xov hlau, uas tseem ceeb xa cov cim mus rau tus tswj lub cev kom ua rau lub tshuab tig.

Cov xov hlau dub sawv cev rau qhov tsis zoo, lossis "av" xaim. Ib daim ntawv tseem ceeb yog tias txhua lub cav/ cov khoom siv yuav tsum txuas nrog rau cov xaim av tsis zoo kom raug tswj los ntawm Arduino.

Cov xov hlau liab sawv cev rau cov xaim zoo. Cov xov hlau zoo thiab tsis zoo yuav tsum nyob hauv Circuit Court kom nws ua haujlwm.

Kauj Ruam 5: Kauj Ruam 3: Coding

Kauj ruam 3: Coding
Kauj ruam 3: Coding
Kauj ruam 3: Coding
Kauj ruam 3: Coding
Kauj ruam 3: Coding
Kauj ruam 3: Coding
Kauj ruam 3: Coding
Kauj ruam 3: Coding

Nov yog qhov nyuaj tshaj plaws ntawm txoj haujlwm kom nkag siab. Peb qhov kev zov me nyuam xav tau siv Arduino IDE, uas tuaj yeem rub tawm ntawm Arduino lub vev xaib.

ARDUINO IDE

Thaum qhov IDE no tau rub tawm/npaj siv, thiab qhov haujlwm peb tau ua yog rub tawm rau hauv IDE, tom qab ntawd txhua yam koj yuav tsum tau ua yog tso cov cai nkag mus rau Arduino, thiab qhov software ntawm qhov haujlwm no tau ua tiav!

Nco tseg - ZIP cov ntaub ntawv rau txoj haujlwm no txoj cai tau txuas hauv qab no.

Qhov tseem ceeb, peb txoj haujlwm nyeem qhov ntsuas hluav taws xob ntawm tus nqi txuas ntxiv, thiab yog tias qhov ntsuas hluav taws xob nyob sab nraud ntawm qee qhov (uas qhia tau tias hloov pauv), tom qab ntawd cov ntaub ntawv teeb liab raug xa mus rau tus tswj lub cev muaj zog, ua rau lub tshuab tig. Ib qho ntxiv, yog ob qho tib si, lossis ob qho tib si ntawm cov nyees khawm tau nias, tom qab ntawd tus neeg siv lub cav tig mus rau hauv cov lus qhia sib txawv, tso cai rau tus neeg hlau txav mus rau tom ntej, rov qab, thiab tig mus rau ob qho kev qhia.

Kauj Ruam 6: Kauj Ruam 4: Ua Kev Zoo Siab

Tom qab ua peb kauj ruam dhau los (tsim lub chassis thiab Circuit, nrog rau rub tawm cov cai), koj tau ua tiav! Txhua yam koj yuav tsum ua tam sim no yog txuas lub roj teeb 9 volt rau ntawm txoj kab rau khoom (29 Volt roj teeb), roj teeb 9 volt rau Arduino microcontroller, thiab koj tau teeb tsa. Muab cov leeg nqaij tso rau ntawm koj lub bicep, tig rau Arduino, thiab FLEX! Nco ntsoov, nias cov nyees khawm yuav tso cai rau koj txav lub chassis sab laug, sab xis, thiab sab nraub qaum ib yam nkaus!

Txuas nrog yog vis dis aus kom pom qhov haujlwm no ua!

Pom zoo: