Cov txheej txheem:

RGB HexMatrix - IOT Moos 2.0: 5 Cov Kauj Ruam (nrog Duab)
RGB HexMatrix - IOT Moos 2.0: 5 Cov Kauj Ruam (nrog Duab)

Video: RGB HexMatrix - IOT Moos 2.0: 5 Cov Kauj Ruam (nrog Duab)

Video: RGB HexMatrix - IOT Moos 2.0: 5 Cov Kauj Ruam (nrog Duab)
Video: RGB Matrix test for ESP32-S2 Feather 2024, Kaum ib hlis
Anonim
RGB HexMatrix | IOT Moos 2.0
RGB HexMatrix | IOT Moos 2.0
RGB HexMatrix | IOT Moos 2.0
RGB HexMatrix | IOT Moos 2.0
RGB HexMatrix | IOT Moos 2.0
RGB HexMatrix | IOT Moos 2.0

Fusion 360 Cov Haujlwm »

HexMatrix 2.0 yog kev hloov kho ntawm HexMatrix yav dhau los. Hauv cov ntawv dhau los peb tau siv WS2811 LEDs los ntawm qhov uas HexMatrix dhau los ua hnyav thiab tuab. Tab sis hauv cov lej ntawm cov qauv no peb yuav siv kev cai PCB nrog WS2812b LEDs uas ua rau cov lej no ua 3 cm nyias.

Kauj Ruam 1: Cov khoom siv:

Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
  • PCB Nyem rau Gerber cov ntaub ntawv
  • NodeMCU (ESP8266) Cov
  • WS2812B LEDs
  • 5V 2A micro USB adapter
  • 3D Luam Tshooj

Kauj Ruam 2: 3D Luam Ntawv:

3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv
  • Nyem rau cov ntaub ntawv STL
  • 3D Luam tawm txhua tus qauv 3D, nco ntsoov luam tawm lub vijtsam hauv PLA dawb.
  • Tus tsim kuv tau ua yog dai rau ntawm phab ntsa koj tuaj yeem hloov kho raws li qhov koj xav tau hauv Fusion360 Fusion360 cov ntaub ntawv.

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
  • Muab tag nrho cov LEDs ntawm PCB kom raug.
  • Ua txhua qhov kev sib txuas raws li qhia hauv daim duab qhia chaw.
  • GND ~ NCO
  • Vin ~ 5V
  • D2 ~ Diav

Kauj ruam 4: Code:

Txoj Cai
Txoj Cai
  • Qhib cov cai muab hauv Arduino IDE. Nyem rau Code
  • Nruab ib lub Tsev Qiv Ntawv FastLED thiab tsev qiv ntawv pawg thawj coj saib rau ESP8266 cov laug cam.
  • Ntaus koj Wifi_Name thiab Password

// Koj cov ntaub ntawv Wifi

const char* ssid = "Wifi_Name";

const char* password = "Password";

Nkag mus rau thaj tsam sijhawm ntawm koj lub tebchaws

// Koj lub sijhawm

int sij hawm = 5.5 * 3600;

  • Yog hais tias rau kuv hauv Is Nrias teb thaj tsam lub sijhawm yog 5:30 Kuv tau ntaus 5.5, zoo ib yam koj yuav tsum muab sijhawm thaj tsam ntawm koj lub tebchaws.
  • Xaiv Pawg Thawj Coj li ESP8266 (NodeMCU), xaiv qhov chaw nres nkoj thiab xa cov cai.
  • Tom qab tus lej tau ua tiav xa mus txheeb xyuas Matrix los ntawm kev txhawb nws nrog micro USB adapter.
  • Koj tseem tuaj yeem tso cov duab pom los ntawm FastLED lub tsev qiv ntawv piv txwv.

Kauj Ruam 5: Kawg:

Kawg
Kawg
Kawg
Kawg
Kawg
Kawg
  • Txiav ob txhais ceg ntawm NodeMCU pawg thawj coj saib thiab muab txhua yam tso rau hauv lub thawv ntawv.
  • Muab lub vijtsam thiab ua qee qhov nrog laum thiab ntswj ob sab.

Pom zoo: