Cov txheej txheem:
- Kauj ruam 1: Saib Video
- Kauj Ruam 2: Npaj Arduino IDE Ua Haujlwm Nrog NodeMCU Wi-Fi Module
- Kauj Ruam 3: Kuaj Dot Matrix Zaub
- Kauj ruam 4: Npaj ThingHTTP
- Kauj Ruam 5: Kuaj Cov Qauv
- Kauj Ruam 6: Daim Duab Kawg
- Kauj ruam 7: Ua tiav
Video: Lo lus ntawm Hnub Zaub Nrog IoT: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Hauv Cov Lus Qhia no, Kuv yuav qhia koj li cas koj tuaj yeem tsim "Lo Lus ntawm Hnub Zaub" siv NodeMCU Wi-Fi module thiab Dot Matrix Display. Hloov chaw ntawm lo lus ntawm hnub, koj tuaj yeem tso saib txhua yam koj xav tau (ntawv) los ntawm tag nrho internet, tom qab mus dhau qhov kev qhia no. Yog tias qhov no yog koj thawj zaug siv Wi-nkaus module, tom qab ntawd cov ntawv qhia no tseem yuav ua rau koj mob, raws li kuv tau npog txij thaum pib txhua txoj hauv kev mus rau qhov kawg.
Cia peb nkag mus rau hauv.
Kauj ruam 1: Saib Video
Hauv cov vis dis aus kuv tau npog tag nrho cov kauj ruam tsim nyog los tsim txoj haujlwm no. Kuv kuj tseem tau piav qhia qhov tob ntawm cov cai siv hauv txoj haujlwm uas tseem muaj txiaj ntsig zoo rau tus pib, thiab lwm yam tsis tuaj yeem piav qhia hauv cov ntawv sau.
Yog li xyuas kom koj saib qhov ntawd ua ntej txav mus.
Kauj Ruam 2: Npaj Arduino IDE Ua Haujlwm Nrog NodeMCU Wi-Fi Module
Thawj zaug ua haujlwm ntawm Wi-Fi module tsis yog ib qho ncuav mog qab zib taug kev rau feem ntau ntawm cov neeg siv (kuv ib yam). Yog li ntawd, nws raug nquahu kom pib ua ntu zus nrog nws.
Kuv yuav qhia chav qhia no rau txhua tus pib. Tus sau bekathwia tau ua tiav txoj haujlwm zoo ntawm kev piav qhia yuav pib li cas nrog tus qauv no. Kuv tus kheej siv tib lub hauv paus rau kev paub nrog tus qauv.
Yog li, yog tias koj yog tus pib mus dhau chav kawm ntawd, tsuas yog koj tuaj yeem ua haujlwm koj txoj kev tawm hauv cov theem tom ntej.
Kauj Ruam 3: Kuaj Dot Matrix Zaub
Txuas Dot Matrix rau Wi-nkaus module raws li hauv qab no:
DMD - NodeMCU
Tswv yim - 3.3V
Gnd - Yog
Txd - D5
Din -D7 ib
TSO - D8
Tam sim no los tshuaj xyuas Dot Matrix Display, ntxiv MD Parola thiab MD_MAX72XX cov tsev qiv ntawv rau Arduino tsev qiv ntawv.
Tab sis ua ntej siv nws, mus rau Arduino cov tsev qiv ntawv qhib, qhib MD_MAX_72XX lub tsev qiv ntawv ntawv, tom qab ntawd mus rau docs thiab qhib ib qho HMTL cov ntaub ntawv, tom qab txiav txim siab hom Dot Matrix Display koj muaj (nyem qhov no kom paub ntau ntxiv). Kuv yog FC_16. Tom qab qhov no, mus rau "src" nplaub tshev thiab qhib MD_MAX72XX.h cov ntaub ntawv. Hloov kho cov ntaub ntawv header raws li tus qauv koj muaj thiab tom qab ntawd khaws nws. Tam sim no koj tuaj yeem tshawb xyuas koj qhov moduleOpen kos duab kos thiab tso nws. Dot matrix yuav tsum tso saib qee tus qauv ua raws lawv lub npe, uas tuaj yeem pom hauv Serial Monitor.
Kauj ruam 4: Npaj ThingHTTP
1. Qhib Mozilla Firefox (Chrome tsis ua haujlwm rau kuv).2. Xaiv koj lub vev xaib (Kuv siv Dictionary.com).3. Txoj cai nyem rau ntawm lo lus uas koj txaus siab, xaiv tshuaj xyuas ntu. 4. Luam XPath ntawm txoj cai tseem ceeb. 5. Mus rau Thingspeak.com 6. Mus rau cov apps, thiab tom qab ntawd xaiv ThingHTTP.7. Tsim tshiab ThingHTTP, npe nws ib yam, muab qhov URL ntawm nplooj ntawv uas koj tau theej XPath los ntawm, muab tshuaj XPath yav tas los theej rau kab ntawv cais, txuag cov ThingHTTP.
Sau ntawv ceeb toom ntawm API tsim tawm.
Saib cov vis dis aus kom nkag siab zoo thiab xav tau ua qhov no.
Kauj Ruam 5: Kuaj Cov Qauv
Qhib daim duab txuas rau hauv cov kauj ruam no thiab hloov kho Wi-Fi SSID, Pass Key thiab API tus yuam sij thiab rub nws Tom qab rub tawm, qhib cov ntawv saib, yog tias cov zis zoo ib yam li ib qho kuv tau txuas hauv cov kauj ruam no ces cov qauv ua haujlwm tau zoo thiab koj tuaj yeem txav mus rau theem kawg.
Koj tseem tuaj yeem siv lwm lub vev xaib sib txawv yog tias koj xav tau, txheeb xyuas qhov no.
Kauj Ruam 6: Daim Duab Kawg
Ua cov kev sib txuas zoo ib yam li hauv kauj ruam 3. Tus lej kawg tau txuas rau hauv cov kauj ruam no.
Kho qhov Wi-Fi SSID, Pass Key (tawm hauv cov lus hauv qab yog tias Wi-nkaus qhib) thiab API thiab xa nws mus rau tus qauv.
Thaum nws tau txuas nrog Wi-nkaus thiab nqa cov ntaub ntawv, nws yuav txiav tawm thiab nthuav tawm lo lus thiab lub ntsiab lus hauv DMD (saib hauv LED tsim los txiav txim qhov xwm txheej, ntsais muag-sim txuas rau Wi-nkaus, tawv xiav - txuas, tawm - txiav tawm). Kev sib txuas los ntawm Wi-nkaus txuag lub zog tab sis nws kuj muaj qhov tsis zoo, koj yuav tsum rov pib dua tus qauv kom mus nqa cov ntaub ntawv tshiab.
Tab sis rau cov ntawv thov zoo li no, Kuv tsis xav tiag nws yog lub tswv yim zoo kom txuas nrog Wi-nkaus, txawm li cas los xij koj tuaj yeem yooj yim ua qhov ntawd tom qab ob peb tweaking hauv qhov program. Nws yog txhua yam rau koj.
Kauj ruam 7: Ua tiav
Qhov ntawd yog nws!
Zoo siab tawm tswv yim cov lus qhia lossis kev ua xyem xyav, Kuv yuav zoo siab tshaj los pab koj.
Ua tsaug rau kev nyeem ntawv, txiav txim siab tso npe, thiab yog tias koj nyiam txoj haujlwm no, txheeb xyuas peb cov YouTube channel, peb muaj ntau qhov ntawd:)
Pom koj hauv Cov Lus Qhia tom ntej.
Pom zoo:
Chaw Ua Haujlwm Roj Teeb Hnub Ci System Nrog Pib Hloov Sab Hnub Poob/Sab Hnub Poob Panels thiab Cua Turbine: 11 Kauj Ruam (nrog Duab)
Chaw Ua Haujlwm Roj Teeb Hnub Ci System Nrog Pib Hloov Sab Hnub Poob/Sab Hnub Poob Panels thiab Cua Turbine: Txoj Haujlwm: Ib thaj tsam 200 square ft. Chaw ua haujlwm xav tau roj teeb. Lub chaw haujlwm tseem yuav tsum muaj tag nrho cov tswj, roj teeb thiab cov khoom siv xav tau rau lub kaw lus no. Hnub ci thiab cua zog yuav them cov roj teeb. Muaj teeb meem me ntsis ntawm tsuas yog
Loj hlob Zaub Zaub Ntxiv Hauv Qhov Chaw Tsawg Los Yog Loj hlob Zaub Zaub Hauv Chaw, (Ntau lossis Tsawg): 10 Kauj Ruam
Loj Hlob Ntau Cov Zaub Zaub Hauv Tsawg Chaw lossis … Loj hlob Zaub Zaub Hauv Chaw, (Ntau lossis Tsawg).: Qhov no yog kev tshaj lij tshaj lij rau Kev Loj Hlob Tshaj Ntiaj Teb, Kev Tsim Khoom Sib Tw, xa los ntawm Cov Lus Qhia. Kuv tsis tuaj yeem muaj kev zoo siab dua los tsim rau thaj chaw cog qoob loo thiab tshaj tawm kuv thawj Cov Lus Qhia. Yuav pib, kev sib tw nug peb kom
Chaw Zaub Zaub Zaub Qhia Tau Zoo- Airline High School Robotics: 8 Kauj Ruam
Space Lettuce Chamber Instructable- Airline High School Robotics: Nov yog Kev Qhia Ua los ntawm peb tus tub ntxhais kawm theem siab cuv npe hauv chav kawm neeg hlau. Peb yuav tsim chav rau cog cov zaub xas lav hauv qhov chaw rau Kev Loj Hlob Tshaj Ntiaj Teb Kev Sib Tw los ntawm NASA. Peb tab tom yuav qhia koj yuav tsim lub thawv li cas. Cia peb
Hnub ci teeb tsis muaj roj teeb, lossis hnub ci hnub ci Vim Li Cas Tsis?: 3 Kauj Ruam
Hnub ci teeb tsis muaj roj teeb, lossis Hnub Ci Hnub Ci … Vim Li Cas Tsis?: Zoo siab txais tos. Thov txim rau kuv cov lus Askiv hnub? Hnub ci? Vim li cas? Kuv muaj chav tsaus me ntsis thaum nruab hnub, thiab kuv yuav tsum qhib lub teeb thaum siv. Nruab hnub ci rau nruab hnub thiab hmo ntuj (1 chav): (hauv Chile) -Solar panel 20w: US $ 42-Battery: US $ 15-Solar caj caj
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej