Cov txheej txheem:

DIY RGB Tube Teeb: 9 Kauj Ruam (nrog Duab)
DIY RGB Tube Teeb: 9 Kauj Ruam (nrog Duab)

Video: DIY RGB Tube Teeb: 9 Kauj Ruam (nrog Duab)

Video: DIY RGB Tube Teeb: 9 Kauj Ruam (nrog Duab)
Video: Keyboard AirPods 7 in 1 Cleaning Kit 2024, Hlis ntuj nqeg
Anonim
DIY RGB Tube Teeb
DIY RGB Tube Teeb

DIY RGB Tube lub teeb yog lub raj ua haujlwm ntau lub teeb uas tuaj yeem siv rau kev yees duab, teeb duab thaij duab, ua yeeb yaj kiab, ua si, ua lub VU meter thiab ntau dua. Lub raj raj tuaj yeem tswj tau los ntawm Prismatik software lossis los ntawm lub laub khawm. Cov teeb no yog tsim los siv Arduino Nano thiab WS2812B LED sawb.

Kauj Ruam 1: Cov khoom siv:

Khoom siv
Khoom siv
  1. (1) Arduino Nano:
  2. (2mt) WS2812B LED Sawb:
  3. (2) Lub Teeb Hluav Taws Xob Dawb lossis Txhuas Lub Teeb Txuas nrog Diffuser: https://amzn.to/38fF6Gu Los yog
  4. (1) 5V 5A Fais Fab Khoom:
  5. (1) Laub Khawm:
  6. (1) Cov xov hlau:
  7. (1) DC Txuas:

Kauj Ruam 2: Teeb Lub Teeb Teeb:

Tube Teeb Disassembling
Tube Teeb Disassembling
Tube Teeb Disassembling
Tube Teeb Disassembling
Tube Teeb Disassembling
Tube Teeb Disassembling

Disassemble lub raj teeb los ntawm kev tshem lub kaus mom kawg, cais cov diffuser thiab tshem tawm cov kab dawb LED ntawm lub raj

Kauj Ruam 3: Kev Sib Txuas Circuit:

Kev Txuas Hluav Taws Xob
Kev Txuas Hluav Taws Xob
Kev Txuas Hluav Taws Xob
Kev Txuas Hluav Taws Xob
Kev Txuas Hluav Taws Xob
Kev Txuas Hluav Taws Xob

Ua txhua qhov kev sib txuas raws li qhia hauv daim duab qhia chaw

Kauj Ruam 4: Sib dhos:

Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos

Muab tag nrho cov khoom siv hluav taws xob tso rau hauv lub raj, muab rov qab lub kaus mom kawg thiab kaw lub diffuser siv daim kab xev tseeb

Kauj Ruam 5: Tube Teeb 2:

Raj Teeb 2
Raj Teeb 2

Ib yam li ua lub raj thib ob tab sis lub sijhawm no tsuas yog siv WS2812b LED sawb, txuas, xov hlau thiab txuas lub raj teeb

Kauj Ruam 6: Code rau Software:

Code rau Software
Code rau Software
  • Rub tawm cov ntawv zip uas tau muab thiab rho tawm lawv.
  • RGB_Tube_code & software zip
  • Qhib RGB Tube code & software file, qhib qhov chaws muab hauv Arduino IDE.

  • Nruab ib lub tsev qiv ntawv FastLED hauv Arduino IDE.
  • Koj tuaj yeem nkag mus rau tus lej ntawm LEDs uas koj siv hauv koj lub raj teeb, Kuv siv 65 LEDs hauv txhua lub raj teeb, piv txwv li 130 LEDs hauv ob lub raj teeb.
  • #define NUM_LEDS 130
  • Nco ntsoov tus naj npawb chaw nres nkoj. (piv txwv li: com8)
  • Txuas Arduino rau koj lub PC, xaiv hom pawg thawj coj saib, xaiv qhov chaw nres nkoj thiab xa cov cai.

Kauj Ruam 7: Teeb Software:

Teeb Software
Teeb Software
Teeb Software
Teeb Software
Teeb Software
Teeb Software
  • Nruab qhov prismatik software hauv koj lub PC.
  • Qhib lub software thiab nyem rau ntawm lub cuab yeej.
  • Nyem rau Run configuration wizard thiab yooj yim nyem rau Tom ntej -> Tom ntej.
  • Nkag mus rau Tus lej Serial Port thiab nyem Tom ntej -> Tom ntej
  • Sau tus lej ntawm LEDs ntawm ob sab (piv txwv li hauv kuv rooj plaub saum toj = 0, sab = 65, hauv qab = 0) thiab nyem rau ntawm kev cai -> Tom ntej.
  • Kho cov kab zauv kom tau xim dawb ntawm lub raj teeb thiab nyem rau ntawm qhov ua tiav.
  • Tam sim no koj tuaj yeem xaiv hom sib txawv hauv software thiab tso tawm ntawm lub teeb raj.

NCO TSEG: Arduino yuav tsum txuas nrog lub PC.

Kauj Ruam 8: Khawm Code:

Khawm Code
Khawm Code
Khawm Code
Khawm Code
Khawm Code
Khawm Code
Khawm Code
Khawm Code
  • Button_Tube.zip
  • Qhib Button_Tube code hauv Arduino IDE.
  • Nrog rau txoj cai no koj tuaj yeem hloov xim ntawm Lub Teeb Teeb nrog lub laub khawm.
  • Nruab ib lub tsev qiv ntawv Pushbutton los ntawm txhaj rau kos duab -> suav nrog tsev qiv ntawv -> Ntxiv zip tsev qiv ntawv thiab xaiv Pushbutton -2.0 zip file hauv Button_Tube file.
  • Sau tus lej ntawm LEDs.
  • #Txhais NUM_LEDS 130
  • Hauv txoj cai no koj tuaj yeem nkag mus rau qhov tseem ceeb ntawm cov xim ntawm CRGB (----, -----, -----);

  • rau (int i = 0; kuv <NUM_LEDS; kuv ++) {leds = CRGB (0, 100, 255); FastLED.show ();
  • Koj tuaj yeem luam tawm cov xim qhov tseem ceeb los ntawm tus xaiv xim.
  • Txuas Arduino rau koj lub PC, xaiv hom pawg thawj coj saib, xaiv qhov chaw nres nkoj thiab xa cov cai.

Kauj ruam 9: NCO TSEG:

NCO TSEG
NCO TSEG
NCO TSEG
NCO TSEG
NCO TSEG
NCO TSEG
  • Koj tuaj yeem ua lub teeb no txav tau los ntawm kev siv lub txhab nyiaj fais fab lossis qee lub roj teeb.
  • Los ntawm kev siv ib lub rooj sib tham Wi-nkaus zoo li ESP8266 lossis ESP32 koj tuaj yeem hloov xim ntawm lub raj teeb nrog lub xov tooj app.

Pom zoo: