Cov txheej txheem:

Led Matrix 16x16: 7 Cov Kauj Ruam (nrog Duab)
Led Matrix 16x16: 7 Cov Kauj Ruam (nrog Duab)

Video: Led Matrix 16x16: 7 Cov Kauj Ruam (nrog Duab)

Video: Led Matrix 16x16: 7 Cov Kauj Ruam (nrog Duab)
Video: LIGHT EFFECT by WS2812B NEOPIXEL ESP32 DIY MATRIX 16x16 ide ARDUINO 2024, Hlis ntuj nqeg
Anonim
Image
Image
Led Matrix 16x16
Led Matrix 16x16
Led Matrix 16x16
Led Matrix 16x16

Nyob zoo, Nov yog kuv thawj qhov kev qhia kuv tau sau, zoo siab heev ua haujlwm ntawm no:)

Yog li hauv txoj haujlwm no, Kuv yuav qhia koj yuav ua li cas ua qhov txaus txaus 16 los ntawm 16 coj matrix.

Nws yog qhov zoo los tsim thiab koj kawm ntau thaum ua nws.

Feem ntau kuv tsuas yog ua stuf, vim kuv nyiam nws, tab sis lub sijhawm no kuv qhia tej zaum nws tuaj yeem ua haujlwm tau zoo.

Ua ntej tshaj plaws, koj tuaj yeem siv nws ua ib qho khoom dai kom zoo nkauj (yuav luag kos duab:)), qhov thib ob, koj tuaj yeem siv nws ua lub teeb pom kev dimmable rau koj daim vis dis aus.

Yog li tom qab qhov blablabla no, cia tsim cov khoom !!

Kauj Ruam 1: Koj Puas Xav Tau Cov Khoom Kho Mob (Cov Khoom) Dab Tsi?

Yam Khoom Kho Mob (Cov Khoom) Koj Xav Tau Dab Tsi?
Yam Khoom Kho Mob (Cov Khoom) Koj Xav Tau Dab Tsi?

Feem ntau ntawm cov ntu kuv pom ntawm ebay (cov lus yog hyperlinked), mdf thiab acrylic muaj nyob hauv khw hauv ib cheeb tsam.

  • Arduino nano (Belgium Txuas) lossis Uno (Belgium Txuas), Kuv tau siv Nano hauv txoj haujlwm no, ua rau nws me me thiab yooj yim nkaum;)
  • ON/OFF Hloov
  • potentiometer nrog pob qhov rooj uas koj xaiv
  • 470 Ohm tus tiv thaiv
  • 256 (16*16 = 256) adressable rgb leds WS2812B (Belgium Txuas) (les yog tias koj xav tsim 10 los 10 lossis 8 los ntawm 8 matrix)
  • qee tus xov tooj 3 tus pin (Kuv tau siv puag ncig 7m kuv twv)
  • 5V 20A fais fab tuag
  • Ntoo nplaum (Belgium Txuas)
  • MDF los xij: 600mm txog 300mm;
  • 4 ntawm 3 hli (matrix nws tus kheej)
  • 2 ntawm 6mm (cov npoo thiab lub hwj chim)
  • 2 ntawm 9mm (rau cov ntawv nraub qaum)
  • 58.85cm los ntawm 58.85cm acrylic (PMMA) ntawv (tsis meej tsis yog qhov ua haujlwm zoo diffuser)
  • Qee cov ntawv nplaum (Belgium Txuas) (xaiv tau, vim tias nws tau taws teeb)

Kauj Ruam 2: Koj Xav Tau Cov Cuab Yeej Dab Tsi?

Koj Xav Tau Cov Cuab Yeej Dab Tsi?
Koj Xav Tau Cov Cuab Yeej Dab Tsi?

Koj xav tau qee yam cuab yeej, tab sis yog tias koj (zoo li kuv) mob siab rau DIY'er, koj yuav muaj lawv nyob ib puag ncig.

  • cam khwb cia hlau
  • kub kua nplaum phom
  • txiab
  • pliers
  • ciaj ntswj
  • super kua nplaum
  • kub kua nplaum
  • hlau xaim
  • tus xov tooj kab

Kauj ruam 3: LaserCutting lub Enclosure

Laser txiav txiav
Laser txiav txiav
Laser txiav txiav
Laser txiav txiav
Laser txiav txiav
Laser txiav txiav
Laser txiav txiav
Laser txiav txiav

Kuv tau ua lub qhov thaiv ntawm MDF, nws pheej yig, duarble thiab nws yooj yim siv.

Kuv tau mus rau lub khw txiav laser hauv ib cheeb tsam kom txiav cov ntawv tawm ntawm 300mm los ntawm 600mm mdf ntawv.

Saib qib 1 rau qhov tuab ntawm cov ntawv txheeb.

Koj tuaj yeem pom cov ntaub ntawv rau cov khoom hauv qab no. (koj nyob nraum zoo;))

Cov ntaub ntawv pdf

Cov ntaub ntawv.ai

Kauj ruam 4: Muab nws Toghetter

Muab nws Toghetter
Muab nws Toghetter
Muab nws Toghetter
Muab nws Toghetter
Muab nws Toghetter
Muab nws Toghetter

Thawj kauj ruam yog muab tag nrho cov mdf daim phiaj togheter, koj tsuas yog lo txhua daim ua ke zoo li hauv daim duab, 3mm daim hlau muaj qhov me me ntawm ib sab, lub qhov no (cov duab plaub txiav tawm) tau hais qhia rau kev tswj hwm kab, yog li tsis muaj lub teeb yuav khiav ntawm lub thawv:).

Tsuas yog hloov lawv txoj kev koj tab tom thaiv koj coj cov lej.

Koj tuaj yeem pib tawm ntawm txhua lub ces kaum; tsuav koj ua raws S-txiv (saib daim duab) (Kuv pib nyob rau sab laug sab saud) (ceeb toom; tus lej yuav txawv tom qab, tab sis tseem tuaj yeem daws tau)

Tom qab koj muab mdf ua ke, koj pib lo koj cov leds thiab pib siv tag nrho cov khoom siv zoo li cov txheej txheem. (qhov no yuav siv sijhawm ntau, tsuas yog ua siab ntev!)

Nco tseg: Kuv pom tias kuv tsis nco qab kos tus neeg tawm tsam hauv qhov txheej txheem, qhov no 470 ohm resistor yuav tsum tau muab tso nruab nrab ntawm tus lej digital ntawm arduino nano thiab cov tswv yim ntawm thawj coj ntawm matrix.

Kuv tau ua qee qhov rau arduino nano, potentiometer thiab hloov pauv nyob rau sab laug sab laug ntawm lub matrix (sab vaj huam sib luag)

Ntawm arduino kuv tau siv tus pin D9 rau lub leds (tab sis schematic hais 8? Yog, tab sis kuv tau hloov nws;), koj tuaj yeem xaiv; al cov digital pins yuav ua haujlwm tsuas yog hloov cov cai tom qab) thiab tus pin A1 rau lub hwj chim.

Kauj Ruam 5: Cia Peb Huv Nws

Cia Peb Huv Nws
Cia Peb Huv Nws
Cia Peb Huv Nws
Cia Peb Huv Nws
Cia Peb Huv Nws
Cia Peb Huv Nws

Uhh, Kuv tau muab tso rau hauv cov lej tab sis nws tsis ua haujlwm, …

Zoo, … yog vim li cas koj li Arduino nano tsis muaj tus lej nyeem - cia peb kho qhov ntawd.

Thawj qhov simpel code (ib txwm zoo ib yam, ua rau peb gonne koj qhov txuas txuas nrog usb;))

Cov ntawv tseem ceeb:

  • Kev txuas txuas tsis ua haujlwm wireless;) (rau Jinx pom tom qab, koj yuav tsum ib txwm ntsaws rau hauv usb cable)
  • Ua ntej txuas rau arduino rau pc, xyuas kom tseeb tias koj lub hwj chim koj coj matrix thawj zaug los ntawm lub qhov hluav taws xob, yog tias tsis yog; nws yuav ua rau koj lub PC puas tsuaj, ua rau nws ntws ntau heev tam sim no !!!!!!!!!!
  • Yog tias koj tsis tau; koj yuav tsum teeb tsa FastLed Library, koj tuaj yeem pom qhov no hauv arduino IDE!

Jinx (cov ntaub ntawv hauv qab no)

Dab tsi yog Jinx, nws yog qhov haujlwm uas muab cov pixels rau kev ua lej.

Yuav siv nws li cas;

  • xub mus download tau tag nrho cov ntaub ntawv hauv qab no
  • unpack Jinx thiab nruab arduino IDE (Kuv twv, koj twb muaj qhov ntawd)
  • hloov cov ntaub ntawv ino (yog tias tsim nyog) thiab xa nws mus rau koj li arduino nano (Pawg Thawj Coj thiab COM-chaw nres nkoj yuav tsum raug)
  • khaws usb cable txuas
  • khiav Jinx
  • nyem teeb tsa kev xaiv matrix thiab hloov koj cov lej loj (kuv li 16 x 16 pixels)
  • nyem teeb tsa cov cuab yeej tso tawm thiab xaiv qhov raug
  • nyem teeb pib tso zis
  • txaus siab rau qhov muaj peev xwm (tsuas yog ua si puag ncig)

Jinx arduino cov ntaub ntawv

Jinx teeb tsa cov ntaub ntawv

Kauj ruam 6: Tsis muaj Serial

Tsis muaj Serial
Tsis muaj Serial
Tsis muaj Serial
Tsis muaj Serial
Tsis muaj Serial
Tsis muaj Serial

Kuv paub txoj cai, koj wanne tau poob ntawm usb cable;

Zoo, muaj ib txoj hauv kev, tab sis nws nyuaj me ntsis rau lub sijhawm no, ua rau cov cai yuav txawv rau txhua daim duab/gif.

Hloov chaw ntawm kev xa cov cai rau Jinx, siv cov ntaub ntawv ino no.

Kuv tsis khiav yam tsis muaj Jinx thiab tsis xav tau kev txuas usb thaum rub tawm.

Tshwj xeeb tshaj yog rau koj txiv leej tub tus uas tau nyeem tag nrho cov lus qhia; Kuv tau nce cov ntaub ntawv npe Spooky.ino.

Nws qhia txog 4 pacman phantoms koj nyiam;)

Tig lub potentiometer puag ncig thiab nrhiav seb nws ua dab tsi: p

Koj tuaj yeem hloov kho nws ib puag ncig thiab ua koj tus kheej yog tias koj xav tau;)

Spooky.ino

Kauj Ruam 7: Cia Peb Pob Zeb Tog

Image
Image

Tam sim no koj tau txais koj tus kheej.

Yog li muaj kev lom zem thiab txaus siab rau koj tus kheej ua RGB LedMatrix: p

Qhia nws rau koj cov phooj ywg thiab tsev neeg, tshaj tawm nws hauv qhov kev xav !!

Yog tias koj muaj lus nug, thov nug, yuav ua txhua yam los pab koj cov menyuam !!

Yog tias koj nyiam txoj haujlwm no ua raws kuv thiab pov npav rau txoj haujlwm no, yuav tshaj tawm ntxiv!

Pom koj sai sai !!

Kev thaj yeeb

Pom zoo: