Cov txheej txheem:

10x10 LED Matrix: 6 Kauj Ruam
10x10 LED Matrix: 6 Kauj Ruam

Video: 10x10 LED Matrix: 6 Kauj Ruam

Video: 10x10 LED Matrix: 6 Kauj Ruam
Video: [www armvietnam com] Atk - Demo - Led Matrix 10x10 2024, Kaum ib hlis
Anonim
10x10 LED Matrix
10x10 LED Matrix

Qhov no kaum ntawm kaum tus lej yuav tuaj yeem tso saib cov duab txias!

Khoom siv

Koj yuav xav tau…

1. 24 "x 24" x 1 "ntoo board x2 (ib qho rau lub hauv paus ib qho rau sab saum toj los tuav cov acrylic

2. 24 "x 2" x 1 "Ntoo thav duab hauv qhov ntev

3.22 "x 2" x 1 "Ntoo thav duab hauv qhov dav

4. Arduino Nano lossis UNO

5. 24 "x 24" acrylic iav (ib nrab pob tshab kom nthuav tawm LEDs)

6. Ib daim ntawv loj ua npuas dej ib ncig 3/16 hauv tuab

7. Lub zog 5V 2A txhawm rau tsav cov LEDs

8. Lub charger USB uas koj txaus siab muab fij tseg

9. 100 Chaw Nyob 5050 RGB LEDs

Nov yog qee qhov txuas mus rau feem ntau ntawm ntu:

24x24 Base:

Ntoo Ntoo:

Arduino:

Acrylic iav:

Ua Npuas Ncauj Board: https://www.walmart.ca/en/ip/elmers-white-foam-boa… (Yuav tsum muaj peev xwm nrhiav tau qhov no ntawm ib qho dollarama)

Ntoo $ 33 (suav nrog kev txiav)

LEDs $ 20 ib

Ua Npuas Ncauj Board $ 4

Iav $ 35

Tag nrho: $ 92

Kauj Ruam 1: Sib dhos Ntoo Ntoo

Sib dhos Ntoo Ntoo
Sib dhos Ntoo Ntoo
Sib dhos Ntoo Ntoo
Sib dhos Ntoo Ntoo
Sib dhos Ntoo Ntoo
Sib dhos Ntoo Ntoo

Ntsia cov ntoo ntoo mus rau lub cev tseem ceeb ntawm tus ncej.

Muaj 2 "x1" daim tig rau sab saud (sab ntev rau koj) ntawm tag nrho plaub sab.

Muab 2 rau 4 tus ntsia hlau rau ib daim ntawm tus thav duab.

Kauj Ruam 2: Txheeb Tawm Dab Tsi Array Koj Xav Siv thiab Ua Nws

Txheeb xyuas Dab Tsi Array Koj Xav Siv thiab Ua Nws
Txheeb xyuas Dab Tsi Array Koj Xav Siv thiab Ua Nws
Txheeb xyuas Dab Tsi Array Koj Xav Siv thiab Ua Nws
Txheeb xyuas Dab Tsi Array Koj Xav Siv thiab Ua Nws
Txheeb xyuas Dab Tsi Array Koj Xav Siv thiab Ua Nws
Txheeb xyuas Dab Tsi Array Koj Xav Siv thiab Ua Nws
Txheeb xyuas Dab Tsi Array Koj Xav Siv thiab Ua Nws
Txheeb xyuas Dab Tsi Array Koj Xav Siv thiab Ua Nws

Kuv tus kheej tau xaiv 10 x 10 array, Kuv siv lub rooj ua npuas dej los tsim ib qho array raws li kuv tus qauv kuv tau qhia hauv Kauj Ruam 1.

Kauj Ruam 3: Cuab Yeej / Txiav Koj Cov LEDs

Solder / Txiav Koj Cov LEDs
Solder / Txiav Koj Cov LEDs
Solder / Txiav Koj Cov LEDs
Solder / Txiav Koj Cov LEDs
Solder / Txiav Koj Cov LEDs
Solder / Txiav Koj Cov LEDs

Kuv yuav 100 ws2812b SMD RGB LEDs rau $ 19.99 uas tau dhau los ua lub tswv yim txaus ntshai txiav txim siab tias kuv tuaj yeem tsuas yog yuav ib txoj hlua thiab tom qab ntawd txiav thiab muab tshuaj txhuam qhov twg kuv xav tau. Hloov chaw, Kuv tau xaus nrog yuav tsum tau txhuam tag nrho 100 LEDs (txhua nrog 6 cov ntsiab lus sib tham). Kuv pom zoo kom tau txais ib kab txaij txiav txhua yam kom ntev. Txij li thaum kuv cov array yog 24x24 "tsis muaj ntau daim kab xev kuv tuaj yeem tau txais uas yuav haum raws 10 LEDs hauv 24".

Koj cov LEDs yuav tsum muaj 5v lossis 12v tus pin, tus lej tus lej, thiab tus lej GND.

Kauj Ruam 4: Pib Ntxiv Sawb rau Array

Qhov koj xav ua yog ntxiv LEDs hauv zig-zag qauv.

- - - - - - - - - >

< - - - - - - - - -

- - - - - - - - - >

< - - - - - - - - -

Tom qab koj xav muab cov khoom tso rau sab saum toj ntawm LEDs, xyuas kom lawv nyob ze rau yaug nrog hauv qab lossis lwm yam teeb pom kev ntau dhau tuaj yeem tuaj yeem xau dhau.

Thaum fais fab tuag LED txij li 1 ntawm lawv siv 60mA nws tsuas muaj kev nyab xeeb rau lub zog ib puag ncig 8 ntawm Arduino UNO. Yog tias koj npaj ua qhov loj, cais cov khoom siv hluav taws xob yog lub tswv yim zoo vim nws tuaj yeem txuag koj Arduino kom tsis txhob kib.

Kauj ruam 5: Programming

Programming
Programming

Rau kuv thawj tus lej nrog cov kab no

#suav nrog

#define NUM_LEDS 100

#define DATA_PIN 5

CRGB coj [NUM_LEDS];

void teeb tsa () {

FastLED.addLeds (leds, NUM_LEDS);

}

void voj () {

rau (int dot = 0; dot <NUM_LEDS; dot ++) {

leds [dot] = CHSV (random8 (), 255, 255);

FastLED.show ();

leds [dot] = CRGB:: Dub;

ncua (100);

}

}

Txoj cai no ntsais muag txhua lub teeb nyob hauv tus qauv teeb pom kev, koj tuaj yeem siv nws thaum txuas mus saib dab tsi LEDs yuav tsis txuas nrog.

Kauj Ruam 6: Ntxiv Acrylic thiab Txaus Siab Rau Lub Teeb Qhia

Cov acrylic yuav pab nthuav lub teeb kom zoo ib yam yog li thaum koj zoo siab nrog koj li array zoo li cas koj tuaj yeem ntxiv nws rau. Rau lwm cov haujlwm thiab cov tsiaj ntawv ntawm cov lej, tshawb nrhiav Jinx, LED Matrix Control, lossis Glediator. Ua tsaug rau mloog!

Pom zoo: