Cov txheej txheem:

Arduino DIY 6x6 Matrix T-shirt: 8 Kauj Ruam (nrog Duab)
Arduino DIY 6x6 Matrix T-shirt: 8 Kauj Ruam (nrog Duab)

Video: Arduino DIY 6x6 Matrix T-shirt: 8 Kauj Ruam (nrog Duab)

Video: Arduino DIY 6x6 Matrix T-shirt: 8 Kauj Ruam (nrog Duab)
Video: How to repair a lathe machine cack gear #shorts 2024, Kaum ib hlis
Anonim
Image
Image
Npaj WS2812 LEDs
Npaj WS2812 LEDs

Txais tos rau kuv thawj cov lus qhia! Kuv xav qhia koj li cas kuv tau ua kuv tus kheej LED matrix T-shirt txog 50 € thiab yuav ua li cas qhia cov duab zoo nkauj thiab cov duab ntawm nws siv qhov zoo heev LED matrix tswj software los ntawm Tyler Jones. Thaum xub thawj kuv tau ua 6x8 pixel matrix, tab sis tom qab ntawd kuv tau hloov mus rau 6x6 sice nws yuav tsis ua haujlwm nrog LMCS. Kuv tab tom sau Instrucables no tom qab kuv tau ua tiav, yog li thov zam txim rau kuv cov duab uas ploj lawm. T-shirt tseem tuaj yeem ntxuav tau, koj tuaj yeem tshem cov hlua LED tawm. Yog koj muaj lus nug thov qhia rau kuv paub!

Yog tias koj nyiam kuv cov hnav, thov pov npav rau nws hauv kev sib tw Arduino. Ua tsaug:)

Kho: Txij li qee qhov ntawm kuv cov thwjtim hauv IG tau nyiam rau nws, Kuv tau ua yeeb yaj kiab txog nws.

Kauj ruam 1: Yam Koj Yuav Tsum Tau

Koj yuav xav tau cov khoom siv hauv qab no:

  • T-shirt hauv koj qhov loj me (zoo dua coj qhov loj dua yog li koj tuaj yeem hnav nws ntev dua yog tias koj tseem yau dua): 10 €
  • WS2812b LED sawb, Kuv siv ib txoj hlua nrog 30 LEDs ib lub 'meter' thiab tag nrho 60 LEDs: 20 €
  • qee tus poj niam tus pin headers: 2 €
  • nonwoven rau tuav LED sawb: 2 €
  • Txiv neej/txiv neej jumper cables, nyob ntawm seb muaj pes tsawg pixels koj xav siv: 3 €
  • Arduino nrog USB cable (UNO): 5 €

    rau daim ntaub thaiv: Cov ntaub thaiv npog tiv thaiv, 3 txoj haujlwm ntsia hlau dav hlau, USB-B pawg thawj coj tawm, 330 ohm resistor, 1000uF capacitor 7 €

  • Powerbank rau cov xov tooj ntawm tes (kwv yees li 4000mAh, qhov zoo dua): 15 €
  • qee yam tsev nyob rau chav tswj hwm

Cov cuab yeej hauv qab no muaj txiaj ntsig/tsim nyog:

  • cov cuab yeej soldering (hlau, pliers, txiav …)
  • txiab
  • pom me me thiab ntawv xuab zeb los txiav taub hau
  • xaws cov cuab yeej rau LED tuav tuav

Kauj Ruam 2: Npaj WS2812 LEDs

Npaj WS2812 LEDs
Npaj WS2812 LEDs

Thaum xub thawj, peb npaj cov hlua LED. Txiav cov kab txaij ntawm cov kab ntawv luam tawm txhua 6 (lossis tus lej pes tsawg tus pixels koj xav siv) LEDs nrog txiab. Kuv siv 6 daim nrog 6 LEDs txhua. Tom qab ntawd koj muab cov poj niam lub taub hau tso rau ntawm kab txaij. Koj tuaj yeem yuav lawv ua khub ntawm peb, tab sis nws pheej yig dua thiab zoo dua yog tias koj yuav cov ntawv ntev dua thiab tom qab ntawv txiav lawv txawm li cas los xij koj xav tau. Kuv siv lub tshuab pom me me thiab cov ntawv xuab zeb los yog daim kab xev kab pheeb ces kaum thiab ntawv xuab zeb. Qhov no yooj yim heev (saib cov duab saum toj no). Ua kom ntau li koj xav tau, ob qho rau txhua kab. Tom qab ntawd koj muab lawv tso rau ntawm cov ntaub qhwv, nco ntsoov kom muaj kev sib txuas zoo thiab tsis muaj hluav taws xob luv. Cov kab tiav yuav tsum zoo li hauv cov duab.

Kauj Ruam 3: Npaj lub tsho T-shirt

Npaj lub tsho T-shirt
Npaj lub tsho T-shirt
Npaj lub tsho T-shirt
Npaj lub tsho T-shirt
Npaj lub tsho T-shirt
Npaj lub tsho T-shirt
Npaj lub tsho T-shirt
Npaj lub tsho T-shirt

Lub tsho T-shirt yuav tuav peb lub zeem muag thiab cia lub teeb ci dhau mus. Los ntawm kev ntxiv qee qhov tsis -woven rau sab hauv, peb tuaj yeem xaub kab hauv lub tsho. Ua ntej xam seb koj xav tau pes tsawg tus. Saib daim duab saum toj no kom pom cov phiaj xwm. Suav kom loj npaum li cas koj cov ntaub qhwv yuav tsum yog. Koj kuj yuav tsum tau ntxiv qee qhov chaw kom haum cov kab txaij. Xam nrog qhov siab tshaj 0.5 cm. Ntxiv qee cov khoom ntawm ob qho kawg los tuav thawj kab thiab kab kawg.

Txiav qhov tsis-woven thiab ua tib zoo xaws nws mus rau sab hauv ntawm T-shirt. Qhov ua tiav yuav tsum zoo li saum toj no. Kuv muaj qhov teeb meem uas nws ripped, tab sis koj tuaj yeem sim ob peb ntawm cov ntawv nplaum.

Kauj Ruam 4: Ua ke LEDs Nrog Lub T-shirt

Kev sib koom ua ke LEDs nrog lub tsho T-shirt
Kev sib koom ua ke LEDs nrog lub tsho T-shirt
Kev sib koom ua ke LEDs nrog lub tsho T-shirt
Kev sib koom ua ke LEDs nrog lub tsho T-shirt
Kev sib koom ua ke LEDs nrog lub tsho T-shirt
Kev sib koom ua ke LEDs nrog lub tsho T-shirt
Kev sib koom ua ke LEDs nrog lub tsho T-shirt
Kev sib koom ua ke LEDs nrog lub tsho T-shirt

Tom qab ntawd nws yog lub sijhawm los koom ua ke cov hlua LED thiab lub tsho T-shirt. Coj lawv thiab xaub lawv maj mam muab rau hauv lub hnab. Nco ntsoov pib nrog cov tswv yim hauv qab thiab txuas ntxiv nrog txhua cov ntaub ntawv nkag ntawm sab xis. Ua tib zoo! Nws yog qhov nyuaj me ntsis, tab sis los ntawm kev tuav nws ntawm lwm sab, nws yuav zoo. Yog tias koj tus pin lub taub hau loj dua kab txaij, nws yog qhov muaj txiaj ntsig zoo los ua qee daim kab xev nyob ib puag ncig nws.

Thaum ua tiav, nws yuav tsum zoo li hauv daim duab. Tom qab ntawd koj tsuas yog siv qee qhov 10cm txiv neej/txiv neej jumper cable thiab txuas 5V thiab cov pins hauv av hauv tus qauv zigzag. Tom qab ntawd koj tuaj yeem siv tus txiv neej ntev dua rau poj niam jumper thiab tus txiv neej me dua rau txiv neej jumper li kuv tau ua thiab txuas cov ntaub ntawv tawm nrog cov ntaub ntawv tom ntej los ntawm kev xaws cov xov tooj nyob hauv qab lub hnab tshos dawb ntawm nonwoven lossis koj yooj yim muab lawv tso rau. Tab sis tom qab ntawd nws tsis tuaj yeem ntxuav tau ntev dua. Nco ntsoov ua raws txoj cai. Thaum kawg txuas qee lub xov tooj jumper ntev mus rau cov ntaub ntawv nkag thiab lub hwj chim muab koob. Koj lub tsho T-shirt yog npaj tam sim no!

Kauj Ruam 5: Prototype Electronics

Prototype Electronics
Prototype Electronics
Prototype Electronics
Prototype Electronics

Txhawm rau sim lub tsho T-shirt koj tsuas yog yuav tsum tsim lub Circuit Court hauv cov duab. Kuv yuav siv Arduino UNO nrog daim thaiv me me, vim tias koj tuaj yeem siv kev sib txuas lus ncaj qha. Nrog kuv lub tsho T-shirt, Kuv tau siv DIY Arduino UNO clone ntawm ib daim ntawv ntawm perfboard thaum xub thawj. Tab sis qhov teeb meem yog tias koj tsis muaj peev xwm ua kev sib txuas lus, uas yog siv hauv LED matrix tswj software. Koj tseem tuaj yeem qhia cov duab/cov duab tab sis koj yuav tsum tshem tawm IC txhua lub sijhawm.

Ib qho tseem ceeb tshaj plaws uas yuav tsum nco ntsoov yog lub zog: Thaum koj siv lub txhab nyiaj nrog 1A qhov siab tshaj plaws, koj tuaj yeem tau txais qhov siab tshaj 1 amphere. Tab sis thaum koj txuas nws ntawm USB chaw nres nkoj ntawm Arduino, koj tau txais qhov siab tshaj 0, 5A vim tias muaj fuse. Tsis txhob mus dhau qhov txwv! Yog li koj tuaj yeem yooj yim ntxiv USB-B pawg tswj hwm (lossis tsuas yog lub qhov ntsaws USB) kom muaj lub hwj chim muab los ntawm lub txhab nyiaj tsis muaj fuse.

Tsim lub Circuit Court ntawm lub khob cij thiab nco lub capacitor thiab tus tiv thaiv los ntawm theem ob! Hloov chaw ntawm USB ncaj qha cable hauv cicuit koj tuaj yeem siv pawg tswj hwm kev tawg.

Kauj Ruam 6: Thawj Txoj Haujlwm Kauj Ruam

Thawj Txoj Haujlwm Kauj Ruam
Thawj Txoj Haujlwm Kauj Ruam

Vim tias kuv tsis nyiam qhov programming, kuv yuav tsis muab cov duab tshwj xeeb. Tsuas yog sim nyob ib puag ncig nrog qee qhov kev tso tawm. Qhov zoo yog Adafruit NeoMatrix.

Txoj hauv kev zoo dua thiab yooj yim dua yog software hu ua "LED Matrix Control Software". Nws yog qhov software txaus txaus los ntawm Tyler Jones (nco ntsoov txheeb xyuas nws cov channel, nws tau ua qee cov vis dis aus muaj txiaj ntsig: Tyler Jone's channel).

Kuv tau siv version 1.3.2 tab sis qhov tshiab yuav tsum ua haujlwm zoo xwb. Nov yog version 1.3.2: LMCS 1.3.2, tab sis koj tseem tuaj yeem sim ua qhov tshiab tshaj plaws: LMCS 2.

Tsuas yog rub tawm cov software thiab tso cov duab kos npe hu ua "LEDMatrix Serial" nrog koj tus lej ntawm LEDs thiab tus lej hloov pauv rau koj Arduino siv Arduino IDE. Pib qhov programm thiab nias Xaiv Chaw nres nkoj COM thiab txuas rau koj Arduino. Qhov xwm txheej sib txuas yuav tsum hloov mus rau ntsuab. Tom qab ntawd muaj ntau hom sib txawv suav nrog kev kos duab,-g.webp

Kauj Ruam 7: Ua Cov Khoom Siv Hluav Taws Xob tas mus li

Ua rau Electronics ruaj khov
Ua rau Electronics ruaj khov
Ua rau Electronics ruaj khov
Ua rau Electronics ruaj khov
Ua rau Electronics ruaj khov
Ua rau Electronics ruaj khov

Raws li kuv twb tau hais hauv qib 5, Kuv tau siv DIY Arduino nyob ib leeg ntawm ib qho ntawm perfboard li version ib, saib cov duab nyob rau sab saum toj. Tab sis muaj txoj hauv kev zoo dua: Siv "daim ntawv tiv thaiv kab mob" koj tuaj yeem yooj yim teeb tsa Circuit Court ntawm Arduino thiab txhua yam huv si. Solder tib lub Circuit Court ib yam li hauv kauj ruam 5 tab sis siv peb lub tshuab ntsia hlau posistion txhawm rau txuas cov lej. Yog tias koj twb muaj kev paub ntau dua li kuv, koj tuaj yeem yooj yim siv lub perfboard ua daim thaiv npog. Nov yog kuv cov ntawv 2. Yog tias koj xav pom lub sijhawm ncua ntawm kuv cov ntaub thaiv npog, thov mus ntsib kuv tus Instagram:

Thaum ua tiav, koj yuav tsum muaj chav huv, saib zoo thiab ua kom nruj! Sim nws zoo li hauv theem kawg thiab yog nws vam tias ua haujlwm, koj tuaj yeem ua rooj plaub rau nws. Kuv xav tias txoj hauv kev zoo tshaj yog tso lub chaw tswj hauv ib lub hnab ntawm koj lub ris thiab lub txhab nyiaj hauv lwm. Koj txuas nws siv USB cable.

Muaj ob peb txoj hauv kev los ua rooj plaub. Yog tias koj muaj lub tshuab luam ntawv 3D, qhov no yuav yog qhov ua tau zoo. Yog tsis yog, zoo li kuv, koj tuaj yeem tsim nws los ntawm cov khoom sib txawv. Kuv nqa lub thawv ntsia hlau qub thiab ua qhov raws li kuv xav tau. Tsuas yog muaj tswv yim.

Kauj Ruam 8: Kev Ua Haujlwm Ntxiv thiab Lub Hnav Tiav tiav

Kev Ua Haujlwm Ntxiv thiab Lub Hnav Tiav tiav
Kev Ua Haujlwm Ntxiv thiab Lub Hnav Tiav tiav
Kev Ua Haujlwm Ntxiv thiab Lub Hnav Tiav tiav
Kev Ua Haujlwm Ntxiv thiab Lub Hnav Tiav tiav

Thaum koj tau ua tiav txhua yam khoom kho vajtse, nws yog lub sijhawm los ua kom nws nqa tau los ntawm software. Koj tuaj yeem yooj yim nias "Export FastLED Code" khawm thiab luam cov cai rau hauv ntu ntu ntu los ntawm LMCS player, uas koj twb tau muab tso rau hauv qib 6 siv Arduino IDE.

Tom qab ntawd yooj yim them lub txhab nyiaj, muab tso rau hauv ib lub hnab tshos thiab tus tswj hwm hauv lwm qhov, txuas txhua yam thiab muaj kev lom zem! Yog tias koj xav ntxuav lub tsho T-shirt, koj yuav tsum tshem cov kab xev thiab cov hlua tawm thiab nws yuav ntxhua tau.

Ua tsaug rau kev nyeem ntawv thiab tej zaum rau kev tawm tswv yim lossis lus nug, yog tias koj nyiam kuv qhov haujlwm thov pov npav rau nws hauv kev sib tw Arduino!

Pom zoo: