Cov txheej txheem:

Suab paj nruag Reactive LED Sawb: 5 Kauj Ruam
Suab paj nruag Reactive LED Sawb: 5 Kauj Ruam

Video: Suab paj nruag Reactive LED Sawb: 5 Kauj Ruam

Video: Suab paj nruag Reactive LED Sawb: 5 Kauj Ruam
Video: Tswv Yexus lub neej thaum pib txug thaum xaus 2024, Hlis ntuj nqeg
Anonim
Image
Image

Taw qhia

Suab paj nruag teb LED Strips yog qhov txawv tshaj plaw rau kev ua lag luam. Koj tuaj yeem ua qhov no nrog Arduino thiab ntxiv mus yam tsis muaj Arduino. Tam sim no, peb yuav tham txog yuav ua li cas kom Suab Nkauj Reactive LED Sawb los ntawm kev siv Arduino Programming. Txoj cai yog txheej txheem ua haujlwm ncaj qha yog qhov tseem ceeb ntxiv. Koj tsuas yog yuav tsum nkag siab txoj cai ua haujlwm.

Lub Music txais LED Sawb Circuit ua haujlwm li cas?

Nov yog qhov yooj yim Microcontroller raws kev lees paub. Lub microcontroller muab lub cim rau cuam tshuam nrog Transistor lub hauv paus thiab nws tsav N-Channel MOSFET. Tsis tas li ntawd, MOSFET no ua rau lub nra hnyav dua li cov hlua LED.

Tam sim no peb tham txog yuav ua li cas kos npe los ntawm lub microcontroller. Txij thaum pib, Lub Suab sensor tawm tus pin muab lub cim. Lub sijhawm ntawd, nws raug coj los ntawm Arduino. Nyob rau qhov xwm txheej uas daim paib nyob hauv qhov kev txiav tawm tshwj xeeb, ntawm qhov ntawd, tsuas yog cov hlua tsav yuav khiav.

Ntawm qhov tshwm sim uas Condenser mic tsis tau txais lub cim, ntawm lub sijhawm ntawd lub ntsuas qhov ntsuas tsis tau muab txiaj ntsig. Yog li, tam sim no, LED sawb yuav tsis ua haujlwm.

Cov txheej txheem no rov ua dua thiab rov ua dua.

Khoom siv

Cheeb Tsam Sau Los Ntawm Utsource:

Arduino NANO:

PCB Board:

9v Roj teeb:

Poj Niam Header:

Thaum Tshav Kub Kub Shrink Tube:

LED sawb:

Qhov sib txawv ntawm qhov muaj zog ntawm Resistor:

Ntsia Hlau Terminal Thaiv:

Suab Sensor:

IRFZ44N MOSFET:

BC547 Transistor:

Cov Cuab Yeej Xav Tau:

Soldering Iron:

Iron Stand:

Pliers Qhov ntswg:

Flux:

Kauj ruam 1:

Duab
Duab

Ua ntej tshaj plaws, koj yuav tsum paub tias yuav ua li cas. Yog li, kuv tau xub tsim txoj cai ua ntej thiab ua txoj haujlwm hauv lub khob cij rau ntawm qhov chaw ua haujlwm tau ua txoj hauv kev no, Kuv tau muaj kev ywj pheej los ua cov lej hauv Easyeda.com. ntawm qhov ntawd, Kuv tau ua PCB thiab thov nws los ntawm JLCPCB.com tsuas yog rau 2 $.

Kauj ruam 2:

Rau ntu ntawm ntu ntu, Kuv tau mus nrog UTSOURCE. Lawv yog ib tus muab kev pabcuam loj tshaj plaws hauv Suav teb. Lawv muab ntau yam khoom sib txawv, piv txwv li, Resistors, Capacitors, ICs thiab ntau yam sib txawv. Koj yuav tau txais kev txwv yog tias koj thov los ntawm lawv. Tag nrho txhua qhov, vim li cas koj thiaj zaum nruj rau? Muab koj thawj qhov kev thov los ntawm UTSOURCE.

Kauj ruam 3:

Duab
Duab

Thaum ntawd, Kuv tau sib sau ua ke txhua qhov thiab muab txhua ntu rau hauv PCB Pawg Thawj Coj. Dab tsi ntxiv, patched txhua qhov.

Kauj ruam 4:

Duab
Duab

Hloov cov cai los ntawm Arduino IDE. Txog ntawm qhov ntawd, Kuv tau cuam tshuam nrog 12v lub zog muab khoom thiab pib ua suab paj nruag kom pom tias nws ua haujlwm zoo. Koj yuav tsum hloov kho lub zog ntawm lub Suab Sensor Module rau kev hloov pauv tsis txaus ntseeg.

Kauj Ruam 5: Schematics of Music Reactive LED Sawb:

Schematics of Music Reactive LED Sawb
Schematics of Music Reactive LED Sawb

Download tau Txuas rau Music teb LED Sawb:

PCB Garber: Rub tawm

Arduino Code: Rub tawm

Nco tseg:

Ntawm qhov tsis muaj sijhawm uas koj tab tom sim cuam tshuam ntau lub LEDs, ntawm qhov ntawd muab tso dej sov nrog N-Channel Mosfet. Ua kom ntseeg tau tias koj lub peev xwm muab khoom txaus los tswj cov LED Strips

Koj kuj tseem tuaj yeem ua qhov Circuit Court ntawm daim ntawv qhia zaub mov tseem tau xyuas kom txhua lub koom haum koom tes tsis txaus ntseeg lwm yam uas koj yuav ua phem rau Arduino Nano.

Pom zoo: