Cov txheej txheem:

Tsev Automation qhov Hloov: 8 Kauj Ruam (nrog Duab)
Tsev Automation qhov Hloov: 8 Kauj Ruam (nrog Duab)

Video: Tsev Automation qhov Hloov: 8 Kauj Ruam (nrog Duab)

Video: Tsev Automation qhov Hloov: 8 Kauj Ruam (nrog Duab)
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim
Tsev Automation Hloov
Tsev Automation Hloov
Tsev Automation Hloov
Tsev Automation Hloov

Qhov no yog IOT qhov (socket) tsim los ua ib feem ntawm txoj haujlwm siv tshuab tag nrho

Kauj Ruam 1: Nqi ntawm Cov Ntaub Ntawv

Cov Nqi Ntawm Cov Ntaub Ntawv
Cov Nqi Ntawm Cov Ntaub Ntawv
  1. ESP-01 8266 pawg thawj coj saib
  2. raspberry pi {Kuv siv rau hauv zos mqtt server tab sis tuaj yeem hloov nrog huab server}
  3. pcb xoom 0
  4. Ams 1117 (smd sib txawv)
  5. lub qub charger nti (lossis ib qho me me 5v fais fab mov)
  6. relay module (lossis relay combo ua nrog transistor)
  7. ib daim ply board.5 cm tuab
  8. hloov
  9. qhov (socket)
  10. txuas xov hlau
  11. cam khwb cia hlau
  12. txiav pom 4 txheej
  13. rab phom kub los yog cov nplaum uas koj nyiam

Kauj Ruam 2: Ua Daim Ntawv Thov

Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw

txiav ib daim ntawm ply bard xws li lub qhov (socket) haum rau qhov ntawd

ces Ntsia nws kom raug

Tam sim no Ua Tib Yam rau qhov hloov pauv thiab ruaj ntseg nws nrog cov ntsia hlau

tam sim no rau sab vaj huam sib luag

sim teeb txhua yam xws li lub xov tooj hluav taws xob them hluav taws xob thiab xa tawm hauv txoj hauv kev uas nws txuag chaw

lawv ntsuas qhov siab thiab txiav ob sab kom haum

Kauj Ruam 3: Lub Hauv Paus Hluav Taws Xob

Cov khoom siv hluav taws xob sab hauv
Cov khoom siv hluav taws xob sab hauv
Cov khoom siv hluav taws xob sab hauv
Cov khoom siv hluav taws xob sab hauv
Cov khoom siv hluav taws xob sab hauv
Cov khoom siv hluav taws xob sab hauv

Lub hwj chim muab rau ESP_8266

esp ua haujlwm 3.3v

TAB SIS peb muaj 220v ac, yog li peb yuav siv lub xov tooj qub them los hloov 220v ac rau 5v dc

thiab siv AMS 1117 tus tswj hluav taws xob coj nws mus rau 3.3 v

RAU QHOV TSEEB

Relay ua haujlwm ntawm 5 v yog li Peb yuav siv tib lub tshuab hluav taws xob tso tawm tp o lub zog txuas

(teeb liab yuav muab los ntawm peb esp)

Kauj Ruam 4: Mount Esp thiab RELAY

Mounting Esp thiab RELAY
Mounting Esp thiab RELAY
Mounting Esp thiab RELAY
Mounting Esp thiab RELAY
Mounting Esp thiab RELAY
Mounting Esp thiab RELAY

kuv siv poj niam lub taub hau kom esp tuaj yeem hloov pauv lossis tus lej tuaj yeem rub tawm

rau Kev Ua Haujlwm Li Cas

txuas

CH_pd to Vcc

hauv av mus rau hauv av

Gpio 1 ua tus lej cim rau Relay

KEV TSO CAI TSHIAB

gnd --- gnd charger

5v --- charger 5 v

teeb liab ---- GIOP 1 ntawm ESP

Kauj Ruam 5: Teeb Tus broker

Teem Teem Tus Kheej
Teem Teem Tus Kheej
Teem Teem Tus Kheej
Teem Teem Tus Kheej
Teem Teem Tus Kheej
Teem Teem Tus Kheej

Txhawm rau teeb tsa tus kws khomob

www.instructables.com/id/Installing-MQTT-B…

thiab ib qho nws ua tiav tam sim no nws yog lub sijhawm rau coding ESP8266

Kauj Ruam 6: Programming Esp

www.instructables.com/id/DIY-ESP8266-Progr…

sim qhov no

Kauj Ruam 7: Txoj Cai

github.com/johermohit/Rocket/blob/master/e…

chaws nyob ntawm github tsuas yog hloov koj cov ntaub ntawv nrog kuv

Kauj Ruam 8: Kev Tswj

Kev Tswj
Kev Tswj
Kev Tswj
Kev Tswj

Ob txoj hauv kev los ua qhov ntawd:

1. Paho mqtt - nab hab sej raws li esp tus neeg siv ua raws rpi nws tus kheej cia koj tshaj tawm mqtt los ntawm cli

2. Android Apps ntawm khw ua si: pom zoo

Yog li txuas lub npov rau mqtt thiab pob zeb koj lub ntiaj teb

Pom zoo: