Cov txheej txheem:

Teeb-Nkawm Khau Txuas Ntxiv: 9 Kauj Ruam
Teeb-Nkawm Khau Txuas Ntxiv: 9 Kauj Ruam

Video: Teeb-Nkawm Khau Txuas Ntxiv: 9 Kauj Ruam

Video: Teeb-Nkawm Khau Txuas Ntxiv: 9 Kauj Ruam
Video: Lig Pob tsuas xyooj nkauj tawm tshiab 2022-2023 2024, Kaum ib hlis
Anonim
Teeb-Nkawm Khau Txuas Ntxiv
Teeb-Nkawm Khau Txuas Ntxiv
Teeb-Nkawm Khau Txuas Ntxiv
Teeb-Nkawm Khau Txuas Ntxiv
Teeb-Nkawm Khau Ntxiv
Teeb-Nkawm Khau Ntxiv

Cov no yog cov khau txuas uas pom tias muaj lub teeb nyob ib puag ncig ntau npaum li cas thiab ci hauv lub teeb qis kom ua rau cov neeg hnav pom rau lwm tus! Lawv zoo tagnrho rau taug kev sab nraum hmo ntuj, txawm tias koj tab tom khiav, mus rau tom khw muag khoom, lossis taug kev koj tus dev. Lawv kuj tseem xav tau kho kom haum, yog li ntau tus neeg tuaj yeem hnav lawv, thiab koj tuaj yeem haum lawv ntau hom khau sib txawv.

Kuv hais qhia kom nyeem dhau txhua qhov no thiab kuv cov ntawv/lus pom thaum kawg ua ntej sim qhov no; Kuv xav tias muaj ntau qhov kev txhim kho uas tuaj yeem ua tau.

Khoom siv

Npuag rau cov hlua

Fiber-optic ntaub rau qhov teeb pom kev zoo

Micro: ntsis lossis lwm yam microcontroller (ib qho rau txhua lub khau)

Super-ci LEDs (ib qho rau txhua lub khau)

Ambient lub teeb pom kev zoo (ib qho rau txhua lub khau)

Cov xov hluav taws xob

Velcro

Daim kab xev hluav taws xob

Ob tog kab xev los yog cua sov-ntsws tubing

Kom muab tej khoom ua ke:

Soldering hlau thiab solder

Tshuab xaws thiab xov

Kauj Ruam 1: Kev Ntsuas/Kev Xeem

Measurements/Prototyping
Measurements/Prototyping
Measurements/Prototyping
Measurements/Prototyping
Measurements/Prototyping
Measurements/Prototyping

Ua ntsuas ntsuas ib puag ncig koj pob taws thiab nqes ntawm koj txhais taw kom tau txais lub tswv yim ntawm qhov ntev koj yuav xav tau rau txoj haujlwm no. Nov yog qhov kuv tsab ntawv zoo li; raws li koj tuaj yeem pom, Kuv tau ua kab txaij hauv qab ntawm kuv txhais taw luv dhau. Kuv sim kho qhov no rau kuv qhov kawg version.

Kauj ruam 2: Microcontroller Code

Txhawm rau pib, txheeb xyuas qhov ntau ntawm koj lub teeb pom kev ib puag ncig, thiab nws yuav teb li cas rau qib sib txawv. Koj yuav xav muab nws ua cov lus sib piv kom koj tau txais ntau qhov txiaj ntsig, ntau dua li tsuas yog 1 lossis 0.

Txoj hauv kev zoo tshaj los ua qhov no yog nyob ntawm seb yam micro tswj koj siv. Yog tias koj siv Arduino lossis qee yam zoo sib xws, koj tuaj yeem tso tawm mus rau lub khoos phis tawj ntawm koj lub khoos phis tawj, tab sis yog tias koj siv lub micro: me ntsis, koj tuaj yeem tsuas muaj cov khoom tso tawm ntawm micro: ntsis's LED array. Yeej, txawm li cas los xij, koj tsuas yog xav kom coj tus nqi los ntawm lub teeb pom kev ib puag ncig thiab tso tawm nws qhov chaw koj tuaj yeem tshawb xyuas seb qhov txiaj ntsig nws muab hauv lub teeb qis.

Kuv tau muab qhov tso tawm ntawm 30-100 rau lub teeb qis, thiab tsawg dua 30 rau qhov tsis pom kev. Siv cov txiaj ntsig koj tau txais los ntsuas thaum twg thiab ntau npaum li cas koj qhib koj lub LED.

Txog tus lej tiag, koj yuav xav qhia qhov txiaj ntsig los ntawm lub teeb pom kev kom pom qhov tseem ceeb tawm mus rau LED. Xyuas kom tseeb tias koj lub LED tseem txuas nrog ua cov khoom sib xws kom koj tuaj yeem hloov qhov ci ci. (koj tuaj yeem txuas nws ua cov ntawv digital hloov pauv, yog tias koj tsuas yog xav kom nws qhib/tua thiab tsis hloov qhov ci ci.)

Thaum muaj lub teeb ntau dhau (saum 100 rau kuv), tso tawm 0 (tsis muaj lub teeb) rau LED.

Thaum tsis muaj lub teeb (qis dua 30 rau kuv), tso tawm 1023 (lub teeb ci) rau LED.

Thaum lub teeb nyob nruab nrab ntawm ob qhov txiaj ntsig, siv daim ntawv qhia ua haujlwm txhawm rau qhia qhov ci ntawm lub teeb ib puag ncig kom pom qhov ci ntawm LED. Lub teeb nyob ib puag ncig yuav tsum ua daim duab qhia pom lub teeb ci LED, thiab lub teeb pom kev ib puag ncig yuav tsum qhia rau lub teeb ci LED. Kuv kuj tseem hais qhia siv kev ua haujlwm ib puag ncig ntawm daim ntawv qhia ua haujlwm, txij li daim ntawv qhia kev ua haujlwm yuav zoo li yuav ua rau koj muaj qhov tseeb ntau dua qhov koj xav tau tiag tiag ntawm nws.

Thaum kawg, kuv tus lej zoo li no. Kuv siv micro: ntsis thiab javascript. Nyob ntawm koj lub teeb pom kev ib puag ncig, micro tswj, thiab kev nyiam, koj cov cai yuav zoo li txawv me ntsis.

cia n = 0basic.forever (muaj nuj nqi () {

cia a = pins.analogReadPin (AnalogPin. P1)

// Tus lej qis -> tsaus dua // Tus lej ntau dua -> Sib dua

yog (a> 100) {// ci

n = 0 os

} ntxiv yog (a <30) {// tsaus ntuj

n = 1023 ib

} lwm { / hauv nruab nrab

n = Math.floor (pins.map (a, 30, 100, 1024, 0)) // daim ntawv qhia 30 txog 1024, thiab 100 txog 0

}

pins.analogWritePin (AnalogPin. P0, n)

//basic.showNumber (n)

})

Kauj ruam 3: Circuit Court

Circuit Court
Circuit Court
Circuit Court
Circuit Court
Circuit Court
Circuit Court

Ua ntej, faib av rau ob txoj hlua. (Qhov no yog vim ob qho tib si LED thiab lub teeb pom kev xav tau txuas rau hauv av.)

Txuas lub LED rau tus pin 0 (lossis tus pin twg yuav tsum tso lub zog rau LED), thiab ib qho ntawm cov xov hlau hauv av.

Txuas lub teeb pom kev zoo rau tus pin 1 (lossis tus lej twg yog tus nyeem ntawv nws cov tswv yim), 3V, thiab lwm yam xov hlau hauv av, raws li cov lus qhia rau koj lub teeb pom kev zoo.

Kuv hais kom ua cov kev sib txuas no los ntawm kev sib txuas ua ke cov xov hlau, yog li lawv nyob ruaj khov. Txawm li cas los xij, ceev faj thaum tso lub Circuit rau hauv cov hlua tom qab; pob qij txha yuav tawg.

Thaum koj tau txais cov khoom siv hluav taws xob ua ke, sim nws hauv qhov chaw tsaus ntawm koj lub tsev kom ntseeg tau tias nws tseem ua haujlwm.

Kauj Ruam 4: Txheeb Nrog Cov Khoom Siv Fiber-optic

Ua Haujlwm Nrog Cov Khoom Siv Fiber-optic
Ua Haujlwm Nrog Cov Khoom Siv Fiber-optic
Ua Haujlwm Nrog Cov Khoom Siv Fiber-optic
Ua Haujlwm Nrog Cov Khoom Siv Fiber-optic

Cov ntaub ntawv fiber-optic xav tau kom muaj pob khoom txuas nrog LED. Qhov zoo tshaj plaws, cov ntaub yog qhov loj me me, tab sis yog tias nws tsis yog, koj muaj ob txoj hauv kev: txiav nws lossis quav nws kom haum.

Kuv tus kheej nyiam folding nws, tab sis kuv yuav nthuav qhia ob txoj hauv kev thiab lawv qhov zoo/qhov tsis zoo.

Kauj Ruam 5: Fiber-optic Npuag: Txiav Txoj Kev

Fiber-optic Npuag: Txiav Txoj Kev
Fiber-optic Npuag: Txiav Txoj Kev
Fiber-optic Npuag: Txiav Txoj Kev
Fiber-optic Npuag: Txiav Txoj Kev
Fiber-optic Npuag: Txiav Txoj Kev
Fiber-optic Npuag: Txiav Txoj Kev

Txiav cov ntaub kom me ntsis loj dua qhov dav koj xav tau. Nws nyhav kom tawg mus rau sab, yog li koj yuav xav hem nws sai li sai tau koj tuaj yeem ua tau-tus neeg saib xyuas tej zaum yog txoj hauv kev yooj yim tshaj plaws los ua qhov no, tab sis koj tseem tuaj yeem sim quav qee cov ntaub hla ntawm ntug kom tiav nws. Kuv tsis hais kom sim ua lub duav. (Kuv tau tawm ntawm cov ntug nyoos, thiab nws tau tawg dhau los ntawm ob lub fibers thaum kuv ua haujlwm rau nws.)

Ua tib zoo txiav nruab nrab ntawm ob txoj hlua kom txog rau thaum koj mus txog pob ntawv rau saum, thiab cais nws ua ob pawg los ntawm kev txiav cov hlau los khi cov fibers ua ke. Thaum koj tau cais nws, koj yuav tsum tau rov ntim cov fibers. Qhov no … tej zaum yog qhov nyuaj tshaj plaws ntawm txoj haujlwm, hauv kuv lub tswv yim.

Txhawm rau rov ntim cov fibers, feem ntau cov peev txheej zoo li qhia kom ua kom sov cua sov ntsws tubing hla cov fibers thiab ua tib zoo txo nws. Qhov teeb meem nrog qhov no yog tias koj yuav tsum tau ceev faj heev, thiab ua siab ntev. Fiber-optic fibers tsis zoo li ua kom sov nrog cua sov, yog li nws yooj yim rau lawv tawg, rhuav ib qho ntawm cov fibers mus rau hauv cov ntaub, thiab muaj lub sijhawm uas cov cua sov-ntsws tubing yuav plam cov fibers.

Koj kuj tseem tuaj yeem sim ua kab xev ua ke ua cov fibers ua ib pawg. Qhov teeb meem kuv tau ntsib nrog qhov no yog daim kab xev yog dawb dua-daim ntawv ntau dua li cua sov-ntsws tubing, yog li koj tuaj yeem ntsib teeb meem nrog kev tau txais tag nrho cov fibers ua ke nyob rau hauv ib qho chaw thiab tau txais lub teeb rau tag nrho cov fibers. Thaum cov fibers tag nrho tau ua ke ua ke, Kuv hais kom basting nqes me ntsis ntawm daim kab xev ncaj ncees lossis qee yam hla saum toj los tiv thaiv cov fibers.

Tom qab ntawd koj yuav tsum txuas lub LED; koj tuaj yeem ua qhov no nrog cua sov-ntsws tubing (ceev faj; fiber ntau optics tsis nyiam cua sov) lossis nrog kab xev. Kuv hais kom daim kab xev hluav taws xob dub.

Kauj Ruam 6: Fiber-optic Npuag: Khaws Txoj Kev

Fiber-optic Npuag: Txoj Kev Quav
Fiber-optic Npuag: Txoj Kev Quav
Fiber-optic Npuag: Txoj Kev Quav
Fiber-optic Npuag: Txoj Kev Quav

Nrog txoj kev no, koj tsuas yog quav cov ntaub rau hauv qhov ntev uas koj xav tau. Folding nws raws cov fibers yog yooj yim, thiab nws nyob ncaj ncaj, txij li cov ntaub fibers quav zoo. Folding nws tiv thaiv cov fibers tsis yog lub tswv yim zoo tshaj plaws, txawm hais tias; nws ua rau tsis zoo li lub tog hauv ncoo zoo li lub cev. Txij li thaum koj tsis xav tau rov ntim cov fibers, nws tsuas yog qhov zoo tshaj plaws los quav rau qhov dav koj xav tau thiab txiav kom ntev npaum li cas koj xav tau.

Thaum koj tau khawm mus rau qhov dav/qhov ntev, tes xaws ob sab ua ke kom nws tsis txhob txav mus los.

Tom qab ntawd koj yuav tsum txuas lub LED; koj tuaj yeem ua qhov no nrog cua sov-ntsws tubing (ceev faj; fiber ntau optics tsis nyiam cua sov) lossis nrog kab xev. Kuv hais kom daim kab xev hluav taws xob dub.

Kauj Ruam 7: [xaiv tau] Sanding Fiber-optics

Yog tias koj xav tau, koj tuaj yeem xuab zeb cov fiber-optic npuag los sim ua kom nws pom ntau lub teeb tawm ntawm ob sab ntawm cov fibers. Yog tias koj txiav txim siab ua qhov no, ntawm no yog kuv cov lus qhia:

1. Xuab zeb maj mam; daim ntaub zoo nkauj heev.

2. Xuab zeb sib luag rau cov fiber-optics; yog tias koj xuab zeb perpendicular rau lawv, koj tuaj yeem rhuav cov ntaub.

3. Ua siab ntev; zoo li kuv tau hais, cov ntaub yog muag heev, thiab koj xav kom koj tsis txhob rhuav nws.

Kuv tau siv 220 cov xuab zeb zeb thaiv, uas zoo li ua haujlwm, tab sis YMMV.

Kauj Ruam 8: Ua Cov Khaub Ncaws

Ua Cov Khaub Ncaws
Ua Cov Khaub Ncaws
Ua Cov Khaub Ncaws
Ua Cov Khaub Ncaws
Ua Cov Khaub Ncaws
Ua Cov Khaub Ncaws

Siv kev ntsuas los ntawm theem 1, koj yuav tsum ua txoj hlua dav uas haum ib puag ncig koj pob taws.

Ib sab ntawm cov pluaj tuav lub micro tswj thiab Circuit, thaum lwm tus tsuas yog tuav nws ncig koj pob taws.

Rau thawj sab, ntsuas ib ncig ntawm koj lub voj voog; koj yuav tsum ua kom ntseeg tau tias nws yuav haum nyob ntawd. Kuv tsis tau solder ua ntej ua cov hlua, thiab qhov uas ua kom haum rau hauv Circuit Court hauv cov hlua nyuaj.

Sab nraum ntawm txoj hlua no, Kuv muab ob txoj hlua me me tso rau hauv lub voj los tuav lub roj teeb. Kuv tshuav ib sab ntawm lub hnab qhib thaum xub xaws nws vim kuv yuav tsum xaws tes rau ntawm daim ntaub fiber-optic, thiab xav tau qhib rau lub teeb pom kev zoo thiab cov khoom siv fiber-optic kom dhau mus.

Nyob sab hauv ntawm lub hnab ntim micro thiab sab nraud ntawm txoj hlua ntev, muab cov velcro yog li koj tuaj yeem yooj yim tso qhov no rau.

Kuv hais qhia xaws tes xaws cov hlua rau cov ntaub fiber ntau. Sim nws ib zaug koj tau txais cov hlua xaws kom ntseeg tau tias nws haum, thiab coj nws mus rau qhov tsaus ntuj hauv koj lub tsev kom ntseeg tau tias lub Circuit Court tseem ua haujlwm. Yog tias lub Circuit Court tsis ua haujlwm, txheeb xyuas cov khoom sib txuas kom paub tseeb tias lawv tsis tuaj sib nrug, thiab nco ntsoov tias koj tsis tau txais qhov luv nyob qhov twg hauv koj lub Circuit Court.

Kauj Ruam 9: Ua tiav + Lus Teb

Ua tiav + Lus
Ua tiav + Lus
Ua tiav + Lus
Ua tiav + Lus
Ua tiav + Lus
Ua tiav + Lus

Tam sim no txoj haujlwm tiav lawm! Nws tsis tig los zoo li kuv tau cia siab- fiber-optic npuag yog cov khoom nyuaj ua haujlwm nrog- tab sis kuv vam tias koj pom qhov no muaj txiaj ntsig!

Yog tias kuv yuav tsum ua qhov no dua, kuv yuav twv yuav raug siv los siv EL hlau lossis lwm hom fiber ntau-optics; daim ntaub zoo nkauj heev, tab sis tsis ci heev, thiab nws tsis khov heev. Kuv tsis paub meej tias nws yuav tuav tau ntau qhov kev txav mus los li cas.

Pom zoo: