Cov txheej txheem:
- Kauj Ruam 1: Teeb Firebase thiab Tau Txais Tus Kheej
- Kauj Ruam 2: Tsim App Siv MIT App Inventor 2
- Kauj Ruam 3: Kho Arduino IDE rau Nodemcu ESP8266
- Kauj Ruam 4: Upload Code rau NodeMCU ESP8266
- Kauj Ruam 5: Sib dhos Kho Vajtse
Video: IOT Raws Li Qhov Kub Kub Tswj: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Qhov no yog qhia rau IOT raws li chav tswj hwm chav sov.
Nta:-
1. Tuaj qhib lub kiv cua siab tshaj qhov ntsuas sov hauv chav.
2. Kaw lub kiv cua kom qis hauv qab chav sov.
3. Kev tuav tswj ntawm txhua lub sijhawm ntawm qhov kub thiab txias
Yuav tsum muaj:-
- NodeMCU ESP8266 pawg thawj coj loj
- DHT11 kub sensor
- Tib channel relay board (5V)
- Jumper Hlau
- Wifi router lossis hotspot nqa tau (txuas NodeMCU ESP8266 rau internet)
- 9V roj teeb
Yog li cia peb dhia mus rau hauv kev qhia.
Kauj Ruam 1: Teeb Firebase thiab Tau Txais Tus Kheej
Peb yuav siv lub sijhawm tiag tiag database los ntawm Google firebase. Lub sijhawm tiag tiag cov ntaub ntawv no yuav ua haujlwm nruab nrab nruab nrab ntawm Nodemcu thiab Android ntaus ntawv.
- Ua ntej tshaj plaws, mus rau qhov chaw firebase thiab nkag mus siv koj tus lej Google.
- Tsim ib lub sijhawm tshiab database.
- Tau txais cov ntaub ntawv tiag URL thiab tus yuam sij zais nkag mus rau lub hauv paus database los ntawm app. Txog kev qhia ntxaws ntxaws, koj tuaj yeem tshawb xyuas seb yuav siv firebase nrog MIT app inventor li cas.
Kauj Ruam 2: Tsim App Siv MIT App Inventor 2
Peb yuav siv MIT app tus tsim khoom 2 los tsim peb li Android app. Nws yooj yim heev rau siv thiab yooj yim rau kev koom ua ke yeej Google firebase.
- Rub tawm txuas nrog MIT app inventor 2 project file (.aia file).
- Mus rau MIT app inventor 2 home page thiab nkag mus rau koj tus as khauj. Tom qab ntawd mus rau cov haujlwm >> ntshuam qhov project. Xaiv cov ntawv los ntawm koj lub khoos phis tawj thiab tso nws.
- Mus rau lub qhov rai teeb tsa, nyem rau ntawm firebaseDB1 (nyob hauv qab ntawm qhov chaw ua haujlwm), nkag mus rau URL tus lej thiab tus yuam sij zais. Kuj teeb tsa ProjectBucket ua S_HO_C_K (raws li qhia hauv screenshot 2).
Tom qab ntawd, nyem rau ntawm lub pob tsim thiab txuag cov ntaub ntawv app (.apk file) rau koj lub khoos phis tawj. Tom qab ntawd xa cov ntawv ntawd mus rau koj lub cuab yeej Android.
Kauj Ruam 3: Kho Arduino IDE rau Nodemcu ESP8266
- Ua ntej tshaj plaws, teeb tsa Arduino IDE rau Nodemcu esp8266. Kuv yuav pom zoo cov theem no los ntawm kev qhia ib qib ntawm NodeMCU pib los ntawm Armtronix. Ua tsaug Armtronix rau cov lus qhia muaj txiaj ntsig no.
- Tom qab ntawd, ntxiv ob lub tsev qiv ntawv no (siv lub screenshot):-
- Arduino Json Cov
- Firebase Arduino
-
DHT Sensor Lub Tsev Qiv Ntawv
- Adafruit Universal Sensor Library
Kauj Ruam 4: Upload Code rau NodeMCU ESP8266
Rub tawm Arduino IDE file (.ino file) txuas hauv qab no. Tom qab ntawd, hloov kho txoj haujlwm rau qee qhov kev hloov pauv uas tsim nyog:-
- Ntawm kab 3, nkag rau database URL yam tsis muaj 'https://'.
- Ntawm kab 4, sau tus lej zais zais.
- Ntawm kab 5 thiab 6, tsis txhob hnov qab hloov kho WiFi SSID thiab Wifi password (uas koj xav txuas NodeMCU ESP8266).
Thaum ua tiav, rub qhov program mus rau NodeMCU ESP8266 pawg thawj coj loj.
Kauj Ruam 5: Sib dhos Kho Vajtse
- Tsim Circuit Court raws li qhia hauv daim duab saum toj no.
- Nruab lub app (tsim hauv qib 2) ntawm koj lub xov tooj Android.
- Hwj chim lub Circuit Court thiab txaus siab rau!
Pom zoo:
Mood Speaker- Tus Hais Lus Muaj Hwjchim rau Mood Music Yuav Ua Raws Li Qhov Kub Kub: 9 Kauj Ruam
Mood Speaker- Tus Hais Lus Muaj Hwjchim rau Mood Music Yuav Ua Si Raws Li Qhov Kub Kub: Nyob Zoo! ledstrip suav nrog Tus hais lus ua suab paj nruag tom qab raws li qhov ntsuas kub tab sis tuaj yeem
QHOV QHOV TSEEB QHOV TSEEB QHOV TSEEB TSHIAB (Pi Tsev Ruaj Ntseg): 7 Kauj Ruam
LOST COST IOT THEFT DETECTION DEVICE (Pi Home Security): Lub kaw lus tau tsim los txhawm rau txheeb xyuas kev nkag mus (tsis tau tso cai nkag mus) rau hauv lub tsev lossis lwm thaj chaw. Txoj haujlwm no tuaj yeem siv hauv thaj chaw nyob, kev lag luam, kev lag luam, thiab cov tub rog lub zog rau kev tiv thaiv kev nyiag khoom lossis khoom puas tsuaj, ib yam
Tsis siv neeg Arduino Raws Li IR Chaw Taws Teeb Tswj Kub Kub: 7 Cov Kauj Ruam
Tsis siv neeg Arduino Raws IR Chaw Taws Teeb Tswj Kub Kub Kub: Hav, ua li cas, Cov Menyuam! Akarsh ntawm no los ntawm CETech.Tuaj siab ntawm sawv hauv nruab nrab ntawm lub suab pw tsaug zog tsuas yog vim tias koj chav sov sov qis dhau lossis siab dhau vim koj lub Dumb AC. Tom qab ntawv qhov haujlwm no yog rau koj Hauv txoj haujlwm no, peb yuav ua peb li
ESP8266 RGB LED Sawb WIFI Tswj - NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi - RGB LED Sawb Smartphone Tswj: 4 Cov Kauj Ruam
ESP8266 RGB LED Sawb WIFI Tswj | NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi | RGB LED Sawb Smartphone Tswj: Nyob zoo cov neeg hauv qhov kev qhia no peb yuav kawm paub siv nodemcu lossis esp8266 li IR chaw taws teeb los tswj RGB LED sawb thiab Nodemcu yuav raug tswj los ntawm smartphone dhau wifi. Yog li hauv paus koj tuaj yeem tswj RGB LED Sawb nrog koj lub xov tooj
ESP32 Raws M5Stack M5stick C Huab Cua Saib Nrog DHT11 - Saib Xyuas Qhov Kub Kub & Qhov Kub Kub ntawm M5stick-C Nrog DHT11: 6 Cov Kauj Ruam
ESP32 Raws M5Stack M5stick C Huab Cua Saib Nrog DHT11 | Saib Xyuas Qhov Kub thiab Qhov Ntsuas Kub ntawm M5stick-C Nrog DHT11: Nyob zoo cov neeg, hauv cov lus qhia no peb yuav kawm paub yuav ua li cas cuam tshuam DHT11 ntsuas kub nrog m5stick-C (pawg tswj hwm kev txhim kho los ntawm m5stack) thiab tso tawm ntawm cov zaub ntawm m5stick-C. Yog li hauv qhov kev qhia no peb yuav nyeem qhov ntsuas kub, av noo & heat kuv