Cov txheej txheem:
- Kauj Ruam 1: Yam Koj Yuav Tsum Tau
- Kauj Ruam 2: Txoj Kev Npaj
- Kauj Ruam 3: PCB Tsim
- Kauj Ruam 4: Sib dhos PCBs
- Kauj Ruam 5: Sib dhos lub voos xwmfab
- Kauj Ruam 6: Sib Sau Ua Ke
- Kauj Ruam 7: Sijhawm rau Coding
- Kauj ruam 8: Txaus siab rau
- Kauj Ruam 9: Cov phiaj xwm yav tom ntej
Video: LED Mood Teeb: 9 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Tsis ntev los no kuv tau hla ib lub voos xwmfab LED los ntawm Greg Davill. Nws yog ib daim duab zoo heev. Tau txais kev tshoov siab los ntawm nws, txawm tias kuv xav ua qee yam zoo li ntawd. Tab sis qhov no yog txoj hauv kev tawm ntawm kuv pab koomtes. Kuv txiav txim siab los ua ib kauj ruam ntawm ib lub sijhawm thiab ua txoj hauv kev me me ntawm LED Cube ua Lub Teeb Mood. Nws tuaj yeem yog qhov pib zoo los kawm txog kho vajtse, uas feem ntau yog LEDs thiab microcontrollers, thiab software los tswj lawv (tsim cov duab ua duab).
Hauv Cov Lus Qhia no, Kuv yuav qhia koj li cas kuv thiaj ua LED Cube siv lub npe nrov WS2812 LEDs.
Cia peb pib
Kauj Ruam 1: Yam Koj Yuav Tsum Tau
96x WS2812 LEDs
6 x PCBs
1 x Arduino Nano
1x 5V/1A Fais Fab Khoom
Kauj Ruam 2: Txoj Kev Npaj
Lub hom phiaj yog ua kom muaj lub teeb pom kev zoo. Kuv xav ua kom yooj yim thiab yog li kuv txiav txim siab mus nrog cov npe nrov WS2812 Ib Leeg Nyob Ib Leeg LEDs. Cov LEDs tau txuas nrog hauv cascade uas txhais tau tias koj tuaj yeem tswj tau ntau LEDs koj xav tau los ntawm ib qho kab teeb liab/xaim los ntawm lub microcontroller. Qhov no ua rau thaiv yooj yim heev.
Cov LEDs muaj nyob hauv SMD nkaus xwb. Yog li, cov kauj ruam tom ntej yuav yog tsim cov PCBs.
Cov kauj ruam tom ntej yog tsim thiab 3D luam tawm tus qauv los tuav cov PCBs zoo li lub voos xwmfab.
Cov LEDs yuav raug tswj siv Arduino Nano. Kauj ruam kawg yuav yog tsim thiab luam 3D daim ntawv rau Arduino.
Kauj Ruam 3: PCB Tsim
Koj tuaj yeem siv cov software uas koj nyiam rau tsim PCBs. Kuv tab tom siv EasyEDA raws li nws tsim nyog rau cov neeg tshiab zoo li kuv. Kuv tau txuas nrog schematic. Nyem rau qhov no rub Gerber cov ntaub ntawv rau PCB.
LED muaj 4 tus pin:
- VDD - 5V
- DOUT - Tshaj Tawm
- VSS - Hauv av
- DIN - Teeb liab Hauv
Raws li tau hais ua ntej, LEDs tau txuas nrog hauv cascade uas txhais tau tias lub teeb liab los hauv los ntawm lub microcontroller mus rau 1st LED ntawm DIN tus pin. Los ntawm DOUT tus pin, lub teeb liab mus rau DIN tus pin ntawm 2nd LED.
Thaum tsim cov PCBs, Kuv tau xav txog kev siv tes txuas cov LEDs thiab yog li kuv tau khaws qhov chaw txaus ntawm LEDs rau cov hlau txuas kom mus txog cov ntaub qhwv. Tab sis tom qab, raws li koj yuav pom, Kuv tau mus nrog rov ua dua tshiab nrog kuv qhov kev teeb tsa me me vim tias txoj kev no nrawm thiab zoo (thiab txaus siab saib) yog ua tiav.
Thaum koj tau ua tiav kev tsim PCB, tau txais nws los ntawm cov chaw tsim khoom uas koj xaiv. Kuv xaiv JLCPCB vim nws qhov kev pabcuam sai.
Kauj Ruam 4: Sib dhos PCBs
Thaum xub thawj, kuv pib siv tes ua cov LEDs ib tus zuj zus. Qhov tshwm sim tsis zoo thiab cov LED tau dhau los ua cua sov uas tsis yog lub cim zoo. Tsis tas li, nws yog txheej txheem siv sijhawm ntau thiab siv cov khoom siv 96 LEDs yuav xav tau sijhawm ntau.
Txoj kev siv dav tshaj plaws los txhawm rau txhawm rau SMD cov khoom siv hu ua Reflow Soldering. Hauv txoj hauv kev no, muab tshuaj txhuam txhuam (sib xyaw ntawm cov kab laug sab thiab dej ntws) tau siv rau cov pawm ntawm PCB thiab cov khoom siv tau muab tso rau ntawm nws. Cov kab laug sab laug yog tom qab ua kom yaj lossis 'rov ua dua' los ntawm cua sov nws hauv qhov cub rov qab. Nov yog txoj hauv kev nrawm thiab zoo yog ua tiav kom raug.
Siv txoj hauv kev no txhais tau tias kuv yuav xav tau Lub Cub Dej Rov Los. Tab sis tom qab ntawd kuv nco qab ib txoj haujlwm los ntawm Moritz König uas nws siv cov hlau qub qub thiab Wemos los tswj qhov ntsuas kub. Tib qho uas kuv muaj ntawm tes yog hlau tiaj tus uas tseem siv tau. Qhov kub ntawm cov hlau tau txog li 220 degree Celsius ntawm nws qhov siab tshaj plaws thiab cov tshuaj txhuam hniav kuv yuav yaj ntawm 183 degrees. Ua tibzoo saib qhov reflow soldering kub profile los ntawm cov ntawv teev npe ntawm LED, peb tuaj yeem pom tias qhov siab tshaj plaws kub (Tp) yog 240 degrees rau 10 secs. Txhua yam zoo li cia siab thiab yog li kuv tau sim nws.
Kuv tau siv cov tshuaj txhuam rau ntawm cov ntaub qhwv uas siv tus pas txhuam hniav thiab tso cov khoom sib dhos. Qhov kev tso kawm tsis yog ib qho tseem ceeb vim tias cov laug rub cov khoom hauv qhov chaw thaum nws yaj. Kuv tso PCB rau ntawm hlau raws li qhia hauv daim duab thiab tig rau hlau. Kuv tig OFF cov hlau thaum tag nrho cov laug tau yaj thiab tshem PCB los ntawm cov hlau.
Nws ua haujlwm kho!
Kauj Ruam 5: Sib dhos lub voos xwmfab
Kuv 3D luam tawm tus qauv los tuav cov PCBs hauv qhov chaw. Cov ntaub ntawv 3D tau txuas ntawm no. Koj yuav tsum luam tawm 1x Lub cev pob txha thiab 6x tus tuav. Muab cov tuav rau sab nraum qab ntawm PCB siv superglue raws li qhia hauv daim duab. Cov PCBs tuaj yeem raug muab tso rau hauv qhov chaw ntawm cov qauv pob txha. Nws yog kev sib txhuam haum. Sanding tej zaum yuav tsum tau.
Ua cov thaiv raws li qhia hauv kab ntawv. Soldering tuaj yeem nyuaj me ntsis ntawm no.
Kauj Ruam 6: Sib Sau Ua Ke
Cov ntaub ntawv 3D rau lub hauv paus tau txuas rau ntawm no. Lub hauv paus yuav tsev Arduino Nano. Yuav muaj tag nrho 3 xov hlau mus rau lub voos xwmfab. DIN, 5V thiab GND. Kuv tab tom ua lub voos xwmfab dhau los ntawm lub xov tooj USB them. Nco ntsoov tias nws muaj peev xwm tuav tsawg kawg 1A.
DIN tus pin tuaj yeem txuas nrog ib qho ntawm cov pins digital ntawm Arduino. Kuv xaiv D4.
Kauj Ruam 7: Sijhawm rau Coding
Txog tam sim no, Kuv yuav siv tus qauv piv txwv los ntawm FastLED Library. Nruab lub tsev qiv ntawv siv Tus Thawj Saib Xyuas Tsev Qiv Ntawv. Qhib DemoReel100 los ntawm qhov piv txwv piv txwv. Cov ntaub ntawv> Piv txwv> FastLED> DemoReel100
Ua ntej xa cov cai, ua cov kev hloov hauv qab no:
- Txhais DATA_PIN (tus pin ntawm Arduino uas DIN ntawm lub voos xwmfab txuas nrog) rau txhua yam uas koj tau xaiv. Hauv kuv qhov xwm txheej, 4 (Digital Pin 4)
- Txhais LED_TYPE li WS2812
- Txhais NUM_LEDS li 96
Thiab, ntaus Upload!
Kauj ruam 8: Txaus siab rau
Fais fab koj lub teeb thiab txaus siab rau ntsia nws!
Ua tsaug rau koj lo rau qhov kawg. Vam tias koj txhua tus nyiam txoj haujlwm no thiab kawm paub qee yam tshiab hnub no. Qhia rau kuv paub yog tias koj ua ib qho rau koj tus kheej. Sau npe yuav ua rau kuv tus YouTube channel rau ntau txoj haujlwm zoo li no. Ua tsaug ntau ntau!
Kauj Ruam 9: Cov phiaj xwm yav tom ntej
- Txuas lub voos xwmfab mus rau is taws nem (IoT) siv ESP8266 thiab ceeb toom rau kuv thaum twg muaj 'xwm txheej' tshwm sim.
- Tsim kuv tus kheej cov animations.
Runner Up hauv Kev Ua Nws Glow Contest
Pom zoo:
Dusty Wall Arduino Animated Led Teeb Nrog Teeb Lub Teeb: 11 Cov Kauj Ruam (nrog Duab)
Dusty Wall Arduino Animated Led Lamp Nrog Lub Teeb Pom Kev: Kuv nyuam qhuav muaj me nyuam thiab tom qab ua nws chav pw, kuv xav tau lub teeb ntawm phab ntsa. Raws li kuv nyiam heev LED kuv txiav txim siab los tsim ib yam.Kuv nyiam lub dav hlau dav dav, yog li vim li cas ho tsis tso lub dav hlau los ntawm daim duab tas luav rau ntawm phab ntsa, ntawm no thaum nws pib thiab kuv ua li cas
DIY LED Teeb - Niaj Hnub Teeb Meem Teeb Nrog Cov Chaw Taws Teeb: 8 Kauj Ruam (nrog Duab)
DIY LED Teeb - Niaj Hnub Teeb Mood Teeb Nrog Chaw Taws Teeb: Hauv kab lus no kuv yuav mus hla cov txheej txheem Kuv tau siv los tsim qhov no zoo heev pyramid zoo li tus LED Mood Teeb.Kuv siv maple rau cov qauv tseem ceeb thiab qee qhov mahogany txhav ntxiv rau lub zog. Rau lub teeb Kuv siv RGB LED teeb uas tuaj nyob hauv 16 ko taw
Dynamic LED Teeb Pom Duab Duab Lub thawv thiab Ncej rau Kos Duab :: 16 Cov Kauj Ruam (nrog Duab)
Dynamic LED Lighting Shadow Box and Frame for Art :: Teeb pom kev yog qhov tseem ceeb ntawm kev kos duab. Thiab yog tias teeb pom kev zoo tuaj yeem hloov pauv nrog lub sijhawm nws tuaj yeem dhau los ua qhov tseem ceeb ntawm kev kos duab. Txoj haujlwm no tau pib nrog koom nrog kev ua yeeb yam pom thiab pom tias lub teeb pom kev zoo tuaj yeem hloov pauv li cas
Kov Tswj Lub Teeb Nrog Ntawv Teeb Duab: 14 Cov Kauj Ruam (nrog Duab)
Kov Tswj Lub Teeb Nrog Daim Duab Teeb Duab: Hauv cov lus qhia no kuv piav qhia yuav ua li cas koj tuaj yeem tsim lub teeb kov kov nrog ntawv ua lub teeb ntxoov ntxoo.Nws yog txoj haujlwm yooj yim uas txhua tus tuaj yeem tsim nws hauv tsev. los yog tawm lub teeb los ntawm kev kov
LED Teeb Teeb Duab Cwjmem: Cov Cuab Yeej rau Teeb Teeb Doodles: 6 Kauj Ruam (nrog Duab)
LED Teeb Teeb Lub Cwjmem: Cov Cuab Yeej rau Teeb Doodles: Kuv tus poj niam Lori yog tus neeg siv tsis tu ncua thiab kuv tau ua si nrog kev yees duab ntev ntev rau ntau xyoo. Kev tshoov siab los ntawm PikaPika pab pawg teeb pom kev zoo thiab yooj yim ntawm cov koob yees duab digital peb tau siv lub teeb duab kos duab kom pom tias peb tuaj yeem ua dab tsi