Cov txheej txheem:
- Kauj Ruam 1: Tshooj Npe
- Kauj ruam 2: Kev thaiv kab
- Kauj ruam 3: Sib dhos
- Kauj ruam 4: Software
- Kauj Ruam 5: Kev koom ua ke rau Apple Tsev (xaiv tau)
- Kauj ruam 6: Txaus siab rau
Video: Teeb Chav Teeb Ws2812: 6 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob zoo txhua tus, Kuv txiav txim siab rov txhim kho lub teeb chav pw uas twb muaj lawm kom muaj peev xwm tswj tau nws los ntawm lub xov tooj ntawm tes lossis ib qho khoom siv nrog browser thiab sib koom ua ke dua li Apple Home.
Cov hom phiaj yog:
1. Siv WS2812b coj sawb los tswj qhov ci ci, xim lossis ua kom pom tseeb/ntxim nyiam
2. Siv lub teeb ib txwm 220v tswj los ntawm relay kom coj tus cwj pwm zoo
3. Siv LDR los tswj lub teeb ci tsis siv neeg nyob ntawm chav teeb
4. Kev koom ua ke/tsim lub vev xaib los tswj ntawm ib qho khoom siv hauv browser
5. Muab tag nrho lawv rau hauv Apple Home kit, yog tias muaj
6. Tus neeg teem sijhawm sab hauv los txheeb xyuas cov cai, lub sijhawm txwv tsis pub qhib thiab ntawm kev ncua sijhawm los ntawm Apple Home
Kauj Ruam 1: Tshooj Npe
1. Txhua lub teeb pom kev zoo 900-1000 mm siab
2. Cov yeeb nkab yas 20-40 mm txoj kab uas hla thiab qhov siab 900-1000 mm. Kuv tau siv cov kav xa dej pheej yig
3. WS2812 coj sawb 30-60 LEDs ib lub 'meter'. 2-3 meters ntev
4. ESP8266 lossis ESP32 ntaus ntawv. Kuv tau siv ESP8266 dev board
5. Lub hwj chim muab AC/DC 5V 2-3 A. (suav zoo li 1A rau 50 LEDs ntxiv rau rho tawm)
6. LWG
7. Relay module los tswj 220v teeb
8. Resistors: 1x 200 Ohm, 1x 10k Ohm
9. Qee cov xov hlau
Kauj ruam 2: Kev thaiv kab
Tam sim no yog lub sijhawm los thaiv txhua qhov khoom ua ke.
Kauj ruam 3: Sib dhos
1. Qhwv LEDs kab ib ncig cov yeeb nkab yas
2. Muab ESP8266 tso rau hauv ib lub thawv yas
3. Muab cov qauv xa mus rau lwm lub thawv yas
4. Hlau raws kab kos
5. Muab cov thawv rau hauv qab teeb. Kuv tau siv yas Glue
6. Muab LDR tso rau saum lub teeb thiab nkaum cov xov hlau sab hauv ntawm cov yas yas
Kauj ruam 4: Software
Txog qhov haujlwm no kuv tau siv software thoob ntiaj teb, tsim los ntawm kuv tus kheej
Thov saib ib nplooj ntawv github
Qhov no muaj tag nrho cov lus qhia yuav ua li cas sau thiab teeb tsa
Raws nraim rau txoj haujlwm no kuv tau siv cov ntaub ntawv teeb tsa hauv qab no
1. Configuration config.json
2. Kev pabcuam services.json
3. Tigig triggers.json
Yam koj xav tau txheeb xyuas thiab hloov pauv:
1. Services.json - kho "suav": xxx, qhov xxx tus lej ntawm koj li LEDs tiag, tom qab txiav kab
2. config.json - teeb tsa tus tswv tsev lub npe rau koj lub cuab yeej "localhost":
3. config.json - teeb tsa qhov tsim nyog rau koj qhov kev sib txuas mqtt: "mqtt_host", "mqtt_port":, "mqtt_user", "mqtt_pass"., yog mqtt_host tsis muaj dab tsi, ntaus ntawv yuav tsis sim txuas rau mqtt
Kauj Ruam 5: Kev koom ua ke rau Apple Tsev (xaiv tau)
Thov saib wiki, yuav ua li cas ua ke
github.com/Yurik72/ESPHomeController/wiki/…
Thov ua tib zoo saib ib feem ntawm kev teeb tsa rau Homekit2MQTT.
Yog tias koj tsis xav ntxiv txhua yam ntawm tus kheej, tsuas yog hloov tag nrho lossis ib feem ntawm cov ntawv (teeb tsa.json) hauv Homekit2MQTT teeb tsa.
Kauj ruam 6: Txaus siab rau
Tam sim no, thaum txhua yam ua tiav koj tuaj yeem ua tau
-
Siv ib lub cuab yeej tswj hwm koj lub teeb ntawm browser
- Hloov rau/tawm RGB LEDs
- Qhib/tua teeb lub teeb
- Tswj xim, ci ntsa iab thiab ntau dua 40 ua rau cuam tshuam rau WS2812
- Teeb tsa lub sijhawm teem sijhawm yooj yim rau txhua txoj haujlwm tau piav qhia saum toj no
-
Siv Apple Home kit
- Hloov rau/tawm RGB LEDs
- Qhib/tua teeb lub teeb
- Tswj xim thiab ci ntawm RGB Leds
- Siv Cov Khoom Siv Hauv Tsev automation tsab ntawv teeb tsa lub sijhawm
- Siv siri rau kev tswj lub suab ntawm koj lub teeb
Pom zoo:
Chaw taws teeb-tswj Animating LED Chav Teeb: 5 Cov Kauj Ruam (nrog Duab)
Kev tswj chaw taws teeb Animating LED Chav Teeb: Rau cov uas xav tau so lossis ua kom pom kev zoo nkauj lub teeb pom kev zoo, rau ib chav menyuam yaus, kho kom zoo nkauj Christmas, lossis tsuas yog kev lom zem, ntawm no yog kuv qhov kev txhawb zog ntxiv. Kuv tau txais cov lus teb zoo siab heev los ntawm cov menyuam mos hnub nyoog 6 hli rau cov menyuam loj dua txhua lub sijhawm
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
DIY LED Teeb - Niaj Hnub Teeb Meem Teeb Nrog Cov Chaw Taws Teeb: 8 Kauj Ruam (nrog Duab)
DIY LED Teeb - Niaj Hnub Teeb Mood Teeb Nrog Chaw Taws Teeb: Hauv kab lus no kuv yuav mus hla cov txheej txheem Kuv tau siv los tsim qhov no zoo heev pyramid zoo li tus LED Mood Teeb.Kuv siv maple rau cov qauv tseem ceeb thiab qee qhov mahogany txhav ntxiv rau lub zog. Rau lub teeb Kuv siv RGB LED teeb uas tuaj nyob hauv 16 ko taw
Ikea Cov Menyuam Teeb Chav Teeb: 11 Kauj Ruam (nrog Duab)
Ikea Kids Kitchen Lights Mod: Rau kuv cov ntxhais hnub yug thib ob, peb txiav txim siab kom nws ua chav teeb. Tab sis kuv yeej xav ua qhov peb tau txais nws tshwj xeeb thiab tom qab tau txais kev tshoov siab los ntawm qee tus neeg tsim khoom zoo tau ua nrog Ikea Duktig Chav Ua Noj, peb txiav txim siab kom tau ib qho thiab ua
LED Teeb Teeb Duab Cwjmem: Cov Cuab Yeej rau Teeb Teeb Doodles: 6 Kauj Ruam (nrog Duab)
LED Teeb Teeb Lub Cwjmem: Cov Cuab Yeej rau Teeb Doodles: Kuv tus poj niam Lori yog tus neeg siv tsis tu ncua thiab kuv tau ua si nrog kev yees duab ntev ntev rau ntau xyoo. Kev tshoov siab los ntawm PikaPika pab pawg teeb pom kev zoo thiab yooj yim ntawm cov koob yees duab digital peb tau siv lub teeb duab kos duab kom pom tias peb tuaj yeem ua dab tsi