Cov txheej txheem:

Arduino Tswj Nerf Vulcan: 10 Kauj Ruam (nrog Duab)
Arduino Tswj Nerf Vulcan: 10 Kauj Ruam (nrog Duab)

Video: Arduino Tswj Nerf Vulcan: 10 Kauj Ruam (nrog Duab)

Video: Arduino Tswj Nerf Vulcan: 10 Kauj Ruam (nrog Duab)
Video: M134 Minigun from predator/Terminator #minigun #airsoft #terminator #predator #cod #warzone #mw 2024, Kaum ib hlis
Anonim
Arduino Tswj Nerf Vulcan
Arduino Tswj Nerf Vulcan
Arduino Tswj Nerf Vulcan
Arduino Tswj Nerf Vulcan

Yog, qhov no yog qhov tseeb lub npe hais tias nws yog. Cov lus qhia no yuav qhia koj paub tswj hwm Nerf Vulcan, nrog koj li Arduino. Cov ntawv qhia yuav cia li tua rau 2.5 vib nas this, nres rau 2.5 vib nas this, thiab ntxiv rau. Nws zoo li "nyob zoo ntiaj teb" txoj haujlwm tswj hwm koj li Nerf Vulcan. Nws tuaj yeem yooj yim nthuav mus ua txhua yam koj xav tau, koj tuaj yeem siv lub ntsuas qhov sib thooj txhawm rau ua kom muaj kev ruaj ntseg, koj tuaj yeem siv daim thaiv thaiv ethernet los tua nws nyob deb, qhov muaj peev xwm tsis muaj qhov kawg. Nov yog daim vis dis aus nrawm:

Kauj Ruam 1: Cov khoom siv

Khoom siv
Khoom siv

Nov yog cov npe ntawm yam koj yuav xav tau: 1 Nerf Vulcan 1 Arduino lossis clone 1 5v Relay Hloov 1 NPN Transistor 1 Diode 1 10k ohm Resistor A Soldering Iron 1 Breadboard Duct tape

Kauj Ruam 2: Ua Thawj (thiab Tsuas) Txiav

Ua Thawj (thiab Tsuas) Txiav
Ua Thawj (thiab Tsuas) Txiav
Ua Thawj (thiab Xwb) Txiav
Ua Thawj (thiab Xwb) Txiav

Txhawm rau ua qhov kev hloov pauv no, koj yuav tsum qhib Nerf Vulcan. Nws yuav yog qhov mob los qhib rab phom tag nrho, yog li koj yuav tsum txiav ib qho nkaus xwb. Qhov no yuav tso cai rau koj qhib tsuas yog thaj tsam ntawm rab phom. Pib los ntawm kos cim thaj tsam ntawm rab phom koj yuav txiav. (Saib daim duab thib ob) Tom qab ntawd siv cov txheej txheem uas koj xav tau txiav ua kab mus rau qhov chaw uas ob rab phom sib ntsib. Muaj ntau txoj hauv kev los ua qhov no. Kuv nyuam qhuav siv ib tug pom. Xaiv koj txoj kev txiav, thiab hlais nws txoj kab.

Kauj ruam 3: Qhib Nws

Qhib Nws
Qhib Nws

Muaj qee qhov ntsia hlau uas koj xav tau tshem tawm. Tshem tawm txhua tus ntsia hlau rau sab xis ntawm kab uas koj txiav. Thaum cov ntsia hlau raug tshem tawm, koj tuaj yeem tsuas yog siv sab saum toj. Nws yuav tsum ncaj ncaj rau pem hauv ntej yog tias koj tau ua cov kauj ruam dhau los kom raug.

Kauj Ruam 4: Tshem lub Npog mus rau On/Off Switch

Tshem lub hau npog rau On/off Switch
Tshem lub hau npog rau On/off Switch
Tshem lub hau npog rau On/off Switch
Tshem lub hau npog rau On/off Switch

Txhawm rau nkag mus rau qhov hloov/hloov nws tus kheej, koj yuav tsum tau tshem tawm rau lub txiv kab ntxwv me me uas mus rau nws (saib daim duab). Qhov no yuav tso cai rau koj pom qhov qhib thiab tawm ntawm nws tus kheej, tsis muaj yam uas ua rau nws zoo dua. Tshem daim npog no yog txheej txheem kev ua phem nyob deb. Muaj ib tus ntsia hlau nkag tau rau hauv qab ntawm nws, xoob thiab tshem nws yuav tsis ua rau koj nyob deb txawm tias. Kuv tau tshem tawm cov ntsia hlau, pom tau tias kuv tsis tuaj yeem mus rau lub ntsia hlau thib ob, thiab txiav txim siab tsuas yog rhuav lub npog. Tej zaum nws yuav nyoos me ntsis, tab sis nws ua haujlwm.

Kauj Ruam 5: Rub Tawm Tawm On/Off Switch

Rub tawm qhov On/Off Switch
Rub tawm qhov On/Off Switch

Cov txheej txheem no tseem nyuab dua. Perfectionists yuav tsum saib tam sim tam sim no. Qhov qhib thiab tawm qhov chaw nyob puag ncig los ntawm yas, uas tuaj yeem raug txiav tawm. Cov txiab tsis nquag ua haujlwm, yog li kuv siv rab riam ntse, khov kho. Txhua yam koj yuav tsum tau ua rau cov kauj ruam no yog tshem tawm qhov hloov pauv ntawm nws qhov chaw thiab ua kom nws nthuav tawm.

Kauj Ruam 6: Teeb Koj Li Arduino

Teeb Koj Arduino
Teeb Koj Arduino

Txog qhov no, koj yuav tsum muaj 5v kev xa xov txuas uas tau tswj los ntawm tus pin 13 ntawm koj Arduino, thiab koj tuaj yeem teeb tsa nws tiag tiag txawm li cas los xij koj xav tau. Koj tuaj yeem sim siv kuv txoj kev tsuas yog saib ntawm daim duab, tab sis kuv yuav hmoov tsis zoo tias koj paub siv kev xa xov nrog koj Arduino li cas.

Kauj Ruam 7: Tshem Tawm Hloov

Nco ntsoov tias qhov hloov pauv koj tau ua haujlwm hnyav los nthuav tawm? Yog, peb tab tom nyiag nws tawm. Koj yuav tsum pom ob lub xov hlau txuas rau hauv qab ntawm qhov hloov. Koj yuav tsum txiav cov cai nyob rau sab saum toj kom tsis txhob xaim ntau li ntau tau. Yog tias koj txiav nws thiab koj tsis xav tias koj muaj qhov zoo ntawm cov xaim nthuav tawm, tsis txhob poob siab, koj tsuas tuaj yeem siv lub xov tooj cua stripper rau nws.

Kuv ntshai kuv tsis nco qab thaij duab rau qhov no!

Kauj ruam 8: Soldering

Soldering
Soldering
Soldering
Soldering

Qhov no tsuas yog cov laug uas koj yuav tsum tau ua. Koj yuav tsum txuas ob lub xaim xaim ntawm Arduino (saib daim duab ob) mus rau ob lub xov hlau nthuav tawm ntawm rab phom Nerf. Qhov no tej zaum yog cov kauj ruam tseem ceeb tshaj plaws uas nws yog qhov twg Arduino thiab Nerf rab phom thaum kawg los ua ke. Cov xov hlau Arduino tuaj yeem muab muag rau ib qho ntawm Nerf phom xov hlau. Nco ntsoov tias cov xov hlau ntawm rab phom Nerf tuaj yeem tshem tawm yog tias tsim nyog.

Kauj Ruam 9: Kab Kab Xev Tus Kheej Kaw

Ciav Daim Kab Xev Qhov Kaw
Ciav Daim Kab Xev Qhov Kaw

Nov yog ib qib uas yooj yim tshaj plaws. Txhua yam koj yuav tsum tau ua yog, raws li tau hais tseg, cov kab xev kaw lub kaw. Qhov no yuav ua rau nws thiaj li txuas mus (qhov qhib/tua hloov qhov tseem ceeb) yog ua tiav kev tswj hwm rab phom.

Kauj Ruam 10: Thauj Txoj Haujlwm, thiab Tua Txhua Yam

Thauj ib qhov program, thiab tua txhua yam!
Thauj ib qhov program, thiab tua txhua yam!

Koj tam sim no tiav! Qhov tsuas yog tshuav yog los program nws. Koj tuaj yeem ua kom nws ua txhua yam koj xav tau; sau HIGH rau tus pin 13 yog txhua yam koj yuav tsum tau ua los tua nws. Qhov kev xeem zoo yog siv qhov piv txwv "Blink" program, feem ntau txhua tus thawj Arduino program, thiab hloov "ncua (1000)" rau "ncua (2500)".

Nco ntsoov, yog tias koj muaj lus nug lossis lus qhia, koj tuaj yeem tso lawv hauv cov lus thiab kuv yuav rov qab los rau koj tam sim ntawd!

Pom zoo: