Cov txheej txheem:

Luciferin, Teeb Pom Kev Zoo Wireless rau Koj Lub PC.: 6 Cov Kauj Ruam (nrog Duab)
Luciferin, Teeb Pom Kev Zoo Wireless rau Koj Lub PC.: 6 Cov Kauj Ruam (nrog Duab)

Video: Luciferin, Teeb Pom Kev Zoo Wireless rau Koj Lub PC.: 6 Cov Kauj Ruam (nrog Duab)

Video: Luciferin, Teeb Pom Kev Zoo Wireless rau Koj Lub PC.: 6 Cov Kauj Ruam (nrog Duab)
Video: Yexus Yog Lub Hnub Ci Pom Kev (Nkauj Ntseeg Vajtswv) 2024, Hlis ntuj nqeg
Anonim
Image
Image

Luciferin yog lo lus siv dav rau lub teeb pom kev sib txuas pom nyob hauv cov kab mob uas ua rau muaj hluav taws xob zoo ib yam li Fireflies thiab Glow Worms. Firefly Luciferin yog Java Fast Screen Capture PC software tsim los rau Glow Worm Luciferin firmware, ob lub software tsim lub Bias Teeb pom kev zoo thiab Ambient Light system rau PC.

Khoom siv

1) ESP8266 microcontroller (D1 Mini lossis NodeMCU)

2) WS2812B LED sawb

3) Fais fab mov rau LED sawb

4) MQTT server (yog tias koj muaj Home Assistant lossis OpenHAB koj muaj, MQTT server yog nyob ntawm yeem thiab nws xav tau yog tias koj xav siv Luciferin ntawm wireless)

5) Windows lossis Linux PC (macOS kev txhawb nqa yuav txhawb nqa sai)

Kauj Ruam 1: Txhim Kho Glow Worm Luciferin Firmware ntawm Koj Lub Microcontroller

Rub lub Glow Worm Luciferin firmware thiab nyem rau ntawm koj li ESP8266 siv koj lub cuab yeej lub teeb nyem dua.

Thov rub lub firmware los ntawm no.

Koj tuaj yeem rub tawm ESP Home Flasher los ntawm no. Ntau: Firmware tau ntim rau hauv.tar cov ntaub ntawv, koj tuaj yeem tshem nws siv 7zip lossis zoo sib xws, sab hauv lub tar koj yuav pom ob lub binaries, FULL version xav tau rau MQTT thiab txhawb nqa wireless, LIGHT version tuaj yeem siv tau yog tias koj tsis xav tau MQTT lossis txhawb nqa wireless.

Kauj Ruam 2: Txuas lub LED Sawb rau Koj Lub Microcontroller

Txuas lub LED Sawb rau Koj Lub Microcontroller
Txuas lub LED Sawb rau Koj Lub Microcontroller

Capacitor, kev tiv thaiv thiab kev hloov pauv logic pab "ua kom muaj kev ruaj ntseg hauv Circuit", muaj ntau tus neeg uas tsis siv cov khoom ntxiv ntawd.

Koj yuav tsum yuav lub hwj chim muaj peev xwm ua kom muaj zog txhua lub LEDs uas koj xav tau. Rau 60 LEDs lub zog siv tsawg kawg 5V/3A nws tau pom zoo, rau 120 LEDs koj xav tau 5V/6A fais fab mov, ua koj cov lej ntawm no. Lub zog loj dua feem ntau ua haujlwm tau zoo dua thiab ua haujlwm kub dua li qhov me dua. Tsis txhob ua kom qis zog.

Nco tseg: LED sawb yuav tsum txuas nrog D1 tus pin.

Kauj Ruam 3: Muab cov LED tso rau tom qab ntawm Tus Saib

Muab cov LED tso rau tom qab ntawm Tus Saib
Muab cov LED tso rau tom qab ntawm Tus Saib
Muab cov LED tso rau tom qab ntawm Tus Saib
Muab cov LED tso rau tom qab ntawm Tus Saib

Daim kab xev ob tog yog txhua yam koj xav tau rau qib no. Nws yooj yim dua yog tias koj txiav cov kab txaij hauv 5 ntu, kab saum toj, kab sab laug, sab xis, hauv qab sab laug, hauv qab sab xis.

LUS CEEB TOOM: Yog tias koj xav siv qhov kev teeb tsa tsim tau yooj yim, koj thawj LED yuav tsum tau muab tso rau hauv qab ib nrab ntawm koj lub monitor zoo li pom hauv daim duab.

Kauj Ruam 4: Rub tawm thiab Nruab Firefly Luciferin PC Software

Rub tawm thiab Nruab Firefly Luciferin PC Software
Rub tawm thiab Nruab Firefly Luciferin PC Software

Thov rub tawm thiab teeb tsa Firefly Luciferin ntawm koj lub PC, koj tuaj yeem rub nws los ntawm no.

Thaum ntsia lub software, pib nws thiab teeb tsa nws los ntawm cov neeg siv graphical interface. Defaults yog qhov zoo rau cov neeg feem coob.

Txuas lub USB cable rau koj ESP8266, ob npaug nias lub cim tais ntawm Firefly Luciferin software thiab txaus siab rau koj qhov kev tsis ncaj ncees teeb pom kev zoo. Yog tias koj tsis xav txuas lub USB cable koj yuav tsum txuas ntxiv nyeem Wiki rau MQTT/Wireless teeb tsa.

Kauj Ruam 5: [Xaiv tau] Kev Tswj Chaw Taws Teeb Siv WiFi thiab MQTT

[TSIS MUAJ] Kev tswj chaw taws teeb Siv WiFi thiab MQTT
[TSIS MUAJ] Kev tswj chaw taws teeb Siv WiFi thiab MQTT
[TSIS MUAJ] Kev tswj chaw taws teeb Siv WiFi thiab MQTT
[TSIS MUAJ] Kev tswj chaw taws teeb Siv WiFi thiab MQTT

Luciferin txhawb nqa MQTT thiab tuaj yeem tswj tau los ntawm lub xov tooj smartphone lossis ntawm lub PC nyob deb siv lub MQTT cov neeg siv khoom ib txwm muaj.

Ua tsaug rau Arduino Bootstrapper, Glow Worm Luciferin firmware pib qhov nkag mus rau kev teeb tsa yooj yim ntawm lub xov tooj ntawm tes.

Thov txuas rau AP nrog koj lub xov tooj, yog tias koj tshawb nrhiav WiFi network koj yuav pom koj li ESP ntaus ntawv hu ua LUCIFERIN, ib zaug txuas mus rau https://192.168.4.1 thiab koj yuav nkag mus rau GUI qhov twg koj tuaj yeem nkag mus txhua tus lej nkag tsis tau xav tau hardcoding lawv.

1) IP Chaw Nyob: Tus IP chaw nyob uas koj ESP yuav tsum siv. 2) SSID: Koj li Wifi SSID, koj lub npe Wifi. 3) Wifi Password: Koj tus password Wifi 4) OTA Password: Koj tuaj yeem siv tus password no hloov tshiab Luciferin ntawm wireless. 5) MQTT Server IP: Tus IP chaw nyob ntawm koj li MQTT server. 6) MQTT Server Port: Chaw nres nkoj ntawm koj MQTT server. 7) MQTT Username: Lub npe siv uas koj siv los nkag rau koj li MQTT server. 8) MQTT Password: Koj tus password MQTT.

Thov ob npaug xyuas koj cov tswv yim ua ntej nyem rau 'Khw teeb tsa' khawm. Yog tias koj nkag mus yuam kev cov ntaub ntawv koj yuav tsum tau lwv lub ESP nco thiab rov ua dua lub firmware

## Lub ntsiab lus tsis raug teeb/glowwormluciferin/teeb

## Qhib/OFF LED kab txaij nyob deb, siv lub teeb pom kev zoo.

Cov no yog cov txiaj ntsig txhawb: GlowWorm, GlowWormWifi, bpm, cov pas nrig qab zib, confetti, cyclon rainbow, dots, hluav taws, ci, glitter, juggle, xob laim, suab nrov, tub ceev xwm txhua tus, tub ceev xwm ib, zaj sawv, zaj sawv khov, zaj sawv nrog ci, ripple, sinelon, tawv, twink

Kauj Ruam 6: [XEEM] Lub Tsev Pabcuam Sib Koom

Ua tsaug rau MQTT raws tu qauv Luciferin tuaj yeem ua ke yooj yim rau hauv koj lub tsev Automation uas koj nyiam.

- Tsim 'glow_worm_luciferin' nplaub tshev hauv koj 'nplaub tshev.

- Luam daim ntawv npaj siv pob rau hauv koj daim ntawv 'glow_worm_luciferin'.

- Ntxiv pob rau koj configuration.yaml

Pom zoo: