Cov txheej txheem:

Star Wars DF.9 Turret: 4 Kauj Ruam
Star Wars DF.9 Turret: 4 Kauj Ruam

Video: Star Wars DF.9 Turret: 4 Kauj Ruam

Video: Star Wars DF.9 Turret: 4 Kauj Ruam
Video: Star Wars Battlefront - Stationary Turret Breakdown (Tips & Tricks) 2024, Hlis ntuj nqeg
Anonim
Image
Image
Lub Hnub Qub Wars DF.9 Turret
Lub Hnub Qub Wars DF.9 Turret
Lub Hnub Qub Wars DF.9 Turret
Lub Hnub Qub Wars DF.9 Turret
Lub Hnub Qub Wars DF.9 Turret
Lub Hnub Qub Wars DF.9 Turret

Yog li qhov haujlwm no los ntawm kev tshawb nrhiav tsis raug rau Star Wars ntawm Thingiverse Kuv pom qhov khoom: 3041805. Qhov no ua rau kuv xav tsis thoob thaum kuv nco nws los ntawm zaj yeeb yaj kiab 5 Hnub Qub Tsov Rog The Empire Strikes Back. Kuv tau xav tau ib ntus los ua lub turret thiab qhov no zoo li lub platform zoo los sim.

Kauj Ruam 1: Luam Ntawv

Luam Ntawv
Luam Ntawv

Yog li kuv siv kuv Prusa i3 Mk3 tshuab luam ntawv, nrog qee cov txiv kab ntxwv. Nov yog qhov kuv tau tshwm sim kom muaj nyob rau lub sijhawm no. Kuv rub tawm cov ntawv los ntawm https://www.thingiverse.com/thing:3041805 thiab muab ob npaug rau ib feem. Tam sim no cov ntu tau zoo, tab sis lawv tau txhais rau kev ua si board. Kuv tau txuas cov ntawv hloov pauv thiab cov ntaub ntawv turret kom haum rau cov xov hlau thiab LED. Lub hauv paus yuav tsum rub tawm los ntawm Thingiverse. Kuv luam tawm ntawm. 15 hli ib txheej, tsis muaj rafts lossis txhawb nqa. Lub hauv paus yog qhov ntev tshaj plaws yuav luag yuav luag 15 teev. Cov neeg tuav lub servo tsuas yog ib daim uas kuv tau ua rau kuv tus kheej. Nws haum zoo nyob rau hauv nruab nrab ntawm tus pej thuam thiab tiv thaiv cov servo los ntawm kev hloov pauv tsis txhob tig lub turret. Nws yuav raug kaw rau qhov khoom kawg.

Kauj Ruam 2: Cov Khoom Siv Hluav Taws Xob

Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics

Qhov:

NodeMCU:

9G Servo:

Hmoov tsis zoo kuv glued lub thoob rau hauv lub turret, yog li kuv tsis muaj cov duab ntawm qhov ntawd, tab sis kuv super glued cov coj mus rau hauv qhov chaw tom qab khiav cov xov tooj txawm hais tias tuav kuv tau ua rau hauv lub thoob. Lub caj npab servo tau ntswj rau hauv ob lub qhov me me kuv txhais tes drilled rau hauv turret sab saum toj, ua ntej koj txuas nws rau saum, tshuaj ntsuam nws rau hauv servo (vim tias nws yuav ntab ib ncig ntawm lwm yam. Cov no yuav tsum tau zoo thiab zoo, tab sis tsis txhob hla cov ntsia hlau lawv lossis koj yuav tsoo cov yas.

Lub paj hlwb ntawm lub cuab yeej yog NodeMCU uas yog Esp8266 raws, Arduino tau tshaj lub rooj tsavxwm. Nws tau tsim hauv wifi thiab feem ntau yog lub rooj tsav xwm tsis muaj zog zoo. Kuv them nyiaj nruab nrab $ 6 ib lub rooj rau cov no, thiab lawv yog kuv mus rau tus qauv rau feem ntau ntawm kuv cov phiaj xwm. Koj tuaj yeem pom cov thaiv ntawm no, thiab kuv tus lej nyob hauv qhov chaw nres tsheb tom ntej yuav piav qhia tag nrho pinout.

Kauj ruam 3: Software/Code

Software/Code
Software/Code
Software/Code
Software/Code
Software/Code
Software/Code
Software/Code
Software/Code

Yog li kuv tau sim qee yam tshiab rau kuv lub sijhawm no. Kuv tau paub txog Blynk IoT cov tsev qiv ntawv/cov kev pabcuam ib ntus tam sim no tab sis yeej tsis tau sim lawv. Lawv lub vev xaib yog https://www.blynk.cc. Kuv zoo siab heev nrog qhov yooj yim ntawm kev siv nws. Txhawm rau pib, Kuv rub tawm lub app mus rau kuv iPhone thiab tsim ib tus as khauj. Tom qab ntawd kuv tau tsim UI yooj yim heev ntawm ob qhov kev tswj hwm kuv xav tau, ib qho rau kev hloov pauv servo tswj lub turret, thiab qhov thib ob, tsis khawm toggling laub rau LED (laser). Tom qab ntawd kuv tau mus thiab muab lub koob los yog lub cev rau txhua tus tswj. Qhov no tau ua tiav thawj zaug nrog ob peb qhov kev sim thiab ua yuam kev, tab sis nrog qee qhov googling tau tuaj yeem yooj yim dhau nws.

Tom ntej no tau txais Blynk lub tsev qiv ntawv rau hauv Arduino IDE. Tus lej Arduino yog ib qho yooj yim tshaj plaws uas kuv tau sau nrog qhov tshwj xeeb ntawm LED Blink Kuv tau ua hauv kuv hnub ntxov tshaj plaws ntawm kev tsim kho ntawm Arduino. Txhawm rau saib kuv txhais li cas saib ntawm kuv tus lej, thiab koj yuav pom nws tsis nyuaj ntau dua li qhov haujlwm pib dawb. Lub tsev qiv ntawv Blynk ua ntau yam hnyav rau koj.

Kuv tau ntxiv QR Code rau kuv daim ntawv thov kom koj tuaj yeem rub nws thiab thauj kuv tus lej ncaj qha rau ntawm koj tus kheej lub rooj tsavxwm (koj yuav tsum tau hloov tus username, password thiab tus cim token).

Kauj Ruam 4: Npaj rau Yav Tom Ntej

Yog li qhov no yog tus qauv yooj yim zoo, tab sis nws yog ………… drab. Ob peb lub asthiv tom ntej/hli (Kuv muaj menyuam yaus yog li lub sijhawm dev tau txwv) Kuv npaj yuav pleev xim tus qauv kom pom tseeb dua. Tom ntej no kuv xav ntxiv qee lub suab rau qhov no tsawg kawg yog ob lub suab nrov, tig lub suab nrov thiab tua lub suab nrov. Kuv xav tias qee lub suab tom los ntawm kev sib ntaus sib tua yuav zoo ib yam. PIE IN THE SKY yog ua kom nws pib ua raws siv OpenCV lossis PixyCam. Tom qab ntawd kuv tus tub tuaj yeem ua si nrog nws ib leeg yam tsis muaj kuv tus kheej taug qab nws.

Pom zoo: