Cov txheej txheem:

LED Umbrella Nrog Arduino: 14 Kauj Ruam (nrog Duab)
LED Umbrella Nrog Arduino: 14 Kauj Ruam (nrog Duab)

Video: LED Umbrella Nrog Arduino: 14 Kauj Ruam (nrog Duab)

Video: LED Umbrella Nrog Arduino: 14 Kauj Ruam (nrog Duab)
Video: Zoo Siab Nrog Koj - Paj Tsua Thoj [ Official MV ] Nkauj Tawm Tshiab 2022 2024, Hlis ntuj nqeg
Anonim
LED Umbrella Nrog Arduino
LED Umbrella Nrog Arduino
LED Umbrella Nrog Arduino
LED Umbrella Nrog Arduino

LED Umbrella nrog Arduino ua ke ib lub kaus, ib qho 8x10 LED matrix thiab Arduino microcontroller los tsim kev tswj tau, kev teeb tsa LED kev paub hauv kev ntiag tug ntawm koj tus kheej lub kaus. Txoj haujlwm no tau tshoov siab los ntawm Hluav Taws Xob los ntawm sockmaster thiab tus lej ntawm LED cov lej qhia hauv qhov chaw no, tshwj xeeb yog qhov ua tiav ib qho los ntawm barney_1.

Npaj txhij rau Pimp Kuv Lub Hau! Ib tus neeg ua haujlwm rau txoj haujlwm no yuav tsum muaj kev nkag mus rau cov cuab yeej siv txheem - pliers, kab pheeb ces kaum, cov xaim txiav thiab cov hlua, cov hlau txuas thiab cov laug, cov ntsuas ntsuas - thiab tau ntsib kev ua haujlwm nrog Arduino. Kev teeb tsa Arduino tsis nyuaj thiab ib qhov haujlwm suav nrog ntau qhov sib txawv ntawm cov LEDs suav nrog hauv cov lus qhia no. Cov vis dis aus tab tom los! Cov qauv piv txwv (saib cov kauj ruam kawg) kuj tseem nyob ntawm txoj kev, ib yam nkaus. Cov cai uas kuv muaj tsis tau ua kom zoo dua qhov hloov pauv lub pob thiab kuv tab tom ua haujlwm tam sim no.

Kauj Ruam 1: Qhov Chaw

Muaj qee qhov tsawg heev rau txoj haujlwm no thiab lawv feem ntau yog qhov dav. Lawv tuaj yeem tau txais yooj yim los ntawm txhua tus naj npawb ntawm cov khw muag khoom online - Adafruit Industries, DigiKey, Jameco, thiab Txhua Yam Khoom Siv Hluav Taws Xob, ntawm ntau lwm tus. Hloov raws li qhov tsim nyog. Electronics 1 x Microcontroller-Arduino Diecimilia 1 x Umbrella 1 x MIC2981-8-channel, high-voltage, high-current source driver array-576-1158-ND1 x Protoshield for Arduino with small breadboard-Adafruit Industries 80 x LED - ntau txoj kev xaiv muaj peev xwm ua tau 8 x resistors - nyob ntawm kev xaiv LED thiab qhov hluav taws xob Qhov xav tau xaim ntau ntawm cov xaim xav tau rau txoj haujlwm no. Txhua tus tav ntawm lub kaus muaj cov xaim dub (rau cov cathodes ntawm LEDs) thiab txhua lub voj voos ntawm LEDs nyob ib ncig ntawm lub kaus xav tau tag nrho ntev ntawm cov hlau liab (rau anodes ntawm LEDs). Qee qhov tseem yuav tsum tau xa qhov xaus ntawm cov saw rov qab mus rau Arduino. 24 feet dub xaim rau cathode chains (ua raws kab tav rov qab rau hauv nruab nrab) 70 feet liab xaim rau anode rings (ib ncig ntawm lub kaus) Lwm Yam Txuj Ci tus txiv neej lub taub hau - Thaum tshav kub kub ntsws tubing 1/16 - txog xya feet ntawm tubing xav tau Tactile hloov -Off-MomPatience… thiab kev txawj ntse. Lub matrix ntawm LEDs yuav tsum tau ua tib zoo tsim thiab anodes thiab cathodes insulated los ntawm ib leeg nrog cua sov ntsws tubing. Qhov no tuaj yeem siv sijhawm ib ntus.

Kauj Ruam 2: Tom qab kev xav - Forewarned Yog Forearmed

Umbrella Tsis txhob siv koj lub kaus zoo tshaj! Los yog lwm tus neeg lub kaus zoo tshaj. Lub kaus tau cog lus rau txoj haujlwm thiab, thaum koj tuaj yeem coj lub LED matrix tawm, koj yuav tsis xav tau los ntawm lub sijhawm koj ua tiav lawm. /saum lub kaus. Txiav txim siab seb koj puas xav tau cov LEDs sab nraum lub kaus. Lawv yuav pom ntau dua thiab kev teeb tsa yuav yooj yim dua. Koj yuav tsum tau khawb qhov hauv daim ntaub kom pub cov xov hlau nqes mus rau hauv Arduino. Cov qauv hauv rooj plaub no ua rau tsis muaj dej tsis zoo. LEDs Xaiv cov xim zoo ua ntej koj tso sijhawm ntau los ua qhov no. Cov LEDs tau pom tias pheej yig dua ntawm eBay ntau dua los ntawm cov ntawv teev npe, yog li tshawb xyuas koj cov kev xaiv. Kuv siv cov xov hlau ruaj khov thiab nws ua rau folding lub kaus yuav luag tsis yooj yim sua. Tsis tas li, kuv yuav tsis siv xaim liab rau lub nplhaib anode. Kuv yuav tau khaws cov xim tsaus dua uas pom tsis tau.

Kauj Ruam 3: Tsim Kev Xav

Tsim Kev Xav
Tsim Kev Xav

Arduino Kuv xaiv los siv Arduino ntau dua li qhov sib txawv ntawm Atmel AVR microcontroller los ua qhov haujlwm no. Nrog rau Arduino, tsis tas yuav tsim cov phiaj xwm kev cai thiab cov phiaj xwm thiab kev kho kom haum yog yooj yim dua nrog Arduino platform. Qhov tsis zoo ntawm Arduino tsuas yog nws loj thiab tsis haum zoo rau hauv lub kaus. Cov txiaj ntsig, txawm li cas los xij, tshaj qhov nqi. Txoj haujlwm no yog ua raws Arduino Diecimilia tab sis (kuv xav) cov pinouts zoo ib yam ntawm cov kho tshiab. Txawm li cas los xij, yog tias koj ua txoj haujlwm no, xyuas kom koj nkag siab meej txog cov xeev thiab tus lej ntawm Arduino tus qauv koj tab tom siv. Qhov no yuav ua rau muaj kev hloov pauv ntawm qhov tau piav qhia ntawm no thiab yam koj yuav tsum tau ua kom yooj yim rau kev siv. MIC2981 MIC2981 nti los ntawm Micrel tuaj yeem ua zog 8 saw ntawm LEDs. Qhov no txhais tau tias 8 kab sib dhos/ib ncig ntawm kaum LEDs mus ncig lub kaus muaj lawv cov anodes txuas rau MIC2981 (ib tus pin txhawb txhua kab/ntiv nplhaib) thiab LEDs hauv cov saw txuas nrog kab tav (kab) muaj lawv cov cathodes txuas rau tus pin ntawm Arduino. Qhov no tso cai rau qhov ua tau tias 10 LEDs hauv kab/ntiv nplhaib ib txhij nrog nrog tam sim no txaus kom teeb pom kev zoo ib yam. Tam sim no nti no tsis tau siv hauv txoj haujlwm no. Kuv muaj phiaj xwm siv nws los ua kom muaj zog thiab ua kom lub ntsej muag ci ntsa iab. Proto Shield rau Arduino los ntawm AdaFruit Industries Kuv tau siv daim ntawv pov thawj no nrog lub khob cij me me kom kuv tuaj yeem tshem Arduino los ntawm lub kaus rau lwm txoj haujlwm. Cov ntawv me me muaj chav txaus rau kev sib txuas xav tau rau txoj haujlwm no.

Kauj ruam 4: MockUp

MockUp
MockUp
MockUp
MockUp
MockUp
MockUp
MockUp
MockUp

Txhawm rau kom ntseeg tau tias kuv nkag siab yuav ua li cas cov teeb tsa LED yuav tsum tau tsim, kuv tau ua 3x3 array kom pom tias cov laug thiab cov phiaj xwm yuav ua haujlwm li cas. Lawv tau ua! Yog li kuv txiav txim siab mus tom ntej nrog txoj haujlwm. Yog tias koj paub tseeb tias koj nkag siab cov teeb tsa LED, hla cov kauj ruam no. Txwv tsis pub, nqis peev ob peb ntawm LEDs, qee qhov xaim, qhwv qhwv, thiab ib teev lossis yog li hauv kev ua 3x3 array thiab ntsuas nws tawm. Cov ntsiab lus ntawm kev ua cov array nyob hauv cov kauj ruam hauv qab no tab sis siv tau rau qhov mockup.

Txhawm rau tsim 3x3 LED matrix, ua raws thiab hloov kho cov kauj ruam Ua LED Matrix uas piav qhia tag nrho cov lej. Cov qauv piv txwv hauv qab no rau qhov mockup tsis siv qhov zoo ntawm MIC2981 (Kuv tau sau nws ua ntej kuv muaj ib qho:-). Txhua lub LED tau ci ntsa iab. Qhov no ua haujlwm rau 3x3 array tab sis tsis ntsuas zoo. [Qhov tseeb, nws ntsuas tau zoo rau tag nrho cov lej tab sis LEDs me ntsis.]

Kauj Ruam 5: Ua rau LED Matrix - Npaj Cov Khoom

Ua LED Matrix - Npaj Cov Khoom
Ua LED Matrix - Npaj Cov Khoom
Ua rau LED Matrix - Npaj Cov Khoom
Ua rau LED Matrix - Npaj Cov Khoom

LEDs Npaj cov LEDs los ntawm khoov lawv cov coj. Cov hauv qab no xav tau cov LEDs nrog lawv cov tiaj tiaj tig rau hauv tib txoj kev. Qhov kev xaiv yog yam tsis xav tau, tab sis kev teeb tsa tus qauv qhia kev txo qis kev pheej hmoo ntawm kev ua yuam kev. Tuav lub LED nrog nws sab tiaj (sab cathode) tig rau koj sab xis. Khoov lub cathode rau koj. Qhov no qhia cov cathodes rau hauv av, cov kev taw qhia hluav taws xob xav kom ntws:-). Tsim qhov khoov li 1-2 hli hauv qab hauv qab ntawm LED. Qhov no yuav tso cai rau LED sawv khov kho ntawm cov xaim. Cov anode yuav khoov rau sab laug tom qab cov cathodes tau muab tso rau hauv qhov chaw. Qhov no yuav tiv thaiv kev tsis meej pem thaum siv cov khoom siv. Ob txoj hauv kev yuav tsum tsim lub kaum sab xis nrog cov cathode taw rau koj thiab qhov anode taw mus rau koj sab laug. Nws cua sov shing tubing Txiav ob 1/2 "ntev daim ntawm 1/16" cua sov ntsws tubing rau txhua LED. Qhov ntawd yog ib puas rau caum daim thiab xav tau txog xya taw tsuas yog rau cov no. Txiav ntxiv kaum yim (18) daim rau lub taub hau. Wire Txiav cov xov hlau dub sib npaug hauv tus lej rau kab tav ntawm lub kaus. Ua rau lawv ntev txaus dua tus tav kom muaj xaim txaus los tsim cov ntawv txuas uas txuas rau Arduino. Muaj 8 lub ntsej muag ntawm LEDs uas nyob ib puag ncig lub kaus (qhov no yog tus lej ntawm cov pins tso tawm ntawm MIC2981) yog li txhua lub cathode saw lossis kem yuav suav nrog 8 LEDs. Tso cov xov hlau tawm thiab cim qhov chaw rau LEDs raws tus tav. Kev sib nrug ntawm qhov chaw no teeb tsa qhov kev ncua deb ntawm cov nplhaib ib puag ncig. Sawb ib qho me me ntawm rwb thaiv tsev (li 3 hli) ntawm txhua qhov chaw. Txiav los ntawm rwb thaiv tsev nrog cov hlua hlau ntawm ob qhov chaw kwv yees li ib feem peb ntawm ib nti sib nrug. Tom qab ntawd tsoo cov rwb thaiv tsev nrog rab riam thiab txiav cov rwb thaiv tsev tawm nrog rab riam hluav taws xob lossis rub nws tawm nrog koj cov ntiv tes. Hauv txhua qhov chaw qhib, muab me me ntawm cov laug. Qhov no yog nyob rau hauv kev npaj rau soldering LED cathodes rau cov chaw no.

Kauj Ruam 6: Ua LED Matrix - Cathode Chains

Ua LED Matrix - Cathode Chains
Ua LED Matrix - Cathode Chains
Ua LED Matrix - Cathode Chains
Ua LED Matrix - Cathode Chains
Ua LED Matrix - Cathode Chains
Ua LED Matrix - Cathode Chains

Thawj kauj ruam hauv kev ua LED matrix yog tsim cov saw hlau rau LED cathodes. Hauv cov kauj ruam dhau los koj txiav kaum (lossis tus naj npawb ntawm kab tav ntawm koj lub kaus) cov xov hlau dub thiab hle lub rwb thaiv tsev ntawm cov ntsiab lus uas cov LEDs tau muag. Hauv theem no koj yuav muab cov cathodes ntawm LEDs.

Tau txais ib qho blob me me ntawm cov laug rau ntawm koj cov hlau. Tso lub LED kom xaim hla ntawm ob txoj hauv kev ntawm LED thiab siv cov hlau kub los txhuam cov cathode. Cov laug ntawm cov hlau thiab cov hlau yuav tsum ntws los ua kev sib txuas. Koj yuav hlawv koj tus ntiv tes thiab lawv yuav taze koj. Tom qab siv cov hlau txhuam, txiav qhov anode kom luv li sai tau. Txhawm rau tiv thaiv cov kab hluav taws xob luv, txhua qhov sib txuas ua ke tau npog nrog ib qho ntawm cov cua sov ntsws tubing. Cov tubing yuav tsum tau thov tom qab kev sib txuas tau ua tiav thiab ua ntej txuas ntxiv rau LED txuas ntxiv (muaj qhov tsis meej pem? Tshav kub kom ntsws rau hauv qhov chaw. Rov ua dua rau cov LEDs uas tseem tshuav hauv cov saw hlau thiab cov saw uas tseem tshuav. Note Hauv phau ntawv qhia no, cov hlua ntawm LEDs uas ua raws kab tav ntawm lub kaus raug xa mus ua kab thiab txhua qhov xaus ntawm tus pin ntawm Arduino. Cov cathodes LED tau muab muag rau cov xov hlau (dub) no. Cov hlua ntawm LEDs uas ncig ncig lub kaus raug xa mus ua kab thiab txhua qhov pib ntawm ib qho ntawm MIC2981 tus pin tso tawm. LED anodes raug muab muag rau cov xov hlau (liab) no.

Kauj Ruam 7: Ua LED Matrix - Anode Rings

Ua tus LED Matrix - Anode Rings
Ua tus LED Matrix - Anode Rings
Ua tus LED Matrix - Anode Rings
Ua tus LED Matrix - Anode Rings
Ua LED Matrix - Anode Rings
Ua LED Matrix - Anode Rings
Ua tus LED Matrix - Anode Rings
Ua tus LED Matrix - Anode Rings

Cov kauj ruam no yog qhov ntev tshaj plaws thiab nyuaj siab tshaj plaws. Qhov chaw tawm koj ua haujlwm ntau hnub, lossis ntev npaum li koj tuaj yeem hla lub rooj noj mov.

LED matrix tau ua tiav los ntawm kev siv cov anodes ntawm LEDs ntawm cov cathode txuas mus rau cov kab ib ncig/ib ncig ntawm cov xov hlau liab. Kev ntsuas ntawm theem no yog qee qhov nyuab dua li rau cov cathode chains vim tias txhua lub nplhaib yog qhov sib txawv sib txawv thiab qhov sib nrug ntawm LED sib txawv rau txhua lub nplhaib. Xam qhov ntev kom raug los ntawm kev nrhiav qhov twg txhua lub nplhaib poob rau ntawm lub kaus thiab ntsuas qhov nrug ntawm kab tav ntawm lub kaus. Koj kuj tseem yuav siv qhov ntsuas no los txiav txim siab qhov sib nrug ntawm lub nplhaib. Muab qhov nrug deb no los ntawm tus naj npawb ntawm kab tav thiab tom qab ntawd suav qhov ntev ntawm qhov rov qab los. Txhua lub nplhaib yuav tsum tau rov qab mus rau Arduino. Lub nplhaib sab nraud muaj qhov rov qab los ntev tshaj plaws, thiab qhov rov qab los tau zuj zus zuj zus vim cov nplhaib tau me dua. Txiav yim (8) daim hlau liab ntawm qhov tsim nyog ntev. Raws li hauv cov kauj ruam dhau los, kos cov xov hlau ntawm qhov chaw raug, tsoo thiab tshem tawm cov rwb thaiv tsev, thiab tso me ntsis ntawm cov kab laug sab hauv txhua qhov qhib. Cov cathode saw zaum saum cov xov tooj liab (uas yog vim li cas khoov hauv cov hlau lead yog qis dua me ntsis). Solder zoo li ua ntej thiab tso cua sov ntsws tubing hla txhua qhov sib koom ua ntej txav mus rau cov saw tom ntej. Kub nplaum cov xov hlau ntawm cov kev sib tshuam no kom ruaj ntseg LED ua los ntawm kev ntxhov siab thiab tawg. Qhov no yog qhov tseem ceeb tshaj plaws txij li ua haujlwm cov lej rau hauv lub kaus tso ntau qhov kev nyuab siab ntawm cov pob qij txha. Qhov kawg ntawm cov kauj ruam no koj yuav tsum muaj cov kab hluav taws xob ib puag ncig ntawm LEDs nrog ob kab ntawm cov xov hlau (ib qho dub, ib qho liab) rov los rau nruab nrab ntawm lub voj voog. Hauv qib tom ntej, koj yuav ua tus pin headers los txuas cov xov hlau no rau Arduino thiab tus tsav tsheb.

Kauj Ruam 8: Ua LED Matrix - Ua tiav Matrix

Ua LED Matrix - Ua tiav Matrix
Ua LED Matrix - Ua tiav Matrix

Txij ntawm no koj yuav tsum muaj qhov ua tiav LED matrix. Cov cathodes soldered rau cov xov hlau dub, anodes rau liab. Nws yuav tsum muaj cov duab ntawm lub kaus. Koj cov ntiv tes raug hlawv. Koj tsev neeg xav tias koj vwm.

Mockup version tau qhia hauv qab no. Daim ntawv qhia tag nrho tsis muaj txiaj ntsig zoo tshaj plaws thiab kuv tsis tau tso tseg kom thaij duab. Saib cov duab ntawm lub kaus nrog cov cim teeb tsa kom pom qhov ua tiav LED matrix.

Kauj Ruam 9: Ua LED Matrix - Pin Headers thiab Resistors

Ua tus LED Matrix - Tus Pin Headers thiab Resistors
Ua tus LED Matrix - Tus Pin Headers thiab Resistors

Ua ntej koj txiav cov kab liab thiab dub kom ntev, txiav txim siab qhov twg thiab yuav ua li cas koj yuav txuas Arduino rau lub kaus. Nws yuav tsum haum rau qhov chaw qhib rau saum. Thaum txiav txim siab, txiav cov xov hlau kom ntev thiab muab lawv txuas rau ntawm lub taub hau.

Xaub ib daim ntawm cov cua sov ntsws tubing mus rau yim lub xov tooj liab liab, muab lawv txuas rau 8-tus pin header, thiab cua sov ua rau cov tubing. Nco ntsoov ua kom muaj kev sib txuas hauv kev xav. Kuv xav txog lub nplhaib sab hauv me tshaj plaws ua kab 1 yog li nws tau txuas rau tus pin 1 ntawm lub taub hau thiab tus pin tsim nyog ntawm MIC2981. Yog tias koj ua yuam kev, koj tuaj yeem rov muag dua cov xov hlau lossis kho qhov tseeb. Tsis txhob ua yuam kev. [Kuv bunched cov xaim hluav taws xob sib txuas ua ke thiab tub nkeeg dhau los txheeb xyuas qhov kev txiav txim kom raug. Nws dhau los ua qhov yooj yim los tswj hwm hauv cov cai. Saib cov ntawv sau tseg hauv ntu ntu.] Ib yam li ntawd ua lub taub hau rau cov hlua cathode. Lub sijhawm no, txawm li cas los xij, tus pin chaw nyob ntawm Arduino hais kom koj ua ob lub taub hau. Koj kuj tseem yuav tsum tau siv ib tus neeg tawm tsam ib leeg hauv kab. Tus tiv thaiv yog nyob ntawm LED thiab qhov hluav taws xob-sab laj hauv online LED-resistor lub laij lej rau tus nqi tsim nyog. Txhua lub taub hau yuav tsum muaj tsib (5) tus pin. Nco ntsoov ua kom muaj kev sib txuas hauv kev xav. Kub nplaum cov kev sib txuas raws li cov no yuav ua rau khoov thiab muaj kev ntxhov siab. Daim duab hauv qab no yog qhov mockup.

Kauj Ruam 10: Pushbutton Hloov rau Hloov Cov Haujlwm

Pushbutton Hloov rau Hloov Cov Haujlwm
Pushbutton Hloov rau Hloov Cov Haujlwm

Lub laub khawm hloov yog siv los hloov ntawm cov haujlwm. Nws ua rau muaj kev cuam tshuam ntawm Arduino uas ua ntej tus lej program. Arduino Diecimilia (thiab lwm tus; txheeb xyuas koj li ntawv) muaj ob qhov cuam tshuam sab nraud uas tuaj yeem ua haujlwm ntawm cov pins digital 2 thiab 3 siv cov attachInterrupt (cuam tshuam, ua haujlwm, hom) ua haujlwm. Tseg tus lej digital 3 rau lub khawm hloov. Qhov no tawm cov pins digital 0, 1, thiab 2 thiab 4, 5, 6, 7, 8 ua cov thaiv rau anode pins.

Kev cuam tshuam tau teeb tsa kom tshwm sim thaum tus pin 3 mus qis. Yog li nws yuav tsum tau tuav siab kom txog thaum khawm raug thawb, ntawm tus pin mus qis. Qhov no xav tau 10K rub tawm tus tiv thaiv kom tuav tus pin siab. Saib daim duab ntawm lub khob cij thiab nyeem txog rub tawm thiab rub tawm cov neeg tawm tsam.

Kauj ruam 11: Breadboarding

Breadboarding
Breadboarding

Txoj haujlwm no siv Protoshield los ntawm Adafruit Industries nrog lub khob cij me me (txawm hais tias txhua qhov teeb tsa uas haum rau lub kaus yuav tsum ua haujlwm). Cov ntawv me me muaj kaum kaum (17) kab thiab txoj haujlwm no siv lawv txhua tus! Nco tseg tias daim ntawv qhia zaub mov tsis suav nrog MIC2981. Kuv tsis muaj. Tsis tau. Lub kaus ua haujlwm zoo txaus yam tsis muaj nws, uas kuv txiav txim siab sau cov ntawv qhia no ua ntej tau txais ib qho.

Ntau qhov kev teeb tsa sib txawv tuaj yeem ua tau yog li siv qhov no los ua phau ntawv qhia. Nco tseg, txawm li cas los xij, qhov chaw ntawm lub pob nyem hloov. Ob tus pin ntawm Arduino tuaj yeem (teeb tsa tau yooj yim) teeb tsa ua kev cuam tshuam, thiab lub khawm hloov yuav tsum txuas rau ib qho ntawm lawv. Daim duab hauv qab no TSIS YOG MIC2981 nti. Kuv yuav tshaj tawm cov duab thaum kuv tau txais ib feem thiab hloov daim ntawv qhia zaub mov kom haum.

Kauj Ruam 12: Xeem LED Matrix

Qhov no tej zaum lig hauv qhov kev ua si los txiav txim siab sim, tab sis zoo dua yog lig dhau lawm. Ua ntej txhim kho LED matrix hauv lub kaus (kauj ruam tom ntej), nqes tus lej rau Arduino thiab ua qhov kev xeem ntsuas suav nrog hauv qab no. Txoj cai tsuas yog sau los ntawm txhua LED thiab ntsuas nws. Yog tias kev sib txuas tsis zoo lossis LEDs tau tawg, kho lawv tam sim no thaum txhua yam tuaj yeem nkag tau.

Qhov no tseem yog lub sijhawm los txiav txim seb tus pin sib raug rau kab lossis kab twg. Yog tias koj tau ceev faj thaum ua tus pin headers, koj twb paub lawm. Txwv tsis pub, koj yuav tsum xam nws tawm los ntawm kev ua kom qeeb ntawm cov tsiaj ntawv thiab txiav txim siab tus lej tus lej tswj hwm kab lossis kab twg. Koj teeb tsa kab hauv kab lus uas muaj tus lej tus lej hauv qhov kev txiav txim raug.

Kauj Ruam 13: Sib dhos cov LEDs hauv lub kaus

Sib dhos cov LEDs hauv Lub Koob
Sib dhos cov LEDs hauv Lub Koob

Nrog LED matrix ua tiav thiab tus pin headers thiab resistors nyob rau hauv qhov chaw, nws yog lub sijhawm los ua kom tiav lub rooj sib txoos. LED matrix yuav tsum tau muab tso rau nruab nrab ntawm cov ntaub ntawm lub kaus thiab tus tav. Cov ntaub ntawm lub kaus yog ncab hla tus tav thiab feem ntau yog xaws rau hauv ib qho rau txhua tus tav. Qhov no yuav tau txiav ua ntej tag nrho cov LED matrix tuaj yeem swb ntawm nruab nrab ntawm cov tav thiab cov ntaub. Tom qab muab tso rau hauv LED matrix, rov xaws qhov koj txiav. Qhov no yuav ruaj ntseg lub matrix rau hauv lub kaus. Tsis txhob rov xaws yog tias koj xav tias koj yuav xav tshem cov LEDs. Tsis xav txog vim li cas.

Qhov no yog txheej txheem siv sijhawm ntau heev. Yog tias koj tseem tsis tau kub glued LED ua, ua tam sim no. Yog tias koj tsis ua koj yeej yuav tawg ob peb LEDs thaum teeb tsa. Kuv tau ua haujlwm nrog lub kaus dai los ntawm tus pas txhuam hniav tshem tawm ntawm ob lub rooj zaum (tsis muaj daim duab:-). Lub kaus tau qhib los ntawm lub ntiajteb txawj nqus thiab cov ntaub tsis tau ncab nruj. Kuv tuaj yeem txav mus los. Pib los ntawm zawv zawg kab hauv qab ib qho ntawm cov tav. Ua ntej nws thiab kab ntawv tom ntej. Rov ua dua. Nws yog txheej txheem tsis txaus ntseeg. Thaum koj thaum kawg tso cov LEDs kom ntseeg tau tias muaj tav tav so ntawm qhov cua sov ntsws tubing. Qhov no yuav txo qis txoj hauv kev txhuam. Lub kaus yuav tsis kaw zoo. Kuv xav tias kuv yuav tsum tau hais qhov no ua ntej. Txawm hais tias kuv tseem tsis tau ua qhov no, Kuv yuav xaws ob peb lub voj nyob ib puag ncig cov LEDs thiab rau hauv cov ntaub ntawm cov ntaub los tuav lawv hauv qhov chaw. Ua tib zoo saib ntawm cov nqaws ntawm lub vaj huam sib luag thiab koj yuav pom cov khoom me me uas koj tuaj yeem xaws tau.

Pom zoo: