Cov txheej txheem:
- Kauj ruam 1: Saib Video
- Kauj ruam 2: Tau Koj Qhov
- Kauj ruam 3: Prototyping
- Kauj ruam 4: Soldering
- Kauj Ruam 5: Ua LED Board
- Kauj Ruam 6: Ua daim ntawv kaw
- Kauj Ruam 7: Ua kom tiav LED Board
- Kauj Ruam 8: Tiav Sab saum toj
- Kauj Ruam 9: Kov Kawg
- Kauj ruam 10: Ua tiav
Video: RGB Matrix + Spectrum Analyzer: 10 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Hlub LEDs? Kuv ib yam!
Tias yog vim li cas, hauv Phau Ntawv Qhia no, Kuv yuav qhia koj yuav ua li cas thiaj ua tau zoo RGB LED Matrix, uas tuaj yeem hloov pauv mus rau Spectrum Analyzer nrog nyem ntawm lub pob.
Tom qab nyeem ntawv, yog tias koj xav tias Cov Lus Qhia no tau txais nws, thov pov npav rau nws hauv kev sib tw LED.
Thiab tsis muaj ado ntxiv, cia peb pib.
Kauj ruam 1: Saib Video
Cov vis dis aus qhia txhua tus thiab txhua kauj ruam hauv kev nthuav dav thiab yuav pab koj kom nkag siab zoo ntawm txoj haujlwm. Yog li, saib nws ua ntej txav mus rau kauj ruam tom ntej.
Kauj ruam 2: Tau Koj Qhov
Arduino: INDIA - https://amzn.to/2iCal5uUS - https://amzn.to/2zZC1IUUK -
WS2812B Strips (30 LEDs/meter): Asmeskas - https://amzn.to/2zUvOjwUK -
MSGEQ7 IC: Asmeskas - https://amzn.to/2zSV4qKUK -
Acrylic Sheet: INDIA - https://amzn.to/2zZJSWLUS - https://amzn.to/2zZJSWLUK -
Lub Hwj Huam: INDIA - https://amzn.to/2hQWuuTUS - https://amzn.to/2hQWuuTUK -
1x 200K Resistor1x 33 pF Cap1x 100 nF Cap1x 10 nF Cap
Kauj ruam 3: Prototyping
Rub tawm thiab ntxiv cov Tsev Qiv Arduino: FastLED - https://github.com/FastLED/FastLEDAadafruit NeoPixel Library -
Ntsuas WS2812B LED Sawb siv Thawj Lub Teeb duab los ntawm cov piv txwv ntawm FastLED lub tsev qiv ntawv. Kho cov ntaub ntawv tus lej thiab tus lej ntawm LEDs thiab tom qab xa cov LEDs yuav tsum ua kom pom ib qho dawb tom qab lwm qhov qhia tias LEDs ua haujlwm tau zoo.
Tam sim no tsim qhov kev sim Circuit Court siv daim duab kab hluav taws xob txuas hauv cov kauj ruam no yam tsis muaj IR Receiver. Rub tawm daim duab, tseem txuas nrog hauv cov kauj ruam no. Koj yuav xav tau 21 LEDs. MSGEQ7 tau faib cov suab ua suab rau 7 zaus. Yog li, ua raws li qhov xav tau, daim duab kos faib 21 LEDs rau hauv 7 teeb, txhua txheej muaj 3 LEDs, thawj LED yuav ib txwm tawm thiab qhov seem ob LEDs yuav ci raws li qhov siv ntawm lub suab tshwj xeeb ntawd. Saib xyuas qhov sib piv qhov tseem ceeb ntawm txhua xya pawg hauv Serial Monitor rau kev debug thiab ua kom ntseeg tau tias txhua yam zoo. Thaum qhov no ua haujlwm tau zoo, ua kom tiav qhov kev tsim qauv los ntawm kev ntxiv IR Tus Txais.
Tam sim no ntxiv Infrared txais thiab xa qhov txuas thib ob Kuv tau txuas uas yuav ua kom pom 2 teeb muaj 7 LEDs txhua qhov raws li kev siv lub teeb liab los ntawm ob pab pawg uas koj tuaj yeem hloov kho hauv daim duab. Kuv yuav qhia koj kom xaiv cov pab pawg 3 thiab 4. Tam sim no txiav txim siab hex code ntawm ib qho ntawm lub pob hauv IR chaw taws teeb uas koj siv. Yog xav paub yuav ua li cas, nyem qhov no: https://www.instructables.com/id/ Control-AC-Applia.. Edit that hex code in the sketch and upload it. Tam sim no thaum koj nias lub pob, LEDs yuav qhia cov duab pom thiab thaum koj nias lub pob tib zaug ntxiv, nws yuav hloov rov qab mus rau lub tshuab tsom xam spectrum.
Thiab cov qauv ua tiav.
Kauj ruam 4: Soldering
Tau txais txhua yam khoom siv hluav taws xob xav tau rau txoj haujlwm.
Tsis tas li tau txais cov kab ntawv nqaim uas peb yuav muab cov khoom siv tshuaj ntsuam lub ntsej muag kom peb tuaj yeem ua qee yam zoo li Arduino daim ntaub thaiv, uas yuav cawm peb ntawm kev thaiv kab. Xa cov vis dis aus thiab duab rau kev nkag siab meej.
Kuv tab tom siv Arduino Uno yog li kuv tuaj yeem yooj yim upload cov haujlwm tshiab yav tom ntej yog tias xav tau, tab sis koj tseem tuaj yeem siv Arduino Nano.
Tom qab ntawd, siv lub 3.5 hli ntsaws thiab txuas ob lub xov hlau, ib qho rau hauv av thiab ib qho mus rau ib qho ntawm cov channel thiab lwm qhov kawg ntawm ob lub xov hlau mus rau MSGEQ7 daim ntaub thaiv. Tom qab qhov no ua tiav, txuas IC rau nws lub hauv paus, txuas cov xov hluav taws xob thiab ntsuas daim thaiv siv Arduino Uno cov ntawv xov xwm zoo li kuv tau ua dhau los.
Kauj Ruam 5: Ua LED Board
Tam sim no, siv 3 mm tuab MDF thiab ua rau ib lub xwmfab ntawm qhov loj 25.2x25.2 cm thiab txiav nws siv lub hack pom. Tom qab ntawd kos 49 squares ntawm qhov loj 3.6x3.6 cm rau nws. Txiav 7 daim LED strips, txhua tus muaj 7 leds raws li peb yuav ua tus lej ntawm 7x7 piv txwv li 49 leds. Tom qab txiav, tev daim kab xev hauv nws nraub qaum thiab lo rau daim MDF. Kuv yuav tsum ua qhov ntawm ob qhov chaw ntawm MDF siv lub laum kom cov xov hlau tuaj yeem hla dhau, txwv tsis pub kuv yuav tsum tshem tawm cov cua sov ntsws thiab desolder cov xov hlau, uas kuv tsis xav tau.
Nco ntsoov tias txhua cov ntaub ntawv ntws cov xub xub ntawm kab ntawv yuav tsum ua raws tib txoj kev, piv txwv li sab laug mus rau sab xis
Tom qab ntawd siv lub laum me me, zoo li 2 hli, Kuv ua peb lub qhov nyob ib sab ntawm Vcc, GND thiab cov ntaub ntawv pins ntawm ib qho kawg ntawm txhua ntawm 7 coj kab. Kuv tinned cov ntaub qhwv ntawm daim kab xev ntawm ob qho kawg. Tom qab ntawd siv 0.75 sq. Mm xaim, luv Vcc thiab GND ntawm cov kab txaij hauv txhua xya kab. Tsis tas li, luv Vcc thiab GND los ntawm kab kawg rau thawj kab (pub mis ob zaug).
Txuas cov ntaub ntawv tawm los ntawm thawj kab mus rau cov ntaub ntawv hauv kab thib ob, cov ntaub ntawv tawm ntawm cov ntaub ntawv thib ob hauv thib peb thiab ntxiv mus kom txog rau kab kawg. Kuv siv cov khoom 0.5 sq mm xaim rau lub hom phiaj no. Nco ntsoov tsis txhob luv cov xov hlau no mus rau Vcc lossis GND.
Thaum qhov no ua tiav, kos rau txuas ntxiv thiab siv FirstLight kos duab kos qhov txuas.
Kauj Ruam 6: Ua daim ntawv kaw
Txhawm rau ua qhov thaiv kuv tau siv 12 hli MDF.
Kuv tau ua qhov ntev txuas hauv cov kauj ruam no. Siv bevel txiav qhov tshwj xeeb ntawm kuv daim duab, kuv xub ua ob qho kev txiav beveled ntawm ob qho kawg ntawm cov cim. Ob qho kev txiav yuav tsum yog sab hauv txhawm rau ua qhov thaiv. Tom qab qhov no, kuv tau txiav qhov ncaj ncaj ntxiv.
Kuv siv cov kua nplaum ntoo los koom nrog txhua daim ua ke thiab tuav lawv rau hauv qhov chaw, Kuv siv tus ntsia hlau ntoo me me. Koj tuaj yeem siv lwm yam txheej txheem uas koj nyiam, Kuv muaj kev paub me me txog kev ua haujlwm ntoo, yog li cov lus pom zoo txais tos.
Tso cov kua nplaum kom qhuav ib hmo.
Kauj Ruam 7: Ua kom tiav LED Board
Txheeb xyuas yog tias pawg thawj coj saib LED peb tau ua yav dhau los, haum rau hauv lub thawv lossis tsis yog. Yog tias tsis yog, nqa nws mus rau qhov zoo siv cov ntawv lossis cov ntawv emery lossis ob qho tib si.
Los ntawm daim ntawv 10 hli dawb daim ntawv hla txheej txheem, txiav 6 daim ntawm qhov ntev sib npaug ntawm cov laug cam LED thiab dav 2.4 cm. Muab lawv tso rau ntawm kab kab rov tav peb tau ua ntawm MDF.
Tom qab nws qhuav, muab tso rau sab hauv lub thawv ntawv, cim cov cim rau DC chim txuas thiab USB cable rau Arduino thiab tom qab ntawd laum nws. Nqa lawv kom zoo siv cov ntawv.
Ua tiav qee qhov txuas txuas ntxiv xws li ntxiv xaim rau cov ntaub ntawv hauv, ntxiv cov xov hluav taws xob rau lub txuas txuas txuas uas ua rau peb lub voj voog tag nrho, ntxiv IR tus txais thiab thaum kawg kub gluing txhua ntawm lawv. Txuas cov xov hlau mus rau kab plaub Vcc thiab cov xov hlau hauv av uas mus rau Vin thiab tus pin hauv av ntawm Arduino thiab txhawb nws.
Siv cov kua nplaum kub los ua kom txhua qhov kev sib txuas muaj kev nyab xeeb thiab tseem txhawm rau txhim kho qhov txuas txuas ntawm nws qhov chaw.
Kauj Ruam 8: Tiav Sab saum toj
Siv daim ntawv thermocol dua thiab pib txiav nws hauv qhov ntau thiab tsawg sib npaug ntawm qhov sib txawv ntawm cov thermocols tsau yav tas los. Ntsuas tsuas yog ib qho rau txhua kab thiab tom qab ntawd txiav qhov seem uas yuav tsum tau siv cov khoom ntawd. Nws tsis tas yuav siv cov kua nplaum vim nws yuav nyob hauv qhov chaw ntawm lawv tus kheej, tab sis yog tias xav tau koj tuaj yeem siv cov kua nplaum me me.
Tom qab ua tiav qhov no, ntsuas lub npov, nqa daim ntawv acrylic, kos qhov ntsuas qhov ntsuas siv tus cim thiab txiav nws siv lub hack pom. Txhawm rau txiav nws, txiav ntau qhov kev txiav siv lub thawv txiav, thiab tom qab ntawd tom qab khaws nws ntawm kaum ntawm lub rooj, siv lub zog qis thiab nws yuav raug txiav hauv kab ncaj nraim.
Txhawm rau muab daim ntawv acrylic tso rau saum, kuv tau siv 2 hli ntsia liaj qhov rooj vim kuv tsis muaj lub hau ntswj haum, tab sis koj yuav tsum siv lub hau ntswj.
Ua cov cim rau ntawm daim ntawv acrylic thiab tho lawv siv qhov 2.5 mm laum ntsis. Siv daim ntawv ntawd, ua cov cim rau ntawm lub thawv ntawv thiab laum lawv siv 2 hli laum ntsis. Tom qab ntawv kawg, muab daim ntawv tso rau saum toj siv cov ntsia hlau.
Kauj Ruam 9: Kov Kawg
Cov duab kos kuv tau txuas hauv kauj ruam 2 yuav poob me ntsis thaum ua haujlwm raws li qhov pom tseeb analzyer. Yog vim li cas yog lub algorithm. Muaj ntau txoj hauv kev suav ua tiav rau kev suav tus lej ntawm LEDs, xim ntawm LEDs, qhia qhov tseeb uas ua rau nws qeeb me ntsis.
Tias yog vim li cas kuv tsim tag nrho cov txheej txheem tshiab rau Spectrum Analyzer thiab nws tau ua haujlwm zoo tam sim no, kos duab tau txuas nrog hauv cov kauj ruam no.
Rau cov neeg uas xav paub seb hom kev ua haujlwm zoo li cas, nrhiav lub voj "thaum" hauv daim duab.
Kauj ruam 10: Ua tiav
Yog tag nrho. Txaus siab rau koj qhov kev tsim, thiab yog tias muaj lus nug, poob dawb los nug hauv kab lus.
Yog tias koj xav tias, kuv tau txais nws, thov pov npav rau qhov kev qhia hauv LED Contest, thiab tseem sau npe rau peb YouTube channel. Nws yuav pab tau tiag tiag.
Ua tsaug rau kev nyeem:).
Pom zoo:
Yuav Ua Li Cas Ua Lub Suab Suab Spectrum Analyzer: 7 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Siv Lub Suab Suab Spectrum Analyzer: LED Audio Spectrum Analyzer tsim cov qauv teeb pom kev zoo nkauj raws li kev siv suab paj nruag.There muaj ntau ntau DIY LED Music Spectrum cov khoom siv muaj nyob hauv khw, tab sis ntawm no peb tab tom yuav ua LED Audio Spectrum Tus kws tshuaj ntsuam siv NeoPixe
Super Sized Acryllic Spectrum Analyzer: 7 Kauj Ruam (nrog Duab)
Super Sized Acryllic Spectrum Analyzer: Vim li cas koj thiaj xav saib cov duab me me lossis cov LCD me yog tias koj tuaj yeem ua nws loj? coj ib daim kab xev los tsim chav sau lub teeb
Dancing Dej: Arduino Nrog MSGEQ7 Spectrum Analyzer: 8 Kauj Ruam
Dancing Fountain: Arduino Nrog MSGEQ7 Spectrum Analyzer: Txais tos ntawm lub teeb liab thiab hloov nws mus rau hauv kev pom lossis cov tshuaj tiv thaiv kab mob yog qhov nthuav heev. Hauv qhov haujlwm no peb yuav siv Arduino Mega los txuas nrog lub tshuab ntsuas hluav taws xob MSGEQ7 uas siv lub suab tso tawm suab thiab ua suab paj nruag
RGB 10 Band Coj Spectrum Analyzer: 16 Cov Kauj Ruam
RGB 10 Band Led Spectrum Analyzer: Nyob zoo tav su, cov saib thiab nyeem. Hnub no kuv yuav qhia koj qhov kev hloov pauv ntawm kaum-qhab spectrum analyzer nrog RGB LEDs
CRAZY L.O.L SPECTRUM ANALYZER: 6 Kauj Ruam (nrog Duab)
CRAZY L.O.L SPECTRUM ANALYZER: Hnub no kuv xav qhia yuav ua li cas thiaj ua lub tshuab ntsuas lub suab - 36 pawg los ntawm kev sib txuas 4 LoL Shields ua ke. Txoj haujlwm vwm no siv FFT lub tsev qiv ntawv los tshuaj xyuas lub suab tso suab tso tawm, hloov nws mus rau qhov zaus, thiab tso tawm qhov dav ntawm cov freq