Cov txheej txheem:

LED Zaj sawv - RGB LED PWM Tus Tswj Xyuas Kev Tsim Kho - Yooj Yim Tsim: 15 Kauj Ruam
LED Zaj sawv - RGB LED PWM Tus Tswj Xyuas Kev Tsim Kho - Yooj Yim Tsim: 15 Kauj Ruam

Video: LED Zaj sawv - RGB LED PWM Tus Tswj Xyuas Kev Tsim Kho - Yooj Yim Tsim: 15 Kauj Ruam

Video: LED Zaj sawv - RGB LED PWM Tus Tswj Xyuas Kev Tsim Kho - Yooj Yim Tsim: 15 Kauj Ruam
Video: Zaj Rendszerház - Pixel Effekt LED Installációk 2024, Kaum ib hlis
Anonim
LED Zaj sawv - RGB LED PWM Tus Tswj Xyuas Kev Tsim Kho - Yooj Yim Tsim
LED Zaj sawv - RGB LED PWM Tus Tswj Xyuas Kev Tsim Kho - Yooj Yim Tsim
LED Zaj sawv - RGB LED PWM Tus Tswj Xyuas Kev Tsim Kho - Yooj Yim Tsim
LED Zaj sawv - RGB LED PWM Tus Tswj Xyuas Kev Tsim Kho - Yooj Yim Tsim
LED Zaj sawv - RGB LED PWM Tus Tswj Xyuas Kev Tsim Kho - Yooj Yim Tsim
LED Zaj sawv - RGB LED PWM Tus Tswj Xyuas Kev Tsim Kho - Yooj Yim Tsim

Ib kauj ruam-ib-kauj ruam, yooj yim ua raws cov lus qhia ntawm lub tsev ntawm LED Rainbow RGB LED PWM Controller. Tsuas yog qhov tsawg kawg nkaus ntawm qhov yuav tsum tau ua, nrog rau PIC tus txheej txheem, thiab koj tuaj yeem tsim ib qho ntawm qhov zoo tshaj plaws LED tswj muaj.

Lub kaw lus muaj peev xwm tsav tau RGB LEDs, lossis tus kheej Liab, Ntsuab thiab Xiav LEDs los tsim cov txiaj ntsig zoo. Cov PCB liab qab, cov khoom siv sib xyaw, cov cai tsim nyog rau kev tsim rau hauv PIC tus tswj hwm yog txhua yam muaj los ntawm https://www.pcboard.ca/kits/led_rainbow/ txhawb nqa ntawm www.pcboard.ca. Cov ncauj lus kom ntxaws ntawm LED Zaj sawv, nrog rau cov neeg siv qhia, nthuav qhia cov ntsiab lus ua ntu zus, cov ntaub ntawv xov xwm rau PIC tus txheej txheem nrog rau cov ntsiab lus hloov kho tag nrho yog txhua yam muaj pub dawb ntawm lub vev xaib txhawb nqa. Yog tias koj muaj lub rooj zaum muaj khoom zoo nrog cov khoom siv, koj tuaj yeem tsim kho txoj haujlwm no tau yooj yim thaum tav su.

Kauj Ruam 1: Cov Ntaub Ntawv Keeb Kwm

Cov Ntaub Ntawv Keeb Kwm
Cov Ntaub Ntawv Keeb Kwm

LED Zaj sawv yog qhov tshwj xeeb Pulse Width Modulation (PWM) tus tswj uas tsim cov xim hloov pauv nrog RGB LED teeb pom kev zoo khoom. Lub Circuit Court tswj peb qhov kev tso tawm, txhua tus uas muaj peev xwm ua haujlwm ntu LED, thiab nrog peb ntu, yog lub ntuj rau kev tswj ntawm RGB LED arrays.

Sequences tau hloov kho tau tag nrho thiab muaj nyob hauv lub microcontroller, uas muaj lub peev xwm strobe, hloov pauv thiab teeb pom kev zoo, tsim lub palette loj heev ntawm ntau dua 16 lab xim siv Pulse Width Modulation (PWM) thev naus laus zis. Txhua qhov kev tso tawm muaj kev daws teeb meem ntawm 8-khoom, uas muab txhua xim sib txawv ntawm 256 qhov hnyav thiab thaum peb xim sib xyaw ua ke, tag nrho zaj sawv ntawm cov xim sib txuas ua tau. Nrog rau qhov suav tsawg tsawg, LED Zaj sawv yog kev lag luam yooj yim rau cov nyiam ua haujlwm, tsim cov khoom lag luam tus qauv thiab khiav tawm ntawm tus qauv 12v-15v fais fab mov. Lub 2 (51mm) square board yog ob tog kev tsim kho nrog cov ntxaij vab tshaus ntxaws ntxaws uas pab hauv kev tso cov khoom sib xyaw.

Kauj Ruam 2: Kev Koom Tes - Txheeb Xyuas Txhua Qhov

Kev Koom Tes - Txheeb Xyuas Txhua Qhov
Kev Koom Tes - Txheeb Xyuas Txhua Qhov

Saib ntawm LED Zaj sawv lub rooj tsavxwm, koj tuaj yeem pom qhov yooj yim ntawm kev tsim nws yog - tab sis tsis txhob cia qhov yooj yim dag koj li nws muaj zog npaum li cas. Pawg thawj coj ntsuas tsuas yog 2 "x 2" (51mm x 51mm), yog kev tsim ua ob sab (lub ntsiab lus muaj cov kab hluav taws xob lossis kab ib sab ntawm txhua sab ntawm lub rooj tsavxwm) thiab muaj qhov sib piv zoo ib yam lo lo ntxhuav-screen (cov ntawv dawb thiab kos duab) nyob rau sab saum toj los qhia txog kev teeb tsa ntawm txhua ntu thiab lawv Thaum ua ke lub rooj tsavxwm, koj yuav tsum ua nws nrog ib feem ntawm ib lub sijhawm, feem ntau pib nrog cov khoom me me thiab qis tshaj nyob ze rau ntawm lub rooj tsavxwm. Nco ntsoov tias qee cov khoom sib txawv los yog yuav tsum mus rau qee txoj hauv kev. Pib los ntawm kev teeb tsa lub rooj tsavxwm thiab teeb ib sab tag nrho cov khoom siv hauv kev npaj..ca/cov khoom siv/coj_rainbow/txhawb nqa lub vev xaib. Qhov chaw xav tau los sib dhos lub rooj tsavxwm muaj raws li hauv qab no: Resistor 1/4 watt, 5% Carbon Film: (3) 1K ohm (xim av-dub-liab-kub-kub) R1, R2, R3 Capacitors: (1) 33uF 50v Electrolytic Capacitor C1 (-) Yeem-.1uF C2 (1).1uF C3 Semiconductors: (1) 1N4002 D1 (1) LM78L05 5 volt regulator TO-92 Case U1 (1) LED Rainbow Processor U2 (3) STP36NF06 N-Channel MOSFET Q1, Q2, Q3 Sockets, Headers, Connectors and Switches: (1) 8-pin DIP Socket U2 (1) PCB mount pushbutton switch S1 (1) Yeem tau-DC Power Jack P1

Kauj Ruam 3: Cia Pib Tsim

Cia Pib Lub Tsev
Cia Pib Lub Tsev

Thawj kauj ruam hauv kev teeb tsa cov khoom siv yog kom muaj qhov chaw ua haujlwm huv, nrog koj cov khoom tso tseg ib sab thiab txheeb tau yooj yim. Peb yuav tsis mus rau hauv kev nthuav dav ntawm cov txheej txheem kev sib dhos thiab sib dhos ntawm no, Google yog koj tus phooj ywg thiab koj yuav tsum muaj peev xwm nrhiav tau qee qhov kev coj ua zoo tshaj plaws nyob ntawd.

Txhua qhov kev sib txuas yuav ua tiav rau sab nraum qab ntawm lub rooj tsavxwm (sab rov qab rau qhov uas koj tso cov khoom sib txuas. Txhua lub qhov yog plated los ntawm, yog li koj tsuas yog yuav tsum tau muab lawv tso rau ntawm sab nraub qaum thiab qhov hluav taws xob txuas rau sab xub ntiag yuav yog Ua zoo rau koj. Ua tib zoo saib xyuas kom zoo li qhov no yuav txiav txim siab yog tias koj txoj haujlwm ua haujlwm lossis tsis tau.

Kauj Ruam 4: Sib dhos Kauj Ruam 1: Diode D1

Kauj Ruam 1: Diode D1
Kauj Ruam 1: Diode D1

Txoj hauj lwm D1 (1N4002) diode. Koj yuav pom daim npav nyiaj/dawb ntawm lub diode. Qhov no yog Cathode thiab yuav tsum phim cov lo lo ntxhuav-npo ntawm PCB. Xyuas kom meej tias lub bar ntawm diode yog mus rau hauv qab ntawm cov khoom siv. Cov laug hauv D1 tam sim no.

Kauj Ruam 5: Los Ua Ke Kauj Ruam 2: Tus Tswj U1

Kauj Ruam 2: Tswj U1
Kauj Ruam 2: Tswj U1

Tam sim no tso LM78L05 Tus Kws Tswj Xyuas ntawm U1. Daim ntawv ceeb toom tias lub cuab yeej muaj ib nrab-lub voj voos tiaj tus nyob ntawm nws. Lub tiaj tiaj yuav tsum tig ntsej muag mus rau hauv qab ntawm lub rooj tsavxwm, rov ua dua daim iav lo lo ntxhuav ntawm PCB. Solder hauv U1 tam sim no.

Kauj Ruam 6: Sib dhos Kauj Ruam 3: Capacitor C3

Kauj Ruam 3: Capacitor C3
Kauj Ruam 3: Capacitor C3

Tam sim no peb tuaj yeem txav mus rau C3,.1uF Capacitor. Lub capacitor no tsis yog polarized, yog li nws tuaj yeem mus rau ob qho tib si. Solder hauv C3 tam sim no.

Kauj Ruam 7: Sib dhos Kauj Ruam 4: Capacitor C1

Kauj Ruam 4: Capacitor C1
Kauj Ruam 4: Capacitor C1

Cov khoom txuas ntxiv mus yuav yog C1, 33uF Electrolytic Capacitor. Nws yog ib qho tseem ceeb uas koj saib cov cim ntawm cov khoom no. Feem ntau, cov hmoov txhuas tsis zoo raug cim rau sab nrauv, nrog rau rho tawm (-) kos npe. Xyuas kom tseeb tias koj tsis tso nws rov qab rau ntawm PCB. Cov hmoov txhuas tsis zoo yuav tsum tsis txhob nkag mus rau hauv lub qhov ntawm lub rooj tsavxwm nrog cov cim ntxiv. Nruab C1 tam sim no, xyuas ob zaug nws yog qhov raug thiab muab nws tso rau hauv qhov chaw.

Kauj Ruam 8: Sib dhos Kauj Ruam 5: Cov Ris R1, R2 thiab R3

Kauj Ruam 5: Resistors R1, R2 thiab R3
Kauj Ruam 5: Resistors R1, R2 thiab R3

Tam sim no peb txav mus rau peb tus tiv thaiv ntawm R1, R2 thiab R3 uas yog 1K ohm resistors thiab muaj xim xim ntawm lawv ntawm xim av-dub-liab-kub-kub. Resistors tsis yog polarity sensitive yog li cov no tuaj yeem mus rau txhua txoj kev. Khoov cov coj kom koj muaj cov neeg tawm tsam sawv ntawm qhov kawg thiab txuas R1, R2 thiab R3 rau hauv qhov chaw.

Kauj Ruam 9: Sib dhos Kauj Ruam 6: Pushbutton Hloov S1

Kauj Ruam 6: Pushbutton Hloov S1
Kauj Ruam 6: Pushbutton Hloov S1

Tam sim no yog lub sijhawm los teeb tsa lub laub khawm hloov ntawm S1. Qhov kev hloov no tsis yog polarized, tab sis nws tsuas yog haum rau hauv pawg thawj coj ntawm ib txoj hauv kev. Qhov hloov pauv tau dav dua li nws siab, yog li sim nws ob txoj hauv kev los saib seb txoj kev twg haum rau qhov zoo tshaj plaws. Koj yuav paub tias koj muaj nws nyob hauv txoj haujlwm raug thaum nws yuav thawb rau hauv lub rooj tsavxwm nrog quab yuam me ntsis. Mus tom ntej thiab ham hauv S1 tam sim no.

Kauj Ruam 10: Sib dhos Kauj Ruam 7: IC Socket U2

Kauj Ruam 7: IC Socket U2
Kauj Ruam 7: IC Socket U2

Tam sim no tso lub 8-pin IC qhov (socket) ntawm qhov chaw U2. Nov yog lub qhov (socket) uas yuav tuav PIC Processor LED Rainbow controller. Tam sim no koj tuaj yeem txuas rau qhov chaw ntsaws U2.

Kauj Ruam 11: Los Ua Ke Kauj Ruam 8: MOSFETs Q1, Q2 thiab Q3

Kauj Ruam 8: MOSFETs Q1, Q2 thiab Q3
Kauj Ruam 8: MOSFETs Q1, Q2 thiab Q3

Tam sim no yog lub sijhawm los teeb tsa peb N-Channel MOSFETs (STP36NF06) ntawm Q1, Q2, thiab Q3. MOSFETs nkag siab zoo li qub, yog li siv kev saib xyuas thaum tuav lawv - kho lawv nrog kev saib xyuas. MOSFETs muaj lub vaj huam sib luag hlau ntawm lawv nraub qaum uas yog lub rhaub dej kub. Koj yuav xav kom sib phim cov cua sov nrog cov qauv dawb ntawm lub PCB silk screen. Thaum koj tau muab lawv tso rau hauv, koj tuaj yeem mus tom ntej thiab txuas ntxiv hauv Q1, Q2 thiab Q3.

Kauj Ruam 12: Sib dhos Kauj Ruam 9: Xaiv DC Power Jack ntawm P1

Kauj Ruam 9: Xaiv DC Power Jack ntawm P1
Kauj Ruam 9: Xaiv DC Power Jack ntawm P1

Tam sim no peb tuaj yeem txav mus tom ntej thiab teeb tsa yeem Power Jack ntawm P1. Lub jack no tso cai rau tus qauv phab ntsa adapter siv los ua lub zog LED Rainbow PCB. Tus qauv qhov ntawm lub rooj tsavxwm yog tus qauv thiab tuaj yeem haum rau txhua lub hwj chim uas koj muaj. Yog tias koj muaj cov khoom siv no, tam sim no koj tuaj yeem mus tom ntej thiab teeb tsa nws ntawm P1.

Kauj Ruam 13: Los Ua Ke Kauj Ruam 10: Txhim Kho LED Rainbow Controller

Los Ua Ke Kauj Ruam 10: Txhim Kho LED Zaj Duab Xis
Los Ua Ke Kauj Ruam 10: Txhim Kho LED Zaj Duab Xis

Kauj ruam kawg hauv kev sib dhos ntawm lub rooj tsavxwm yog ntxig rau LED Zaj sawv tswj rau hauv lub qhov (socket) ntawm U2. Tus tswj yuav tsum tau muab tso rau hauv lub qhov (socket) nrog Pin 1 tig mus rau sab saud. Tus Pin 1 tau txheeb xyuas ntawm lub nti los ntawm kev nkag me me ntawm lub nti nyob rau hauv lub ces kaum - qhov no yog siv los qhia tus lej Pin 1. Yog tias koj ntxig lub processor rov qab thiab siv lub zog, koj muaj txoj hauv kev zoo los ua kom lub processor puas tsuaj. Tam sim no koj tuaj yeem teeb tsa tus tswj hwm ntawm U2.

Kauj Ruam 14: Nrog koj zoo siab - Koj Pawg Rooj Sib Tham Ua tiav

Nrog koj zoo siab - Koj Pawg Rooj Sib Tham Ua tiav!
Nrog koj zoo siab - Koj Pawg Rooj Sib Tham Ua tiav!

Nrog koj zoo siab. Koj tau ua tiav kev tsim koj li LED Zaj sawv tswj qhov system. Tam sim no koj tuaj yeem txuas koj li RGB lossis tus kheej Liab, Ntsuab thiab Xiav LEDs rau lub rooj tsavxwm. Koj lub rooj tsavxwm tiav yuav tsum zoo li peb li hauv qab no.

Kauj Ruam 15: Cia Peb Pom Nws hauv Kev Ua

Cia Peb Pom Nws hauv Kev Ua
Cia Peb Pom Nws hauv Kev Ua
Cia Peb Pom Nws hauv Kev Ua
Cia Peb Pom Nws hauv Kev Ua
Cia Peb Pom Nws hauv Kev Ua
Cia Peb Pom Nws hauv Kev Ua

Peb tau npaj cov vis dis aus luv luv ntawm LED Zaj sawv hauv kev nqis tes ua. Nov yog qhov piv txwv ntawm kev tsim chav nyob rau hauv lub teeb pom kev zoo hauv tsev nrog lub ntiaj teb khov rau saum. Cov txiaj ntsig tau zoo kawg nkaus thiab nyiam heev nrog txhua tus neeg uas pom nws. Peb tau pom LED Zaj sawv siv ntau qhov kev siv sib txawv, suav nrog Xus thiab Christmas dai kom zoo nkauj, siv ua lub teeb pom kev zoo hauv tsev ua yeeb yam, txawm siv limousines los tswj. teeb pom kev sab hauv thiab sab hauv. Qhov muaj peev xwm tsis muaj qhov kawg, cia koj lub tswv yim pub dawb.

Pom zoo: