Cov txheej txheem:
- Kauj ruam 1: Teeb Server
- Kauj ruam 2: Kho thiab Plugins
- Kauj Ruam 3: Teeb Lub Xeev Soliday Relay
- Kauj Ruam 4: Txuas Cov Khoom Sate Relay thiab Tshaj Tawm Arduino Code
- Kauj ruam 5: Xeem
- Kauj Ruam 6: Cov Kauj Ruam Tom ntej
Video: Arduino thiab Apple HomeKit Kev Sib Koom - Tswj Koj Lub Tsev Los ntawm Siri! IoT Nyob Ntawm No: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Cov lus qhia no yuav muab rau koj txoj hauv kev yooj yim thiab yooj yim ntxiv rau board arduino rau Apple's HomeKit ntawm lub cuab yeej iOS. Nws qhib txhua yam kev muaj peev xwm suav nrog Cov Ntawv sau ntawm tus neeg rau zaub mov, suav nrog Apples HomeKit "Scenes", nws ua rau muaj kev sib zog ua ke!
Qhov no tsis yog txhais tau tias ua tiav lossis npaj tau rau kev siv mus sij hawm ntev tab sis nws qhia tau tias yog dab tsi ua tau nrog kev ua haujlwm me ntsis:) Txheeb xyuas kuv li blog rau cov phiaj xwm yav tom ntej www.arduinoblogger.co.uk
Dab tsi xav tau:
- Arduino nrog Ethernet Shield lossis WiFi
- Raspberry Pi lossis qee qhov server
- Solid State Relay lossis Relay Ib txwm nrog tswj Circuit
- Pawg mov ci - xaiv tau
- Lub thawv Project
- Qee Lub Sijhawm
- iOS no ntaus ntawv
- Extension Lead los txiav tawm
Kauj ruam 1: Teeb Server
Txoj haujlwm no xav kom siv lub server kom khiav HomeBridge software. Kuv siv Raspberry Pi raws li kuv muaj nws npaj tau tab sis hauv kev xav txhua yam uas tuaj yeem ua haujlwm Node. Js yuav tsum ua haujlwm!
Koj tuaj yeem ua raws phau ntawv qhia no kom tau txais qhov no thiab ua haujlwm ntawm Raspberry Pi. Lwm cov lus qhia nyob ib puag ncig los tsim Raspberry Pi yog tias koj xav tau cov ntawd!
github.com/nfarina/homebridge/wiki/Running…
Thaum tau teeb tsa koj xav tau teeb tsa lub plugin thiab hloov kho cov ntaub ntawv config.json
Kauj ruam 2: Kho thiab Plugins
Qhib koj cov ntaub ntawv config.json uas yuav tsum nyob hauv ~/.homebridge/config.json siv koj cov ntawv nyeem uas koj nyiam thiab ntxiv cov hauv qab no
"lub npe": "Homebridge", "username": "CC: 22: 3D: E3: CE: 30", "chaw nres nkoj": 51826, "tus pin": "031-45-154"
}, "platforms": [Cov.], "accessories": [Cov.
{
"accessory": "Http", "lub npe": "Chav Nyob Teeb", "on_url": "https://192.168.1.201:80/?on", "off_url": "https://192.168.1.201:80/?off", "http_method": "Tau"
}]
}
Koj tseem yuav xav tau teeb tsa homebride-http plugin. HomeBridge software yuav ua HTTP GET thov mus rau Arduino uas tom qab ntawd yuav qhib lossis kaw Lub Xeev Solid State Relay. Hu zoo li no:
192.168.1. X: 80/? on
192.168.1. X: 80/? tawm
Txhawm rau nruab hom plugin:
npm nruab homebridge-http
Kauj Ruam 3: Teeb Lub Xeev Soliday Relay
Kuv tau siv lub luag haujlwm hnyav heev Solid State Relay. Qhov no tuaj yeem yog (thiab yuav yog yav tom ntej ntawm qhov no) hloov pauv rau qee yam me me. Pom tseeb tus nqi no rau lub nra uas koj npaj siab yuav khiav tawm ntawm nws.
Qhov no tau ua tiav 'Smart' txuas ntxiv ua tam sim no.
Qhov zoo ntawm Kev Ncaj Ncees ntawm Lub Xeev Sib Txuas yuav txuas rau tus pin 5 ntawm arduino.
Qhov tsis zoo yuav txuas rau GND tus pin.
Txhua qhov kev ceeb toom ib txwm siv thaum cuam tshuam nrog 120/220 vdc - TSEEM CEEB.
Kauj Ruam 4: Txuas Cov Khoom Sate Relay thiab Tshaj Tawm Arduino Code
Qhib koj ib puag ncig arduino thiab xa daim duab no.
Kho koj tus IP chaw raws li xav tau.
Tam sim no qhov no yuav tsum tau npaj rau kev sim.
Tua tawm homebridge ntawm tus neeg rau zaub mov!
Kauj ruam 5: Xeem
Tam sim no txhua yam yog nyob rau hauv qhov chaw nws lub sijhawm los sim!
Rub tawm Elgatu Eve los ntawm App Store ntawm koj lub cuab yeej iOS.
Koj yuav tsum pom Homebridge yog cov khoom siv muaj los txuas nrog. Siv tus lej tus lej 031-45-154, qhov no tuaj yeem hloov kho hauv cov ntawv config.json.
Thaum txuas nrog koj tuaj yeem txav qhov no ib puag ncig hauv App mus rau chav xav tau thiab lwm yam Muab Siri sim! Nws yuav tsum muaj peev xwm tswj hwm kev siv lub suab!
Kauj Ruam 6: Cov Kauj Ruam Tom ntej
Lub phiaj xwm yog kom txo qis qhov no thiab siv qee yam zoo li Nano thiab teeb tsa qhov no hauv Lightswitches / phab ntsa nyob nrog ntau dua Kev Tshaj Tawm thiab siv WiFi kom ua tiav Lub Tsev Automation.
Vam tias ib tus neeg tau txais qee qhov siv los ntawm qhov no! Ua tsaug ntau rau Nick Farina rau nws ua haujlwm ntawm Homebridge Software!
Ib daim vis dis aus yuav los sai sai no.
Pom zoo:
Siv Kev Cia Siab Lub Hauv Paus txuas ntxiv txhawm rau Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Txoj Cai Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: 11 Kauj Ruam
Siv Kev Cia Siab Lub Hauv Paus Txuas Ntxiv kom Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: Lub hom phiaj ntawm cov lus qhia no yog los qhia seb yuav tshawb nrhiav koj tsev neeg tsob ntoo li cas hauv Tsev Neeg Nrhiav rau cov poj koob yawm txwv nrog kev ua haujlwm hauv lub tuam tsev tsis tiav siv Kev Cia Siab lub hauv siab txuas ntxiv. Siv Kev Cia Siab Lub Hauv Paus tuaj yeem ua rau koj qhov kev tshawb nrhiav tsis tiav
DIY PC Steering Log thiab Pedals Los Ntawm Cardboard! (Kev tawm tswv yim, Paddle Shifters, Zaub) rau Kev Sib Tw Simulators thiab Kev Ua Si: 9 Kauj Ruam
DIY PC Steering Log thiab Pedals Los Ntawm Cardboard! (Cov lus tawm tswv yim, Cov Ncaws Pob Ntaus Pob, Zaub) rau Kev Sib Tw Simulators thiab Kev Ua Si: Hav txhua tus! Thaum lub sijhawm tsis txaus ntseeg no, peb txhua tus nyob ib puag ncig nrhiav ib yam dab tsi los ua. Cov xwm txheej sib tw hauv lub neej tiag tiag tau raug tso tseg thiab tau hloov nrog simulators. Kuv tau txiav txim siab los tsim qhov kev sim pheej yig uas ua haujlwm tsis muaj teeb meem, ua pov thawj
Tib Neeg-Khoos Phis Tawj Kev Sib Txuas: Ua Haujlwm Gripper (ua los ntawm Kirigami) los ntawm Lub Cev Kev Siv Siv EMG: 7 Cov Kauj Ruam
Tib Neeg-Khoos Phis Tawj Kev Sib Txuas: Ua haujlwm Gripper (ua los ntawm Kirigami) los ntawm Kev Siv Lub Cev Siv EMG.: Yog li qhov no yog kuv thawj zaug sim ntawm tib neeg-khoos phis tawj interface.Kuv ntes cov leeg ua kom pom ntawm kuv lub dab teg txav siv EMG sensor, ua tiav los ntawm nab hab sej thiab arduino thiab ua haujlwm ua origami raws li tus tuav
Kev Saib Xyuas Lub Hwj Chim Nyob Nrawm thiab Kev Tshaj Tawm ntawm Lub Hnub Ci Raws Lub Hwj Huam Fais Fab: 10 Kauj Ruam
Kev Saib Xyuas Lub Hwj Chim Nyob Nrawm thiab Kev Tshaj Tawm ntawm Lub Hnub Ci Raws Lub Hwj Huam Fais Fab: Lub hom phiaj ntawm txoj haujlwm no yog txhawm rau saib xyuas thiab faib cov khoom siv hluav taws xob hauv lub tshuab hluav taws xob (hnub ci zog). Kev tsim qauv ntawm cov txheej txheem no tau piav qhia hauv cov ntsiab lus raws li hauv qab no. Lub kaw lus muaj ntau daim phiaj nrog kwv yees li 2 lub hnub ci ci nyob hauv
Sib Koom Koj Cov Lus Qhia, Cov Rooj Sib Tham, thiab Nyiam rau Twitter thiab Facebook: 3 Kauj Ruam
Sib Koom Koj Cov Lus Qhia, Rooj Sib Tham Cov Lus, thiab Nyiam rau Twitter thiab Facebook: Siv RSS txau los ntawm koj tus lej nyiaj thiab ob peb lub vev xaib muaj txiaj ntsig, nws muaj peev xwm los ua ke thiab sib qhia koj Cov Lus Qhia, cov ncauj lus sib tham, nyiam, thiab txhua yam ntawm koj cov dej num Qhia rau Facebook lossis Twitter. Nov yog txoj hauv kev zoo