Cov txheej txheem:
- Kauj Ruam 1: Sau cov Khoom
- Kauj Ruam 2: Cov Pins Solder rau LED Module
- Kauj Ruam 3: Nqes Arduino
- Kauj Ruam 4: Nruab FastLED Library
- Kauj Ruam 5: Sib dhos Lens Array
- Kauj Ruam 6: Txheeb Xyuas Focal Ntev ntawm Lens Matrix
- Kauj Ruam 7: Sim nrog LED Matrix thiab Lens Array
Video: Tsim kom muaj Arduino LED Matrix Nrog Tsom Tsom Qhov Tseeb: 7 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Cov Lus Qhia no qhia yuav ua li cas tsav tus nqi pheej yig LED los ntawm Arduino. Kuv tseem yuav qhia koj li cas siv lub tshuab luam ntawv 3D thiab cov khoom pheej yig los tsim cov iav me me kom tsom mus rau lub teeb los ntawm LEDs thiab pab lawv pom qhov ci dua li qhov lawv ua tiag. Hauv qhov tsaus ntuj, nws tuaj yeem npaj cov qauv nthuav dav thoob plaws hauv chav!
Cov LEDs siv hauv txoj haujlwm no yog 4x4 matrix ntawm qhov chaw nyob WS2812 LEDs. Cov no yog pheej yig thiab tau yooj yim tsav los ntawm Arduino. Cov lo ntsiab muag yog 8 hli txoj kab puag ncig puag ncig iav iav cabochons, uas yog pheej yig heev thiab pheej yig dua li lo ntsiab muag tiag.
Kauj Ruam 1: Sau cov Khoom
Rau LED matrix:
- Plaub-ntawm-plaub qhov sib txawv ntawm tus kheej qhov chaw nyob WS2812 LEDs (kwv yees li $ 5 los ntawm eBay)
- Qee qhov tawg tawm lub taub hau
- Plaub tus txiv neej-rau-poj niam jumper cables
- Soldering hlau thiab solder
- Pab txhais tes
Rau kev sib sau ua ke micro-lens array:
- Kaum rau 8 hli txoj kab uas hla tiaj tus rov qab iav cabochons (kwv yees li $ 2 los ntawm eBay rau 20)
- Ib lub tshuab luam ntawv 3D
Kauj Ruam 2: Cov Pins Solder rau LED Module
Siv sab txiav kom tshem tawm plaub tus pin ntev ntawm lub taub hau thiab muab lawv txuas rau ntawm LED module, raws li qhia hauv daim duab.
Kauj Ruam 3: Nqes Arduino
Khiav peb lub xov tooj hluav taws xob los ntawm Arduino mus rau LED module, raws li hauv qab no:
- 5v rau 5v
- GND to CSY
- ~ 5 to AW
Nco tseg: Tsis txhob sim tsav ntau dua 4x4 LED matrix los ntawm koj li Arduino. Yog tias koj xav tsav tsheb ntau dua, koj yuav xav tau cov khoom siv hluav taws xob cais.
Kauj Ruam 4: Nruab FastLED Library
Qhib Arduino IDE thiab mus rau hauv "Sketch" -> "Xws li Lub Tsev Qiv Ntawv" -> "Tswj Cov Tsev Qhua …". Nruab ib lub tsev qiv ntawv "FastLED" los ntawm Daniel Garcia.
Tam sim no, los ntawm "Cov Ntaub Ntawv" ntawv qhia zaub mov, xaiv "Piv txwv" -> "FastLED" -> "ColorPalette" thiab xa cov duab kos rau koj Arduino. Tam sim no LEDs yuav ci thiab pib ua xim nyob rau hauv cov qauv sib txawv!
Hauv cov kauj ruam tom ntej, kuv yuav qhia koj yuav ua li cas txhawm rau txhim kho lub lens me me kom mob siab rau thiab teeb tsa lub teeb los ntawm LEDs.
Kauj Ruam 5: Sib dhos Lens Array
Siv lub tshuab luam ntawv 3D los luam tawm ob qho khoom siv uas ua rau cov neeg tuav lub lens:
- LensArray.stl
- LensShell.stl
Qhib cov lo ntsiab muag rau hauv txoj hauj lwm thiab tom qab haum ob qhov yas ua ke.
Kauj Ruam 6: Txheeb Xyuas Focal Ntev ntawm Lens Matrix
Koj tuaj yeem siv lub teeb rooj los txiav txim siab qhov chaw nyob ntawm cov iav me me. Tsiv lub lens teeb tsa nce thiab nqis kom txog thaum lawv tsim cov duab ci ntawm lub teeb ntawm lub rooj. Qhov no yog hais txog qhov nrug koj xav kom lub lens teeb los ntawm LED matrix.
Kauj Ruam 7: Sim nrog LED Matrix thiab Lens Array
Tam sim no koj yuav tsum tuaj yeem sim nrog lub lens teeb thiab LED matrix. Sim tawm qhov sib txawv deb thiab pom deb npaum li cas koj tuaj yeem npaj cov qauv teeb pom kev hauv chav tsaus!
Koj tuaj yeem siv txheej txheej ntawm tes pab ua qhov no, lossis koj tuaj yeem tsim txoj hauv kev kom ntse dua los tuav txoj haujlwm ua ke. Muaj kev lom zem!
Pom zoo:
QHOV QHOV TSEEB QHOV TSEEB QHOV TSEEB TSHIAB (Pi Tsev Ruaj Ntseg): 7 Kauj Ruam
LOST COST IOT THEFT DETECTION DEVICE (Pi Home Security): Lub kaw lus tau tsim los txhawm rau txheeb xyuas kev nkag mus (tsis tau tso cai nkag mus) rau hauv lub tsev lossis lwm thaj chaw. Txoj haujlwm no tuaj yeem siv hauv thaj chaw nyob, kev lag luam, kev lag luam, thiab cov tub rog lub zog rau kev tiv thaiv kev nyiag khoom lossis khoom puas tsuaj, ib yam
Kev Txawj Ntse Alexa: Nyeem Qhov Tseeb Tseeb Tseeb (Hauv Qhov No, Vajtswv): 6 Kauj Ruam
Alexa Skill: Nyeem Qhov Tseeb Tseeb (Hauv Qhov No, Vajtswv): Kuv tau ua Alexa Skill los nyeem " Vajtswv Tseeb Tweet " - cov ntsiab lus, uas yog, los ntawm @TweetOfGod, 5 lab+ tus lej sau npe tus account tsim los ntawm yav dhau los Txhua Hnub Qhia Ua Yeeb Yaj Kiab. Nws siv IFTTT (Yog Qhov No Yog Li No), Google Daim Ntawv Qhia Tawm, thiab
Nunchuck Tswj tsom tsom tsom iav qhov muag: 6 Cov kauj ruam (nrog Duab)
Nunchuck Controlled Telescope Focuser: Yog tias koj tau sim siv koj lub tsom iav raj ntawm qhov siab loj (> 150x) koj yuav tau pom tias yuav kho tus kheej li cas rau koj lub tsom iav tsom iav tuaj yeem ua rau mob tiag tiag hauv caj dab
Ua Kom Koj Lub Tsev Kawm Ntawv Tshaj Tawm Qhov Tseeb Muaj Tseeb: 4 Kauj Ruam
Ua Kom Koj Lub Tsev Kawm Ntawv Tshaj Tawm Tiag Tiag Tias Tsis Pom Zoo: Ua rau daim ntawv ceeb toom qub qub ntxim nyiam tiag tiag ntawm tus nqi pheej yig. Muaj ib hnub, kuv tau zaum hauv chav kawm, ua kuv txoj haujlwm (hnoos, hnoos, tham, hnoos) thiab kuv tus kws qhia txuj ci tau hu kuv sab nraud. Bugger, kuv xav. Tab sis tsis yog, nws xav kom kuv tsim nws
Yuav Ua Li Cas Tsim Ib Qhov Tseeb Tseeb Duab Los Ntawm Ntau Qhov Tseeb Tseeb: 4 Cov Kauj Ruam
Yuav Ua Li Cas Tsim Ib Qhov Ua Kom Pom Dua Duab Los Ntawm Ntau Qhov Ua Ntej Ua Ntej: Kuv qhia kom siv Helicon Focus software. Windows thiab Mac version muaj nyob ntawm d-Stidio qhov chaw Cov program tau tsim los rau kev siv duab thaij duab, microphotography thiab duab toj roob hauv pes hyperfocal kom daws tau qhov teeb meem qhov tob ntawm qhov chaw.Hel