Cov txheej txheem:
- Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau
- Kauj ruam 2: Pib Pib
- Kauj Ruam 3: Adafruit IO
- Kauj ruam 4: Tsim Dashboard
- Kauj Ruam 5: Tsim Thaiv
- Kauj Ruam 6: Dashboard Kawg
- Kauj Ruam 7: Tau Txais Lub Npe thiab Tus Kheej
- Kauj ruam 8: Pab kom WEBREPL
- Kauj Ruam 9: Txuas rau Webrepl
- Kauj ruam 10: Ntxiv Code
- Kauj Ruam 11: Ua Haujlwm Yees Duab
Video: IOT Base Computing Siv Nodemcu thiab Micropython: 11 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Hauv qhov kev qhia no kuv yuav siv NodeMcu, micropython thiab Mqtt txuas los txuas rau server.
Cov ntawv qhia no yog siv https raws mqtt txuas txuas los ntawm Nodemcu rau Adafruit.io Server.
Hauv txoj haujlwm no kuv tab tom siv micropython programming lus uas yuav luag zoo ib yam li nab nab.
Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam hauv qab no yuav tsum ua kom tiav txoj haujlwm no.
Cov Cheeb Tsam Yuav Tsum Tau:
- Nodemcu
- IR sensor
- LED
- USB Cable
- Kev Sib Txuas Internet
Kauj ruam 2: Pib Pib
Txheej txheem:
- Rub tawm thiab nruab espcut software rau debugging.
- Rub tawm cov ntawv los ntawm qhov txuas no. uas yog khaws ua github repository. Txhua qhov program muaj nyob hauv qhov chaw cia khoom no..
- Rub tawm thiab teeb tsa micropython firmware los ntawm qhov txuas no mus rau NODEMCU
- Txuas IR sensor rau GPIO12 thiab LED rau GPIO 2 ntawm Nodemcu.
-
rub tawm lub webrepl software no
Kauj Ruam 3: Adafruit IO
mus ntsib io.adafruit.com thiab nkag mus nkag rau koj lub dashboard
Kauj ruam 4: Tsim Dashboard
Nyem rau ntawm qhov ua thiab tsim tshiab dashboard
Kauj Ruam 5: Tsim Thaiv
- Nyem rau ntawm Dashboard lub npe.
- dua nyem rau +(ntxiv) khawm los tsim block
- Tam sim no Nyem rau Toggle thiab muab nws lub npe.
- Tam sim no nyem rau ntawm tsim khawm
- Tom ntej xaiv koj qhov thaiv thiab nyem rau ntawm kauj ruam tom ntej
- Muab lub npe rau qhov thaiv no thiab teeb cov npe ntawm ON xeev thiab OFF xeev.
- Tom qab ntawd nyem rau ntawm tsim block.
Rov ua cov txheej txheem los ntawm qib 2 xaiv cov ntawv thiab tsim ib qho thaiv ntxiv raws li qhia hauv daim duab
Kauj Ruam 6: Dashboard Kawg
Koj Qhov Dashboard Kawg yuav zoo li qhov no.
Kauj Ruam 7: Tau Txais Lub Npe thiab Tus Kheej
Nyem rau ntawm lub cim tseem ceeb ntawm sab laug ntawm lub vijtsam thiab Luam lub npe siv thiab tus yuam sij nquag
Kauj ruam 8: Pab kom WEBREPL
- Qhib lub espcut software
- xa cov lus txib no "ntshuam webrepl_setup"
- nyeem cov ntawv ntawm console thiab teeb tsa lub webrepl.
Kauj Ruam 9: Txuas rau Webrepl
- Nrhiav lub wifi network uas ssid pib los ntawm micropython
- txuas mus rau ssid nrog tus password "micropythoN"
- koj yuav tau txais qhov screen raws li qhia hauv daim duab saum toj no.
Kauj ruam 10: Ntxiv Code
- extract webrepl software, qhib webrepl.html thiab nyem rau txuas
- nws yuav nug koj kom muab tus password
- hauv kuv rooj plaub lo lus zais yog "1234567"
- wow koj txuas.
- upload cov ntaub ntawv uas tau rub tawm los ntawm github repository.
- upload main.py, mqtt.py, boot.py thiab data.txt siv webrepl.
- tam sim no nias pib dua ntawm khawm ntawm koj lub nodemcu. thiab tshawb xyuas cov zis ntawm io.adafruit.com
- yog tias koj xav txheeb xyuas qhov ua tiav ces rov qab koj yuav tsum txuas rau micropython wifi thiab nkag mus.
Kauj Ruam 11: Ua Haujlwm Yees Duab
Cov vis dis aus ua haujlwm ntawm qhov kev qhia no muaj nyob ntawm no.
Pom zoo:
Saib Xyuas Kev Siv Sijhawm Siv Raspberry Pi thiab AIS328DQTR Siv Python: 6 Cov Kauj Ruam
Saib Xyuas Kev Siv Sijhawm Siv Raspberry Pi thiab AIS328DQTR Siv Python: Kev nrawm yog qhov kawg, Kuv xav raws li qee txoj cai ntawm Physics.- Terry Riley Tus cheetah siv qhov nrawm nrawm thiab hloov pauv sai thaum caum. Tus tsiaj nrawm tshaj plaws nyob ntawm ntug hiav txwv ib zaug hauv ib lub sijhawm siv nws qhov nrawm tshaj plaws kom ntes tau cov tsiaj txhu. Qhov
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
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
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
Tes Thib Peb ++: Kev Siv Tes Siv Ntau Rau Cov Khoom Siv Hluav Taws Xob thiab Lwm Yam Ua Haujlwm Zoo: 14 Kauj Ruam (nrog Duab)
Tes Thib Peb ++: Kev Siv Tes Siv Ntau Rau Cov Khoom Siv Hluav Taws Xob thiab Lwm Yam Ua Haujlwm Tsis Zoo: Yav dhau los Kuv tau siv tes thib peb/pab txhais tes muaj nyob ntawm cov khw muag khoom hluav taws xob thiab tau poob siab nrog lawv qhov siv tau. Kuv tsis tuaj yeem tau txais cov yeeb yaj kiab raws qhov kuv xav tau lossis nws siv sijhawm ntau dua qhov nws yuav tsum tau teeb tsa