Cov txheej txheem:

Tsev Automation Siv MQTT thiab ESP8266: 6 Cov Kauj Ruam
Tsev Automation Siv MQTT thiab ESP8266: 6 Cov Kauj Ruam

Video: Tsev Automation Siv MQTT thiab ESP8266: 6 Cov Kauj Ruam

Video: Tsev Automation Siv MQTT thiab ESP8266: 6 Cov Kauj Ruam
Video: Tsev Niam Ntiav - Yeeb Yam Vwj [New Single 2021-2022] 2024, Hlis ntuj nqeg
Anonim
Tsev Automation Siv MQTT thiab ESP8266
Tsev Automation Siv MQTT thiab ESP8266

Tam sim no, Kev siv tshuab hauv tsev yog qhov muaj txiaj ntsig thiab tshwm sim ntawm IoT (Internet ntawm Yam). Txhua tus neeg sim ua lub tsev nyob hauv tsev ib leeg tom qab ntawd tuaj yeem tswj tau lossis siv phau ntawv. Thiab uas ua rau lub neej yooj yim dua rau lawv.

Muaj cov txheej txheem txiv neej los tswj cov cuab yeej siv hauv tsev los ntawm kev deb.

Hauv kab lus no peb yuav pom yuav ua li cas thiaj ua lub tsev siv tshuab mqtt raws tu qauv thiab esp8266. Muaj ntau lub laug cam, ntau yam khoom siv uas npaj tau hauv khw zoo li sonoff. Tab sis kuv tau ua kuv tus kheej (ntau qhov kev hloov pauv tseem tab tom tos) kho vajtse. Cia saib ib ntawm ib qho thiab mus txuas ntxiv.

Kauj Ruam 1: Ntau Ntxiv Txog MQTT

MQTT yog dab tsi? MQTT sawv rau MQ Telemetry Transport. Nws yog kev tshaj tawm/sau npe, yooj yim heev thiab lub teeb xa xov raws tu qauv, tsim los rau kev txwv cov cuab yeej thiab kev siv bandwidth qis, siab nyob qis lossis tsis muaj kev ntseeg siab. Cov hauv paus ntsiab lus tsim yog kom txo qis kev sib txuas hauv network thiab cov cuab yeej xav tau kev pab thaum tseem sim ua kom ntseeg tau kev ntseeg tau thiab qee qib ntawm kev lees paub ntawm kev xa khoom. Cov hauv paus ntsiab lus no tseem tig los ua cov txheej txheem zoo tshaj ntawm qhov tshwm sim "tshuab-rau-tshuab" (M2M) lossis "Internet ntawm Yam" ntiaj teb ntawm cov khoom siv sib txuas, thiab rau kev siv mobile uas bandwidth thiab roj teeb lub zog yog tus nqi.

Kauj ruam 2: Schematic

Schematic
Schematic

Kauj Ruam 3: PCB Txheej Txheem

PCB txheej txheem
PCB txheej txheem
PCB txheej txheem
PCB txheej txheem

Kauj Ruam 4: Kho Vajtse tiag

Kho vajtse tiag
Kho vajtse tiag

Kauj ruam 5: Code

Thov nrhiav cov cai ntawm no

github.com/stechiez/iot_projects.git

Kauj Ruam 6: Qhia

Kuv tau npog feem ntau ntawm cov vis dis aus.

Pom zoo: