Cov txheej txheem:

Bluetooth Speaker W/ Music-Reactive LED Matrix: 12 Cov Kauj Ruam (nrog Duab)
Bluetooth Speaker W/ Music-Reactive LED Matrix: 12 Cov Kauj Ruam (nrog Duab)

Video: Bluetooth Speaker W/ Music-Reactive LED Matrix: 12 Cov Kauj Ruam (nrog Duab)

Video: Bluetooth Speaker W/ Music-Reactive LED Matrix: 12 Cov Kauj Ruam (nrog Duab)
Video: How To Make DIY Music Reactive RGB LED Strip (WS2812B) 2024, Kaum ib hlis
Anonim
Image
Image
Bluetooth Hais Lus W/ Music-Reactive LED Matrix
Bluetooth Hais Lus W/ Music-Reactive LED Matrix
Bluetooth Hais Lus W/ Music-Reactive LED Matrix
Bluetooth Hais Lus W/ Music-Reactive LED Matrix
Bluetooth Hais Lus W/ Music-Reactive LED Matrix
Bluetooth Hais Lus W/ Music-Reactive LED Matrix

Txoj haujlwm no tau nkag mus rau hauv Wireless Contest thiab LED Contest - yog tias koj nyiam nws, Kuv yuav zoo siab rau koj qhov kev pov npav. Ua tsaug!

Kuv tsim thiab tsim lub DIY Bluetooth Speaker nrog kev sib xyaw ua ke ntawm LED. LED matrix suav nrog ntau hom kev pom kev sib txawv, suav nrog lub qhov cub hom, paub daws teeb "txav duab" hom, thiab ntau qhov cuam tshuam rau lub suab paj nruag ntawm lub microphone sab hauv ntawm lub thawv hais lus. Kuv tsis tau pom dua lwm yam khoom tsim los rau hauv tsev, uas sib yuav pom thiab suab zoo li no.

Lub tswv yim rau txoj haujlwm no tau los txog hauv txoj kev tsis txawv txav me ntsis. Kuv xav tsim ib yam dab tsi rau ntau tus phooj ywg xav tias yuav yug menyuam tshiab. Kuv xav tau khoom plig uas yuav pab lawv cov menyuam txhim kho kev mob hlwb, thiab khoom plig uas lawv tsis tuaj yeem nthuav tawm. Tau ua tus lej ntawm cov phiaj xwm LED, thiab muaj qee qhov kev paub txog kev ua ntoo, Kuv tau los nrog lub tswv yim los sib sau ua suab-reactive LED matrix hauv Bluetooth hais lus.

Lub thawv hais lus koom nrog tus nqi ncaj ncees ntawm ntoo. Sab nraum lub thawv yog tsim los ntawm cov ntoo ntoo ntoo ntoo uas tawv, uas kuv tau hlais rau 3/4 . Pem hauv ntej thiab nraub qaum yog tsim los ntawm MDF. Qhov ua tiav ntawm cov paj ntoo uas tau ntxig tau tshwm sim los ntawm hluav taws xob guitar ua tiav, zoo li cov uas pom ntawm qee qhov ntawm kuv nyiam Paul Reed Smith guitars.

Sab hauv, Kuv siv 2x15w Dayton Audio bluetooth amplifier board rau lub suab, thiab Arduino Mega los tswj 16x16 LED matrix (WS2812 LEDs). Lub me me electret microphone sab hauv ntawm lub thawv hais lus pom lub suab paj nruag uas ua si, thiab muab lub teeb liab Arduino tuaj yeem siv los tsim cov lus pom ntawm LEDs.

Tus qauv tsim kuj tseem tso cai rau kev kho lub tshuab kom hloov pauv qhov zoo ntawm LED matrix; los ntawm pixelated mus rau paub daws teeb. Kuv tshwj xeeb txaus siab rau qhov tshwj xeeb no, vim tias kuv tsis tau pom nws nyob qhov twg lwm qhov ua ntej, thiab cov txiaj ntsig tau txias heev (nws tau qhia txog qhov kawg ntawm daim vis dis aus). LED matrix tau teeb tsa rau ntawm lub ntsej muag tom qab lub ntsej muag dawb ib nrab pob tshab acrylic diffuser, thiab los ntawm kev ntswj tus ntiv tes xoo rau sab nraum qab ntawm tus hais lus, koj tuaj yeem txav lub LED teeb rau ntawm lossis deb ntawm lub diffuser. Tus ntiv tes xoo ntiv tes xoo li no tso cai rau koj mus los ntawm cov duab pixelated (qhov twg ib tus neeg LEDs pom tau), mus rau qhov tsis paub daws teeb pom kev, qhov twg LEDs plooj ua ke los tsim kev txav mus los, nrog yuav luag zoo li 3D.

Kauj Ruam 1: Sau cov khoom siv

Sau Cov Khoom Siv
Sau Cov Khoom Siv
Sau Cov Khoom Siv
Sau Cov Khoom Siv

Ntoo:

Koj tuaj yeem ua lub thawv hais lus tawm ntawm txhua hom ntoo uas koj nyiam. Kuv siv 3/4 "maple tawv rau ib puag ncig ntawm lub thawv hais lus, ½" MDF rau lub vaj huam sib luag pem hauv ntej, ¼ "MDF rau lub vaj huam sib luag tom qab (tab sis xav kom ½" hloov), thiab seem ½ "plywood rau sab hauv cov lus hais.

Diffuser:

Ib nrab pob tshab dawb acrylic ntawv:

Electronics:

Arduino Mega (lossis clone):

16x16 LED Matrix:

19.7V lossis 24V fais fab tuag (tsawg kawg 60w):

3 Hais Lus Ntau Yam:

Dayton Audio 2x15w Bluetooth Amp board:

Dayton Audio accessories pob nrog suab kab-hauv nkaus:

Bracket rau Dayton Audio board:

1000 mF capacitor:

330 ohm tiv thaiv

Pib-tau Electret Microphone:

24V 16mm Latching on/off LED laub khawm:

5V 16mm Latching on/off LED laub khawm:

5V 16mm Momentary LED laub khawm:

Poj Niam Hluav Taws Xob Jack:

Spade txuas:

Qib-txiv ntseej Hlau Txuas:

Kauj ruam-down converter:

Lwm Txoj Kev Xaiv Fais Fab:

5V fais fab mov (tsawg kawg 70w):

Kauj ruam-hloov pauv (nce mus rau 19.7V rau cov lus hais hauv Circuit Court):

LED Baffle & Kho vajtse

5 1/4-20 ntsia liaj qhov rooj

T-txiv ntseej (1/4-20 threaded)

Knurl Txiv Ntseej Ntsia Hlau Ntsia Hlau (1/4-20 threaded):

Cov ntsia hlau tooj dag:

Tooj/Lwm yam khoom

Forstner Cov Khoom:

Kauj Ruam 2: Txiav Ntoo

Nov yog daim ntawv txiav rau tus hais lus uas yog 22 "W x 9" H x 6 "D. Koj tuaj yeem txiav los ntawm ntoo uas koj xaiv, tawv ntoo, MDF, lossis plywood. (MDF zoo dua plywood los tswj kev co ntawm cov neeg hais lus, raws li kuv nkag siab nws.)

Sab saum toj/Hauv Qab Panels Hais Lus Box: (2) ¾ "x22" x6 "(mitered xaus)

Sab Panels Hais Lus Lub Thawv: (2) ¾ "x9" x6 "(mitered kawg, rho tawm 1.5" yog tias ua pob qij txha)

Phaj Pem Hauv Ntej: ½ "x20.5" x7.5"

Rov qab phaj: ½ "x20.5" x7.5"

LED teeb: ½ "x7.5" Hx 8.5W"

Cov lus hais: (2) ½ "x7.5" x4.25 ", (2) ½" x7.5 "x5.5"

Siv lub voj voos pom, lub rooj pom, thiab/lossis lub miter pom los txiav cov npe saum toj no.

Kauj Ruam 3: Txiav Tawm hauv Cov Vaj Huam Sib Luag Sab saum toj rau Kev Tswj Lub Laub

Ua Cutouts hauv Cov Vaj Huam Sib Luag Sab saum toj rau Kev Tswj Lub Nkoj
Ua Cutouts hauv Cov Vaj Huam Sib Luag Sab saum toj rau Kev Tswj Lub Nkoj
Ua Cutouts hauv Cov Vaj Huam Sib Luag Sab saum toj rau Cov Khawm Khawm Tswj
Ua Cutouts hauv Cov Vaj Huam Sib Luag Sab saum toj rau Cov Khawm Khawm Tswj

Ua ntej peb lo rau hauv lub thawv, peb yuav tsum txiav tawm hauv peb lub vaj huam sib luag sab saum toj rau peb 16mm (~ 5/8 ) cov nyees khawm. 24V latching on/off khawm yuav tig txhua yam rau thiab tawm, 5V latching on/off khawm yuav tig 5V Circuit (nrog LED matrix thiab Arduino) qhib thiab tawm cais los ntawm Bluetooth hais lus, thiab 5V lub sijhawm luv yuav hloov pauv ntawm LED matrix.

Cov xov ntawm 16mm cov nyees khawm no tsis ntev txaus los txuas rau hauv ntoo, yog li peb yuav tsum tau siv qhov nqaum kom loj dua rau sab hauv ntawm lub vaj huam sib luag sab saum toj, txhawm rau txhawm rau ntswj cov txiv ntoo rau cov xov ntawm txhua lub khawm thiab txuas rau lawv. Kos cim cov ntsiab lus nruab nrab rau tus hais lus nyob rau sab hauv qab ntawm lub vaj huam sib luag sab saum toj, nrog ib lub hauv paus ncaj nraim, thiab lwm qhov ob qho kev txiav tawm ntawm qhov nruab nrab los ntawm 1.75 "ntawm ob sab. Tom qab ntawd siv 1-3/8 "Forstner me ntsis ntawm sab hauv ntawm lub vaj huam sib luag sab saum toj txhawm rau txhawm rau lub qhov rau hauv 1/4" los ntawm sab saum toj (piv txwv li, teeb tsa nres rau 1/2 "sib sib zog nqus ntawm koj cov xovxwm laum). Siv qhov chaw nruab nrab sab laug los ntawm Forstner ntsis raws li phau ntawv qhia txhawm rau hla qhov chaw nruab nrab nrog qhov me me (piv txwv li, 1/8 ") laum me ntsis, uas yuav tso cai rau koj ua kom haum cov khoom thaum koj laum los ntawm sab nraud. Tam sim no ntxeev nws, thiab siv 5/8 "Forstner ntsis los txhawm rau hla txhua lub qhov los ntawm sab saud, yog li koj muaj lub qhov uas haum haum rau 16mm khawm. Cov txheej txheem no tau qhia ntawm no:

Kauj Ruam 4: Txiav & Pleev Xim Cov Pem Hauv Ntej Hais Lus

Txiav & Pleev Xim Tus Thawj Hais Lus Vaj Huam Sib Luag
Txiav & Pleev Xim Tus Thawj Hais Lus Vaj Huam Sib Luag
Txiav & Pleev Xim Tus Thawj Hais Lus Vaj Huam Sib Luag
Txiav & Pleev Xim Tus Thawj Hais Lus Vaj Huam Sib Luag
Txiav & Pleev Xim Tus Thawj Hais Lus Vaj Huam Sib Luag
Txiav & Pleev Xim Tus Thawj Hais Lus Vaj Huam Sib Luag

Ua ntej koj yuav xav siv tus xaum xaum los cim qhov chaw nruab nrab rau txhua tus neeg hais lus. Kuv cim kuv lub ntsiab lus nruab nrab ntawm 3.5 "los ntawm ntug ze ze, thiab nruab nrab ntsug (3.75" los ntawm sab saum toj/hauv qab ntug), yog li cov neeg hais lus yuav nkag los ntawm 2 "los ntawm ntug ntawm lub vaj huam sib luag hais lus. Tom qab ntawd siv koj tus cwj mem los kos duab 6.75 "x 6.75" square uas yog nyob rau hauv kab rov tav thiab kab rov tav ntawm lub vaj huam sib luag. Cov xwm txheej no yog qhov txiav tawm rau LED matrix.

Tom ntej no, siv 3 qhov pom kom txiav tawm lub qhov rau cov neeg hais lus, nyob rau ntawm cov ntsiab lus koj cim. Kev pom zoo rau laum pom zoo, tab sis tej zaum koj yuav tuaj yeem khiav tawm ntawm tes yog tias koj ceev faj.

Tom qab ntawd siv lub kaum ntse ntse router me ntsis los muab sab hauv ntawm txhua tus neeg hais lus txiav tawm thiab LED matrix txiav tawm ib sab ntug.

Thaum kawg, koj yuav xav pleev xim rau MDC pem hauv ntej vaj huam sib luag. Rau MDF pem hauv ntej thiab nraub qaum, Kuv tau siv cov tshuaj tsuag xim dawb, thiab topped nws nrog ob peb lub tsho tiv no ntawm cov kua nplaum ntshiab. Kuv kuj tau tsim ib qho nrog lub vaj huam sib luag dub pem hauv ntej, qhov uas kuv siv cov tshuaj tsuag xim dub.

Kauj Ruam 5: Txiav thiab Txuas Tus Diffuser

Txiav thiab Txuas Tus Diffuser
Txiav thiab Txuas Tus Diffuser
Txiav thiab Txuas Tus Diffuser
Txiav thiab Txuas Tus Diffuser

Txiav ib qho ntawm koj cov acrylic rau 7 "x 7" nrog lub rooj pom, pom ncig, lossis jigsaw. Tev rov qab tsuas yog cov npoo ntawm cov yas tiv thaiv ntawm ob sab ntawm acrylic, thiab tso nws rau sab hauv ntawm koj qhov kev txiav tawm ntawm lub vaj huam sib luag pem hauv ntej. Siv qee cov kua nplaum super los lo nws rau ntawm lub vaj huam sib luag pem hauv ntej.

Kauj Ruam 6: Ua Tus Txiav Tawm Hauv Lub Vaj Huam Sib Luag Rov Qab

Ua qhov Cutouts hauv Lub Vaj Huam Sib Luag Hais Lus Rov Qab
Ua qhov Cutouts hauv Lub Vaj Huam Sib Luag Hais Lus Rov Qab

Ua ntej, txiav ¼ "txiav rau txoj kab xov-hauv nkaus thiab xov poj niam DC lub zog txuas. Zoo li cov laub khawm, cov xov tsis txuas mus ntxiv. Siv tib cov txheej txheem piav qhia saum toj no rau cov nyees khawm, txhawm rau ua kom muaj qhov nqes loj nyob sab hauv ntawm lub vaj huam sib luag tom qab rau ob txoj hlua txuas. Tsuas yog lub sijhawm no, siv ¾ "Forstner ntsis rau qhov chaw so thiab siv nws mus rau hauv 1/8" ntawm sab nrauv ntawm lub vaj huam sib luag tom qab, thiab siv ¼ "Forstner ntsis txhawm rau txhawm rau sab nrauv uas yuav ua kom haum ob qho no. "Cov jacks.

Koj tseem yuav txiav cov hauv qab no hauv pob vaj huam sib luag:

- Mating ¼”qhov rau threaded ntsia liaj qhov rooj los ntawm LED baffle. Qhov "¼" qhov no yuav tsum tau muab qhov chaw tuag nyob hauv qab vaj huam sib luag.

- (xaiv tau) ¾”qhov rau kiv cua nkag. Laum qhov yooj yim. Kuv nruab nrab lub qhov no txog 2 los ntawm ntug saum toj.

- Vent qhov raws li qhov xav tau. Kuv tau hlais ob ¾ qhov ntawm sab ntug ntawm lub vaj huam sib luag tom qab, kom tso cua tawm (cov LEDs thiab cov hloov pauv qis tuaj yeem kub tau zoo nkauj).

Kauj Ruam 7: Tiav Tus Hais Lus Lub Plhaub

Ua kom tiav Tus Hais Lus Box Plhaub
Ua kom tiav Tus Hais Lus Box Plhaub
Ua kom tiav Tus Hais Lus Box Plhaub
Ua kom tiav Tus Hais Lus Box Plhaub
Ua kom tiav Tus Hais Lus Box Plhaub
Ua kom tiav Tus Hais Lus Box Plhaub
Ua kom tiav Tus Hais Lus Box Plhaub
Ua kom tiav Tus Hais Lus Box Plhaub

Ua ntej tso lub vaj huam sib luag pem hauv ntej rau hauv lub thawv miter, koj yuav xav tau xuab zeb thiab ua kom tiav lub plhaub thiab pem hauv ntej vaj huam sib luag. Qhov kev xaiv ua tiav yog nyob ntawm koj. Txij li thaum kuv sab saum toj, hauv qab, thiab cov vaj huam sib luag sab tau khov khov, Kuv tsuas yog siv Waterlox ua tiav.

Kuv kuj tau ua ob peb daim qauv ntawm tus neeg hais lus qhov twg kuv siv grey aniline zas xim thiab Tru-roj, rau hluav taws xob guitar-kev tshoov siab kom tiav. Ntawm ib qho ntawm cov no kuv tau siv cov tshuaj tsuag xim dub rau sab pem hauv ntej thiab sab nraub qaum, thiab ntawm lwm qhov grey kuv tau siv tshuaj tsuag xim dawb.

Kauj Ruam 8: Sib Sau Tus Hais Lus Lub Plhaub

Sib dhos Tus Hais Lus Box Plhaub
Sib dhos Tus Hais Lus Box Plhaub
Sib dhos Tus Hais Lus Box Plhaub
Sib dhos Tus Hais Lus Box Plhaub
Sib dhos Tus Hais Lus Box Plhaub
Sib dhos Tus Hais Lus Box Plhaub

Ua ntej gluing lub thawv, xyuas kom tseeb tias koj tau ua cov kauj ruam saum toj no rau lub pob txiav tawm. Tsis tas li, ua ntej gluing, txuas cov kev txhawb nqa ib puag ncig thiab offset los ntawm cov npoo ntawm sab saum toj, hauv qab, thiab cov vaj huam sib luag sab, uas lub vaj huam sib luag pem hauv ntej yuav so tawm tsam. Txiav qee cov ntoo ntoo (MDF lossis plywood) txog ½ "siab, thiab kua nplaum thiab ntsia hlau ob ntawm lawv mus rau txhua sab saum toj, hauv qab, thiab sab vaj huam sib luag. Cov kab ntawv yuav tsum yog ½ "lossis ¾" siab. Kuv teeb cov kab ntawv txhawb nqa pem hauv ntej ntawm txhua lub vaj huam sib luag rov qab los ntawm ¾ "los ntawm ntug ntawm lub hauv ntej, yog li ½" pem hauv ntej hais lus vaj huam sib luag yuav ntxig los ntawm ¼ "thaum so tiv thaiv kev txhawb nqa. Saib cov vis dis aus ntawm no: https://www.youtube.com/embed/X1bEgGLwVLY?t=112 Nco ntsoov tsis txhob tso cov kev txhawb nqa hauv nruab nrab 7 "ncua ntawm koj lub vaj huam sib luag sab saum toj thiab hauv qab, vim qhov no yuav cuam tshuam nrog koj lub teeb ci LED txav mus ze rau lub diffuser.

Nco tseg, hauv cov vis dis aus thiab duab, Kuv kuj tau txhawb nqa rau sab nraub qaum. Txog qhov kev qhia no, Kuv txhim kho cov qauv tsim los ntawm kev ntsuas sab hauv cov lus hais kom lawv tseem ua haujlwm txhawb nqa rau sab nraub qaum, xws li cov khoom txhawb nqa tsis xav tau nyob tom qab.

Tom qab txuas cov kev txhawb nqa, peb yuav ua lub plhaub sab nrauv ntawm lub thawv hais lus nrog rau sab saum toj, hauv qab, thiab sab vaj huam sib luag. Qhov no tsuas yog lub hauv paus miter sib koom ua ke lub thawv, nrog plaub sab. Siv ntoo nplaum thiab clamps los sib sau ua ke. Kuv kuj pom zoo muab qee cov pleev xim rau ntawm koj sab xub ntiag thiab sab sab (yog li lawv tsis lo nrog cov ntoo nplaum), thiab muab lawv tso rau hauv lub thawv thaum kaw thiab thaum cov kua nplaum qhuav, kom ntseeg tau tias koj tau txais nws zoo kawg nkaus thiab yooj yim.

Kauj Ruam 9: Txuas Tus Neeg Hais Lus Sab Hauv thiab Cov Vaj Huam Sib Luag Pem Hauv Ntej mus rau Plhaub

Txuas nrog Cov Lus Hais Sab Hauv thiab Cov Vaj Huam Sib Luag Pem Hauv Ntej rau Lub Plhaub
Txuas nrog Cov Lus Hais Sab Hauv thiab Cov Vaj Huam Sib Luag Pem Hauv Ntej rau Lub Plhaub
Txuas nrog Cov Lus Hais Sab Hauv thiab Cov Vaj Huam Sib Luag Pem Hauv Ntej rau Lub Plhaub
Txuas nrog Cov Lus Hais Sab Hauv thiab Cov Vaj Huam Sib Luag Pem Hauv Ntej rau Lub Plhaub
Txuas nrog Cov Lus Hais Sab Hauv thiab Cov Vaj Huam Sib Luag Pem Hauv Ntej rau Lub Plhaub
Txuas nrog Cov Lus Hais Sab Hauv thiab Cov Vaj Huam Sib Luag Pem Hauv Ntej rau Lub Plhaub
Txuas nrog Cov Lus Hais Sab Hauv thiab Cov Vaj Huam Sib Luag Pem Hauv Ntej rau Lub Plhaub
Txuas nrog Cov Lus Hais Sab Hauv thiab Cov Vaj Huam Sib Luag Pem Hauv Ntej rau Lub Plhaub

Npaj cov neeg hais lus thiab cov vaj huam sib luag pem hauv ntej:

Txhua lub qhov rooj hais lus sab hauv yog txhua tus ua los ntawm L-puab sab hauv, uas haum rau tiv thaiv, sab xub ntiag, sab, sab saum toj, thiab hauv qab vaj huam sib luag los ua lub thawv.

Ua ntej, khij qhov chaw rau koj tus hais lus ntsia hlau siv tus hais lus nws tus kheej ua tus qhia. Tom qab ntawd ua ntej tho qhov

Tom ntej no, laum holes "qhov rau cov xov tooj hais lus hauv 4.5" x7.5 "thooj, thiab txuas qhov 4.5" x7.5 "thooj sib npaug rau ntawm lub vaj huam sib luag pem hauv ntej, nrog nws sab hauv ntawm 5.5" los ntawm qhov ze tshaj plaws ntawm cov lus hais lus. Siv cov kua nplaum thiab ntsia hlau los ntawm lub hauv ntej txhawm rau txuas cov khoom no (tom qab koj yuav rov qab thiab siv ntoo muab tshuaj txhuam thiab xuab zeb los npog cov ntsia hlau). Nco tseg: hauv cov vis dis aus, Kuv siv lub qhov hnab tshos, tab sis muaj teeb meem nrog lawv qhov drilling hla, yog li kuv tsis pom zoo li no.

Txuas lub vaj huam sib luag pem hauv ntej thiab cov lus hais tawm:

Tom qab ntawd, txuas cov neeg hais lus nrog cov ntsia hlau rau lub qhov uas koj tau ua ntej drilled. (Cov neeg hais lus kuv txuas nrog tau tsim hauv cov gaskets, yog li lawv tau raug kaw. Tam sim no ntxig cov qauv no nrog lub vaj huam sib luag pem hauv ntej, ib sab ib sab ntawm lub qhov rooj hais lus, thiab cov neeg hais lus, rau hauv lub thawv hais lus. siv qee qhov caulk txhawm rau kaw cov npoo sab hauv ntawm cov neeg hais lus tiv thaiv sab nraum qab ntawm lub vaj huam sib luag pem hauv ntej.

Tom ntej no, laum cov hnab tshos nyob rau sab ntug ntawm sab nraub qaum ntawm Tus Hais Lus Ntim (1/2 "x6" x7.5 ") Tam sim no txuas sab nraub qaum ntawm tus neeg hais lus rau sab nrauv siv cov kua nplaum thiab hnab tshos qhov ntsia hlau, thiab kua nplaum thiab ntsia hlau sib koom ua ke nruab nrab ntawm sab nraub qaum ntawm qhov thaiv thiab sab hauv sab hauv ntawm lub thawv, kom ua tiav qhov thaiv.

Kauj Ruam 10: Ua kom Movable LED Baffle

Ua kom Movable LED Baffle
Ua kom Movable LED Baffle
Ua kom Movable LED Baffle
Ua kom Movable LED Baffle
Ua kom Movable LED Baffle
Ua kom Movable LED Baffle
Ua kom Movable LED Baffle
Ua kom Movable LED Baffle

Rau qhov no, peb yuav siv ½ "x7.5" H los ntawm 8.5 "W daim peb txiav ua ntej.

1. Laum a ½ "kev poob qis txog ¼" sib sib zog nqus hauv qhov chaw tuag ntawm sab xub ntiag ntawm koj lub LED Baffle (qhov no yuav tso cai rau koj lub taub hau ntsia liaj qhov rooj kom yaug tawm)

2. Laum lub qhov rau ¼”T-Nut qhov chaw tuag nyob tom nraub qaum (yog li nws txuas ntxiv los ntawm sab nraub qaum mus rau qhov chaw so koj tsuas yog nqus rau pem hauv ntej)

3. Rauj rau hauv T-Nut los ntawm nraub qaum

4. Ntsia Hlau 5 ¼-20 hex ntsia liaj qhov rooj los ntawm sab xub ntiag (siv cov kua nplaum zoo rau ntawm T-txiv ntoo yog tias koj muaj teeb meem nrog nws los xoob)

5. Laum cov qhov loj hauv koj daim phiaj uas sib dhos nrog cov chaw ntawm cov xov hlau nyob tom qab ntawm LED matrix (tej zaum koj yuav xav siv lub tshuab ua kom sib txuas nruab nrab ntawm + thiab - ntawm koj cov lej LED, ua ntej ua qhov no)

6. Rub cov kab hluav taws xob LED los ntawm lub qhov, thiab super kua nplaum LED matrix rau pem hauv ntej ntawm baffle (xaiv tau: kom muaj kev nyab xeeb / tshav kub tawg, muab cov ntawv txhuas rau sab xub ntiag ntawm baffle, tom qab ntawd lo cov LED matrix mus rau txhuas)

Kauj Ruam 11: Cov Khoom Siv Hluav Taws Xob thiab Cov Cai

Electronics thiab Code
Electronics thiab Code
Electronics thiab Code
Electronics thiab Code
Electronics thiab Code
Electronics thiab Code

Nov yog Github txuas rau tus lej (tseem tab tom ua haujlwm, tab sis ua haujlwm):

Ua ntej, rub tawm thiab teeb tsa Arduino yog tias koj tsis tau ua dua.

Qhov thib ob, koj yuav tsum tau ntxiv FastLED lub tsev qiv ntawv rau Arduino. (Tsuas yog tshawb rau "FastLED" hauv Arduino cov tsev qiv ntawv tab.)

Thib peb, upload Arduino code (txuas rau saum toj no) rau koj Arduino Mega (Kuv siv Mega vim nws nco thiab qhov loj ntawm txoj cai; nws yog txoj kev dhau los ntawm I/O kev xav). Cov cai pom zoo tias: (a) LEDs tau txuas rau tus pin 2, (b) lub sijhawm thawb khawm tau txuas mus rau tus pin 5, (c) lub microphone tso zis yog xaim rau tus pin A0, thiab (d) tus pin 3.3V yog txuas rau AREF tus pin ntawm Arduino (thiab rau Vcc ntawm lub tshuab electret mic).

Tig mus rau cov khoom siv hluav taws xob, ua raws cov lus qhia yooj yim uas tau los nrog Dayton Audio board los nqes nws. Nws yog qhov ncaj; zoo nkauj heev ntsaws ua si.

Koj yuav coj 19.7V lossis 24 V + thiab cov tswv yim hauv av los ntawm tus poj niam lub zog txuas, thiab faib lawv nrog 3-txoj kev lossis 5-txoj kev qib-txiv ntseej txuas. Hlau 24V latching on/off hloov ntawm lub hwj chim nkaus thiab qhov sib cais, yog li nws ua haujlwm raws li kev xa tawm rau/tawm hloov. Los ntawm kev sib cais, khiav 19.7V ncaj qha rau Dayton audio board thiab nqis nqis hloov pauv (nco ntsoov hloov kho theem qis los ntawm kev sib tw nws cov ntsia hlau, thiab siv lub ntsuas ntsuas los txheeb xyuas nws tawm 5V).

Tom qab ntawd xaim 5V latching rau/tawm khawm nruab nrab ntawm qhov tso tawm ntawm cov kauj ruam-nqis thiab seem ntawm 5V cov khoom (Arduino, LEDs, lub sijhawm thawb khawm, thiab kiv cua), yog li nws ua haujlwm txuas rau qhib/tua 5V Circuit cais los ntawm tus hais lus Bluetooth. Tom qab ntawd ua raws Fritzing daim duab txhawm rau xaim Arduino, LEDs, 5V lub laub ib ntus, thiab kiv cua.

Lub Dayton lub suab kaw yuav raug siv los teeb tsa lub rooj tsav tsheb Bluetooth. Nws yog tus pheej yig thiab ua rau qhov no yooj yim. Txhawm rau nce Arduino Mega, 5V nqis nqis hloov pauv, thiab 5V kiv cua rau sab nraum qab vaj huam sib luag, Kuv tsuas yog siv cov yas sawv ntsug ntsia hlau thiab cov kua nplaum zoo

Kuv yuav tsis nkag mus ntau qhov nthuav dav txog kev tso cov ntu hauv tus hais lus, vim kuv tsis xav tias kuv ua tau zoo heev. Txawm li cas los xij, Kuv tuaj yeem muab qee cov lus qhia rau koj los txiav txim siab qhov teeb tsa. Ua ntej, ntswj tag nrho 16mm cov nyees khawm rau hauv lub qhov nyob rau sab saum toj vaj huam sib luag. Tom qab ntawd siv JST txuas thiab qib-txiv ntseej txuas los txuas txhua yam khoom siv hluav taws xob, yog li koj tuaj yeem txiav txim siab yuav ua li cas tso lawv tawm sab hauv tus hais lus. Tom qab ntawd ua si nrog kev teeb tsa kom pom ib qho uas ua haujlwm. Thaum koj tab tom txiav txim siab tso tawm ntawm cov khoom siv, nco ntsoov ntxig cov teeb ci LED rau hauv lub thawv ntawv, yog li koj tuaj yeem lees paub tias cov khoom tau pom tseeb ntawm cov xov ntsia hlau txuas los ntawm baffle mus rau sab nraub qaum ntawm tus hais lus, thiab nco ntsoov tias baffle muaj chav yuav tsum tau txav mus rau tom ntej thiab rov qab (los ntawm yaug nrog lub diffuser rau ½”lossis kom deb ntawm lub diffuser).

Txuas cov khoom sib txuas ntawm JST thiab qib-txiv ntoo txuas, yog li koj tuaj yeem txuas txhua yam mus tas li. Siv cov kua nplaum super los txuas rau Arduino Mega, 5V nqis los hloov pauv, thiab 5V kiv cua hauv qhov chaw uas koj nyuam qhuav pom. Tam sim no rov txuas txhua yam thiab sim tias txhua lub tshuab hluav taws xob ua haujlwm tau zoo.

TSWV YIM YOG LUB SIJ HAWM NTAWV YUAV TSUM NYOB RAU HAUV RIGHT: Mic rhiab heev tuaj yeem sib txawv ntau. Yog tias qhov ua tsis tau zoo, siv lub ntsuas saib los nyeem tawm qhov txiaj ntsig mic, xam tawm ntau yam thaum koj tab tom ua nkauj los ntawm lub suab uas koj npaj yuav siv, thiab kho qhov MIC_HIGH thiab MIC_LOW tsis nyob hauv tus lej. Ua si nrog cov ntawd yuav hloov pauv qhov kev cai ua rau lub suab zoo li cas.

Kauj Ruam 12: Txuas Lub Vaj Huam Sib Luag Tom Qab thiab Pib Nws

Txuas lub Vaj Huam Sib Luag Tom Qab thiab Pib Nws!
Txuas lub Vaj Huam Sib Luag Tom Qab thiab Pib Nws!
Txuas lub Vaj Huam Sib Luag Tom Qab thiab Pib Nws!
Txuas lub Vaj Huam Sib Luag Tom Qab thiab Pib Nws!
Txuas lub Vaj Huam Sib Luag Tom Qab thiab Pib Nws!
Txuas lub Vaj Huam Sib Luag Tom Qab thiab Pib Nws!

Ntxig lub vaj huam sib luag rov qab rau hauv lub thawv hais lus, ua kom ntseeg tau tias haum rau ¼ qhov chaw nruab nrab hauv lub vaj huam sib luag tom qab nrog ¼-20 ntsia liaj qhov rooj, yog li cov ntsia liaj qhov rooj txuas mus los ntawm lub qhov. Tam sim no ntsia hlau lub txiv ntseej knurl mus rau tus ntsia liaj qhov rooj, yog li koj tuaj yeem kho qhov kev ncua deb ntawm LED baffle thiab diffuser los ntawm tig lub txiv ntseej knurl (uas yog qhov tseem ceeb ua haujlwm li tus ntsia hlau ntiv tes). Ua ntej tho qhov rau cov ntsia hlau tooj dag hauv cov ces kaum ntawm lub vaj huam sib luag tom qab, thiab txuas lub vaj huam sib luag tom qab los ntawm kev ntswj rau hauv cov ntsia hlau tooj dag.

Txuas nws, txuas koj lub xov tooj rau Bluetooth, thiab txaus siab!

LED Kev Sib Tw 2017
LED Kev Sib Tw 2017
LED Kev Sib Tw 2017
LED Kev Sib Tw 2017

Thawj qhov khoom plig hauv LED Contest 2017

Kev sib tw Wireless
Kev sib tw Wireless
Kev sib tw Wireless
Kev sib tw Wireless

Qhov khoom plig thib ob hauv Kev Sib Tw Wireless

Pom zoo: