Cov txheej txheem:
- Kauj Ruam 1: Nruab Tus Pab Tsev
- Kauj ruam 2: Nruab Mosquitto
- Kauj Ruam 3: Ntxiv MQTT Kev Sib Koom rau Tus Pab Tsev
- Kauj Ruam 4: Tus Txiv Neej Solder rau Txiv Neej Jumper Wires rau Adafruit NeoPixel Ring thiab NeoPixel Stick
- Kauj Ruam 5: Txuas rau ANAVI Miracle Controller
- Kauj Ruam 6: Kho ANAVI Miracle Controller
- Kauj Ruam 7: Tswj NeoPixels Los Ntawm Tus Pabcuam Hauv Tsev
Video: Siv Adafruit NeoPixels Nrog Tus Pab Tsev: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Adafruit NeoPixels yog cov nplhaib, ib daim kab xev thiab lwm cov ntawv luam tawm hauv Circuit board nrog qhov chaw nyob RGB LED strips. Lawv yog cov sib txuas tau rau ib leeg. Adafruit NeoPixels yog cov neeg nyiam tshaj plaws hauv zej zog tsim thiab siv dav hauv ntau yam ua-nws-koj tus kheej (DIY) cov haujlwm.
Tus Pabcuam Hauv Tsev yog pub dawb thiab qhib qhov chaw siv tshuab hauv tsev tau sau hauv Python 3. Nws tso cai rau koj los tswj ntau yam khoom siv hauv koj lub tsev ntse. Lub Tsev Pabcuam ua haujlwm zoo kawg nkaus ntawm Raspberry Pi 3 lossis 4 thiab tuaj yeem teeb tsa ua Hass.io duab.
Hauv qhov kev qhia no koj yuav kawm paub siv Adafruit NeoPixels nrog Tsev Pabcuam yam tsis muaj lub program! Hauv ob peb kauj ruam peb yuav teeb tsa thiab teeb tsa txhua yam yam tsis muaj coding. Peb yuav txuas Adafruit NeoPixels mus rau qhib qhov chaw txhim kho WiFi pawg thawj coj saib ANAVI Miracle Controller.
Yuav tsum tau kho vajtse
- Adafruit NeoPixel Nplhaib
- Adafruit NeoPixel lo
- 6 txiv neej rau txiv neej jumper xov hlau
- 5V DC fais fab mov
- ANAVI Miracle Controller
- Raspberry Pi 3 lossis 4
Kauj Ruam 1: Nruab Tus Pab Tsev
Rub tawm Hass.io, nyem nws ntawm daim npav microSD, ntsaws daim npav microSD hauv Raspberry Pi thiab qhib nws. Thawj zaug khau raj, nws rub tawm qhov hloov tshiab kawg ntawm Tsev Pabcuam uas siv sijhawm li 20-30 feeb nyob ntawm koj li kev siv Is Taws Nem. Yog tias koj lub router txhawb mDNS, Koj yuav tuaj yeem ncav cuag koj kev teeb tsa ntawm https://hassio.local: 8123.
Kauj ruam 2: Nruab Mosquitto
Nruab Mosquitto MQTT broker los ntawm Hass.io add-on store, teeb tsa username thiab password ntxiv rau Access Control Lists (ACL), thaum kawg tso Mosquitto.
Kauj Ruam 3: Ntxiv MQTT Kev Sib Koom rau Tus Pab Tsev
Los ntawm Configure> Integrations ntxiv MQTT tshiab kev koom ua ke. Nkag mus rau IP chaw nyob, lub npe siv, tus lej zais thiab nyem Pab kom pom. Nws yog qhov yuav tsum tau ua thiab tseem ceeb heev los pab kom pom pom.
Kauj Ruam 4: Tus Txiv Neej Solder rau Txiv Neej Jumper Wires rau Adafruit NeoPixel Ring thiab NeoPixel Stick
Tawm ntawm lub thawv Adafruit NeoPixel Rings thiab Sticks tsis muaj cov coj. Cov laug txiv neej rau txiv neej jumper xov hlau rau Adafruit NeoPixel Ring thiab NeoPixel Stick. Peb yuav tsum muaj xov hlau rau txhua lub NeoPixel ntaus ntawv. Ib jumper hlau yog rau GND, lwm rau 5V DC thiab qhov thib peb yog rau DIN (Cov ntaub ntawv nkag mus).
Kauj Ruam 5: Txuas rau ANAVI Miracle Controller
- Txuas NeoPixel Stick DIN rau LED1, GND rau GND thiab 5VDC rau VOUT ntawm ANAVI Miracle Controller.
- Txuas NeoPixel Ring Cov Ntaub Ntawv Tso Tawm rau LED2, GND rau GND thiab 5V DC Fais Fab rau VOUT ntawm ANAVI Miracle Controller.
- Teeb lub jumper ntawm ANAVI Miracle Controller rau 5V.
- Txuas qhov tsim nyog 5V DC qhov chaw muaj lub zog zoo rau lub tog raj (5.5x2.1mm) ntawm ANAVI Miracle Controller.
Kauj Ruam 6: Kho ANAVI Miracle Controller
Thawj zaug khau raj ANAVI Miracle Controller tsim lub WiFi nkag mus. Los ntawm koj lub xov tooj smartphone, ntsiav tshuaj lossis khoos phis tawj txuas rau ANAVI Miracle Controller. Ua raws cov lus qhia ntawm lub qhov rooj raug kaw kom ua tiav kev teeb tsa ntawm ANAVI Miracle Controller. Txuas nws mus rau koj li Wi -nkaus network, teeb tsa MQTT tus tswv chaw nyob, lub npe siv thiab tus lej nkag, teeb hom LED rau NEOPIXEL, tus lej ntawm LEDs rau LED1 txog 8 rau Adafruit NeoPixel Stick thiab tus lej ntawm LEDs rau LED2 txog 12 rau Adafruit NeoPixel Ring.
Kauj Ruam 7: Tswj NeoPixels Los Ntawm Tus Pabcuam Hauv Tsev
Tom qab ua tiav kev teeb tsa, ANAVI Miracle Controller yuav txuas rau koj li WiFi network thiab muab MQTT broker. Tom qab ntawd Tus Pabcuam Tsev yuav txiav txim siab pom ANAVI Miracle Controller. Qhib Tsev Pabcuam GUI, qhib rau ANAVI Miracle Controller LED1 thiab ANAVI Miracle Controller LED2. Teeb cov teebmeem sib txawv thiab xim rau txhua ntawm ob Adafruit NeoPixels.
Pom zoo:
Pandemi: Tus Nqi Tus Nqi Tus Nqi Tus Kab Mob Qis Tsawg Tus Nqi: 7 Kauj Ruam
Pandemi: Tus Nqi Tus Nqi Tus Nqi Tus Kab Mob Qis Tsawg Tus Nqi: Qhov no yog qhov pheej yig, yooj yim los ua neeg hlau. Nws tuaj yeem ua kom tsis muaj menyuam hauv koj chav nrog UV-C lub teeb, nws yog lub teeb thiab nrawm, nws tuaj yeem mus rau txhua qhov av, thiab nws tuaj yeem haum rau txhua lub qhov rooj. Nws tseem yog tib neeg-nyab xeeb, thiab muaj kev ywj pheej tag nrho
DIY Tus Nqi Tsawg Tus Tsev Hauv Tsev Siv Esp8266: 6 Cov Kauj Ruam
DIY Tus Nqi Tus Nqi Hauv Tsev Tsis Siv Neeg Siv Esp8266: Nyob zoo txhua tus, Hnub no hauv cov lus qhia no Kuv yuav los qhia koj li cas kuv tau npaj kuv tus kheej lub tsev automation raws li qib mus rau lub tsev ntse siv ESP 8266 module feem ntau hu ua nodemcu yog li tsis tas nkim sijhawm cia peb pib
Tswj Koj Lub Rooj Zaum Tsis Siv Neeg Nrog Tus Pab Tsev thiab ESPHome: 5 Kauj Ruam (nrog Duab)
Tswj Koj Lub Rooj Zaum Tsis Siv Neeg Nrog Lub Tsev Pabcuam thiab ESPHome: Cov kab lus hauv qab no yog qee cov lus tawm tswv yim ntawm kuv tus kheej kev tswj hwm lub qhov rooj zawv zawg tsis siv neeg uas kuv tau teeb tsa ntawm kuv lub tsev. Lub rooj vag no, muaj npe "V2 Alfariss", tau muab nrog ob peb Phox V2 kev tswj hwm los tswj nws. Kuv tseem muaj
ARUPI - Tus Nqi Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: 8 Kauj Ruam (nrog Duab)
ARUPI - Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: Cov lus qhia no tau sau los ntawm Anthony Turner. Txoj haujlwm tau tsim los nrog ntau qhov kev pab los ntawm Shed hauv Tsev Kawm Ntawv ntawm Kev Suav, University of Kent (Mr Daniel Knox tau pab zoo!)
Txuas tus Ipod lossis Lwm Tus Neeg Siv Mp3 rau Cov Hais Lus Hauv Tsev Ib Yam Tsis Muaj Tus Nqi kim thiab Bulky Amplifier!: 4 Cov Kauj Ruam
Txuas tus Ipod lossis Lwm Tus Neeg Siv Mp3 rau Cov Hais Lus Hauv Tsev Ib Yam Tsis Muaj Tus Nqi kim thiab Bulky Amplifier!: Koj puas muaj cov hais lus tso suab ntxiv, uas yog tuaj nrog cheep stereos uas tawg lossis koj tsuas yog muaj yam tsis muaj laj thawj? Hauv Cov Lus Qhia Kuv yuav qhia koj yuav ua li cas koj tuaj yeem txuas lawv rau txhua tus neeg siv Mp3 lossis ib lub cuab yeej twg nrog lub suab nrov