Cov txheej txheem:

Neopixel Led Designer Tree: 5 Kauj Ruam
Neopixel Led Designer Tree: 5 Kauj Ruam

Video: Neopixel Led Designer Tree: 5 Kauj Ruam

Video: Neopixel Led Designer Tree: 5 Kauj Ruam
Video: Merry Christmas Diy led strip tree effect lighting 2024, Hlis ntuj nqeg
Anonim
Neopixel Led Designer Tsob Ntoo
Neopixel Led Designer Tsob Ntoo
Neopixel Led Designer Tsob Ntoo
Neopixel Led Designer Tsob Ntoo
Neopixel Led Designer Tsob Ntoo
Neopixel Led Designer Tsob Ntoo

Nov yog qhov qhia qhia txog kev tsim tsob ntoo tsim qauv nrog Neopixel LED's. Qhov no tsuas yog ib qho yooj yim, yog li yooj yim ua uas siv zog me ntsis tab sis muab cov txuj ci zoo kawg uas tuaj yeem rub txhua tus neeg mloog.

Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau

1 -Arduino uno -1

2-Neopixel WS2812B Led- 1/2 meter

3-txuas cov xov hlau

4-Hlau pas nrig (rau ua tus ncej ntoo tsim qauv)

5-ib lub thawv cylindrical/sawv ntsug (kom muab tag nrho teeb tsa rau hauv nws)

6-Txiab

7-Daim kab xev

8-Fais fab mov/Adapter 5V

Kauj ruam 2: Kho vajtse

Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse

Hauv ntu no ntawm cov lus qhia no peb yuav ua tus thav duab ntawm kev teeb tsa tag nrho.

Ntawm no peb yuav coj tus pas hlau thiab ntswj nws los ntawm kev siv qee qhov cylindrical nto.

Tom qab tau txais cov duab zoo peb tuaj yeem lo coj kab txaij rau ntawm tus pas nrig los ntawm kev siv qee daim kab xev pob tshab.

Nco ntsoov tias LED's tau tig mus rau sab nraud es tsis txhob tig rau sab hauv vim tias nws yuav tsis muab rau koj kom pom tseeb koj yuav tsum tau txais.

Tom qab ua qhov no peb tuaj yeem kho tus pas nrig kom sawv ntsug los ntawm kev siv daim kab xev xim av lossis rab phom nplaum.

Nrog qhov no khoos phis tawj ntu tau ua tiav.

Kauj ruam 3: Electronics

Electronics
Electronics
Electronics
Electronics

Hauv qhov no peb yuav kawm txog cov khoom siv hluav taws xob. Qhov no yooj yim heev vim tias peb tsuas xav tau 3 xov hlau.

Feem ntau cov kab txaij tuaj nrog twb tau muab cov xov hlau txuas rau ib kawg. Peb tuaj yeem txuas cov xov hlau mus rau cov xov txuas (ib sab nrog txiv neej lub taub hau).

Tom qab txuas cov xov hluav taws xob no peb yuav tso nrog peb tus txiv neej tus pin tawm los ntawm cov hlua coj.

Txuas. 1) +5v ntawm kab txaij mus rau 5v Arduino uno

2) gnd ntawm sawb rau gnd Arduino uno

3) Din ntawm sawb rau Digital tus pin 6 (ib qho pwm tus pin) Arduino uno

Qhov no yog nws, cov khoom siv hluav taws xob tseem ua tiav.

Kauj ruam 4: Software / Programming

Hauv qhov no peb yuav kawm txog kev ua haujlwm ntawm Neopixel LED sawb nrog Arduino.

Txhawm rau program Neopixel LED sawb peb yuav tsum siv Neopixel headerfile. Hauv qab no yog qhov txuas txhawm rau rub tawm lub headerfile.

Neopixel cov tsev qiv ntawv cov ntaub ntawv

Tom qab ntawd koj tuaj yeem tsim kho Neopixel coj nrog Arduino. Muaj qee qhov piv txwv piv txwv hauv kab ntawv headerfile uas koj tuaj yeem siv rau kev kawm paub pib ntawm Neopixel LED.

Nov yog qhov project qhov chaws, tuaj yeem rub tawm los ntawm qhov txuas hauv qab no.

Kauj ruam 5: Sib dhos

Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke

Sib sau ua ke txhua qhov. Muab cov khoom siv hluav taws xob tso rau hauv lub thawv thiab kaw nws nrog daim kab xev. Txuas tus pas nrig mus rau qhov sawv ntsug/lub thawv los ntawm kev siv daim kab xev lossis rab phom.

Pom zoo: