Cov txheej txheem:

Tus Tswj Dej Zoo: 8 Kauj Ruam
Tus Tswj Dej Zoo: 8 Kauj Ruam

Video: Tus Tswj Dej Zoo: 8 Kauj Ruam

Video: Tus Tswj Dej Zoo: 8 Kauj Ruam
Video: Get Started → Learn English → Master ALL the ENGLISH BASICS you NEED to know! 2024, Kaum ib hlis
Anonim
Ntse Dej Tswj
Ntse Dej Tswj
Ntse Dej Tswj
Ntse Dej Tswj

Nyob zoo, qhov no yog kuv thawj qhov haujlwm ntawm Instructables. Muaj lus nug lossis lus pom zoo, lus pom, thov qhia rau kuv.

Kuv tsim IOT node rau kuv lub tank dej txias ntawm lub ru tsev. Nws muab qee cov ntaub ntawv rau kuv xws li:

1. Tank dej theem

2. Kub, Barometric Siab thiab Vaum

3. Tsab ntawv tsa suab Sensor

4. Lub teeb Lux

Pib ntawm Firmware ESP-EASY thiab kho vajtse ESP8266 Nodemcu.

Vim tias qhov IOT ntawm no xav tau Wifi rau kev ua haujlwm, Kuv twb rov teeb tsa kuv li Wifi network. Yuav qhia nws nrog lwm qhov haujlwm.

Kauj Ruam 1: Cov Cuab Yeej Tsim Nyog

Cov Cuab Yeej Tsim Nyog
Cov Cuab Yeej Tsim Nyog
Cov Cuab Yeej Tsim Nyog
Cov Cuab Yeej Tsim Nyog
Cov Cuab Yeej Tsim Nyog
Cov Cuab Yeej Tsim Nyog
Cov Cuab Yeej Tsim Nyog
Cov Cuab Yeej Tsim Nyog

Cov npe hauv qab no yog cov cuab yeej tsim nyog tseem ceeb rau kuv cov phiaj xwm:

1. Vuam chaw nres tsheb

2. Digital Multimeter

3. Vuam Cov Cuab Yeej & Cov Khoom

4. lwm …

Ceev faj thaum siv cov cuab yeej twg cuam tshuam txog hluav taws xob.

Kauj Ruam 2: Khoos Phis Tawj Nrog ESP8266

Kho vajtse nrog ESP8266
Kho vajtse nrog ESP8266
Kho vajtse nrog ESP8266
Kho vajtse nrog ESP8266
Kho vajtse nrog ESP8266
Kho vajtse nrog ESP8266

Vim kuv lub tank dej txias hauv lub ru tsev. Yog li, kuv muab qee qhov ntsuas rau taug qab ib puag ncig (tsuas yog lom zem)

1. ESP8266: ib qho esp8266 tab sis kuv pom zoo NODEMCU - ESP8266, nws yog txog 3 $ - 4 $

2. DS18b20 Waterproof: rau dej kub

3. HC-SR04: Ultrasonic Sensor rau tank dej theem

Tsis txhob txuas ncaj qha nrog ESP8266 (nws yog 5v teeb liab thiab yuav tua koj lub rooj tsavxwm)

4. DHT22 lossis DHT11: Kub thiab Vaum hauv lub thawv

5. BMP180: Barometric Siab/Kub/Siab Tshaj ntawm lub ru tsev

6. PIR HC-SR501: Passive Infrared Motion Sensor, txhawm rau txheeb xyuas ib tus neeg lossis tsiaj

7. BH1750FVI: Cov Teeb Pom Kev Zoo

8. Levelshifter: hloov teeb liab 5V los ntawm HC-SR04 txog 3.3V.

Kauj Ruam 3: Flash Firmware EspEasy

Flash Firmware EspEasy
Flash Firmware EspEasy
Flash Firmware EspEasy
Flash Firmware EspEasy
Flash Firmware EspEasy
Flash Firmware EspEasy
Flash Firmware EspEasy
Flash Firmware EspEasy

1. Rub tawm nws ntawm

2. Siv cov firmware no ESP_Easy_mega-yyyyMMdd_normal_ESP8266_4096.bin

3. Khiav FlashESP8266.exe rau flash (hauv Windows nkaus xwb: D). Tej zaum koj xav tau flash.py rau nyem ntawm Linux lossis Mac (sim Google thov)

4. Ua ntej tshaj plaws thov ua raws cov lus qhia no

Nco tseg: AP hom siv tus lej nkag mus nkag rau: configesp

Kauj Ruam 4: Cov Kab Hlau thiab Cov Kws Paub

Hlau System thiab Sensors
Hlau System thiab Sensors
Hlau System thiab Sensors
Hlau System thiab Sensors
Hlau System thiab Sensors
Hlau System thiab Sensors

Thov xaim ESP8266 nrog Sensors zoo li no:

DHT11 => GPIO3

- DS18B20 => GPIO1: xav tau R4, 7k nrog (+)

- BH1750 => I2C: GPIO4, 5

- BMP180 => I2C: GPIO4, 5

PIR => GPIO14

- HC-SR04: Tsis txhob txuas ncaj qha nrog ESP8266 (nws yog 5v teeb liab thiab yuav tua koj pawg thawj coj)

Koj xav tau Levelshifter

=> txuas Levelshifter nrog GPIO12, GPIO13

Kauj ruam 5: Config System

Kho qhov System
Kho qhov System

Kho kom zoo li daim duab no.

GPIO xav tau kev sib tw nrog cov kauj ruam dhau los, koj tuaj yeem hloov nws.

Tab sis TSIS TXHOB siv cov GPIO no:

- IO0, IO2: xav tau rub tawm R

- IO15: xav tau rub qis R.

- IO16: hom pw tsaug zog nrog RST

- IO7, IO8, IO9, IO10: SD0..3

Siv cov GPIO no yuav rhuav koj li Serial Monitor:

- IO1, IO3: serial TX RX

Thov ua kom raug IDX ntawm koj li Domoticz system.

www.letscontrolit.com/wiki/index.php/Tutor…

Kauj Ruam 6: Tswj Nrog Domoticz & ThingSpeak

Tswj nrog Domoticz & ThingSpeak
Tswj nrog Domoticz & ThingSpeak
Tswj nrog Domoticz & ThingSpeak
Tswj nrog Domoticz & ThingSpeak
Tswj nrog Domoticz & ThingSpeak
Tswj nrog Domoticz & ThingSpeak

1. Domoticz

Muab nws kho vajtse tshiab, teeb tsa cov cuab yeej thiab ntaus IDX ntawm Domoticz hauv EspEasy

2. Hais lus:

Tau txais chanel tshiab thiab muab EspEasy sau API Key

Kauj Ruam 7: Box & Go-Live

Box & Mus-Nyob
Box & Mus-Nyob
Box & Mus-Nyob
Box & Mus-Nyob
Box & Mus-Nyob
Box & Mus-Nyob

Hauv lub thawv thiab kuaj.

Tom qab ntawd, teeb tsa nrog lub tank dej.

Tam sim no: so nrog npias: D

Nco tseg: thov tsis txhob tso ncaj qha rau lub hnub lossis nag. Rau sab hauv xwb.

Rau mobile:

1. Android app:

2. iOS app:

Kauj Ruam 8: Hloov Kho Ntxiv Tom Ntej

Tom ntej Upgrade Version
Tom ntej Upgrade Version

Hauv cov ntawv tom ntej, Kuv yuav ua lwm qhov los tswj lub twj tso kua mis.

Thiab suav nrog qhov no rau Kuv Lub Tsev Ntse siv Tsev-tus pab (https://www.home-assistant.io/) tsis yog Domoticz (https://www.domoticz.com/).

Pom koj!

Hais txog.

Pom zoo: