Cov txheej txheem:

3 Channel Digital LED Sawb WS2812 Tus Tswj: 9 Cov Kauj Ruam (nrog Duab)
3 Channel Digital LED Sawb WS2812 Tus Tswj: 9 Cov Kauj Ruam (nrog Duab)

Video: 3 Channel Digital LED Sawb WS2812 Tus Tswj: 9 Cov Kauj Ruam (nrog Duab)

Video: 3 Channel Digital LED Sawb WS2812 Tus Tswj: 9 Cov Kauj Ruam (nrog Duab)
Video: how to make ARGB LED strip at home (WS2812 LED module) make gaming RGB strip 2024, Kaum ib hlis
Anonim
3 Channel Digital LED Sawb WS2812 Controller
3 Channel Digital LED Sawb WS2812 Controller

Kuv ib txwm xav tau txoj hauv kev pheej yig los tswj ntau lub digital coj strips.

Cov lus qhia no qhia tag nrho cov kauj ruam uas kuv tau hla hauv kev tsim thiab tsim txoj haujlwm no.

Kauj Ruam 1: Nws Ua Haujlwm Li Cas:

Nws ua haujlwm raws microcontroller Arduino Nano ATmega328 thiab program Arduino, uas yog hauv C ++. Hauv qhov kev zov me nyuam, peb txiav txim siab txhua txoj hlua coj, pes tsawg tus lej ntawm cov coj diode nws muaj thiab xim rau txhua tus coj diode tus kheej.

Kauj Ruam 2: Cia Pib, Qhov Chaw thiab Cov Cuab Yeej:

Cov ntaub ntawv:

  • 1 x Arduino Nano Atmega328
  • 4 x 470Ω resistor
  • 1 x 10 kΩ resistor
  • 1x fuse 2A (raws li koj xav tau)
  • 3 x LED sawb hom WS2812
  • 1x PCB phaj
  • 5 x Cov tswv yim / tso tawm qhov kawg

Tag nrho cov nyiaj = 16 feem

Cov Cuab Yeej:

  • Phom phom thiab cov laug
  • Hlau txiav
  • Koob qhov ntswg pliers
  • Laum thiab laum cov ntsiab lus
  • Tes los yog lub zog pom
  • Teb Tool
  • Ntawv xeb
  • Digital multimeter
  • yuag dua
  • hmoov hmoov
  • txhuam
  • lauj kaub yas muaj zog
  • Tsom iav kev nyab xeeb:)

Kauj Ruam 3: Tsim PCB nrog Computer:

Tsim PCB nrog Khoos phis tawj
Tsim PCB nrog Khoos phis tawj
Tsim PCB nrog Khoos phis tawj
Tsim PCB nrog Khoos phis tawj
Tsim PCB nrog Khoos phis tawj
Tsim PCB nrog Khoos phis tawj

Txhawm rau tsim lub voj voog uas tau teeb tsa, koj tuaj yeem xaiv ntawm tes-kos thiab khoos phis tawj tsim. Ua ntej peb pib nrog txhua hom, peb yuav tsum muaj tag nrho cov khoom (cov ntsiab lus) ntawm lub rooj, vim tias nws yog qhov tsim nyog rau kev tsim khoom ntawm txhua tus tib neeg thiab ntau yam ntawm cov khoom siv (pins). Qhov no yog qhov zoo rau peb kom ua kom pom kev zoo thiab tsis muaj cov neeg nyob hauv ib puag ncig, vim tias yog tias koj yuav tsis muaj cov ntsiab lus yav dhau los ntawm lub rooj, nws tuaj yeem tom qab kos duab thaum tsim cov khoom dhau los lossis txawm tias yuav tsis muaj chaw txaus los khov kho ntsia hauv Circuit Court.

Cov khoom lag luam yuav raug tsim los ntawm kev pab los ntawm lub khoos phis tawj EAGLE (Yooj Yim Siv Tau Yooj Yim Duab Duab). Qhov kev zov me nyuam tso cai rau peb kos lub phiaj xwm phiaj xwm, thiab tom qab ntawd siv nws los kos cov phaj phaj thiab kev sib txuas. Thaum koj tau ua tiav cov txheej txheem teeb tsa thiab kev sib txuas ntawm lawv peb xav tau ua ntej luam ntawv sib txuas ntawm ib daim ntawv, teeb tsa hauv qhov program Daim iav ua haujlwm, txwv tsis pub lub Circuit Court pom los ntawm noog kev xav. Thaum nias ntawm daim ntawv teev npe ua nrog tus pas ntsuas maj mam txuas uas peb muaj hauv lub khoos phis tawj thaum kos duab sib txuas yog 1/10 nti (2, 54mm).

Qhov program no yog pub dawb thiab tuaj yeem rub tawm los ntawm qhov txuas no:

Kuv tau ua kuv tus kheej PCB board hauv computer program EAGLE, yog tias koj xav siv kuv tus PCB tsim kuv tau tshaj tawm kuv cov ntaub ntawv rau siv hauv program EAGLE.

Kauj Ruam 4: Npaj PCB:

Npaj PCB
Npaj PCB
Npaj PCB
Npaj PCB
Npaj PCB
Npaj PCB
Npaj PCB
Npaj PCB

Kev npaj cov phaj: Peb tau npaj rau kev tsim cov phiajcim hluav taws xob, rau kev tsim cov phaj tau siv uas tau siv rau hauv daim ntawv ntawm lub network uas yog 1/10 nti, thiab muaj ib sab ntawm cov tooj liab Islands tuaj. Ua ntej, peb txiav ntawm qhov loj me uas tsim nyog, saib xyuas qhov kev txiav mus rau thaj tsam loj dua li cov nplaim ntawm qhov txuas. Kom muaj tsawg kawg ib sab hom tooj liab islets dawb paug. Tom qab ntawd, ua kom huv ntawm cov tooj liab tooj liab nrog daim txhuam cev hlau txhawm rau txhawm rau txhuam hauv ib qho ntev (rov qab-rov qab) thiab tsis muaj kev txav mus los. Txoj haujlwm no yog kom tau tooj liab huv los ntawm cov av los ntawm cov av sab saud uas tau sib sau ua ke. Qhia meej saum npoo ntawm tooj liab yuav tsum tau ci. Cov npoo ntse tau sib npaug.

Qhov ntev ntawm Circuit Court:

Ntev: 19 hauv qhov sib nrug ntawm 1 / 10inch Network (4, 8cm)

Dav: 17 hauv qhov sib nrug ntawm 1 / 10inch Network (4, 3cm)

Kauj Ruam 5: Tshooj Tshooj:

Qhov Tshooj Solder
Qhov Tshooj Solder

Tom qab ntawv txiav cov phaj thiab daim ntawv uas cov kev sib txuas thiab cov khoom siv hluav taws xob thiab pib los ntawm cov khoom siv txuas thiab rub cov kab txuas rau cov tooj liab. tin.

Kauj Ruam 6: Pov Thawj thiab Tiv Thaiv Kua:

Pov Thawj thiab Tiv Thaiv Cov Kua
Pov Thawj thiab Tiv Thaiv Cov Kua
Specifications Circuit thiab Kev Sib Txuas
Specifications Circuit thiab Kev Sib Txuas

Cov lus qhia tshwj xeeb (U, I, P):

  • U = 5VDC
  • Kuv = (Raws li fuse thiab program) A.

Kauj Ruam 8: Programming Microcontroller:

Programming Microcontroller
Programming Microcontroller
Programming Microcontroller
Programming Microcontroller

Koj tuaj yeem rub tawm Arduino IDE dawb los ntawm:

www.arduino.cc/en/main/software

Kauj Ruam 9: Yees Duab Ua Haujlwm:

Yees duab ntawm Kev Ua Haujlwm
Yees duab ntawm Kev Ua Haujlwm

Kuv vam tias koj nyiam ua raws kuv nrog rau Cov Lus Qhia no!

Ua tsaug rau koj nyeem!

Pom zoo: