Cov txheej txheem:
- Kauj ruam 1: Tsim Schematic
- Kauj ruam 2: Txoj Cai
- Kauj ruam 3: Teeb Suab hauv PC
- Kauj ruam 4: Sau ntawv
Video: RGB Backlight + Suab Visualizer: 4 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Zoo siab txais tos rau Kuv Cov Lus Qhia yuav ua li cas tsim RGB LED backlight rau piv txwv tom qab ntawm koj lub TV lossis lub rooj.
Schematic nws tus kheej yog qhov yooj yim heev vim tias WS2812 LED Strips tau yooj yim heev rau cuam tshuam nrog piv txwv li Arduino Nano.
Nco tseg: tias koj tsis tas yuav siv MSGEQ7 Audio Analyzer Circuit ntxiv yog tias koj tsuas xav tau LED Backlight yam tsis muaj lub suab pom.
Kuv tau muab cov npe ntxaws ntawm cov khoom siv thiab qhov twg koj tuaj yeem yuav lawv:
- Arduino Nano / Uno (Amazon / AliExpress)
- WS2812 RGB LED Sawb (Amazon/ AliExpress), nco ntsoov tias IP sawv cev rau kev tiv thaiv (piv txwv tias tsis muaj dej yog tias koj xav tau) thiab tus lej sawv cev rau pes tsawg LEDs ib Meter kab txaij muaj (tseem ceeb rau lub zog mov)
- 5V Cov Khoom Siv Hluav Taws Xob (Amazon) (nthuav tawm pes tsawg LEDs sawb muaj) -> txhua LED siv ~ 20mA, cov hlua siv hauv cov lus qhia no muaj 45 LEDs (30 rau Ib Leeg) yog li kuv xav tau 45*20mA ~ 1, 5Ampere mov (Arduino, MSGEQ7 xav tau qee yam ib yam nkaus), Kuv txuas cov khoom siv hluav taws xob uas muab 3A uas yog qhov txaus txaus rau peb tam sim no
- 3.5mm Suab Jack (Amazon / AliExpress)
- Potentiometer 10kOhm (Amazon / AliExpress)
- Laub Khawm (Amazon / AliExpress)
- Resistor (1x 10kOhm, 1x 220Ohm, rau MSGEQ7: 2x100kOhm)
- Capacitors (1x 1000yF Electrolytic (Amazon / AliExpress), 2x 10nF, rau MSGEQ7: 2x 0.1yF, 1x33pF (Amazon / AliExpress)
- Yooj Yim Diode (Amazon / AliExpress)
- DC Jack (Amazon / AliExpress)
Kauj ruam 1: Tsim Schematic
Cov Ntsiab Lus Tseem Ceeb:
Yog li txhawm rau cuam tshuam WS2812 Sawb nrog Arduino zoo nkauj ncaj nraim rau tom ntej siv Adafruit_NeoPixel lub tsev qiv ntawv.
LED Sawb muaj 3 Pins: VCC, DATA, GND. VCC txuas nrog 5V, GND rau hauv av thiab DATA Pin nyob hauv nruab nrab txuas nrog LED_DATA Pin D6 ntawm Arduino. Tam sim no txhua tus LED ntawm Sawb muaj WS2812 nti rau nws uas siv cov ntaub ntawv nws tau txais los ntawm Arduino thiab hla nws mus rau tom ntej LED, yog li peb tsuas xav tau pub cov ntaub ntawv Led ib zaug rau thawj LED ntawm kab sawb.
Lub tswv yim ntawm Push Button los hloov cov qauv thiab Potentiometer los tswj Brightness tau piav qhia hauv Kauj Ruam tom ntej.
Qhov tseeb Schematic tuaj yeem pom hauv Screenshot ntawm cov ntaub ntawv fritzing uas tseem muaj rau rub tawm.
Nco tseg tias nws yog ib qho tseem ceeb heev tsuas yog txuas Arduino 5V Pin rau Lub Hwj Huam ntawm lub diode, kom Arduino tsis puas yog tias peb ntsaws rau hauv USB Cable rau program nws. 10nF thiab 1000uF kuj tseem yog vim li cas rau kev nyab xeeb, yog li yuav tsis muaj lub zog txaus.
Rau MSGEQ7 Circuit:
Nov yog qhov Circuit feem ntau txuas rau MSGEQ7 rau Arduino. Qhov no tseem yog qhov uas koj xav tau 3.5mm audio Jack. Qhov nruab nrab tus pin ntawm feem ntau Jacks yog GND, tus pin ntawm sab laug/sab xis yog lub tso suab sib txuas uas txuas ntawm 10nF capacitor mus rau Teeb liab Hauv Pin ntawm MSGEQ7 raws li qhia hauv kab lus. Koj tuaj yeem ntxiv cov potentiometer rau Lub Teeb Hauv Pin kom tswj tau qhov nkag siab ntawm Lub Teeb Suab, tab sis tsis tsim nyog tiag tiag. MSGEQ7 txuas nrog Arduino nrog Analog Out pin txuas nrog A1 (MSGEQ_OUT), Strobe Pin rau D2 (STROBE), Pib dua Pin rau D5 (RESET).
Kauj ruam 2: Txoj Cai
GitHub Txuas kom ua tiav Sketch: PhilKes/RGB_Audio_Backlight
Sau ntawv rau ntawm txoj cai:
Hauv txoj cai peb tshaj tawm WS2812 Sawb cov khoom nrog Adafruit_NeoPixel cov khoom tshiab, hla tus lej Leds (hloov NUM_LEDS rau koj teeb), Arduino Pin txuas nrog rau LED_DATA tus pin, thiab hom coding + nrawm ntawm cov xim qhov tseem ceeb xa mus.
Thaum qhov no ua tiav peb teeb tsa lub teeb ci ntsa iab hauv kev teeb tsa () ntawm setBrightness (0-255) thiab tig rau Sawb nrog pib (). Tam sim no peb tuaj yeem teeb tsa txhua tus neeg Pixel/LED rau tshwj xeeb RGB Xim nrog setPixel (LED, Xim). Thaum peb ua tiav teeb tsa tag nrho cov LEDs rau qhov txiaj ntsig tshiab peb hloov kho kab nrog strip.show (). Qhov ntawd yog qhov tseem ceeb ntawm txhua qhov kev xav uas peb xav tau rau cov phiaj xwm kev ua yeeb yaj kiab uas peb xav tau. Tam sim no kom tswj tau qhov Animations / Modes peb ntxiv Push Button / Tactile Hloov mus rau Arduino. Yog li peb txuas ib kawg ntawm Khawm rau VCC thiab lwm qhov rau Arduino Pin D3 thiab nrog 10kOhm resistor rau GND. Peb txuas qhov cuam tshuam rau tus Pin no hauv kev teeb tsa (), uas ua rau muaj kev hu xov tooj rau kev hloov pauv () txoj hauv kev txhua lub sijhawm peb nias lub pob. Hauv changeMode () peb yooj yim toggle mus rau hom tom ntej thiab qhia cov duab tam sim no kom tawg. Thaum qhov ntawd tshwm sim lub voj () tau ua tiav tshiab thiab yuav ua si Animation/Hom tshiab.
Cov Animations muab suav nrog: Zaj sawv xim xim ploj, Liab, Ntsuab, Xiav, Xim Dawb, Suab paj nruag hom tshuaj ntsuas
Ib qho ntxiv kuv ntxiv 10kOhm Potentiometerto tswj qhov ci ci ntawm Sawb. txoj kev checkBrightness () txheeb xyuas qhov tso zis ntawm Potentiometer txuas nrog Pin A2 (Tus Pin nruab nrab ntawm Potentiometer) thiab hloov kho Sawb qhov ci ci kom haum.
Rau musicAnalyzer () hom ntawm MSGEQ7:
Hom no ua kom pom lub suab teeb liab txuas nrog Teeb Meem Hauv ntawm MSGEQ7. MSGEQ tso tawm cov teeb liab zoo sib xws qhia tawm ib lub suab nkaus xwb (8 Bands, los ntawm Tsawg mus rau Siab ntau zaus). MusicAnalyzer () txoj hauv kev tau txais qhov txiaj ntsig tam sim no ntawm cov pab pawg suab los ntawm kev rov pib dua MSGEQ thiab tom qab ntawd tsis ua raws li qhov sib piv tau muab. Cov qhab uas tau tso tawm tuaj yeem hloov pauv los ntawm kev tso lub flank siab rau ntawm Strobe Pin. Tom qab tag nrho 8 Bands tau raug teeb tsa tus txheej txheem hloov tag nrho cov LED Pixel qhov tseem ceeb ib qho rov qab thiab suav tus nqi tshiab rau LED 0. Cov xim suav nrog: Tsawg zaus (Bass) Liab Xim, Nruab Nrab Zaus Ntsuab Xim thiab Tsaus Xim Xim. Kev hloov pauv ntawm tus nqi ua ntej thauj tus nqi tshiab muab rau peb ua haujlwm tau zoo ua ntu zus.
Kauj ruam 3: Teeb Suab hauv PC
Txhawm rau kom koj lub suab paj nruag/suab pub rau hauv MSGEQ7 tab sis tseem muaj koj lub suab paj nruag ua si ntawm koj tus neeg hais lus, koj yuav tsum tau siv RealtekHD Stereomix qhov tshwj xeeb lossis txuas rau MSGEQ Audio Input rau xws li rear hais lus tso zis ntawm koj daim npav suab/niam ntawv.
Txhawm rau pab Stereomix hauv Win10, nyem rau tus hais lus icon nyob hauv qab txoj cai thiab nyem "Suab", ntawm no koj tuaj yeem qhib Stereomix hauv "Cov Ntaub Ntawv" Tab (nyem txoj cai -> qhib). Yog tias Stereomix tsis pom, txoj nyem rau qhov xaiv "Qhia cov cuab yeej xiam oob qhab". Tam sim no qhib qhov teeb tsa rau Stereomix thiab qhia nws kom mloog thiab theej lub suab ntawm koj lub Hais Lus tseem ceeb.
Yog tias koj xav siv lub suab hais lus tom qab, qhib qhov teeb tsa ntawm koj tus neeg hais lus tseem ceeb hauv "Suab" ntawv qhia zaub mov, Tab "Kev txhim kho" thiab tom qab ntawd xaiv "Ib puag ncig" los ntawm cov npe thiab xaiv "Chav" hauv cov ntawv qhia zaub mov hauv qab no.
Qhov no tam sim no ua rau cov suab tso tawm ntawm koj tus neeg hais lus thiab MSGEQ7.
Kauj ruam 4: Sau ntawv
Txij li cov txheej txheem tsis muaj qhov nyuaj lossis tsis loj kuv tau tswj kom muab tag nrho cov khoom siv hluav taws xob tso rau hauv lub thawv me me nrog lub qhov rau USB txuas, Suab Jack, DC Jack, Potentiometer thiab Push Button. Koj tuaj yeem yooj yim siv txiv neej/poj niam tus lej taub hau thiab txuas 3 Cables rau WS2812 Sawb ntawm Jumper cables.
Pom zoo:
Tsis-Addressable RGB LED Sawb Suab Visualizer: 6 Cov Kauj Ruam (nrog Duab)
Tsis-Addressable RGB LED Sawb Suab Visualizer: Kuv tau muaj 12v RGB LED sawb ncig kuv lub txee TV ib pliag thiab nws tau tswj los ntawm tus neeg tsav tsheb LED tho txawv uas cia kuv xaiv ib qho ntawm 16 xim ua ntej programmed! Kuv mloog ntau lub suab nkauj uas ua rau kuv mob siab tab sis lub teeb pom kev tsuas yog tsis teeb t
Suab thiab Suab Nkauj Raug Rho Tawm Quartz Crystal Brooch Nrog Chaw Ua Si Hauv Circuit Qhia: 8 Kauj Ruam (nrog Duab)
Suab thiab Nkauj Raug Rho Tawm Quartz Crystal Brooch Nrog Chaw Ua Si Hauv Chaw Qhia: Lub suab nrov-reactive brooch tau tsim los siv qhov chaw ua si hauv chaw nthuav tawm, pheej yig ntau cov quartz muaju, xaim, duab los qhia, pom yas, muaj kev nyab xeeb tus pin, koob thiab xov, kub kua nplaum, ntaub, thiab ntau yam cuab yeej. Nov yog tsab ntawv, lossis thawj daim ntawv, ntawm
Wiggly Wobbly - Pom Lub Suab Tsis !! Lub Sijhawm Tiag Suab Visualizer !!: 4 Kauj Ruam
Wiggly Wobbly - Pom Lub Suab Tsis !! Real Time Audio Visualizer !!: Koj puas tau xav tsis thoob tias Beetle nkauj zoo li cas ?? Los yog koj tsuas xav pom lub suab zoo li cas xwb ?? Tsis txhob txhawj, Kuv nyob ntawm no los pab koj kom nws rov zoo dua !!! Ua rau koj tus neeg hais lus siab thiab tsom rau qhov ploj
Yuav Ua Li Cas Backlight Lub Suab Yees Duab Tau Txais Lub Pob Ntseg. (onkyo Hr550): 3 Kauj Ruam
Yuav Ua Li Cas Backlight Lub Suab Yees Duab Tau Txais Lub Pob Ntseg. (onkyo Hr550): Backlit ntim pob qhov rooj yog qhov me me ntawm kev tsim tsis ntev los no. Muaj tiag tiag tsis muaj kev ua haujlwm hauv nws, tab sis nws zoo nkaus li zoo. Kuv tau txais hr550 tus txais rau lub caij Christmas, thiab txiav txim siab muab cov ntawv qhia yuav ua li cas thiaj ua tau qhov no. Cov khoom xav tau: Multimeter Soldering hlau
Hnab tshos-lub tso suab tso suab tso suab: 6 Kauj Ruam
Lub Hnab Tsho Me Me Lub tso suab tso suab: Hauv qhov no ible, Kuv yuav qhia koj yuav ua li cas tsim lub hnab tshos-lub tso suab tso suab tso suab