Cov txheej txheem:
- Kauj Ruam 1: Qhov Chaw
- Kauj ruam 2: Sib dhos
- Kauj ruam 3: Program Arduino
- Kauj Ruam 4: Qhov Chaw, Lub Hwj Chim, Kev Tiv Thaiv Huab Cua
Video: Tsis-solder Fireflies / Kab laum: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Kuv xav ntxiv LED foob pob hluav taws (kab laum qhov kuv loj tuaj) rau kuv lub vaj rau Xus, thiab txiav txim siab ua qee yam nrog cov hlua LED thiab Arduino. Muaj ntau txoj haujlwm zoo li no, tab sis feem ntau xav tau kev sib txuas thiab kev sib txuas. Cov ntawd yog qhov zoo, tab sis kuv txiav txim siab los saib seb nws puas tuaj yeem ua tiav yam tsis muaj kev siv tshuaj yaj yeeb los ua kom lawv yooj yim heev los tsim.
Kuv kuj tau sau cov cai kom tswj tau tus naj npawb ntawm cov nplaim taws uas tuaj yeem ntsais qhov tseeb.
Txoj hauv kev yooj yim yog siv WS2811 LED kab vim tias lawv twb tsis muaj dej. Lawv nyiam rau hnub so teeb pom kev zoo, thiab kev sib xyaw ua ke ntawm WS2811 nti thiab 5050 LED hauv cov no yog qhov tseem ceeb tshaj plaws ntawm WS2812b lossis "Neopixels" hauv Adafruit parlance. Lawv lwm qhov txiaj ntsig yog tias tsuas yog ib kab ntawv xav tau rau txhua tus lej ntawm LEDs.
Fais cov no yog qhov yooj yim heev - lub xov tooj cua USB me me rau ib qho USB fais fab thaiv lossis roj teeb. Lawv tsis siv lub zog ntau thiab tuaj yeem siv sijhawm ntev ntawm USB roj teeb.
Kauj Ruam 1: Qhov Chaw
Daim ntawv teev npe yog txhob txwm yooj yim:
- Ib Arduino. Kuv siv Arduino Nano txij li lawv tsis kim thiab me dua. Lawv yuav luag zoo ib yam tshwj xeeb raws li Arduino Uno. Cov uas nyob hauv qhov txuas saum toj no muaj cov pins soldered rau thiab tuaj nrog micro USB xov hlau. Koj yuav xav tau lub mini USB cable, thiab qee qhov tuaj nrog Nanos txuas saum toj no.
- Arduino Nano Terminal Shield. Nov yog qhov ua kom yuam kev uas tsis muaj qhov muag - koj tuaj yeem siv tus ntsia hlau los txuas cov xov hlau. Yog tias koj xav tau txuas peb lub xov hlau hloov pauv, koj tuaj yeem hla qhov no thiab xaj Arduino Nano cov laug cam nrog cov pins tsis txuas kom koj tuaj yeem txuas ncaj qha mus rau Nano board.
- Cov LEDs. Kuv siv WS2811 cov hlua, uas tau ua haujlwm zoo ib yam li WS2812b LED strips. Lawv tsis muaj dej, thiab kuv tau txais qee qhov nrog cov xov dub los ua kom lawv pom tsawg dua hauv cov ntoo. Lawv kuj tuaj nrog cov xov hlau ntsuab. Lawv tuaj nrog 50 LEDs ib txoj hlua, thiab lawv muaj cov txuas sib txuas yog li koj tuaj yeem daisy saw lawv. Kuv siv 100-200 LEDs, yog li 2 txog 4 ntawm cov kab no. Kuv tab tom txhawb lawv los ntawm Arduino 5v tus tswj hwm kom yooj yim.
- Roj teeb. Kuv tau siv kuv lub roj teeb nrog USB, tab sis koj tseem tuaj yeem ntsaws nws rau hauv txhua qhov chaw USB. - Roj Teeb Yooj Yim - Roj Teeb Loj dua - Roj Teeb Loj - tej zaum yuav ntau dhau Ob qhov kawg no yog qhov zoo rau cov neeg hlau thiab LED teeb pom kev txij li lawv muaj ob qho 5v thiab 12v tso tawm.
- JST txuas - cov no tuaj nrog cov hlua LED, tab sis tsuas yog qhov xwm txheej, cov no yog qhov xav tau.
Kauj ruam 2: Sib dhos
Los ua ke yog yooj yim heev.
Txuas lub Arduino Nano rau hauv lub dav hlau thaiv. Xyuas kom tus pin raug raws li daim ntawv lo - nws tuaj yeem ntsaws rov qab.
Siv qhov txuas JST txuas uas los nrog LEDs. Txuas 5v thiab Gnd rau cov pins ntawm Arduino. Txuas cov ntaub ntawv kab rau tus pin 6 (tuaj yeem hloov pauv hauv txoj cai yog tias koj xav tau).
Cov kab hluav taws xob LED tuaj nrog cov xov hluav taws xob uas tau hle thiab muab pov tseg. Cov ntawd tuaj yeem luv koj lub roj teeb, yog li txiav lawv lossis kaw lawv (lossis siv cua sov ntsws tubing yog tias koj muaj). Kuv txiav tawm cov lus qhia tinned thiab txiav ib qho luv dua lwm qhov kom tiv thaiv lawv los ntawm kev kov.
Tam sim no koj tuaj yeem txuas cov hlua rau hauv Arduino.
Qhov ntawd yog nws!
Tus naj npawb ntawm LEDs thiab Lub Hwj Chim
Txhua ntawm 5050 LEDs hauv txoj hlua tuaj yeem siv 60mA thaum ua tiav. Txij li muaj peb lub LEDs (Liab/Ntsuab/Xiav) thiab txhua tus tuaj yeem muaj tus nqi 0-256 (hauv txoj cai), tag nrho ntawm yuav yog 256 + 256 + 256 = 768 rau Liab, Ntsuab, thiab Xiav siv. Hauv kuv tus lej, kuv siv 50 rau Liab, 50 rau Ntsuab, thiab 0 rau Xiav, yog li txhua ntawm LED yuav siv kwv yees li 60mA * 100 /768 = 7.8125mA ib LED thaum lawv nyob.
Qhov tseem ceeb yog pes tsawg LEDs yuav nyob rau tib lub sijhawm. Kuv tus lej tam sim no tsuas yog tig lawv ntawm qee qhov tsis sib xws tsawg heev - 5/10, 000. Hauv kev xyaum kuv tsuas pom ob peb ntawm ib lub sijhawm, tab sis raws li kev xav lawv txhua tus tuaj yeem ua ib zaug. Kuv tuaj yeem ntxiv cov lej txhawm rau txhawm rau tus lej hauv ib lub sijhawm, tab sis qhov txawv yog qhov deb heev. Tus lej ntawm yog ib nrab nyob ntawm tus naj npawb ntawm LEDs, thiab qhov sib txawv tau suav rau txhua tus LED, yog li LEDs tau ntxiv, ntau LEDs yuav ci.
Arduino 5v tus tswj hwm tuaj yeem siv txog 500mA, thiab qee qhov yog siv rau Arduino nws tus kheej, yog li tej zaum muaj li 450mA muaj. Ntawm 7.8mA rau ib qho LED, uas tso cai txog 57 LEDs nyob rau tib lub sijhawm, thiab txawm tias thaum LED qhib, nws feem ntau ploj mus lossis qis dua, siv lub zog txawm tias tsawg dua. Yog li, xyaum ua, Arduino USB lub zog hloov kho tau zoo rau ntau lub LEDs.
Tus naj npawb ntawm LEDs thiab Arduino Nco
Thaum suav ua ke, txoj haujlwm nrog 100 LEDs, Arduino IDE tshaj tawm tias 21% ntawm DRAM tau siv (feem ntau rau cov xwm txheej teeb tsa LED), rau 300 LEDs, nws yog 60%. Yog li, qee qhov strands zoo. Yog tias koj xav tau LEDs ntau dua, koj tuaj yeem khaws cov npe ntawm LEDs uas tau ua tiav - yuav muaj txiaj ntsig ntau dua, tab sis nrog ntau txoj hlua, koj tseem yuav ua rau muaj teeb meem teeb meem - poob hluav taws xob, thiab xav tau cov txuj ci zoo li txhaj tshuaj. Kuv tau siv qhov ntawd hauv lwm Cov Lus Qhia, tab sis dhau ntawm qhov ua tiav ntawm txoj haujlwm nrawm no. Ntawm 100-200 LEDs, muaj ntau DRAM thiab lub zog.
Kauj ruam 3: Program Arduino
Cov duab kos uas txuas nrog yuav ntsais cov LEDs zoo li cov nplaim taws. Cov cai tau hais tawm me ntsis, tab sis qhov tseem ceeb tshaj yog teeb tus lej ntawm LEDs rau pes tsawg koj tab tom siv.
Kauj Ruam 4: Qhov Chaw, Lub Hwj Chim, Kev Tiv Thaiv Huab Cua
Txoj haujlwm no tau siv los ntawm USB chaw nres nkoj ntawm Arduino, yog li txhua lub zog USB tuaj yeem siv tau. Rau qhov pom tau ruaj khov dua, koj tuaj yeem siv USB phab ntsa adapter.
Yog tias txoj haujlwm yuav nyob sab nraud rau lub sijhawm ntev, nws yuav tsum tau dej tsis qab. Lub thawv hluav taws xob tsis muaj dej lossis txawm tias lub thawv ntim khoom noj yog qhov zoo.
Pom zoo:
Ntxiv Kab Kab rau hauv Boombox Nrog Cov Kab Xev: 5 Kauj Ruam
Ntxiv Kab Kab rau hauv Boombox Nrog Daim Kab Xev: ** Raws li nrog txhua qhov kev qhia, koj coj koj cov khoom / kev noj qab haus huv / yam twg los rau hauv koj txhais tes thaum sim! Ua tib zoo saib xyuas qhov muaj hluav taws xob ntau ntawm lub rooj tsav xwm tseem ceeb, cov hlau kub, thiab lwm yam. Ua tib zoo thiab ua siab ntev yuav coj koj mus rau qhov ua tiav. ** Tsi
Kom Tau Tshuaj Tiv Thaiv lossis Tsis? Txoj Haujlwm Saib Xyuas Kev Tiv Thaiv Kab Mob Los Ntawm Kab Mob Simulation: 15 Kauj Ruam
Kom Tau Tshuaj Tiv Thaiv lossis Tsis? Txoj Haujlwm Saib Xyuas Kev Tiv Thaiv Kab Mob Los Ntawm Kab Mob Simulation: Txheej txheem cej luam ntawm Txoj Haujlwm: Peb txoj haujlwm tshawb nrhiav pab pawg tiv thaiv kab mob thiab vam tias yuav txhawb cov tib neeg kom txhaj tshuaj tiv thaiv kom txo tus kab mob hauv peb cov zej zog. Peb txoj haujlwm sim ua li cas tus kab mob kis rau cov pejxeem nrog feem pua sib txawv ntawm kev txhaj tshuaj tiv thaiv kab mob
IKEA Charging Box - Tsis Muaj Kab Kab Ntxiv! Yooj Yim heev Ua: 3 Kauj Ruam
IKEA Charging Box - Tsis Muaj Kab Kab Ntxiv! Yooj Yim heev Ua: Raws li qhov kuv tau nyeem hauv lub vev xaib txog kab xev tsis sib xws thiab tsis sib xws (lub xov tooj ntawm tes, PDA, iPod, thiab lwm yam.) -Kuv xav tias yuav ua li cas thiaj yooj yim thiab yooj yim heev rau ua lub thawv them nyiaj.Kuv tau ua qhov no tshwj xeeb tshaj yog hais txog nws qhov yooj yim thiab, vim li cas ho tsis, sib cais thiab sib koom
Xib Fwb Kab Kab Kab Zoo Tshaj Plaws Txhua Lub Sijhawm: 7 Kauj Ruam (nrog Duab)
Xib Fwb Kab Kab Zoo Tshaj Plaws Txhua Lub Sijhawm: Hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas txhawm rau txhawm rau txhawm rau ua kom zoo tshaj plaws hauv kab xaim sib txuas, txhua lub sijhawm Dab tsi yog kab inline txuas? xaim koj muaj 2 txoj kev xaiv, pigtail lossis inlinePigtail s
Zero Tus Nqi Laptop Txias / Sawv (Tsis Kua, Tsis Muaj Drilling, Tsis Ceev & Bolts, Tsis Ntsia Hlau): 3 Kauj Ruam
Zero Tus Nqi Laptop Txias / Sawv (Tsis Muaj Cov Kua, Tsis Muaj Drilling, Tsis Ceev & Bolts, Tsis Muaj Screws): Hloov kho tshiab: THOV TSHIAB KINDLY VOTE Rau MY INSTRUCTABLE, Ua tsaug ^ _ ^ Koj kuj tseem tuaj yeem sau npe rau kuv qhov kev xav NYEEM NTAWV www.instructables.com/id/Zero-Cost-Aluminium-Furnace-No-Propane-No-Glue-/ LOS YOG MAYBE VOTE rau kuv tus phooj ywg zoo tshaj plaws