Cov txheej txheem:

Kev Nruam Nruam - Qoj Tsoo Qis LED Art Zaub: 22 Kauj Ruam (nrog Duab)
Kev Nruam Nruam - Qoj Tsoo Qis LED Art Zaub: 22 Kauj Ruam (nrog Duab)

Video: Kev Nruam Nruam - Qoj Tsoo Qis LED Art Zaub: 22 Kauj Ruam (nrog Duab)

Video: Kev Nruam Nruam - Qoj Tsoo Qis LED Art Zaub: 22 Kauj Ruam (nrog Duab)
Video: Часы G Shock до 100 долларов-15 лучших часов Casio G Shock до 100 дол... 2024, Kaum ib hlis
Anonim

Los ntawm Pixelmatix Nrhiav kom paub ntau ntxiv txog Pixelmatix

SmartMatrix - Dynamic LED Art Zaub
SmartMatrix - Dynamic LED Art Zaub
SmartMatrix - Dynamic LED Art Zaub
SmartMatrix - Dynamic LED Art Zaub

Txog: Pixelmatix ua rau SmartMatrix series qhib cov khoom siv kho vajtse, thiab SmartMatrix Library rau Teensy 3.1. Xav paub ntau ntxiv txog Pixelmatix »

Kev txuas ntxiv yog lub teeb pom kev zoo uas nthuav tawm tsis tu ncua, nrog cov kev xaiv txav nrawm, maj mam, lossis qeeb qeeb. RGB LEDs hauv cov zaub tau hloov kho 240 zaug ib pliag, nrog cov xim tshwj xeeb suav txhua qhov hloov tshiab. Ib qho swb ntawm ib sab ntawm cov zaub tswj yog tias LEDs rov ua cov ntsiab lus - tam sim no Animated GIFs - hauv lub sijhawm tiag, 1000x qeeb dua li lub sijhawm tiag tiag, lossis nyob qhov twg hauv -nruab nrab.

Lub thav duab tau siv los ntawm Teensy 4.1, thiab SmartMatrix Library, siv SmartLED Shield rau Teensy 4. Cov vaj huam sib luag LED yog 32x32 pixel P5 (5mm suab) RGB HUB75 panels ua ke kom ua 96x96 pixel 480mm (18.9 ) square display uas haum rau hauv Ikea Ribba tus duab ntxoov ntxoo thav duab. HUB75 vaj huam sib luag xav tau kev txhawb nqa tas mus li nrog cov ntaub ntawv los tso saib cov duab ntawm tus nqi siab: rov ua dua yam tsawg 100 zaug ib pliag kom zoo li tsis pom kev rau cov neeg feem coob, thiab tsawg kawg 200 zaug ib pliag kom zoo Lub Tsev Qiv Ntawv SmartMatrix thiab SmartLED Shield tau tsim los kho tshiab HUB75 vaj huam sib luag sai thiab nrog cov duab zoo, siv txog li 48-ntsis xim qhov tob kom tsis txhob muaj cov kauj ruam pom thaum ua cov xim hloov pauv me me nrog qhov tob xim. ua haujlwm nrog cov ntsiab lus uas tau hloov kho qeeb qeeb dua li qhov hloov tshiab, piv txwv li 30 ntas ib ob rau cov vis dis aus thiab cov duab ib zaug. tsim cov duab tshiab kom rov ua dua tshiab siv kev hloov kho kab. Qhov no yuav tsis tuaj yeem tsis muaj Teensy 4 muaj zog, uas muaj lub cim xeeb txaus los khaws cov ntaub ntawv pixel ntxiv thiab ua txhua qhov kev suav suav tsim nyog los suav cov cim tshwj xeeb rau 96x96 HUB75 zaub thiab rov ua kom pom 240 zaug ib pliag.

Ntxiv rau kev tsav HUB75 LEDs, Kuv tab tom siv APA102 LED txhawb nqa hauv SmartMatrix Library, thiab JST-SM cable thiab 5V buffers ua rau hauv SmartLED Shield kom tsav ob metres ntawm 60 LED/meter APA102 LED sawb kom pom lub phab ntsa tom qab thav duab hauv Amibilight-like effect. APA102 LEDs yog qhov kev xaiv zoo rau qhov no piv rau WS2812/Neopixels raws li lawv muaj 5-ntsis Ntiaj Teb Brightness Tswj kev teeb tsa ib qho LED, tso cai rau lawv tsav nrog pseudo 39-ntsis xim tob vs 24-ntsis WS2812/Neopixels. Qhov no tso cai rau kev hloov xim du tsis muaj nqis pom nrog qis xim tob LEDs. Cov xim rau APA102 LEDs tau coj los ntawm cov npoo ntawm cov duab uas tau tsav mus rau lub vaj huam sib luag, thiab cuam tshuam nrog lub sijhawm zoo ib yam li cov vaj huam sib luag tseem ceeb.

Cov zaub tswj hwm yog txhob txwm ua yooj yim, nrog cov sib xyaw ua ke sib xyaw slider (linear potentiometer) rau kev tswj hwm kev ua si nrawm, thiab ob lub cav nkag teb chaws: ib qho rau kev hloov cov ntsiab lus, lwm qhov rau tswj kev ci ntsa iab.

Cov LEDs tau nthuav tawm nrog lub vaj huam sib luag ua kom sov acrylic sib nrug deb deb ntawm cov LEDs uas nyob ib sab teeb sib xyaw ua ke me ntsis. Nws ua rau txhim kho qhov zoo ntawm qee hom ntsiab lus, muab cov duab zoo nkauj tshwj xeeb.

Kuv tau muaj lub tswv yim dav dav rau cov zaub no rau qee lub sijhawm, tau tshoov siab los ntawm Qhov Kev Ua Yeeb Yam Yeeb Yaj Kiab Zoo Heev, thiab kev hloov pauv ncaj qha siv los ntawm Fadecandy LED tswj. Kuv yeej nyiam lub tswv yim tom qab Tus Qub Movie qeeb heev: cov zaub uas zoo li nyob ruaj khov tab sis thaum koj saib nws dua tuaj yeem nthuav tawm cov ntsiab lus tshiab. Tsis zoo li qhov haujlwm ntawd, kuv xav zais qhov hloov pauv yog li txawm tias koj tau ntsia ncaj qha ntawm cov zaub thaum nws hloov mus rau lub thav duab tshiab, koj yuav tsis tuaj yeem pom qhov kev hloov pauv, lossis ib qho kev txav mus los txhua.

Khoom siv

Txhawm rau tsim kab xev 96x96 koj yuav xav tau

  • Ikea Ribba 50x50cm thav duab
  • Acrylite Satinice 0D010 3mm ntawv txiav rau 500x500mm

    Lwm txoj kev siv diffuser tuaj yeem siv rau qhov pheej yig dua, txawm tias cov ntawv luam ntawv (yog tias koj tuaj yeem pom nws hauv qhov loj me) tuaj yeem ua haujlwm zoo li diffuser, tab sis lub thav duab zoo li zoo heev nrog cov diffuser zoo

  • 9x P5 32x32 HUB75 vaj huam sib luag

    Kuv siv cov vaj huam sib luag uas kuv tau yuav ntau xyoo dhau los, thiab zoo li pheej yig P5 32x32 vaj huam sib luag tau raug txiav lawm, txij li hloov nrog P5 64x32 vaj huam sib luag uas yuav tsis ua haujlwm rau 96x96 zaub. P5 32x32 "Sab nraum zoov" vaj huam sib luag muaj, tab sis lawv kim dua vim tias lawv ci dua thiab muaj txheej txheej tiv thaiv dej. Lawv kuj tseem yuav tuab dua, yog li koj yuav tsum tau kho qhov chaw ntawm cov vaj huam sib luag ntxiv rov qab rau hauv tus ncej kom tau txais qhov zoo sib xws

  • SmartLED Shield rau Teensy 4

    Tam sim no tam sim no nyob rau hauv kev sib tw pab nyiaj txiag ntawm Crowd Supply, tab sis nws yog Open Source Hardware thiab kho vajtse tsim ntawm tus qauv thiab qhov tseeb SmartMatrix Library code muaj nyob ntawm GitHub yog tias koj xav tsim koj tus kheej

  • Lub Hnub Nyoog 4.1

    Tau txais nws nrog cov pins twb tau muag los ntawm PJRC lossis SparkFun yog tias koj xav tsim qhov no yam tsis siv tshuaj yaj yeeb

  • daim npav microSD

    • Me me yog qhov zoo
    • Koj tseem yuav xav tau tus nyeem ntawv los thauj cov ntawv GIF
  • Ntev dua 16-tus lej IDC daim kab xev

    • Koj yuav xav tau cov hlua ntev dua li ib txwm muab nrog HUB75 vaj huam sib luag los txuas HUB75 vaj huam sib luag ntawm kab
    • Qhov kev xaiv uas pheej yig tshaj yog yuav tau txais ib txoj hlua ntawm 16 tus neeg xyuas pib hlua kab, thiab pob ntawm 16-tus pin IDC txuas, thiab txhawm rau koj tus kheej. Nco ntsoov tias yog tias koj tsis tuaj yeem pom 16-tus neeg xyuas pib cable koj tuaj yeem pom dav dua (piv txwv li 20-tus pin) thiab tsuas yog cais 16 txoj kab uas koj xav tau uas koj xav tau
    • Koj tuaj yeem tau txais ib qho tshwj xeeb IDC crimping cuab tam, lossis tsuas yog siv lub rooj zaum sib tw
  • 2 x Rotary Encoders

    Kuv siv tus qauv KY-040, muaj los ntawm cov xaib uas muag cov khoom siv hluav taws xob Suav

  • Swb Potentiometer

    Kuv siv Suav-qhov chaw 10k potentiometer nrog PCB liab, tus swb daj, thiab tso tawm ob kab tawm

  • MF "Dupont" jumper cables, lossis xaim thiab crimps
  • ~ 100uF Cov Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob

    Tus nqi tsis muaj teeb meem ntau dhau, Kuv kuj siv 220uF uas kuv muaj ntawm tes

  • Yam uas yuav tsum los nrog koj HUB75 vaj huam sib luag

    • Cov kab hluav taws xob rau txhua lub vaj huam sib luag
    • Cov kab xev luv luv (koj yuav xav tau 9x)
  • Breadboard los yog perfboard
  • 2x 14-tus pin headers haum rau txuas SmartLED Shield mus rau lub khob cij lossis perfboard

    Yog tias koj siv lub khob cij, koj yuav xav tau tus pin ntev li no:

  • Fais fab mov thiab phab ntsa fais fab cable thiab ntsaws

    Cov vaj huam sib luag no siv txog 3A ntawm qhov ci tag nrho, yog li kuv xav tau 27A tag nrho, ntxiv rau txaus rau cov hlua LED. Kev xa khoom me me tej zaum yuav ua haujlwm zoo li kuv tsis tau tsav cov ntsiab lus uas muaj ci ci dawb thoob plaws txhua lub vaj huam sib luag. Kuv tau tshwm sim kom muaj 40A muab tau yooj yim, thiab nws haum tom qab cov zaub, yog li kuv tsuas yog siv qhov ntawd es tsis txhob ua kom zoo dua

  • M3 8mm ntsia hlau rau txuas HUB75 vaj huam sib luag rau sab nraub qaum

    Ob peb ntsia hlau ntev dua yuav yooj yim heev rau qhov muaj peev xwm txuas lub zog xa mus rau tom qab ntawm tus thav duab

  • Ntoo ntsia hlau los txuas Encoder thiab Swb Potentiometer rau tus ncej

    Kuv tau tshwm sim muaj #4 1/2 "screws yog li kuv tau siv cov ntawd

  • Standoff thiab screws rau daim iav mounting

    • Qhov no yog txhawm rau txhim kho SmartLED Shield rau tus ncej
    • Kuv siv 20mm M3 M-F standoff screwed rau hauv ib qho ntawm HUB75 vaj huam sib luag qhov, thiab 6mm M3 ntsia hlau los txuas daim ntaub thaiv rau qhov sawv ntsug. Yog tias koj siv perfboard hloov chaw ntawm lub khob cij, nws yuav ua kom nyias nyias thiab koj yuav xav tau qhov sawv ntsug luv dua
  • Ntawv luam ntawv
  • Daim Kab Xev Tshem Tawm

    xws li Daim npog qhov ncauj

  • Mem hluav
  • Pob qhov rooj rau encoder

    Tus encoder tsis tuaj nrog lub pob qhov rooj yas, tsuas yog cov hlau nkag lub cav. Nrhiav ib qho uas koj xav tias zoo

  • Cap rau slider

    Tus swb tuaj nrog lub hau, tab sis nws yog xim daj, thiab tej zaum tsis yog qhov zoo saib rau ntawm daim duab dub. Nrhiav ib qho uas koj xav tias zoo

  • Yeem yeem

    • 2m 60 LED/m APA102 sawb
    • APA102 Sawb Txoj Cai Lub Ncauj Txuas

      Qhov no ua rau thaiv txoj kab kaum sab xis kom yooj yim dua, txwv tsis pub tsuas yog siv xaim luv

    • JST-SM Txiv neej thiab Poj niam pigtails
    • Chim ntsaws rau lub davhlau ya nyob twg thaiv adapter (rau APA102 Sawb)
    • Jumper Hlau txhawm rau txuas lub hwj chim thiab lub thoob ntsaws
    • Cov xov hlau/crimp txuas rau APA102 chim ntsaws ntsaws rau lub hwj chim
    • Ikea Mosslanda Txee

      los tuav tus ncej ntawm phab ntsa

    • 3 hli MDF

      2mm MDF suav nrog hauv Ribba thav duab tsis muaj zog txaus los tuav cov vaj huam sib luag nrog hneev nyob hauv nruab nrab. Nws tsis yog teeb meem tsawg kawg yog thaum lub thav duab tau teeb tsa ncaj ntawm phab ntsa, tab sis dhau sijhawm nws tuaj yeem sag. Yog tias koj nkag tau yooj yim rau 3mm MDF lossis lwm lub vaj huam sib luag ntoo tuab, nws yuav yog qhov kev txhim kho zoo los ua thaum pib

  • Cov cuab yeej

    • 34mm Qhov pom

      • Kuv siv lub me me pom hauv Ikea Fixa Kit
      • Lub qhov me me loj dua yog qhov zoo
    • Laum
    • Drillbits

      • Kuv siv 5/32 "(~ 4mm) laum rau qhov ntsia hlau
      • Ib me ntsis loj dua rau polarizing pegs
      • Ib qho 17/64 "(6.75mm) laum rau tus ncej encoder
      • Ib qho 16mm (lossis 18mm?) Forstner me ntsis rau qhov chaw khawb rau cov encoders thiab potentiometer
      • Me ntsis rau lub encoder thiab potentiometer tsav qhov
    • Ntsia Hlau
    • Riam riam
    • Needlenose pliers
    • Pin lossis qee yam ntse, zoo li rab koob lossis tus ntiv tes xoo
    • Cwj mem thiab/lossis Cwj mem

Kauj Ruam 1: Npaj Tsim

Cov lus qhia yog tsim kom muaj kab xev 96x96, tab sis txoj haujlwm no tuaj yeem ntsuas rau lwm qhov loj me. Koj tuaj yeem pib me me nrog 32x32 P6 (6mm suab) vaj huam sib luag uas tseem haum zoo rau feem ntau muaj duab ntxoov ntxoo thav duab thav duab (saib SmartMatrix Display). Koj tuaj yeem tau txais plaub zaug ntau npaum li cov pixels nrog cov duab loj ib yam siv 64x64 P3 vaj huam sib luag hloov. Nws muaj peev xwm tsav lub vijtsam loj dua 96x96, 128x128 tuaj yeem ua tau tab sis nrog kev pom zoo ntawm tus nqi qis dua (txog 160 Hz).

Kauj ruam 2: Ua Tus Qauv

Koj yuav ua tus qauv uas tuaj yeem siv los cim lub qhov uas xav tau kev khawb hauv nraub qaum. Koj tuaj yeem ua tus qauv siv daim ntawv loj, lossis ob peb nplooj ntawv kaw ua ke.

Teem tawm tag nrho koj cov vaj huam sib luag raws li lawv yuav raug teeb tsa hauv tus ncej, LED sab nqes. Thov daim kab xev rau sab ntug qhov twg ob lub vaj huam sib luag sib ntsib, ua kom lub vaj huam sib luag raug thawb ze ua ke. Koj xav kom tus qauv khaws cov vaj huam sib luag ua ke nruj, txwv tsis pub yuav muaj qhov pom sib txawv hauv cov teeb uas muaj qhov chaw ntxiv ntawm ob lub vaj huam sib luag.

Tus qauv xav tau txhawm rau ntes cov yam ntxwv ntawm lub vaj huam sib luag hauv nruab nrab, thiab yam tsawg kawg yog qhov ntsia hlau ze tshaj ntawm lub vaj huam sib luag sab nraud, ib qho los ntawm txhua lub vaj huam sib luag. Xyuas kom tseeb tias koj daim ntawv loj txaus los ntes tag nrho cov yam ntxwv no.

Muab daim ntawv tso rau sab nraum qab ntawm lub vaj huam sib luag. Muaj qee qhov tshwj xeeb nyob tom qab ntawm lub vaj huam sib luag uas tiv thaiv daim ntawv los ntawm kev zaum ncaj. Cov polarizing pegs (cov pegs uas lo los ntawm sab nraum qab ntawm lub vaj huam sib luag) yog txoj hauv kev, ib yam li cov txuas hluav taws xob. Ua qee qhov me me kom cov yam ntxwv no tuaj yeem hla ntawm daim ntawv kom nws zaum ncaj. Tam sim no kaw daim ntawv kom nws rub nruj nruj rau sab nraum qab ntawm lub vaj huam sib luag.

Siv koj tus ntiv tes, txhuam cov yam ntxwv ntawm cov vaj huam sib luag hauv qab tus qauv kom lawv tau ntim rau ntawm daim ntawv. Nco ntsoov tias koj npog tag nrho cov ntsia hlau qhov, 2x8 HUB75 txuas, thiab lub zog txuas los ntawm lub vaj huam sib luag hauv nruab nrab, thiab tsawg kawg yog cov ntsia hlau ze tshaj los ntawm sab nrauv. Tam sim no tshem daim kab xev los ntawm cov vaj huam sib luag.

Kos rau sab ntawm tus qauv uas tau ntsib koj thaum lub ntsej muag siv tus xaum. Tus qauv sawv cev rau hauv qab ntawm cov vaj huam sib luag, yog li sau "BOTTOM" ntawm ib sab ntsib koj. Daim duab tawm sab twg ntawm lub vaj huam sib luag yog "Tshaj" (cov vaj huam sib luag feem ntau muaj cov xub nyob tom qab, ib qho qhia tias cov ntaub ntawv ntws los ntawm ib qho HUB75 txuas mus rau lwm qhov, thiab lwm qhov taw tes rau saum lub vaj huam sib luag). Kos tus xub taw tes rau taw, thiab sau rau ntawm tus qauv.

Kauj Ruam 3: Hloov Tus Qauv rau Sab Nraud ntawm Tus Kheej

Khoov cov tab nyob tom qab ntawm tus ncej thiab tshem tawm cov ncej yog tias koj tsis tau ua dua. Lob daim ntawv MDF uas ua rau sab nraub qaum thiab teeb lwm daim ib sab. Yog tias koj txiav txim siab siv daim ntawv tuab 3 hli MDF tuab, lob qhov ntawd. Yog tias koj mob siab txog kev taw qhia ntawm daim ntawv MDF ib zaug nws nyob hauv tus ncej, muab sab uas koj xav tau tig rau ntawm lub rooj tig ntsej muag rau koj, thiab muab ntug koj xav kom nyob saum, deb ntawm koj ntawm lub rooj. Tam sim no muab tus qauv tso rau saum, nrog "BOTTOM" pom, thiab "Up" xub tig los ntawm koj. Center cov qauv kom qhov chaw nruab nrab ntawm lub vaj huam sib luag nyob hauv nruab nrab ntawm daim ntawv MDF. Xev tus qauv nqes kom nws tsis txav thaum lub cim.

Ua tus pin qhov nyob hauv nruab nrab ntawm txhua qhov tshwj xeeb uas xav tau kev khawb ntawm tus qauv: cov ntsia hlau qhov, cov ntsia hlau ntsia hlau (yuav tsum muaj qhov nyob ntawd), HUB75 txuas, txuas lub zog. Tam sim no siv tus cwj mem los xaum los cim qhov chaw nruab nrab ntawm cov yam ntxwv no ntawm daim ntawv MDF. Yog tias koj tus qauv tsis loj txaus los ntes tag nrho cov yam ntxwv ntawm txhua lub vaj huam sib luag, tshem tawm tus qauv, thiab hloov chaw yog li koj npog lwm lub vaj huam sib luag, siv cov ntsia hlau qhov tshwj xeeb koj twb tau cim los ua kom haum cov qauv. Rov ua dua kom tag nrho cov yam ntxwv raug cim.

Tam sim no rov qab hla MDF kom ntseeg tau tias txhua tus yam ntxwv tau cim tseg. Tsis teb los tau, koj tuaj yeem sau "PEG" ib sab ntawm cov kab pheeb ces kaum, thiab "BIG" nyob ib sab ntawm HUB75 thiab txuas lub zog, yog li koj paub tias qhov twg yuav tsum tau ua kom loj dua.

Kauj Ruam 4: Laum Qhov Hauv MDF Ntawv

Laum tag nrho cov vaj huam sib luag hauv nruab nrab qhov ua ntej. Pib nrog 5/32 (4mm) me ntsis. Hloov mus rau qhov me ntsis loj dua rau cov pear polarizing, uas tsis tau cim raws li qhov raug ntawm tus qauv, thiab yog li xav tau lub qhov loj dua rau qhov xoob kam rau ua. Siv lub qhov pom rau laum HUB75 txuas thiab lub qhov hluav taws xob txuas qhov.

Ua qhov kev ntsuas haum nrog ib qho ntawm cov vaj huam sib luag - nco qab lub vaj huam sib luag yuav raug teeb nrog LED sab hauv qab ntawm lub rooj, hauv qab MDF daim ntawv - ua qhov kab ua kab nrog lub vaj huam sib luag? Rov xyaum dua yog xav tau.

Kauj Ruam 5: Kuaj Kom Haum Ua Ntej Drilling Ntau Qhov

Tam sim no laum qee qhov (tsis yog txhua qhov) rau cov vaj huam sib luag uas nyob ib sab ntawm lub vaj huam sib luag nruab nrab. Tsuas yog ob lub qhov ntsia hlau rau ntawm ib lub vaj huam sib luag, ntxiv rau qhov loj dua rau qhov pear polarizing yog txaus. Txuas lub vaj huam sib luag nruab nrab xoob nrog ob peb tus ntsia hlau. Tam sim no siv lwm lub vaj huam sib luag kom paub tseeb tias ob peb lub qhov koj drilled rau sab nrauv tau ua kom raug. Yog tias koj tsis pom qhov nruab nrab ntawm lub vaj huam sib luag lub qhov ntsia hlau thaum koj nias lub vaj huam sib luag nruj rau ntawm lub vaj huam sib luag nruab nrab, tom qab ntawd qee yam tawm. Ua ib qho kev hloov kho xav tau hauv koj cov cim ntxiv kom paub tseeb tias cov vaj huam sib luag yuav raug sib dhos ua ke, ua ntej yuav khawb qhov seem rau cov vaj huam sib luag uas nyob ib sab.

Tam sim no uas tsuas yog tawm ntawm kaum vaj huam sib luag. Koj paub yuav ua dab tsi tam sim no: laum ob peb lub qhov, xyuas kom haum, kho, tom qab ntawd laum qhov seem.

Kauj Ruam 6: Mount thiab Ntsuas Cov Khoom Siv Hluav Taws Xob

Mount thiab Test Power Supply
Mount thiab Test Power Supply
Mount thiab Test Power Supply
Mount thiab Test Power Supply

Cov khoom siv hluav taws xob tuaj yeem ntsia tau rau sab nraum qab ntawm MDF daim ntawv. Saib yog tias lub qhov uas twb muaj lawm rau lub vaj huam sib luag nyob hauv qhov chaw yooj yim rau teeb tsa lub hwj chim, thiab siv cov ntsia hlau ntev dua yog tias xav tau los txuas lub hwj chim los ntawm MDF rau ib qho ntawm cov vaj huam sib luag.

Hlau txuas lub hwj chim rau phab ntsa fais fab yog tias nws tsis tuaj ua ntej txuas. Ua tib zoo nrog cov kauj ruam no, thiab xa mus rau cov lus qhia lub zog thiab cov lus ceeb toom, thiab lwm yam kev qhia rau kev qhia, raws li koj tab tom ua haujlwm nrog qib txaus ntshai. Thaum koj muaj kev ntseeg siab ntawm txoj kab txuas, ntsaws lub hwj chim rau hauv phab ntsa thiab siv lub ntsuas ntsuas los tshuaj xyuas tias koj muaj 5V tawm ntawm qhov khoom siv. Qee cov khoom siv muaj cov ntsia hlau hloov kho uas tej zaum yuav tsum tau tig los hu rau hauv qhov hluav taws xob mus rau qib raug.

Kauj Ruam 7: Mount Panels

Siv cov ntsia hlau los txuas txhua lub vaj huam sib luag rau sab nraum qab ntawm MDF. Plaub tus ntsia hlau rau ib lub vaj huam sib luag yog qhov txaus, tab sis xav siv tag nrho cov ntsia hlau yog tias koj xav tau.

Kauj Ruam 8: Hlau Tshaj Panels

Hlau Up Panels
Hlau Up Panels

Txuas cov hlua txuas rau hauv HUB75 vaj huam sib luag. SmartLED Shield yuav raug teeb tsa hauv qab txoj cai ntawm tus ncej (thaum saib los ntawm nraub qaum). Siv txoj hlua ntev ntev los txuas daim ntaub thaiv kom nkag mus rau hauv qab vaj huam sib luag sab laug. Tam sim no xaim cov kab hluav taws xob nrog cov kab xaim luv luv los ntawm sab laug mus rau sab xis, thiab cov hlua ntev ntev los ntawm cov txiaj ntsig ntawm sab xis ntawm lub vaj huam sib luag, mus rau cov tswv yim ntawm sab laug ntawm lub vaj huam sib luag, txij hauv qab mus rau saum. Tawm qhov kawg HUB75 tso tawm tsis txuas nrog.

Txuas lub hwj huam hluav taws xob txuas rau hauv lub vaj huam sib luag, thiab txuas lawv rau 5V cov khoom siv hluav taws xob tso tawm (xaim liab yog 5V, xaim dub yog hauv av).

Kauj Ruam 9: Sib dhos SmartLED Shield thiab Teensy 4

Ua raws [SmartLED Shield rau Teensy 4 cov lus qhia] (https://docs.pixelmatix.com/SmartMatrix/shield-t4.html) kom sib sau Teensy thiab ntaub thaiv npog.

Kauj Ruam 10: Txoj Haujlwm Teensy Nrog Sketch Yooj Yim rau Kev Xeem

Siv FastLED_Functions kos duab los ntsuas koj cov vaj huam sib luag. Hloov qhov piv txwv kom haum rau qhov loj ntawm koj lub vaj huam sib luag, thiab kev taw qhia txoj hlua (sab saum toj mus rau hauv qab lossis hauv qab mus rau saum). Fais fab ntawm lub vaj huam sib luag thiab Teensy, thiab xa cov duab kos ntawm USB. Yog tias koj pom tsis muaj teeb meem, kho qhov thaiv lossis kos duab kom txog thaum txhua yam pom tau zoo.

Kauj Ruam 11: Tsis teb los tau: Wire Up APA102 Strips

Tsis teb los tau: Wire Up APA102 Strips
Tsis teb los tau: Wire Up APA102 Strips

Cov kab APA102 xav tau kev ua haujlwm me ntsis ntxiv los sib sau ua ke thiab sib dhos kom cov kab txaij haum rau sab nraub qaum rau ntawm tus ncej. Txiav cov kab kom ntev kom haum rau sab nraub qaum, thiab siv lub kaum sab xis siv lub kaum sab xis haum los ntawm txoj cai qis, thiab npog sab saud, sab laug, tom qab ntawd. Yog tias koj tab tom teeb tsa lub thav duab ntawm lub txee, koj yuav xav tau cov kab hauv qab los teeb rau hauv qab lub txee, nyob rau hauv rooj plaub twg koj yuav xav tau cov laug JST-SM pigtails los ua qhov sib txuas, thiab muaj cov kab txaij tawm kom tshem tau thaum koj rub tus thav duab qis.

Kauj Ruam 12: Npaj Txiav Qhov Qhov Hauv Tus Kheej

Cov ntsuas hluav taws xob teb thiab swb lub hwj chim xav tau lub qhov drilled hauv ob sab ntawm tus ncej rau kev teeb tsa thiab nkag mus. Kuv siv lub forstner me ntsis los txhawm rau qhov uas tsis mus txhua qhov los ntawm MDF thav duab, tab sis yog tias kuv yuav tsum ua qhov no dua kuv yuav siv cov cuab yeej sib txawv. MDF clogged cov khoom nquag thiab yuav pib hlawv los ntawm kev sib txhuam. Kuv muaj kev xav tias kev sib xyaw ua ke ntawm riam thiab txaug (lossis lwm yam kom zom cov khoom), yuav ua haujlwm zoo dua.

Kos rau txoj hauj lwm rau cov encoders thiab Slide potentiometer. Cov encoders muaj kev sib txuas ntau dua yog li kuv muab lawv tso rau sab xis ntawm tus ncej (thaum tig rov qab), yog li lawv nyob ze rau SmartLED Shield kom yooj yim thaiv. Kuv muab tus slider tso rau sab nraud ntawm tus thav duab kom nws yooj yim siv cov kev tswj los ntawm kev xav, yam tsis yuam kev kov qhov tsis raug. Xav tias dawb tso cov kev tswj hwm hauv lwm qhov chaw, hauv qhov xwm txheej twg, koj yuav xav txav SmartLED Shield kom ze rau kev tswj hwm.

Kauj Ruam 13: Txiav Qhov Rau Encoders

Txiav Qhov rau Encoders
Txiav Qhov rau Encoders
Txiav Qhov rau Encoders
Txiav Qhov rau Encoders
Txiav Qhov rau Encoders
Txiav Qhov rau Encoders

Kos qhov chaw rau thawj tus lej nkag nkag sab hauv ntawm tus ncej. Xyuas kom tseeb tias lub qhov yog nyob hauv qhov tob ntawm tus ncej, thaum ntsuas los ntawm sab nraud. Yog tias koj siv me ntsis forster, xyaum ntau txoj hauv kev, tab sis tsis txhob hla txhua txoj hauv kev los ntawm tus ncej. Mus yam tsawg li tob li cov hlau plhaub ntawm tus lej cim. Tam sim no laum qhov nruab nrab siv 17/64 (6.75mm) ntsis.

Tus encoder yuav tsis haum raws li yog, tab sis koj tuaj yeem tsawg kawg kos rau txoj haujlwm ntawm lub qhov ntsaws, thiab tom qab ntawd laum lub qhov me me rau qhov ntsia hlau ntsia.

Rov ua dua rau tus lej thib ob.

Kauj Ruam 14: Txiav Qhov rau Slide Potentiometer

Txiav Qhov rau Slide Potentiometer
Txiav Qhov rau Slide Potentiometer
Txiav Qhov rau Slide Potentiometer
Txiav Qhov rau Slide Potentiometer
Txiav Qhov rau Slide Potentiometer
Txiav Qhov rau Slide Potentiometer
Txiav Qhov rau Slide Potentiometer
Txiav Qhov rau Slide Potentiometer

Kos qhov chaw rau tus swb potentiometer nyob sab hauv ntawm tus ncej. Kuv cim qhov chaw ntawm daim hlau thaiv, thiab qhov ntev ntawm lub qhov. Nco ntsoov tias lub qhov rau swb yog nyob hauv qhov tob ntawm tus ncej, thaum ntsuas los ntawm sab nraud. Yog tias koj siv me ntsis forster, xyaum ntau txoj hauv kev, tab sis tsis txhob hla txhua txoj hauv kev los ntawm tus ncej. Mus yam tsawg li tob li lub plhaub hlau ntawm lub hwj chim. Rov ua dua qhov drilling kom ntev ntawm daim hlau thaiv. Siv rab riam thiab tus kav hlau txiav lub qhov nyob sab nrauv ntawm tus ncej. Khaws cov khoom tawm mus kom txog thaum nws dav txaus rau swb kom dhau los ntawm nws qhov kev txav mus yam tsis muaj kev sib cuag.

Cov swb yuav tsis haum raws li yog, tab sis koj tuaj yeem tsawg kawg kos rau txoj haujlwm ntawm lub qhov ntsaws, thiab tom qab ntawd laum lub qhov me me rau qhov ntsia hlau ntsia.

Kauj Ruam 15: Khoov Cov Txuas rau Kev Tswj thiab Kev Ntsuas Zoo

Khoov Connectors rau Kev Tswj thiab Kev Ntsuas Zoo
Khoov Connectors rau Kev Tswj thiab Kev Ntsuas Zoo
Khoov Connectors rau Kev Tswj thiab Kev Ntsuas Zoo
Khoov Connectors rau Kev Tswj thiab Kev Ntsuas Zoo
Khoov Connectors rau Kev Tswj thiab Kev Ntsuas Zoo
Khoov Connectors rau Kev Tswj thiab Kev Ntsuas Zoo

Kev tswj hwm txhua tus muaj pins tsis yooj yim tig mus rau hauv tus thav duab tsis txhob nyob deb ntawm tus ncej uas lawv tuaj yeem nkag mus tau. Koj tuaj yeem siv cov hlau txuas txhawm rau txhawm rau txuas cov txuas, tab sis nws nrawm dua thiab yooj yim dua tsuas yog siv rab koob qhov ntswg. Ua tib zoo zawm cov yas yas ntawm cov pins. Tom qab ntawd khoov txhua tus pin kom nws tseem yog lub kaum sab xis, tab sis tiaj tus tawm tsam lub rooj tsavxwm. Tam sim no khoov nws me ntsis ntxiv yog li nws tau taw qhia rov qab me ntsis thiab muaj chav los txuas cov xov hlau txuas rau nws.

Tam sim no cov txuas yuav tsum muaj peev xwm haum rau hauv tus ncej. Ua qhov ntsuas haum, thiab tshem cov khoom raws li xav tau kom txog thaum lawv haum zoo. Tsis txhob mount lawv li vim nws yooj yim ua tom qab diffuser tau ntxiv.

Kauj Ruam 16: Txiav Qhov Hauv MDF Ntawv rau Kev Tswj Txuas

Txiav Qhov Hauv MDF Ntawv rau Kev Tswj Txuas
Txiav Qhov Hauv MDF Ntawv rau Kev Tswj Txuas
Txiav Qhov Hauv MDF Ntawv rau Kev Tswj Txuas
Txiav Qhov Hauv MDF Ntawv rau Kev Tswj Txuas

Daim ntawv MDF xav tau lub qhov tso cai rau cov tswj kev sib txuas mus tawm. Txiav tawm ob peb mm ntawm daim ntawv uas cov txuas yuav mus.

Kauj Ruam 17: Ntxiv Diffuser

Yog tias koj tab tom siv Acrylite frosted acrylic, ntxiv rau daim duab tam sim no. Yog tias koj siv lwm lub diffuser nruj, ntxiv nws hloov. Yog tias koj siv daim ntawv lossis zaj duab xis rau diffuser, koj yuav xav kaw nws mus rau cov yas hloov pauv uas los nrog tus ncej, yog li nws nyob hauv qhov chaw tom qab thav duab tau sib dhos. Ntxiv dab tsi diffuser koj siv tam sim no.

Kauj Ruam 18: Txuas tus swb thiab Encoders

Txuas tus swb thiab Encoders
Txuas tus swb thiab Encoders
Txuas tus swb thiab Encoders
Txuas tus swb thiab Encoders

Tam sim no cov kev tswj hwm tuaj yeem raug ntxiv rau tus ncej, nrog cov ntsia hlau los tuav lawv hauv qhov chaw. Sau cov npe ntawm cov koob ua ntej lawv raug ntsia thiab nkag tsis tau. Tej zaum koj yuav xav sau cov npe teeb liab mus rau tom qab ntawm daim ntawv MDF. Ceev cov txiv ntoo ntawm tus encoders nyob sab nraud ntawm tus ncej.

Kauj Ruam 19: Sib dhos Ncej

Sib dhos Ncej
Sib dhos Ncej

Tam sim no cov zaub ntu ntawm tus ncej tuaj yeem sib sau ua ke thiab sim. Ua tib zoo ntxig tus spacer rau hauv tus ncej, zam kev tswj. Ntxig rau MDF daim ntawv nrog cov vaj huam sib luag, thiab quav ob peb lub tab kom tsis txhob poob. Fais fab thiab ua qhov kev tshuaj xyuas kom paub tseeb tias tsis muaj hmoov av lossis khib nyiab lossis ib yam dab tsi nyob sab hauv ntawm lub diffuser uas yuav nyuaj rau tshem tawm thaum tag nrho cov thav duab tau sib sau ua ke. Ntxuav raws li qhov tsim nyog, tom qab ntawd quav tag nrho cov tab.

Kauj Ruam 20: Hlau Up Swb thiab Encoders

Hlau Up Swb thiab Encoders
Hlau Up Swb thiab Encoders
Hlau Up Swb thiab Encoders
Hlau Up Swb thiab Encoders
Hlau Up Swb thiab Encoders
Hlau Up Swb thiab Encoders

Siv cov xov hlau txuas los txuas cov cim taw qhia rau lub khob cij los yog cov ntawv ua haujlwm. Koj yuav tsum tau ua ntau qhov kev sib txuas rau cov cim no, yog li mob siab rau kab rau txhua tus yog tias koj siv lub khob cij: 3.3V, GND.

Kev sib txuas swb:

  • 3.3v ua
  • LOJ
  • Tus pin 23
  • Ntxiv lub capacitor nruab nrab ntawm 3.3V thiab AGND ("-" cim mus rau AGND)

Encoder 1 kev sib txuas:

  • 3.3v ua
  • GND
  • KCG 16
  • TIAB SA 17
  • SWV 18

Encoder 2 Kev Sib Txuas:

  • 3.3v ua
  • GND
  • NQE 19
  • TIAB SA 20
  • SWV 21

Kauj ruam 21: Npaj GIFs

Ua raws cov ntawv qhia no ntawm Adafruit Kev Kawm Txuj Ci los npaj GIFs rau tus ncej. Kuv siv cov GIFs no thiab GIFBrewery software ntawm MacOS rau GIFs uas koj pom hauv daim vis dis aus.

  • Qhov av los ntawm u/rddigi ntawm Reddit/r/perfectloops
  • Trippy psychedelic kua-g.webp" />
  • "Zoov Tsov ntshai" los ntawm Protobacillus CC BY-SA
  • "Txheej Txheem Kev Loj Hlob Mob"

Thauj khoom GIFs rau hauv daim npav microSD tshiab, muab tso rau hauv cov npe tshiab npe "gif". Tshem daim npav thiab ntxiv rau Teensy 4.1.

Kauj Ruam 22: Thauj Sketch thiab Xeem

Rub tawm GifInterpolation kos duab, sau ua ke thiab rub tawm.

Nco ntsoov tias cov encoders ua haujlwm (hloov pauv qhov ci ci thiab-g.webp

Pom zoo: