Cov txheej txheem:

Arduino rau Wired Home Assistant Network: 5 Kauj Ruam
Arduino rau Wired Home Assistant Network: 5 Kauj Ruam

Video: Arduino rau Wired Home Assistant Network: 5 Kauj Ruam

Video: Arduino rau Wired Home Assistant Network: 5 Kauj Ruam
Video: Ducky Bhai Trolls Urfi Javed 2024, Hlis ntuj nqeg
Anonim
Arduino rau Wired Home Assistant Network
Arduino rau Wired Home Assistant Network

Cov khoom siv Wifi zoo li ntau yam Sonoff, Tasmota thiab ESP8266 yooj yim heev rau teeb tsa thiab siv, tab sis ntau yam tsis yooj yim li lawv tshwm sim.

Hauv kev lag luam/kev lag luam ib puag ncig wireless automation tsis yog li ntawd. Cov khoom siv wireless tsis ntseeg tau tsawg dua li lawv cov xov tooj sib txuas.

Koj puas yuav siv lub tshuab pa pa taws wireless hauv lub hoobkas? Kuv tsis xav li ntawd. Thiab vim li cas thiaj siv wifi lub qhov rooj sib nqus sensor hauv koj lub tsev?

Wired sensors/actuators muaj kev ntseeg tau ntau dua, tsis xav tau roj teeb, tsis muaj xov tooj cua hauv koj lub tsev.

Qhov kuv tau ua yog cov khoom siv kho vajtse uas tuaj yeem txuas nrog ntawm RS-485 mus rau tus pabcuam pabcuam hauv tsev (ntawm Modbus platform). Nws yog raws li arduino. Nws zoo ib yam li Sonoff hloov/xa tawm, tab sis nws tau xaim.

Nws tuaj yeem ua tus tswj lub teeb (ntawm kev xa tawm thiab nkag mus rau cov nyees khawm).

Nws tuaj yeem ua raws li kev hloov chaw deb (ntawm kev xa tawm thiab nkag mus rau cov nyees khawm).

Nws tuaj yeem ua lub ntsuas cua sov.

Nws tuaj yeem ua tus ntsuas kub.

Ib lub rooj sib tham ntawm arduino tuaj yeem yog txhua yam no tib lub sijhawm, nrog ntau qhov kev tawm tswv yim/tawm tswv yim txuas nrog.

Kauj Ruam 1: Tsim Cov Khoom Kho Vajtse

Tsim Cov Khoom Kho Vajtse
Tsim Cov Khoom Kho Vajtse

Koj xav tau daim npav arduino.

Kuv tau siv arduino nano tab sis lwm tus yuav zoo.

Txuas tus Rs-485 tus hloov pauv, cov zaub yog tias koj npaj yuav siv nws, xa rov qab thiab teeb nws rau cov laub khawm.

Kauj ruam 2: Nyem Firmware

Nyem qhov Firmware
Nyem qhov Firmware

Txoj cai tuaj yeem pom ntawm

Tsis txhob hnov qab teeb tsa nws ua ntej xa ntawv. Koj yuav tsum teeb tsa tus pin siv los ua tswv yim, tso tawm, yog tias nws muaj Lub ntsuas kub, zaub thiab lwm yam

Kauj Ruam 3: Kho Tus Pab Tsev

Kho Tus Pab Tsev
Kho Tus Pab Tsev

Kho qhov configuration.yaml

kev nyab xeeb: - platform: modbus lub npe: Thermostat qhev: 1 target_temp_register: 0 current_temp_register: 2 data_count: 2 precision: 1 unit_of_measurement: ° C data_type: float

Kauj Ruam 4: Txuas Arduino Nrog Raspberry Running Home Assistant

Txuas Arduino Nrog Raspberry Running Home Assistant
Txuas Arduino Nrog Raspberry Running Home Assistant

Siv RS-485 USB dongle. Koj tuaj yeem pom nws ntawm ebay lossis amazon. Nws pheej yig heev.

Kauj Ruam 5: Rov Pib Tus Pab Tsev

Pib dua Lub Tsev Pabcuam
Pib dua Lub Tsev Pabcuam

Tam sim no koj tuaj yeem pom qhov ntsuas kub teev thiab tswj nws. Teeb taw tes tuaj yeem tswj tau ntawm tsab ntawv siv tshuab thiab los ntawm lwm yam khoom. Siv tus pabcuam Google koj tuaj yeem hloov pauv qhov ntsuas kub ntawm lub suab hais kom ua.

Pom zoo: