Cov txheej txheem:

Tiag Laser Caj Npab Cannon Los Ntawm Metroid !: 9 Kauj Ruam (nrog Duab)
Tiag Laser Caj Npab Cannon Los Ntawm Metroid !: 9 Kauj Ruam (nrog Duab)

Video: Tiag Laser Caj Npab Cannon Los Ntawm Metroid !: 9 Kauj Ruam (nrog Duab)

Video: Tiag Laser Caj Npab Cannon Los Ntawm Metroid !: 9 Kauj Ruam (nrog Duab)
Video: 3 nqee lus nug tseem ceeb rau tu kheej, yuav ua cas thiaj paub pom sij hawm muaj nqis?(3 QS ask you) 2024, Hlis ntuj nqeg
Anonim
Image
Image

Los ntawm Hyper_IonYoutube! Ua raws ntau los ntawm tus sau:

Kev Cai NeoPixel Rings Los Ntawm Kos!
Kev Cai NeoPixel Rings Los Ntawm Kos!
Npliag
Npliag
Npliag
Npliag

Txog: Tus Kws Tshaj Lij/Tus Tsim Khoom/Hobbiest Ntau Ntxiv Txog Hyper_Ion »

Tsis muaj ntau cov yeeb yaj kiab game ua cim zoo li Samus. Lub ntiaj teb txuag tus neeg yos hav zoov nrog ib qho ntawm cov riam phom txias tshaj plaws hauv txhua qhov ntawm sciFi. Thaum kuv pom Instructables tau teeb tsa kev sib tw Video Game, Kuv tam sim paub nws yog nws riam phom kuv xav ua qhov tseeb.

Thiab qhov no yog qhov tshwm sim! Cov phom loj laser no muaj zog txaus los rhuav tshem lub zais pa tam sim ntawd, hlawv cov khoom tawg tau ntawm kev sib cuag, thiab txawm tias txiav los ntawm cov yas nyias! Tsis hais nws yooj yim pom hauv huab cua (los ntawm lub koob yees duab, tsis txhob saib nws). Nws txawm muaj lub teeb thiab suab cuam tshuam!

Txaus siab rau!

n

Kauj ruam 1: CEEB TOOM

Lasers ntawm lub zog no yog qhov txaus ntshai kawg. Yog tias tsis muaj kev tiv thaiv txaus lub laser no yuav ua rau koj dig muag nrog kev xav. Uas tau hais tias, cov cuab yeej zoo li no tuaj yeem muaj kev nyab xeeb, nyab xeeb dua li ntau qhov qhib lub tshuab txiav laser, yog tias ua raws cov kauj ruam raug.

Thawj: Ib txwm hnav tiv thaiv qhov muag ua rau lub laser no. Qhov no tsis tuaj yeem hais ntau dhau. Cov tsom iav kev nyab xeeb zoo txhais tau tias qhov sib txawv ntawm lub laser koj yuav tsum tau ceev faj ib puag ncig thiab lub laser koj tsis tuaj yeem them kuv kom nyob hauv tib chav.

SECOND: Muaj PLENTY ntawm cov iav tsom iav ntxiv ib puag ncig. Koj yuav xav demo qhov no. TSIS TXHOB demo yam tsis muaj txhua tus neeg nyob ib puag ncig koj muaj tsom iav laser. Muaj qee qhov pheej yig pheej yig pob khoom tawm muaj.

THIRD: Muaj kev tswj hwm tag nrho ntawm qhov chaw koj ua yeeb yam. Qhov no txhais tau tias tsis muaj leej twg nkag mus yam tsis tau kev tso cai los ntawm koj. Tsis qhib qhov rooj, thiab tsis qhib qhov rais.

FOURTH: Kuv tau ua hauv qhov chaw nres nkoj tsis muaj peev xwm rau lub laser. Thaum twg los xij lub laser tsis xav siv, tshem nws. Nov yog qhov kev nyab xeeb kawg yog li tsis muaj leej twg uas tsis xav siv nws ua rau lawv tus kheej lossis lwm tus mob.

Qhov tseem ceeb, kho lub laser zoo li nws yog dab tsi. Nkag siab qhov txaus ntshai thiab zam nws. Yog tias koj ua raws cov theem no lub laser tuaj yeem mus txog qhov chaw nws "siv tau" thiab "nyab xeeb txaus". Tab sis tsis txhob kho nws zoo li tso dag. Thaum kawg, qhov no yog npaj raws li kev ua qauv qhia. Yog tias koj rov ua txoj haujlwm no, kawm txog kev phom sij ntawm koj tus kheej. Kuv tsis lav yog tias koj ua rau koj tus kheej.

Kauj Ruam 2: Cheeb Tsam:

Cheebtsam
Cheebtsam

Rau txoj haujlwm no koj yuav xav tau cov hauv qab no: Cov Cheeb Tsam:

  • Homemade NeoPixel Ring (Txheeb xyuas kuv cov lus qhia ntawm no)
  • 1 meter ntawm NeoPixel Sawb
  • 2.5 Watt Laser Diode
  • Arduino Nano Cov
  • 11.1V Li
  • TIP31A NPN Transistor
  • 2N2222 NPN Transistor
  • IRF9540n P-Channel MOSFET
  • 3x1k tiv
  • 48 ohm tiv thaiv
  • 500 ohm tiv thaiv
  • Xiav LED
  • 2x Poj niam JST Connectors
  • 5x 3 wire connectors (PWM Extenders)
  • Perforated Breadboard
  • 5 v Regulator
  • 3 Txoj hauj lwm toggle hloov
  • 8 Ohm Hais Lus
  • Ntau Qhov Luam 3D

Cov Cuab Yeej:

  • 3D Tshuab Luam Ntawv (lossis Luam Ntawv Pabcuam Zoo Li No)
  • Soldering Hlau
  • Laser Kev Nyab Xeeb Tsom iav !!

Kauj Ruam 3: 3D Luam Ntawv thiab Tsim

3D Luam Ntawv thiab Tsim!
3D Luam Ntawv thiab Tsim!
3D Luam Ntawv thiab Tsim!
3D Luam Ntawv thiab Tsim!
3D Luam Ntawv thiab Tsim!
3D Luam Ntawv thiab Tsim!
3D Luam Ntawv thiab Tsim!
3D Luam Ntawv thiab Tsim!

Qhov nyuaj tshaj plaws ntawm txoj haujlwm no yog qhov tseeb 3D qauv thiab tsim. Txoj kev kuv tsim cov phom no pib nrog ob peb daim duab siv kuv pom hauv online. Kuv kwv yees qhov ntsuas los ntawm kev sib piv qhov loj ntawm kuv lub caj dab rau Samus, tom qab ntawd feem ntau siv "Nkhaus" cov cuab yeej ua ke nrog cov qauv ua txuj ci los tsim cov qauv yooj yim. Kuv faib caj npab rau hauv 9 daim tseem ceeb txhawm rau txhawm rau yooj yim luam ntawv.

Tom qab ntawd kuv tau hla cov txheej txheem ntawm kev ntxiv cov ntsiab lus kev cai. Qhov no suav nrog lub hauv paus mount uas tuav lub laser, roj teeb, hais lus, lub rooj tsav xwm hauv Circuit Court, thiab hloov pauv. Kuv kuj txiav tawm cov channel raws ob sab kom ntxiv NeoPixel strips ntxiv, thiab phaj tiaj tiaj kom txhawm rau txhim kho kev cai NeoPixel ntiv nplhaib.

Txhawm rau kom ruaj ntseg cov khoom ua ke Kuv tau mus nrog kuv txoj kev mus-rau: 3D luam tawm xov. Qhov no tso cai rau kom muaj zog, muaj txoj hauv kev txuas ntawm ob daim 3d luam tawm yam tsis tas yuav cuam tshuam nrog lwm yam khoom siv ntxiv lossis kua nplaum.

Txhua daim tau luam tawm ntawm kuv QIDI Tech Ib lub tshuab luam ntawv ntawm.3mm daws teeb meem ntawm qhov nrawm tshaj plaws. Kuv tshem tawm kev txhawb nqa los ntawm ib ncig ntawm cov xov, txawm li cas los xij qhov ntawd tsis yog qhov tsim nyog tshwj tsis yog tias koj tau sim daws teeb meem siab dua. Kuv tau pom ntawm qhov kev txhawb siab siab dua tuaj yeem qee zaum zom cov xov thiab ua rau lawv nruj me ntsis. Kuv tau suav nrog kuv cov ntawv luam tawm hauv kab ntawv txuas rau txhua tus neeg uas xav paub.

Kuv yog tus ntseeg ruaj khov hauv kev sib qhia hloov kho cov ntaub ntawv yog li kuv tau muab ob qho STL thiab kho tau cov ntaub ntawv Solidworks ob qho tib si ntawm no thiab ntawm kuv nplooj ntawv ntau yam.

Kauj ruam 4: Electronics

Electronics!
Electronics!
Electronics!
Electronics!
Electronics!
Electronics!

Lub Circuit Court kuv tsim los rau txoj haujlwm no muaj plaub ntu tseem ceeb:

Hwj chim MOSFET:

Nyob rau sab saum toj ntawm Circuit Court muaj irf9540n P-Channel MOSFET txuas nrog ntawm tus tswj hwm 5 volt thiab lub zog los ntawm roj teeb. Qhov laj thawj kuv siv qhov no yog vim qhov hloov pauv uas kuv xav kom siv muaj peb lub xeev. Rau ib sab thiab nruab nrab nws xauv rau hauv qhov chaw thaum nyob rau sab deb nws ua raws li qhov hloov pauv ib ntus. Kuv kaw siv lub sijhawm hloov pauv ib sab los ua qhov hloov pauv digital rau arduino kom "them lub laser", rau nruab nrab kom "muaj zog" (tab sis tsis ua dab tsi), thiab rau sab xis kom raug "tua". Txoj hauv kev zoo tshaj plaws uas kuv tuaj yeem xav ua qhov no yuav yog txuas lub zog rau lub hauv paus ntawm kev hloov pauv thiab khiav txoj cai nyob deb mus rau lub hauv paus ntawm P-channel MOSFET. Txoj kev ntawd, thaum qhov hloov pauv tau txuas nrog lub zog yog rau sab xis, lub zog siv rau MOSFET lub hauv paus thiab kev siv hluav taws xob tsis zoo. Thaum qhov hloov pauv mus rau sab laug deb, qhov hluav taws xob dhau los ntawm qhov faib hluav taws xob thiab tom qab ntawd mus rau tus lej Arduino qhov twg lub teeb liab tuaj yeem nyeem tau. Thaum qhov hloov pauv nyob hauv nruab nrab, tsis siv hluav taws xob, thiab rub lub zog tiv thaiv ntawm P-Channel MOSFET kaw P-Channel MOSFET thiab tso cai rau Arduino kom muaj zog.

Laser Tsav:

Lub 2.5 watt laser diode tau tsav los ntawm TIP31A NPN transistor. Kuv yuav tsum tau txiav tawm lub cua sov-dab dej ntawm lub transistor thaum kuv pom qhov kev tshem tawm tsuas yog nruj me ntsis. Txawm hais tias kuv yuav tsis qhia qhov no, nws yuav tsum zoo. Lub transistor tau tsav los ntawm 1k ohm resistor txuas nrog tus pin 7 thiab transistor lub qhov rooj. Kuv kuj muaj lub xiav LED thiab tus tiv thaiv ua ke nrog lub laser diode los ua qhov taw qhia seb lub laser puas tau npaj yuav tua hluav taws, txawm hais tias lub laser tsis tau ntsaws.

Tsav Tsheb:

Txhawm rau pab kom yooj yim suab nrov cuam tshuam me me, 2n2222 transistor thiab nrog 48 ohm resistor tau siv los ua tus tsav tsheb yooj yim. Tus hais lus 8 ohm txuas nrog ntawm 5v thiab lub transistor, uas txuas nrog hauv av. Arduino oscillates tus pin 11 rau thiab tawm nrawm, ua rau tus neeg hais lus oscillate rov qab thiab tawm thiab tsim suab.

NeoPixels:

Rau ob peb tus uas tsis tau ua haujlwm nrog lawv ua ntej, NeoPixels yog ib kab ntawm tus kheej qhov chaw nyob RGB LEDs. Qhov tseem ceeb koj siv lub zog, hauv av, thiab muab nws cov ntaub ntawv teeb tsa thiab koj tuaj yeem tswj hwm txoj kab loj ntawm lawv. Muaj 8 ntu thoob plaws rab phom ua rau tsev NeoPixel Strips thiab ib qho rau kev cai NeoPixel nplhaib. Tsuas yog xaim lawv ua ke hauv ib txoj saw ntev, thiab txuas ib kawg rau tus pin 9 ntawm Arduino.

Kauj Ruam 5: Sib dhos Tshooj Ib: Tub Ntxhais

Sib dhos Tshooj Ib: Cov Tub Ntxhais
Sib dhos Tshooj Ib: Cov Tub Ntxhais
Sib dhos Tshooj Ib: Cov Tub Ntxhais
Sib dhos Tshooj Ib: Cov Tub Ntxhais
Sib dhos Tshooj Ib: Cov Tub Ntxhais
Sib dhos Tshooj Ib: Cov Tub Ntxhais
Sib dhos Tshooj Ib: Cov Tub Ntxhais
Sib dhos Tshooj Ib: Cov Tub Ntxhais

Tom qab cov khoom siv hluav taws xob ua tiav, cov kauj ruam tom ntej yog cov khoom siv sib dhos. Peb pib los ntawm kev sib sau ua ke uas kuv tau hais tias "Core" raws li 3D luam tawm "Core Frame". Nov yog tag nrho txoj haujlwm ntawm rab phom, rho tawm NeoPixel strips. Cov phom yuav ua haujlwm nrog tsuas yog cov khoom siv sib dhos no, txhua yam ntxiv tsuas yog ascetic.

  1. Pib los ntawm kev nyab xeeb lub toggle hloov mus rau hauv nws lub qhov uas tau siv nws nrog cov txiv ntoo. Ua rau sab tsis tuaj ib ntus tig rau sab nraud.
  2. Tom ntej ruaj ntseg rau 2.5 watt laser module siv ob M4 7.5mm lub tshuab ntsia hlau ntev. Kuv yuav tsum tau siv ob lub tshuab ntxhua khaub ncaws rau kuv li kuv cov ntsia hlau ntev dhau, txawm li cas los xij uas yuav tsum tsis muaj teeb meem rau koj yog tias koj muaj qhov loj me.
  3. Tom qab lub laser ruaj ntseg ntsia hlau hauv cov khoom siv hluav taws xob siv ob M2 tus kheej kaw cov ntsia hlau. Cov no yuav tsum tau tom rau hauv cov yas kom tuav lub rooj tsavxwm nyob hauv qhov chaw.
  4. Siv cov kua nplaum super thiab insta-set txau txuas lub roj teeb thiab tus hais lus rau ob sab ntawm Core Frame. Xwb, koj tuaj yeem siv velcro lossis kua nplaum kub.
  5. Txuas lub roj teeb, hloov, laser, thiab hais lus rau hauv lawv cov chaw nres nkoj xaiv.

Txog tam sim no tus Core yuav tsum tau npaj los xeem! Pov rau ib khub ntawm tsom iav kev nyab xeeb thiab tua nws! Tej zaum koj yuav tsum tau kho qhov ua kom pom tseeb ntawm lub laser kom tau txais txiaj ntsig zoo tshaj plaws.

Kauj Ruam 6: Sib dhos Tshooj Ob: Teeb

Sib dhos Tshooj Ob: Teeb!
Sib dhos Tshooj Ob: Teeb!
Sib dhos Tshooj Ob: Teeb!
Sib dhos Tshooj Ob: Teeb!
Sib dhos Tshooj Ob: Teeb!
Sib dhos Tshooj Ob: Teeb!
Sib dhos Tshooj Ob: Teeb!
Sib dhos Tshooj Ob: Teeb!

Tam sim no nws yog lub sijhawm ntxiv cov teeb! Yog tias koj saib cov qauv uas kuv tau ua koj yuav pom tias thaum kawg ntawm txhua lub channel thiab nruab nrab ntawm txhua lub nplhaib muaj cov duab plaub. Cov no yog npaj rau lub zog thiab cov ntaub ntawv xov hlau rau ntau yam NeoPixel ib daim kab xev kom pub los ntawm. Kuv pom txoj hauv kev zoo tshaj plaws rau kuv yog dhia los ntawm cov khoom siv hluav taws xob ncaj qha mus rau qhov qis tshaj thiab ua haujlwm los ntawm qhov ntawd.

  1. Pib los ntawm threading ua ke hauv qab feem ntau daim, kom ntseeg tau cov qauv kab.
  2. Ntxiv servo txuas ntxiv rau koj "kev nkag" thiab "tso tawm" rau hauv qab ib nrab ntawm cov phom. Kuv tau xaiv los txuas cov no mus rau qhov qis kawg ntawm cov kab txaij mus rau sab nraud ntawm rab phom.
  3. Txiav thiab super kua nplaum txhua LED kab txaij rau hauv nws cov channel.
  4. Ntxiv xaim txuas ntawm "kaw" LED kab txaij. Xov ntawm lub nplhaib tshiab tom qab txhua qhov teeb tsa ntawm cov xov hlau.
  5. Ntxiv ib qho ntev PWM xaim los ntawm txheej hauv qab ntawm LED kab thiab lub nplhaib.
  6. Ntxiv PWM xaim ntev rau qhov kev cai NeoPixel ntiv nplhaib, nws yuav tsum yog qhov kawg ntawm cov saw.. Tsis txhob lo rau ntawm NeoPixel nplhaib.

*Nco tseg: Kuv tsis nco qab muab lub qhov rau hauv qab feem ntau lub nplhaib channel. Qhov no yuam kom kuv coj mus rhaub rau sab sab, uas ua rau qhov sib txawv me ntsis thiab qee qhov txawv txav. Kuv tau hloov kho tus qauv txij li ntawd, lub ntsiab lus koj yuav tsum tsis txhob txhawj txog qhov ntawd.

Kauj Ruam 7: Sib dhos Tshooj Peb: Ua tiav

Sib dhos Tshooj Peb: Ua Kom tiav!
Sib dhos Tshooj Peb: Ua Kom tiav!
Sib dhos Tshooj Peb: Ua Kom tiav!
Sib dhos Tshooj Peb: Ua Kom tiav!
Sib dhos Tshooj Peb: Ua Kom tiav!
Sib dhos Tshooj Peb: Ua Kom tiav!

Tam sim no nws yog lub sijhawm rau kev sib dhos zaum kawg!

  1. Pib los ntawm ntsia hlau hauv qab ob daim thiab "Core thav duab" ua ke kom deb li deb lawv yuav mus.
  2. Plug rau hauv "cov tswv yim" 3 xaim txuas los ntawm ib nrab hauv qab mus rau qhov txuas ntawm cov khoom siv hluav taws xob. Nov yog qhov pib ntawm NeoPixel saw.
  3. Solder "tso tawm" 3 xaim txuas los ntawm ib nrab hauv qab mus rau NeoPixel kab txaij ntawm cov tub ntxhais thav duab.
  4. Kaw cov kev cai NeoPixel ntiv nplhaib rau hauv qhov chaw.
  5. Xov ntawm qhov thib ob rau saum 3D luam tawm daim.
  6. Plug qhov tso tawm los ntawm lub nplhaib sab saum toj NeoPixel sawb rau hauv kev cai NeoPixel Ring.
  7. Xov ntawm qhov saum toj kawg nkaus 3D luam tawm daim.
  8. Txiav ob sab ntawm lub hauv paus ntawm rab phom. Koj tuaj yeem lo cov no, tab sis lawv tau tsim los ua kom haum haum.

Kauj ruam 8: Code

Code!
Code!

Tam sim no nws yog lub sijhawm los tshaj tawm cov cai!

Cov hauv qab no yog cov lus piav qhia yooj yim ntawm txoj cai ua haujlwm li cas. Txoj cai pib los ntawm kev tos hauv lub sijhawm luv kom txog thaum lub toggle hloov pauv. Nws mam li txav mus rau lwm qhov thaum lub voj kom txog thaum lub toggle hloov tsis nias lawm. Nov yog hom "them". Hauv qhov no thaum lub voj sib txawv qhov sib txawv tau txo qis nyob rau lub sijhawm, kom txog thaum nws mus txog 10, thaum tib lub sijhawm ua si lub suab zoo thiab ua kom muaj suab nrov. Qhov kev hloov pauv no tswj hwm qhov ua tau zoo ntawm lub suab them nyiaj thiab qhov nrawm ntawm NeoPixel cov duab. Nws kuj tseem siv los tswj qhov ntev ntawm lub laser mem tes thaum lub toggle hloov tau tso tawm, yog li tso cai rau koj los ua lub zog "muaj zog" ntau dua los ntawm kev them nyiaj ntev dua.

Kauj ruam 9: Ua tiav

Thiab qhov ntawd yog nws! Txhua yam nws siv los tsim lub tshuab ua haujlwm zoo laser los ntawm cov yeeb yaj kiab game Metroid! Zoo heev yog tias koj lub ces kaum tshwj xeeb ntawm lub ntiaj teb tab tom raug ntaus los ntawm cov zais zais dub. Raws li koj tuaj yeem pom los ntawm cov vis dis aus no lub tshuab laser tau yooj yim tuaj yeem pop balloons, kuv nyiam tshaj tawm. Nws tseem tuaj yeem pom qhov sib tw, phom phom, hlawv ntawv, lossis txawm tias xuas nrig los ntawm cov plexiglass nyias. Ua 2.5 watt laser, nws muaj zog heev kom deb li cov riam phom hauv tsev mus.

Kuv vam tias koj txaus siab rau txoj haujlwm no! Yog tias koj muaj lus qhia yuav ua li cas kuv tuaj yeem txhim kho nws, Kuv txhawb kom koj tawm hauv lawv cov lus piav qhia.

Nyob Zoo!

-HyperIon

Pom zoo: