Cov txheej txheem:

Bar Graph Moos IOT (ESP8266 + 3D Cov Ntawv Luam): 5 Kauj Ruam (nrog Duab)
Bar Graph Moos IOT (ESP8266 + 3D Cov Ntawv Luam): 5 Kauj Ruam (nrog Duab)

Video: Bar Graph Moos IOT (ESP8266 + 3D Cov Ntawv Luam): 5 Kauj Ruam (nrog Duab)

Video: Bar Graph Moos IOT (ESP8266 + 3D Cov Ntawv Luam): 5 Kauj Ruam (nrog Duab)
Video: Советы и Хитрости Мастеров по Дому, Которые Действительно Помогают▶3 2024, Hlis ntuj nqeg
Anonim
Bar Graph Moos IOT (ESP8266 + 3D Luam Ntawv)
Bar Graph Moos IOT (ESP8266 + 3D Luam Ntawv)
Bar Graph Moos IOT (ESP8266 + 3D Luam Ntawv)
Bar Graph Moos IOT (ESP8266 + 3D Luam Ntawv)

Nyob zoo, Ntawm Cov Lus Qhia no Kuv yuav piav qhia koj li cas los tsim IOT 256 LED Bar Graph Clock.

Lub moos no tsis nyuaj ua, tsis kim heev tab sis koj yuav tsum tau ua siab ntev qhia lub sijhawm ^^ tab sis nws zoo siab los ua thiab qhia tag nrho.

Txhawm rau ua lub moos no, cov kauj ruam tseem ceeb yuav yog:

  • Ua ib qho Clip-on Box
  • Nrhiav lub sijhawm tseeb nrog WiFi thiab NTP raws tu qauv
  • Qhov program 8x32 LED Matrix witch sawv cev rau 256 LED

Khoom siv

  • Led Matrix WS2812B 8x32 11 € ntawm Aliexpress

    8x32 WS2812B LED Matrix tseem hu ua NeoMatrix los ntawm Adafruit lub tuam txhab

  • Nodemcu ESP8266 board 3 txog 4 € ntawm Aliexpress (Nodemcu zoo dua li Wemos)
  • Qee lub tshuab luam ntawv 3D (≈ 120g)
  • 2 ntsia hlau lossis ntsia hlau
  • USB cable (USB Hom A rau Micro USB Hom B)
  • USB phab ntsa adapter

Cov cuab yeej xav tau

  • Ib lub tshuab luam ntawv 3D, kuv li yog Creality CR-10
  • Ib tug pliers
  • Ib qho hlau txuas

Yeem cuab yeej

  • Qee cov kua nplaum kub
  • USB DC DC ntsuas hluav taws xob (muaj txiaj ntsig zoo hauv ntau txoj haujlwm)

Kauj Ruam 1: Yuav Qhia Li Cas Lub Sijhawm?

Yuav Qhia Li Cas Lub Sijhawm?
Yuav Qhia Li Cas Lub Sijhawm?
Yuav Qhia Li Cas Lub Sijhawm?
Yuav Qhia Li Cas Lub Sijhawm?

Daim duab 1 thiab "Cov Lus piav qhia_Clock.pdf" cov ntaub ntawv yuav piav qhia koj li cas nyeem lub moos no. Yeej, koj yuav tsum suav cov lej hauv txhua kab ntawv RGB (liab = teev / ntsuab = feeb / xiav = vib nas this).

Piv txwv li, lub moos qhia 17h50m44s ntawm daim duab 2.

Kauj Ruam 2: Tsim 3D Luam Ntawv Clipsable Enclosure Siv Fusion 360

Tsim 3D luam tawm Clipsable Enclosure Siv Fusion 360
Tsim 3D luam tawm Clipsable Enclosure Siv Fusion 360
Tsim 3D luam tawm Clipsable Enclosure Siv Fusion 360
Tsim 3D luam tawm Clipsable Enclosure Siv Fusion 360
Tsim 3D luam tawm Clipsable Enclosure Siv Fusion 360
Tsim 3D luam tawm Clipsable Enclosure Siv Fusion 360

Kuv xav kom lub thawv no ua lub thawv ntim rau hauv lub thawv yog li kuv tau tsim nws hauv txoj hauv kev uas kuv yuav tsis xav tau siv cov kua nplaum.

Clip-on tau tshoov siab los ntawm ob qhov kev qhia no (sab clip) (nruab nrab ntu)

Matrix qhov ntev:

300 hli qhov siab x 80 hli ntev x 2 hli dav

Lub thawv qhov ntev:

323mm qhov siab x 85mm ntev x 9.2mm dav

Luam cov nuj nqis tseem ceeb:

  • 180 g ntawm filament
  • 16h30 (lub sijhawm luam ntawv)

Hauv qab no, muaj 4 cov ntaub ntawv:

  • Box_Bottom_ws (nrog kev txhawb nqa)
  • Box_Top_ws (nrog kev txhawb nqa)
  • Npog_Bottom_Matrix
  • Npog Top_Matrix

Koj yuav xav tau 4 daim los ua kom tiav cov ntaub ntawv.

Cov ntaub ntawv tseem muaj nyob ntawm Thingiverse, ntawm no yog qhov txuas:

Kauj Ruam 3: Sib Sau 3D Luam Case + ESP8266

Sib sau 3D Luam Ntawv Case + ESP8266
Sib sau 3D Luam Ntawv Case + ESP8266
Sib sau 3D Luam Case + ESP8266
Sib sau 3D Luam Case + ESP8266
Sib sau 3D Luam Case + ESP8266
Sib sau 3D Luam Case + ESP8266
Sib sau 3D Luam Ntawv Case + ESP8266
Sib sau 3D Luam Ntawv Case + ESP8266

Tom qab luam tawm 4 daim, ua raws cov theem hauv qab no:

  1. Desolder txhua qhov xov hlau los ntawm Matrix tshwj tsis yog 5V, GND, thiab DIN
  2. Siv 3 lub xov hlau txuas rau ESP8266 pawg thawj coj saib (saib cov duab)
  3. Sib sau "Box_Bottom_ws" thiab "Box_Top_ws"
  4. Ntxig lub USB cable los ntawm "Box_Bottom_ws"
  5. Txhim kho ESP8266 nrog daim kab xev ob tog lossis kua nplaum kub
  6. Txuas lub USB cable rau ESP8266
  7. Xaub tus lej LED los ntawm "Cover_Bottom_Matrix"
  8. Clip "Cover_Bottom_Matrix" ntawm "Box_Bottom_ws"
  9. Rov ua cov kauj ruam 7 thiab 8 nrog "Cover_Top_Matrix"
  10. Pib programing

Kauj Ruam 4: Kev Sau Ntawv Siv Arduino IDE

Programming Siv Arduino IDE
Programming Siv Arduino IDE

Txoj haujlwm no muaj peb lub luag haujlwm tseem ceeb:

  • WiFi
  • NTP (Network Time Protocol) (wikipedia)
  • Matrix ua nrog 256 WS2812B LED (saib nws ua haujlwm li cas)

Yam yuavtsum tau kawm uantej:

Rau Pawg Thawj Coj:

Ntxiv ESP8266 pawg thawj coj ntawm Arduino IDE (txoj hauv kev tshiab)

Rau Library:

Txhawm rau tsav lub matrix, siv:

  • "Adafruit GFX Library" ua los ntawm Adafuit
  • "Adafuit NeoMatrix" ua los ntawm Adafruit
  • "Adafuit NeoPixel" ua los ntawm Adafruit

Txhawm rau txuas rau Wifi, siv:

  • Tsim-Hauv "WiFi" ua los ntawm Arduino
  • Tsim-Hauv "ESP8266WiFi" muaj los ntawm kev ntxiv lub rooj tsavxwm

Rub tus lej, hloov WiFi ssid thiab tus password (kab 54 thiab 55) thiab muab tso rau hauv koj li ESP8266 pawg thawj coj.

Yeem:

  • Hloov cov xim (kab 52) (Koj tuaj yeem siv qhov cuab yeej no: Xim rau RGB code)
  • Hloov thaj tsam sijhawm (kab 59)
  • Hloov qhov ci ci rau txhua LED (kab 92)
  • Hloov txoj hauv kev los qhia qhov thib ob (kab 101 txog 104) (Kuv cia koj sim)
  • Code koj tus kheej txoj hauv kev los tso tawm ^^.

! Txhawm rau nyob qis dua 500mA, khaws qhov sib txawv ntawm qhov sib txawv ntawm 0 thiab 10 (Txheeb nrog koj lub ntsuas USB yog tias koj muaj).

Yog koj xav paub ntau ntxiv txog:

  • NTP ua haujlwm li cas saib cov vis dis aus no los ntawm Andreas Spiess.
  • ua li cas NeoMatrix ua haujlwm saib ntawm daim vis dis aus no ua tiav los ntawm Andreas Spiess.
  • yuav ua li cas Adafuit Library ua haujlwm pom qhov kev qhia no

Kauj Ruam 5: Dai Nws, Saib Nws thiab Pib Suav - Ua Siab ntev

Dai nws, Saib nws thiab Pib suav - Ua siab ntev
Dai nws, Saib nws thiab Pib suav - Ua siab ntev
Dai nws, Saib nws thiab Pib suav - Ua siab ntev
Dai nws, Saib nws thiab Pib suav - Ua siab ntev

Kuv zoo siab nrog qhov tshwm sim, qhov clip-on box txias thiab yooj yim rau sib sau ua ke thiab lub moos ua haujlwm zoo li ntxim nyiam.

Kuv lees tias nws tsis yog txoj kev nrawm tshaj plaws los qhia lub sijhawm tab sis nws yog txoj hauv kev zoo nkauj heev.

Muaj ib hnub zoo!

Pom zoo: