Cov txheej txheem:

Suab paj nruag React Fiber Optic Star Qab nthab Teeb: 11 Cov Kauj Ruam (nrog Duab)
Suab paj nruag React Fiber Optic Star Qab nthab Teeb: 11 Cov Kauj Ruam (nrog Duab)

Video: Suab paj nruag React Fiber Optic Star Qab nthab Teeb: 11 Cov Kauj Ruam (nrog Duab)

Video: Suab paj nruag React Fiber Optic Star Qab nthab Teeb: 11 Cov Kauj Ruam (nrog Duab)
Video: Hören & Verstehen - Prüfungsvorbereitung B2/C1 2024, Kaum ib hlis
Anonim
Image
Image
Kev npaj
Kev npaj

Xav tau ib daim ntawm galaxy ntawm koj lub tsev? Nrhiav nws seb nws ua li cas hauv qab no!

Rau xyoo nws yog kuv txoj haujlwm npau suav thiab thaum kawg Nws tau ua tiav. Nws siv sijhawm qee lub sijhawm los ua kom tiav, tab sis qhov kawg tau txaus siab heev uas kuv ntseeg tias nws tsim nyog.

Me ntsis txog txoj haujlwm. Kuv tau mus puv DIY nrog qhov no, uas tso cai rau kuv kom muaj kev ywj pheej muaj tswv yim puv ntoob. Qhov tshwm sim - cov hnub qub saum ntuj qaum ntuj hauv qhov ntsuas, ib leeg tswj hwm lub hnub qub pawg nrog IR chaw taws teeb (ci thiab xim), rov ua suab paj nruag, tswj tau lub teeb pom kev zoo, thiab tseem ceeb tshaj - muaj peev xwm txhim kho txhua yam zoo nkauj hauv qhov haujlwm no. Txhawm rau ua tiav txhua qhov kuv tau xaiv Arduino ua lub platform rau txoj haujlwm vim kuv muaj qee qhov kev paub txog kev ua haujlwm. Txog cov suab paj nruag reactivity MSQ7EQ nti tau ua qhov dag, muaj ntau cov peev txheej hauv online rau nws. Txog kev sib txuas lus, NRF24L01 tau siv ntau heev thiab kuv muaj qee qhov khoom seem, yog li kuv siv lawv. Kev tswj hwm tus lej loj ntawm LEDs PCA9685 servo maub los ua haujlwm tau zoo. Yog tias koj xav tau qhov pheej yig dua thiab yooj yim dua ntawm txoj haujlwm no koj tuaj yeem nrhiav cov khoom qab nthab hnub qub ntawm amazon, tab sis yog tias koj txiav txim siab mus DIY tag nrho nrog txoj haujlwm no, ib yam li kuv, tom qab ntawv yuav tsum muaj cov txuj ci no: · Qee qhov kev paub hauv Arduino programming; · Tsim kev tsim hluav taws xob thiab kev txawj ntse; · Yuav ua haujlwm nrog AC.

Coob leej ntawm koj tau nug tus nqi ntawm txoj haujlwm, Nws nyuaj rau kuv muab tus lej txij li thaum kuv muaj ntau cov ntaub ntawv rau nws thiab nws nyob ntawm ntau npaum li cas koj txiav txim siab ua nws koj tus kheej, qhov loj ntawm txoj haujlwm, thiab lwm yam, tab sis kuv kwv yees nyob ntawm cov xwm txheej no nws tuaj yeem qis li ob peb puas lossis siab txog li 1000 $. Thaum ua haujlwm txhua lwm lub asthiv nws coj kuv rougover ib xyoos kom ua tiav txoj haujlwm no.

Kauj ruam 1: Npaj

Kev npaj
Kev npaj

Ua ntej, yuav tsum txiav txim siab yog tias ib tus xav ua qhov hluav taws xob nws tus kheej lossis yuav cov khoom siv. Qee qhov kev paub hauv Arduino thiab cov khoom siv hluav taws xob yooj yim xav tau los ua cov kab hluav taws xob, kuj tseem muaj txoj hauv kev zoo dua ntawm qee yam ua tsis raug. Koj tuaj yeem pom ntau qhov khoom siv xaiv hauv amazon los ntawm kev tshawb nrhiav "Fiber Optic Star Ceiling Kit" lossis lwm qhov, muaj ntau txoj kev xaiv. Tab sis yog tias ib tus neeg xav tau kev ywj pheej muaj tswv yim tag nrho thiab tswj hwm txoj haujlwm, tom qab ntawd tag nrho DIY yog txoj hauv kev mus.

Tam sim no qhov kev txiav txim siab tau txiav txim siab ntawm cov khoom siv hluav taws xob, koj yuav tsum xav txog cov qauv hauv qab nthab, daim ntawv qhia hnub qub loj thiab cov hnub qub. Kuv tau mus nrog qhov raug dai gypsum qab nthab vim yog vim li cas tau hais ua ntej. Txij li thaum kuv cov ntaub ntawv nws nyuaj rau nruab fiber ntau optics (qab nthab qis) Kuv txiav txim siab mus nrog cov hnub qub qis ~ 1200, tab sis qhov kawg tshwm sim tseem zoo kawg, tsis muaj kev khuv xim ntawm no.

Tam sim no txog kev xaiv lub hnub qub qauv. Kuv nyob rau sab qaum teb hemisphere, yog li kuv tau xaiv ib feem ntawm ntuj uas pom tseeb ntawm no. Muaj ntau ntau cov apps kom tau txais daim duab ntawm cov hnub qub, Kuv tau siv Celestia zoo li "Star-Map" nto moo qhia. Tau kawg tus qauv tsis tas yuav yog qhov tseeb thiab ntsuas, xav kom muaj kev ywj pheej muaj tswv yim tag nrho ntawm no, koj tuaj yeem pom ntau lub tswv yim zoo hauv online rau cov qauv.

Cov hnub qub cim nrog lub voj voos sib txawv xim yog rau sib txawv pawg ntawm cov hnub qub nrog qhov pom kev zoo ib yam. Kuv tsis tau siv zog ntau ntxiv rau hauv ntu no, yog li nws tsis yog qhov tseeb.

Kauj ruam 2: Cov ntaub ntawv

Tam sim no txhua yam tau npaj tseg, cov ntaub ntawv tuaj yeem xaj.

Hauv ntu no kuv yuav tsis teev cov ntaub ntawv xav tau rau lub qab nthab nws tus kheej, vim nws nyob ntawm qhov siv thiab lwm yam. Kuv siv lub qab nthab los ntawm Knauf. Tib yam mus rau cov cuab yeej, vim tias feem ntau ntawm cov cuab yeej koj yuav xav tau rau nruab lub qab nthab. Txog kev teeb tsa lub hnub qub thiab khoom siv hluav taws xob, tsis xav tau ntau npaum li cas, saib cov npe hauv qab no. Ntau qhov uas kuv yuav hauv khw khw hluav taws xob hauv cheeb tsam thiab so hauv AliExpress, vim tias nws pheej yig dua nyob ntawd thiab qhov zoo yog qhov zoo.

Qhov chaw rau hnub qub thiab hluav taws xob:

· Cov khoom siv hluav taws xob rau cov hlua LED nyob ntawm qhov ntev, muaj qee qhov peev txheej zoo hauv online tshwj xeeb rau kev xaiv LED sawb fais fab mov. Hauv kuv qhov xwm txheej kuv muaj 12V / 30A / 350W hloov lub zog siv rau tej zaum 15 meters ntawm kab txaij. Cov hlua tau 14.4W/m, yog li kuv muaj ntau qhov tshwj tseg. · Lub hwj chim rau 3W LED diodes. Ib zaug ntxiv, nws nyob ntawm seb muaj pes tsawg LEDs siv, tab sis hauv kuv cov ntaub ntawv fais fab tuag yog 5V / 7A / 35W rau 15 LEDs thiab Arduino nws tus kheej. Yog tias koj txiav txim siab mus nrog 5mm tus qauv RGB LEDs ntau dua li cov khoom siv hluav taws xob no tuaj yeem muaj zog tsawg dua thiab kev siv hluav taws xob yuav yooj yim dua, tab sis cov hnub qub tsis pom kev zoo dua.). Tib LED yog rau kev tswj ib pawg ntawm cov hnub qub, yog li qhov ntau nyob ntawm seb muaj pes tsawg hnub qub koj xav tswj cais. · 12V RGB LED Sawb. · Fiber optics. Kab nuv ntses tsis ua haujlwm. Koj xav tau ntau npaum li cas nyob ntawm tus naj npawb ntawm cov hnub qub / qhov loj ntawm lub qab nthab / qhov chaw nyob yog li cas. Kuv siv ob peb txheej tuab tuab sib txawv kom muaj txiaj ntsig zoo dua. · PCA9685 cov laug cam. Nrog ib lub rooj tsavxwm 5 RGB LED diodes tuaj yeem tswj tau. · 2x Arduino Uno/Mega. · 2x NRF24L01. · USB cable rau txhawb Arduino. · IRL540N logic mosfets, kom muaj nuj nqis nyob ntawm seb muaj pes tsawg LED strips. 1 pc yog rau ib xim ntawm ib leeg LED sawb. Nco ntsoov tias txoj hlua ntev txwv tsis pub tshaj ~ 5 meters, yog tias koj xav tau ntau dua, koj yuav xav tau cov kab sib cais. Tsis tas li ntawd muaj cov lus piav qhia rau txuas cov kab ntev, xav nug lossis google yog xav tau. · 2N2222 transistors (lossis lwm yam NPNs). Sib cais transistor xav tau txhua 3W LED xim. Hauv kuv li 15x3. · Resistors: 2W 10R/2W 6R8/2W 6R8 rau R G B ntawm txhua 3W LED feem. 5-10k rau rub, tuaj yeem yog 0.25W. · 10 uF capacitors rau NRF24L01 txiav tawm. · Qee hom txhuas phaj rau 3W LED kho thiab ua kom txias. · PCBs rau lub voj voos. · Breadboard rau kev sim. · Qee qhov ntsia hlau tsis sib xws, plywood, kab xev kab xev thiab lwm yam khoom koj yuav pom hauv koj lub rooj cob qhia zoo ib yam. · Ntau cov xov hlau sib txawv hauv tuab tuab. Rau PWM teeb liab yooj yim rau ntawm daim kab xev tuaj yeem siv tau, tsis ntau amps ntws hla cov xov hlau no, tab sis rau LED strips tuab yuav tsum suav nyob ntawm qhov deb ntawm LED sawb mus rau Circuit, ib yam rau 3W LEDs.

Ntu rau lub thawv tswj chaw taws teeb thiab tsom xam lub ntsej muag:

· 1x MSGEQ7; · Resistors: 1x 470 Ω / 1x 180k Ω / 1x 33k ·. · Capacitors: 1x 33 pF / 1x 0.01 µF / 1x 0.1 µF. · Thermal paste rau CPUs · IR chaw taws teeb tswj thiab txais diode. · A ntau lub xov tooj cua los yog cov xov hlau uas koj muaj. · PCB me me. Kuv siv PROTO SHIELD. · Cov ntaub ntawv me me rau Arduino UNO thiab lub voj voog. Kuv siv lub thawv laser txiav me me · Muaj lwm qhov uas tau koom nrog lub hauv paus tseem ceeb. Qhov ntau yog suav nrog hauv daim ntawv teev npe tseem ceeb.

Cov cuab yeej rau lub hnub qub teeb tsa thiab tsim hluav taws xob:

· Tshem cov kua nplaum uas tsis yaj cov iav fiber. Kuv siv cov ntawv nplaum yooj yim. · Cov cuab yeej siv siv soldering. · Multimeter muaj txiaj ntsig zoo rau qhov haujlwm no. · Ntsia Hlau. · Pliers. · Awl lossis qee yam zoo sib xws (Kuv siv hlau xaim) rau qhov qhib qhov hauv qab nthab. Yuav tsum yog tuab tib yam li fiber optic.

Kauj Ruam 3: Kev Txhim Kho Qab Nthab

Kev Txhim Kho Qab Nthab
Kev Txhim Kho Qab Nthab

Kuv yuav tsis mus rau hauv cov ncauj lus kom ntxaws hauv cov kauj ruam no, muaj cov khoom siv ntawm yuav ua li cas txhawm rau txhim kho dai qab nthab thiab kuv tsis yog tus kws tshaj lij ntawm cov ncauj lus no. Txoj hauv kev kuv tau xaiv yog nyuab dua li cov vaj huam sib luag nrog cov hnub qub mus kom ze uas ntau tus neeg xaiv. Tab sis ua hauv txoj kev no, peb muaj cov dai dai zoo uas nyob rau nruab hnub pom zoo li qub, tsis muaj vaj huam sib luag, tsis muaj dab tsi.

Txog cov khoom siv hluav taws xob Kuv tau txiav txim siab ntxiv kev txhim kho lub dawm hauv qhov tsis pom ib feem ntawm lub qab nthab gypsum.

Kev thov muab tub lim thiab ua kom tiav tau ua tiav hauv cov kauj ruam no, tab sis kev pleev xim yog ua tiav thaum cov fibers raug teeb tsa.

Kauj Ruam 4: Kev teeb tsa Fiber Optics

Kev teeb tsa Fiber Optics
Kev teeb tsa Fiber Optics
Kev teeb tsa Fiber Optics
Kev teeb tsa Fiber Optics
Kev teeb tsa Fiber Optics
Kev teeb tsa Fiber Optics

Ib feem no tau siv ntau tshaj qhov xav tau … Tom qab ntau qhov kev hloov pauv, peb tau txiav txim siab tias hauv peb qhov xwm txheej zoo tshaj plaws los xaim fiber ntau optics yog nrog tus nuv ntses ncej thiab nuv ntses kab nuv ntses, saib kuv cov duab sketches rau kev piav qhia. Tam sim no kuv saib lub tswv yim no nws zoo li tsis txaus ntseeg, tab sis leej twg tsis nyiam qee qhov kev sib tw.

Ob peb sau ntawv:

· Kuv pom zoo kom muab cov kua nplaum tso rau hauv lawv qhov, yog li lawv nyob hauv qhov chaw kom paub tseeb. Cov kua nplaum yuav tsum kom meej thiab tsis cuam tshuam nrog cov khoom siv fiber ntau. Kuv siv cov ntawv nplaum yooj yim.

· Tsis tas yuav tsum tau laub. Qhov hauv gypsum lub qab nthab tuaj yeem yooj yim poked nrog awl lossis ib yam dab tsi zoo sib xws, tsuas yog ua kom ntseeg tau kom haum cov kab uas hla ntawm optic fiber.

· Txhawm rau nrhiav txoj haujlwm tseeb ntawm cov hnub qub tshwj xeeb ntawm lub qab nthab Kuv siv lub tsev kawm ntawv qub ntsuas kab xev.. tias nws. Tsis yog 100% meej, tab sis ze heev. Lub qab nthab loj dhau los luam daim duab qhia hnub qub hauv nplai.

Kauj Ruam 5: Qab Qab Tiav: Xim Xim

Qab nthab tas: Xim tha xim
Qab nthab tas: Xim tha xim

Peb tau pleev xim dua cov iav fiber ntau, yog li lawv tsis pom thaum tsis siv. Ua tiav txoj hauv kev no nws zoo li koj ib txwm dai qab nthab. Peb pleev xim rau hauv ob txheej thiab qhov ci ntawm cov fibers yuav luag zoo ib yam.

Kauj Ruam 6: Ua Kev Xeem Circuit

Ua Test Circuit
Ua Test Circuit
Ua Test Circuit
Ua Test Circuit
Ua Test Circuit
Ua Test Circuit
Ua Test Circuit
Ua Test Circuit

Lub voj voog nws tus kheej tsis yog qhov nyuaj thiab ua haujlwm rau kuv tawm ntawm tus puav, tab sis nws ib txwm zoo los sim nws ua ntej txhim kho thiab muaj ntau qhov sib txuas hauv qhov no, yog li muaj kev pheej hmoo nyob ntawd. Tsis tas li, nws yog qhov ntse kom muaj qhov ntsuas qhov hloov pauv ntawm Circuit Court rau kev hloov kho yav tom ntej, txij li kuv paub tseeb tias tsis muaj leej twg xav kom luv Circuit Court qee yam uas tau siv hnub los nruab rau hauv qab nthab.

Rau qhov ntsuas ntsuas kuv txhais tau ib lossis ob lub PCA9685 cov laug cam, NRF24L01, thiab cov khoom siv fais fab txuas nrog Arduino. Txhua yam tuaj yeem yog ntawm daim ntawv qhia zaub mov. Tib yam siv rau IR cov chaw taws teeb nyob deb, tsuas yog ntxiv cov khoom rau ntawm lub khob cij, saib seb nws puas ua haujlwm. Tsis tas li, kuv yuav hais qhia kom siv ob peb 3W LEDs rau kev sim.

Kauj Ruam 7: Arduino Code

Arduino Txoj Cai
Arduino Txoj Cai

Txog cov tsev qiv ntawv thiab lwm qhov txuas tau zoo saib ntawm ntu "Cov ntaub ntawv muaj txiaj ntsig". Txog kev piav qhia saib saib cov lus hauv kab lus.

Txhawm rau tsim txoj cai no kuv siv ntau cov peev txheej, qee qhov ntawm lawv tau teev tseg hauv ntu "Cov ntaub ntawv muaj txiaj ntsig", tab sis txij li thaum kuv ua tiav txoj haujlwm no ntau dua ib xyoos dhau los, los ntawm lub sijhawm kuv txiav txim siab sau ntawv qhia, Kuv tsis tuaj yeem pom txhua cov peev txheej thiab qee qhov txuas uas kuv tau khaws tseg, tu siab tsis ua haujlwm ntxiv lawm. Yog li yog leej twg xav tau kev pab nrog tus lej qhia rau kuv paub hauv cov lus, Kuv yuav ua qhov zoo tshaj plaws.

Hauv txoj cai koj yuav pom txoj haujlwm nyuaj rau LED ntsais muag. Txhawm rau ua kom nws zoo nkauj dua Kuv tau siv kev qhia ua pa rau coj: https://sean.voisen.org/blog/2011/10/breathing-led-with-arduino/Human ob lub qhov muag tsis pom lub teeb nyob rau hauv ib txoj kab ncaj, yog li yog tias koj siv linear nce hauv LED ci ntsa iab nws tsis zoo li ntuj heev.

Kauj Ruam 8: Teeb thiab LED Sawb

Cov kab thiab LED Strips
Cov kab thiab LED Strips
Teeb thiab LED Strips
Teeb thiab LED Strips
Cov kab thiab LED Strips
Cov kab thiab LED Strips

Tam sim no nws yog lub sijhawm rau txuas xov kawg! Yog tias txhua yam raug sim thiab ua haujlwm nws yuav tsum tsis txhob nyuaj heev, tsuas yog siv ntau qhov sib txuas ntawm qhov sib npaug. Rau kev kho qhov Circuit Court Kuv siv plywood hauv qhov loj me ntawm qhov kho txij nkawm, yog li yog tias xav tau, kuv tuaj yeem tshem tag nrho cov Circuit Court los ntawm qab nthab. Kuv muab cov fibers tso rau hauv cov kav dej yas me me, ntxhib li qhov loj ntawm 3W LEDs, tom qab ntawd ua tib qhov qhov loj me hauv plywood thiab tso cov raj no rau hauv plywood. Los ntawm kev ua qhov no kuv tuaj yeem tshem tawm cov fibers yooj yim los ntawm LEDs thaum xav tau, saib cov duab txuas nrog.

Raws li rau LED ib daim hlab, Kuv hais kom lo lawv rau ntawm cov ntawv txhuas kom txias, vim tias cov kab no ua tau kub heev.

Kauj Ruam 9: Teeb meem thiab kho kom raug

Troubleshooting thiab Kev Kho Kom Zoo
Troubleshooting thiab Kev Kho Kom Zoo

Koj tau sim lub Circuit Court, tab sis tam sim no nws tau teeb tsa, nws tsis ua haujlwm.. lossis qee yam tsis ua haujlwm raws li nws yuav tsum tau ua. Tej zaum nws yuav yog koj li soldering txij li yog tias nws ua haujlwm hauv kev sib tw sim, tsis muaj laj thawj nws tsis ua haujlwm tam sim no nrog qee qhov kev zam. Kuv vam tias nws tsis yog rau koj, tab sis kuv yuav qhia ib qho teeb meem tshwj xeeb uas kuv muaj ua piv txwv.

Thaum kuv tau dimming LED strips rau tus nqi qis tshaj, cov kab ntawv yuav tsum tsis ua haujlwm lossis pib flickering. Tom qab tshawb fawb loooong thiab daws teeb meem, kuv pom tias qhov teeb meem qeeb hloov IRL540 thiab cov kev daws teeb meem yooj yim txo PWM zaus ntawm PCA cov laug cam rau 50hz. Nws feem ntau daws qhov teeb meem, tam sim no tsuas yog hauv qab qhov muaj txiaj ntsig Kuv tuaj yeem pom qhov muag lossis teeb meem, tab sis Nws tsis muaj teeb meem txij li thaum kuv tsis siv cov txiaj ntsig qis. Qhov teeb meem no tau rov los rau kuv thaum kuv txiav txim siab ua yeeb yaj kiab qab nthab txij li nrog qhov qis zaus koj tuaj yeem pom flickering hauv cov koob yees duab, nws tsuas yog zoo li thaij tv. Txhawm rau daws qhov teeb meem no, Kuv tau ua ib lub voj voog me me nrog 2N2222 transistors hloov IRL540, tsuas yog ua kom tua. Nrog cov transistors, qhov teeb meem tau daws thiab txij li thaum kuv tau ua yeeb yaj kiab hauv PWM tus nqi qis, 2N2222s tuaj yeem tuav lub zog. Yog tias ib tus neeg muaj teeb meem tib yam, xav hloov kho Totem - Ncej Circuit, nws yuav tsum pab daws qhov teeb meem no.

Tam sim no cia siab tias txhua yam nyob hauv nws qhov chaw thiab ua haujlwm, peb tuaj yeem kho lub hnub qub ci ntsa iab, rov ua suab paj nruag, ua rau lub hnub qub poob qis dua lwm yam.

Kauj Ruam 10: Cov Ntaub Ntawv Tseem Ceeb thiab Cov Txuas

Txhawm rau sau cov cai thiab tsim cov Circuit Court Kuv siv ntau cov peev txheej, feem ntau ntawm lawv tau teev tseg ntawm no, tab sis txij li thaum kuv ua tiav txoj haujlwm no qee lub sijhawm dhau los, los ntawm lub sijhawm kuv txiav txim siab faib nws, Kuv tsis tuaj yeem pom tag nrho cov peev txheej thiab qee qhov txuas kuv tau khaws tseg, tu siab tsis ua haujlwm ntxiv lawm. Yog li yog tias leej twg xav tau kev pab nrog tus lej lossis phiaj xwm nws tus kheej feem ntau, qhia rau kuv paub hauv cov lus, kuv yuav ua qhov zoo tshaj plaws.

MSGEQ7

www.sparkfun.com/datasheets/Components/Gen…

www.baldengineer.com/msgeq7-simple-spectru…

rheingoldheavy.com/msgeq7-arduino-tutorial…

www.instructables.com/id/How-to-build-your…

Nr 24 L01

arduinoinfo.mywikis.net/wiki/Nrf24L01-2.4GH…

TIAB SA 9685

learn.adafruit.com/16-channel-pwm-servo-dr…

github.com/adafruit/Adafruit-PWM-Servo-Dri…

IR chaw taws teeb

github.com/z3t0/Arduino-IRremote

Kauj ruam 11: Hloov kho dua tshiab

Nws yuav txias los tsim ib qho app los tswj lub qab nthab, tej zaum siv OpenHAB ntawm Raspberry PI, txij li PCA9685 tuaj yeem tswj tau yooj yim los ntawm RPi.

Yog tias OpenHab lossis lwm txoj hauv kev tau siv nws tuaj yeem txuas lub qab nthab mus rau lub tsev ntse.

Arduino Contest 2020
Arduino Contest 2020
Arduino Contest 2020
Arduino Contest 2020

Thawj qhov khoom plig hauv Arduino Contest 2020

Pom zoo: