Cov txheej txheem:
- Kauj Ruam 1: Yuav Ua Li Cas IoT Ua Haujlwm Hnub no
- Kauj Ruam 2: Yuav Ua Li Cas Mozilla Xav Txog Yav Tom Ntej
- Kauj Ruam 3: Pib Ua Koj Tus Kheej Mozilla IOT Free Gateway
- Kauj ruam 4: Ntxiv Devices
- Kauj Ruam 5: Arduino Devices
- Kauj Ruam 6: ESP8266 + Shield Shield
- Kauj Ruam 7: Node ESP8266 Sensor
Video: Mozilla IoT Gateway Nrog ESP8266 thiab Z-Wave: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Lub zog rau Cov Neeg! Mozilla xav ua dawb IoT raws tu qauv Lub hauv paus ntawm txoj haujlwm no yog "kom ntseeg tau tias Internet yog lub ntiaj teb cov peev txheej pej xeem, qhib thiab nkag tau rau txhua tus." Internet ntawm Yam (IoT) yog lub sijhawm tshiab ntawm Internet. Thiab zoo li Internet, Mozilla xav txog kev pub dawb rau txhua tus. Hla-platform, hla teb chaws, hla hom.
Kho vajtse
Rau qhov haujlwm no koj yuav tsum muaj:
1 X Raspberry Pi 3 (https://amzn.to/2DmQ8eB)
2 X ESP8266 (https://amzn.to/2AUvC3c)
Yeem yeem
1 X Z-Wave dongle adapter (https://amzn.to/2HxZokm)
ESP8266-01 Relay board (https://amzn.to/2Ufx7Ao)
Yeem rau teeb tsa Raspberry Pi
Nas
Keyboard
HDMI Saib
Lub Software
Rau qhov haujlwm no koj yuav tsum muaj:
Arduino IDE lossis Arduino Tsim (https://create.arduino.cc)
Mozilla Gateway rau Raspberry 3
Txhua lub tsev qiv ntawv Mozilla Gateway
Kauj Ruam 1: Yuav Ua Li Cas IoT Ua Haujlwm Hnub no
Niaj hnub no peb muaj ntau yam khoom siv sab hauv IOT kev sib txuas lus. Koj yuav tsum muaj, piv txwv li, Amazon Alexa lub rooj vag thiab ntau yam khoom siv txuas nrog ntawd. Tab sis nrog Mozilla Gateway koj tuaj yeem siv tib lub qhov rooj los siv Alexa, Google cov khoom siv hauv tsev, yooj yim ESP8266 lossis txhua yam khoom siv uas koj xav kom "ntse dua" koj lub tsev.
Kauj Ruam 2: Yuav Ua Li Cas Mozilla Xav Txog Yav Tom Ntej
Mozilla Project yog lub hauv paus kev sim nrog 3 ntu:
Yam Rooj vag: Kev siv ntawm Lub Vev Xaib ntawm Yam Rooj Vag.
Yam Huab: Sau los ntawm IoT huab kev pabcuam.
Cov Qauv Txheej Txheem: Sau cov khoom siv rov ua haujlwm tau zoo rau tsim Web Yam.
Raspberry Pi Rooj vag
Lub hauv paus ntawm txhua txoj haujlwm yog Raspberry Pi 3 Gateway los ntawm Mozilla. Nws yog ib kauj ruam yooj yim tiag tiag. Mozilla tau npaj Linux distro uas teeb tsa lub system ntawm Raspberry Pi. Koj tuaj yeem teeb tsa lub rooj vag los ntawm kev siv koj lub smartphone.
Kauj Ruam 3: Pib Ua Koj Tus Kheej Mozilla IOT Free Gateway
1. Flash SD Card
Rub tawm ua ntej Raspberry Pi OS duab los ntawm Mozilla thiab nyem nws mus rau SD daim npav. Rub tawm los ntawm qhov txuas no Mozilla Gateway distro. Koj tuaj yeem siv Raspberry Pi cov ntawv qhia ua haujlwm txhawm rau nruab Mozilla Gateway ntawm SD. Lwm qhov muaj peev xwm yog Balena Etcher (https://www.balena.io/etcher/).
Balena Ethcer yog ib txoj haujlwm rau Windows Mac thiab Linux uas theej cov duab ISO ntawm SD.
2. Pib koj Gateway
Tam sim no koj tuaj yeem pib koj li Mozilla Gateway. Tom qab ntawd, koj tuaj yeem txuas koj lub xov tooj nrog lub qhov rooj los ntawm kev siv Wifi los ntawm Raspberry Pi. Txuas koj lub rooj vag mus rau koj lub network wifi
Tom qab ntawd, koj yuav tsum tsim lub qhov nkag mus rau Mozilla huab system. Tom qab ntawd, koj tuaj yeem pom koj lub qhov rooj txawm tias tawm ntawm Koj Lub Zos Network Hauv Zos.
Tom qab cov kauj ruam no, koj tau txais email nrog koj li Mozilla daim ntawv pov thawj. Koj yuav tsum suav cov qauv thiab … qhov ntawd yog nws!
Kauj ruam 4: Ntxiv Devices
Tam sim no koj tuaj yeem ntxiv qee yam khoom siv. Koj tuaj yeem siv Zigbee dongle txuas Zigbee cov cuab yeej lossis Z-Wave dongle rau Z-Wave cov khoom siv.
Kauj Ruam 5: Arduino Devices
Kuv qhov kev daws teeb meem tuaj yeem siv Arduino cov khoom siv sib xws. Kuv siv 2 NODE ESP8266. Ib qho uas tau siv los ua tus txais. Koj tuaj yeem txuas lub rooj tsavxwm mus rau qhov txuas thiab hais kom ua piv txwv. Lwm qhov yog ESP8266 uas sau cov ntaub ntawv los ntawm lub ntsuas cua thiab xa tus nqi mus rau Lub Rooj vag. Hauv qhov no, tus lej (https://github.com/masteruan/webthing-arduino/tree/master/examples/sensorNodeMCU) Kuv tau tsim qhov kev ntsuas debug. ESP8266 xa tus lej tsis raug txhua txhua 3 vib nas this mus rau ntawm Gateway dashboard.
Node ESP8266 coj yog qhov txuas ntawm Github code (https://github.com/masteruan/webthing-arduino/tree/master/examples/LED).
Rub tawm cov cai thiab muab tso rau ntawm Node ESP8266 pawg thawj coj.
Kauj Ruam 6: ESP8266 + Shield Shield
Kuv twb tau siv cov board zoo li no. Siv xov tooj txuas ntxiv, sau ntawm ESP8266 Koj tuaj yeem pom kuv tus lej ntawm Github. Koj yuav tsum tsuas yog them lub khoos phis tawj ntawm ESP8266 lub rooj tsavxwm thiab koj tseem tuaj yeem hais kom xa tawm uas ua haujlwm tau meej nrog Mozilla WoT Gateway.
Thaum koj ntxiv cov cuab yeej koj tuaj yeem siv tau zoo li cov cuab yeej coj. Yog tias koj xa los ntawm Mozilla Gateway "ntawm" hais kom ESP xa los ntawm qhov chaw nres nkoj txuas lus txib mus rau daim ntawv xa tawm daim ntawv xaj kom hloov mus rau ntawm kev xa tawm, txwv tsis pub ESP8266 xa mus rau pawg thawj coj ntawm qhov hloov pauv hais kom ua rau kev xa tawm.
Nov yog qhov txuas ntawm Github code (https://github.com/masteruan/webthing-arduino/tree/master/examples/relayEsp8266)
Kauj Ruam 7: Node ESP8266 Sensor
Koj tuaj yeem pom cov cai rau Node ESP8266 sensor. Nov yog qhov txuas ntawm Github code (https://github.com/masteruan/webthing-arduino/tree/master/examples/sensorNodeMCU)
Koj yuav tsum suav nrog qee lub tsev qiv ntawv rau ESP LED thiab ESP sensor.
"Dab tsi.h"
"WebThingAdapter.h"
"stdio.h"
"Arduino.h"
Kuj rau ESP8266-01 Kev Tshaj Tawm, koj yuav tsum suav nrog
"SoftwareSerial.h"
Nrog tus lej no koj teeb tsa koj lub network SSID thiab tus password. Tom qab koj tsim qhov tshiab ThigDevice piv txwv.
Pom zoo:
Qhov muag tsis pom kev Nrog ESP8266, Google Tsev thiab Openhab Kev Sib Koom thiab Kev Tswj Xyuas Web: 5 Cov Kauj Ruam (nrog Duab)
Qhov muag tsis pom kev Nrog ESP8266, Google Tsev thiab Openhab Kev Sib Koom thiab Kev Tswj Xyuas Web: Hauv Cov Lus Qhia no kuv qhia koj li cas kuv ntxiv kev siv tshuab rau kuv qhov muag tsis pom. Kuv xav kom muaj peev xwm ntxiv thiab tshem tawm qhov kev siv tshuab nws, yog li txhua qhov kev teeb tsa yog clip ntawm.Qhov tseem ceeb yog: Stepper motor Stepper tsav tswj bij ESP-01 Iav thiab teeb tsa
Saib Xyuas thiab Sau Kub Nrog Bluetooth LE thiab RaspberryPi: 9 Kauj Ruam (nrog Duab)
Saib Xyuas thiab Sau Kub Nrog Bluetooth LE thiab RaspberryPi: Cov lus qhia no yog hais txog yuav ua li cas ua ke ntau qhov ntsuas kub ntsuas nrog Bluetooth LE sensor kab laum los ntawm Blue Radios (BLEHome) thiab RaspberryPi 3BT ua tsaug rau kev txhim kho ntawm Bluetooth LE tus qauv, muaj tam sim no tuaj yeem siv tau
Kev Saib Xyuas Cog thiab Kev Ceeb Toom Nrog ESP8266 thiab AskSensors IoT Huab: 6 Cov Kauj Ruam
Kev Saib Xyuas Cov Cog thiab Kev Ceeb Toom Nrog ESP8266 thiab AskSensors IoT Cloud: Txoj haujlwm no muaj lub hom phiaj txhawm rau txhim kho cov txheej txheem cog cog ntse siv ESP8266 thiab AskSensors IoT Platform. uas pab ua kom dej nyab
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: 5 Kauj Ruam (nrog Duab)
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: Tswj 8 qhov hloov pauv hloov siv nodemcu thiab ir tus txais tshaj wifi thiab ir chaw taws teeb thiab hauv app.the ir tej thaj chaw deb ua haujlwm ywj pheej ntawm wifi txuas. NTUJ
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: 13 Kauj Ruam (nrog Duab)
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: Intro: Qhov no yog Txoj Haujlwm uas siv Arduino board, Sensor (DHT11), lub khoos phis tawj Windows thiab Kev Ua Haujlwm (rub tawm dawb) program los tso saib Kub, Cov ntaub ntawv vaum hauv digital thiab bar kab ntawv, tso tawm lub sijhawm thiab hnub tim thiab suav lub sijhawm suav