Cov txheej txheem:

Christmas Ntoo LED Teeb: 6 Kauj Ruam (nrog Duab)
Christmas Ntoo LED Teeb: 6 Kauj Ruam (nrog Duab)

Video: Christmas Ntoo LED Teeb: 6 Kauj Ruam (nrog Duab)

Video: Christmas Ntoo LED Teeb: 6 Kauj Ruam (nrog Duab)
Video: tuav wb lub neej kom ruaj khov - Mang Vang ft. Christina Xyooj [Official Audio] 2021-22 2024, Hlis ntuj nqeg
Anonim
Christmas Ntoo LED Teeb
Christmas Ntoo LED Teeb

Nov yog txoj haujlwm nrawm thiab yooj yim uas siv tib daim ntawv luam tawm Circuit Board raws li peb lub MIDI lub teeb tswj.

www.instructables.com/id/MIDI-5V-LED-Strip-Light-Controller-for-the-Spielat/

Nws siv Arduino Nano los tswj 5V tri-xim LED sawb teeb uas tuaj yeem siv los kho koj tsob ntoo Christmas (peb tsob ntoo me me!). Yog tias koj xav siv LEDs ntau dua ntawm tsob ntoo loj dua, koj yuav tsum tau muab lub zog sab nraud ntau dua li siv 5V los ntawm USB txuas.

Cov cai tau muab ob hom kev ua haujlwm - ib qho uas ploj mus thiab tawm ntawm rau xim (xiav, ntshav, liab, daj, ntsuab thiab aqua) thiab lwm hom ua rau lub teeb ci LEDs ib nrab thib ob thiab ib nrab thib ob rau peb xim (xiav, liab, ntsuab).

Kauj Ruam 1: CNC Txhim Kho PCB

CNC tig PCB
CNC tig PCB

Raws li tau hais, qhov no yog tib qho PCB zoo ib yam li MIDI lub teeb tswj yog li pib los ntawm kev xa PCB los ntawm dxf cov ntaub ntawv muab.

Kauj Ruam 2: Tshaj tawm PCB

Populate PCB
Populate PCB

Solder hauv txhua qhov khoom siv raws li cov txheej txheem tau muab.

Kauj Ruam 3: Cov Cheeb Tsam rau Populate & 3D Mount

Cheebtsam rau Populate & 3D Mount
Cheebtsam rau Populate & 3D Mount

Cov khoom siv los ua kom pawg thawj coj saib zoo ib yam li MIDI lub teeb tswj nrog ntxiv ntawm ob qho ntxiv.

Plaub 10K resistors

Peb BD681 NPN Darlington khub transistors

Ib qho PCB laub khawm hloov

Thiab qee qhov ntev ntawm ib kab hauv kab kab taub hau.

3D luam tawm PCB mount los ntawm stl cov ntaub ntawv muab.

Kauj ruam 4: Program Arduino Nano

Program Arduino Nano
Program Arduino Nano

Program Arduino Nano nrog cov cai tau muab.

Nov yog qhov pib tiag tiag vim tias yuav muaj ntau txoj hauv kev fading thiab ua rau pom cov xim sib txawv ntawm lub sijhawm sib txawv thiab kev txiav txim. Tsuas yog siv koj lub tswv yim. Qhov fading yog muab siv cov mem tes dav hloov kho cov txiaj ntsig. Muaj ib qho kev hloov pauv uas yog siv los hloov ntawm cov qauv sib txawv ntawm kev ua haujlwm thiab nias qhov ntev ntawm qhov hloov pauv tuaj yeem siv los xaiv los ntawm kev xaiv ntau dua ntawm cov qauv.

Txoj cai tam sim no tsis zoo nkauj npaum li peb tau xaiv qhov kev hloov pauv tas li thoob plaws hauv txoj cai. Qhov no yog vim peb txuas qhov hloov pauv mus rau D12. Nws yuav tau zoo dua los txuas nws rau D2 uas tuaj yeem raug siv los cuam tshuam - lub tswv yim zoo dua. Nws yog kev saib xyuas thaum lub sijhawm teeb tsa lub rooj tsavxwm thiab nws yuav yooj yim heev uas tau txuas nrog nws rau D2. Tej zaum xyoo tom ntej:)

Kauj Ruam 5: Txuas Cov LEDs

Txuas cov LEDs
Txuas cov LEDs

Txuas cov LEDs rau kab. Cov taub hau ntawm sab laug mus rau sab xis (hauv daim duab) yog ntsuab, liab, xiav thiab 5V +ve.

Kauj Ruam 6: Qhwv LEDs Ib puag ncig Koj Christmas Ntoo

Zaum rov qab thiab saib…

Pom zoo: