Cov txheej txheem:

(WiFi) Teeb Mood: 8 Kauj Ruam (nrog Duab)
(WiFi) Teeb Mood: 8 Kauj Ruam (nrog Duab)

Video: (WiFi) Teeb Mood: 8 Kauj Ruam (nrog Duab)

Video: (WiFi) Teeb Mood: 8 Kauj Ruam (nrog Duab)
Video: Lub Zog Nruab Nrog (Hmong Dubbed) 2024, Hlis ntuj nqeg
Anonim
(WiFi) Mood Teeb
(WiFi) Mood Teeb

Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav ua li cas thiaj tsim tau lub teeb pom kev zoo heev thiab pheej yig. Lub teeb tuaj yeem hloov kho nrog RGB LEDs thiab WiFi-tau tshaj microcontroller.

Khoom siv

  • 4 Led: liab, daj, ntsuab thiab xiav (hloov: ob rgb Led's)

    Qhov ntau Led yog lub teeb ci dua

  • USB Cable
  • 3D Tshuab Luam Ntawv
  • 3, 5mm Acrylic (tuaj yeem ua tuab dua los yog thim)
  • Wemos d1 mini (tsis tsim nyog yog tias koj tsis xav tau lub teeb tswj WiFi)

Kauj Ruam 1: 3D Luam Kab

3D Luam Kab
3D Luam Kab

Ua ntej tshaj plaws, koj xav tau lub thav duab rau cov duab plaub fab acrylic.

Rau qhov no, koj tuaj yeem luam cov ntawv txuas nrog. Cov thav duab no tsis muaj zog txaus tab sis yuav tau txais kev ruaj ntseg nrog cov kauj ruam tom ntej. Qhov no txhais tau tias koj yuav tsum tau ceev faj.

Yog tias txhua yam ua haujlwm tau zoo nrog cov ntawv luam tawm koj yuav tuaj yeem ntxig cov duab plaub fab acrylic (qib 2) yam tsis muaj teeb meem. Rau rooj plaub uas qee yam tawg tsis txhob txhawj nws kuj ua haujlwm nrog ib txhais ceg tsawg dua.

Kauj Ruam 2: Acrylic Squares

Acrylic plaub fab
Acrylic plaub fab
Acrylic plaub fab
Acrylic plaub fab
Acrylic plaub fab
Acrylic plaub fab
Acrylic plaub fab
Acrylic plaub fab

Thaum lub thav duab tau luam tawm koj tuaj yeem pib txiav cov acrylic. Thaum kawg lawv yuav tsum yog 50mm x 50mm yog li ntawd txiav lawv me me me dua thiab tshem qhov seem nrog cov ntawv thiab cov zom. Yog tias koj siv lub laj kab miter nws yooj yim dua zom cov square zoo.

Txhawm rau zam qhov khoob ntawm tus ncej thiab cov xwm txheej nquag sim ntxig lawv rau hauv tus ncej.

Sai li cov xwm txheej muaj qhov loj me me coj qee cov ntawv txhuam thiab ua ob sab.

Ua tsib ntawm lawv, ib qho rau txhua sab tshwj tsis yog hauv qab.

Kauj Ruam 3: Sib dhos Tus Ncej thiab Acrylic Squares

Sib dhos Cov Ncej thiab Acrylic Squares
Sib dhos Cov Ncej thiab Acrylic Squares
Sib dhos Cov Ncej thiab Acrylic Squares
Sib dhos Cov Ncej thiab Acrylic Squares
Sib dhos Cov Ncej thiab Acrylic Squares
Sib dhos Cov Ncej thiab Acrylic Squares

Txhua yam koj xav tau rau qhov no yog qee cov kua nplaum thiab koj cov khoom tsim yav dhau los.

Ntxiv cov kua nplaum rau ntawm ob sab thiab teeb lawv rau hauv tus ncej. Thaum cov kua nplaum ziab lub thav duab tau txais ntau qhov nruj.

Yog tias koj lub thav duab poob ib ntawm plaub ceg koj tuaj yeem kho qhov no yooj yim nrog qee cov kua nplaum tam sim no. Kuv poob ib yam thiab koj tsis tuaj yeem pom qhov sib txawv.

Kauj Ruam 4: Sijhawm Rau Lub Hauv Paus

Sijhawm rau Base
Sijhawm rau Base
Sijhawm rau Base
Sijhawm rau Base

Qhov tsuas yog koj yuav tsum ua yog luam cov ntawv.stl txuas nrog cov nplais "Base.stl" thiab kho cov LEDs nrog kua nplaum kub.

Kauj Ruam 5: Teeb thiab Sib dhos

Teeb thiab Sib dhos
Teeb thiab Sib dhos
Teeb thiab Sib dhos
Teeb thiab Sib dhos
Teeb thiab Sib dhos
Teeb thiab Sib dhos

Lub hwj chim yog 5V USB cable. Qhov no txhais tau tias koj tuaj yeem tso ob lub LEDs ua ke. Txhawm rau ua qhov no koj yuav tsum tau siv lub 5V (USB) rau anode ntawm ib qho Led, cathode txuas nrog rau anode ntawm Led thib ob. Qhov thib ob Led's cathode yuav tsum tau muab muag rau GND (USB). Tsis txhob hnov qab kom yaj lub 10Ω resistor ntawm cathode lossis anode thiab USB cable.

Rov ua dua qhov no rau tus khub Led thib ob thiab qhov muag tau ua tiav.

Tam sim no nws yog lub sijhawm los ntxiv cov thav duab nrog acrylic. Muab lawv tso rau hauv cov ntoo ntawm lub hauv paus. Kuv qhov lus pom tsis yog lo rau nws rau rooj plaub uas ib Led yuav tsum tau hloov.

Kauj Ruam 6: Koj Xav Tau Ntau Ntxiv? Siv Rgb Led's thiab WiFi

Koj Xav Tau Ntxiv? Siv Rgb Led's thiab WiFi
Koj Xav Tau Ntxiv? Siv Rgb Led's thiab WiFi
Koj Xav Tau Ntxiv? Siv Rgb Led's thiab WiFi
Koj Xav Tau Ntxiv? Siv Rgb Led's thiab WiFi

Hloov tib xim LEDs nrog RGB LEDs. Txhawm rau tswj cov LEDs kuv siv Wemos d1 mini nrog WiFi.

Siv cov kua nplaum kub los kho lub d1 mini sab hauv. Txawm hais tias qhov chaw muaj txwv microcontroller haum zoo.

Txuas cov digital (PWM) tus pin rau Anode (s) los tswj cov xim thiab GND rau cov cathode (s). Tus pin rau xiav txuas nrog "RX", ntsuab rau "D1" thiab liab rau "D2" tab sis nrog 50Ω resistor.

Ib qho ntxiv yog qhov yuav luag pom qhov hloov pauv kom rov pib dua d1 mini yog tias nws txiav tawm ntawm koj li WiFi. Qhov hloov pauv kuj tseem siv los tso tseg RGB zaj sawv.

Qhov hloov nws tus kheej tsuas yog ib txoj hlua txuas rau +3.3V thiab ib qho thib ob rau tus pin analog input. Yog tias tus ntiv tes kov ob lub xov hlau analog pin pom tus nqi siab dua uas tuaj yeem siv rov pib dua tus tswj hwm thiab kom tsis txhob muaj hom RGB. Ua kom sov ob lub xov hlau nrog cov hlau txuas thiab lo lawv hla lub hauv paus (thawj daim duab).

Kauj Ruam 7: Txoj Cai thiab Kev Tswj Xyuas

Txoj Cai thiab Kev Tswj Xyuas
Txoj Cai thiab Kev Tswj Xyuas
Txoj Cai thiab Kev Tswj Xyuas
Txoj Cai thiab Kev Tswj Xyuas

Txhawm rau txuas tus tswj hwm nrog WiFi koj yuav tsum qhib tus lej thiab sau koj li WiFi npe thiab tus lej nkag. Tom qab ntawd rub tawm daim duab thiab luam qhov txuas uas yuav tshwm thiab muab tso rau hauv koj tus browser. Nws yog ib qho tseem ceeb uas lub cuab yeej txuas nrog tib lub network WiFi.

Yog tias koj ntsaws rau hauv lub maub los nws yuav cia li txuas rau lub network. Sai li qhov kev sib txuas hauv online lub teeb ntsais peb zaug.

Ua siab ncaj Kuv tsis txaus siab heev nrog kuv tus lej vim tias tag nrho WiFi lub ncauj lus yog qhov tshiab rau kuv tab sis kuv yeej xav siv nws rau txoj haujlwm no. Yog tias koj muaj tus lej zoo dua Kuv yuav zoo siab los txhim kho kuv tus kheej nrog koj li.

Kauj Ruam 8: Code Alternativ: "Blynk"

Txoj Cai Alternativ
Txoj Cai Alternativ
Txoj Cai Alternativ
Txoj Cai Alternativ

Qhov tseeb tias kuv tus lej nyob deb ntawm qhov zoo tshaj qhov no yog lwm txoj hauv kev zoo tab sis xav kom rub tawm Blynk app.

Yog tias koj xav siv Blynk dua li muab cov lej muab rau uas yog pub dawb hauv internet. Qhib cov duab kos hauv koj lub npe WiFi, tus lej zais, thiab tus lej cim tseeb Blynk muab rau koj. Tab sis ua ntej, nruab Blynk lub tsev qiv ntawv nrog tus thawj tswj tsev qiv ntawv hauv Arduino IDE. Tom qab ntawd koj tuaj yeem teeb tsa cov nyees khawm, hloov pauv, thiab ntau ntxiv hauv app.

Tus pin teeb tsa yog GP4 rau liab, GP5 rau ntsuab, thiab GP3 rau xiav.

Txog cov teeb meem, koj tuaj yeem nyeem txhua yam ntawm no.

Pom zoo: