Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Dab tsi yog Sensate?
- Kauj ruam 2: Flashing Sensate Firmware
- Kauj Ruam 3: teeb tsa WiFi Network
- Kauj Ruam 4: Teeb tsa Sensate Mobile App
- Kauj Ruam 5: Tsim Circuit Court
- Kauj Ruam 6: Lus Cim Kawg
Video: Chaw Nres Tsheb Siv Wemos D1 Mini, BME280 thiab Sensate.: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Hauv cov ntawv tshaj tawm dhau los kuv tau sib qhia ntau txoj hauv kev los tsim lub chaw nres tsheb huab cua. Yog tias koj tsis tau tshawb xyuas nws ntawm no yog qhov txuas.
Hauv cov lus qhia no kuv yuav nthuav qhia yuav ua li cas tsim kom muaj chaw nres tsheb huab cua yooj yim siv Wemos thiab IoT platform hu ua Sensate. Yog li cia peb pib.
Khoom siv
- WeMos D1 Mini ………. (Amazon Asmeskas / Amazon UK / Banggood)
- BME280 …………………. (Amazon Asmeskas / Amazon UK / Banggood)
- 1.3 "OLED zaub ……. (Amazon US / Amazon UK / Banggood)
Nrog rau cov no peb tseem xav tau Sensate App rau iOS lossis Android.
Kauj ruam 1: Dab tsi yog Sensate?
Hauv lawv tus kheej cov lus: Siv Sensate Sense App txhawm rau nkag mus rau koj lub cim xeeb txhua lub sijhawm, nyob txhua qhov chaw. Tsim koj cov ntaub ntawv qhov kawg los ntawm kev siv cov khoom siv kho vajtse uas twb muaj lawm nrog Sensate Firmware dawb.
Hauv ntej nws yog ib qho app uas nrog rau firmware, muab txoj hauv kev yooj yim rau koj dawb los tsim cov phiaj xwm yooj yim. Txhua yam koj yuav tsum tau ua yog nyem lawv cov firmware, teeb tsa lawv lub app, mus los ntawm kev teeb tsa kev teeb tsa thiab koj npaj tau los khaws cov ntaub ntawv los ntawm koj cov sensors.
Kauj ruam 2: Flashing Sensate Firmware
Tam sim no peb xav tau peb pawg ESP (hauv qhov no WeMos D1 Mini) tuaj yeem txuas rau Sensate huab. Rau qhov no peb yuav tsum nyem Sensate's Firmware ntawm peb lub rooj tsavxwm. Cov txheej txheem yog ncaj nraim rau pem hauv ntej.
Thawj zaug kom ntseeg tau tias koj rub tawm cov hauv qab no:
- Rub tawm thiab teeb tsa CP210x lossis CH34x tus tsav tsheb (nyob ntawm USB rau TTL nti siv ntawm koj lub rooj tsavxwm). Hauv kuv qhov xwm txheej kuv teeb tsa CH340.
- Rub tawm NodeMCU cov cuab yeej flasher los ntawm no.
- Tom ntej rub tawm qhov tseeb Sensate firmware los ntawm no.
Tom qab txhua yam raug rub tawm thiab cov tsav tsheb tau teeb tsa. Peb yuav tsum txheeb xyuas qhov chaw nres nkoj ntawm peb pawg WeMos. Txhawm rau nrhiav chaw nres nkoj:
- Mus rau "Device Manager" >> "Ports".
- Txuas lub rooj tsavxwm rau PC ntawm USB. Koj yuav pom qhov chaw nres nkoj tshiab tshwm hauv cov npe. Nco tseg.
Tam sim no peb tuaj yeem nyem lub rooj tsavxwm nrog cov firmware tshiab. Nco ntsoov tias koj tau rub tawm lub firmware raug los ntawm qhov txuas. (Hauv txoj haujlwm no peb tab tom siv WeMos D1 mini yog li peb yuav siv lub firmware ntawd)
- Qhib lub flasher thiab mus rau "Advanced" tab. Xyuas kom koj muaj cov teeb tsa zoo ib yam li hauv daim duab saum toj no.
- Tom ntej no mus rau "Config" tab, nyem rau ntawm thawj kab thiab mus rau lub nplaub tshev uas koj tau rub tawm lub firmware. Xaiv cov ntaub ntawv tsim nyog.
- Tam sim no tau txais "Ua Haujlwm" tab, ntawm no hauv COM lub thawv chaw nres nkoj xaiv qhov chaw nres nkoj uas koj tau sau tseg ua ntej.
- Nyem rau ntawm "Flash" thiab tos kom txog thaum flashing tiav.
Tam sim no peb muaj WeMos D1 mini board nrog Sensate lub firmware. Tsuas yog nyem lub pob pib dua kom tiav cov txheej txheem khau raj.
Kauj Ruam 3: teeb tsa WiFi Network
Tam sim no uas peb tau ua tiav flashed thiab khau raj lub firmware, peb yuav tsum teeb tsa WiFi daim ntawv pov thawj mus rau lub rooj tsavxwm. Txhawm rau ua qhov no, xub thawj lub zog ntawm lub rooj tsavxwm thiab qhib WiFi ntawm koj lub smartphone. Ua raws cov theem hauv qab no:
- Coj mus rhaub rau "Sensate-Setup" thiab nkag mus rau lo lus zais vim "Teeb-Sensate".
- Tom qab lub cuab yeej txuas nrog, qhib koj lub browser ua ntej thiab nkag rau hauv URL "192.168.4.1" thiab ntaus nkag.
- Koj yuav raug xa mus rau nplooj ntawv teeb tsa. Ntawm no xaiv "SSID" (WiFi lub npe) koj xav txuas rau thiab tom qab ntawd nkag mus rau nws tus password.
- Hauv Qhov Kev Pabcuam Kho Mob muab koj lub npe rau lub cuab yeej (hauv qhov no "Weather Station"). Coj mus rhaub rau txuag thiab rov pib dua.
Nrog qhov ua tiav, tam sim no WeMos pawg thawj coj tau npaj los txuas rau koj li WiFi network. Tam sim no peb tuaj yeem txav mus tom ntej thiab pib teeb tsa ntawm Sensate app.
Kauj Ruam 4: Teeb tsa Sensate Mobile App
Ua ntej tshaj plaws kom ntseeg tau tias koj tau teeb tsa Sensate Sense App hauv koj lub Smartphone. Tom ntej no qhib lub app thiab ua raws cov theem hauv qab no:
- Hauv thawj nplooj ntawv coj mus rhaub rau "Teeb Kho Vajtse". Tom qab ntawd nws yuav nug yog tias peb xav teeb tsa tus choj, raws li peb twb tau teeb tsa nws hauv qib dhau los peb yuav coj mus rau qhov kev xaiv thib ob "Tsis yog, Nws tau teeb tsa lawm"
- Nplooj ntawv tom ntej yuav qhia tag nrho cov choj uas muaj. Xaiv qhov peb nyuam qhuav ua.
- Nyob rau nplooj ntawv tom ntej peb yuav tau txais txhua cov ntsiab lus hais txog cov ntsuas thiab 3 kev xaiv. Ntawm no xaiv "Configuration Wizard". Ntawm nplooj ntawv tom ntej koj tuaj yeem nyeem cov ntaub ntawv ntau ntxiv txog kev teeb tsa. Thaum koj tau nyeem nws, coj mus rhaub rau "Pib".
- Tam sim no peb tau txais daim ntawv teev npe ntawm txhua lub rooj txhawb siab. Ntawm no peb yuav xaiv "WeMos D1 Mini" thiab coj mus rhaub rau "Txuas ntxiv".
- Tom ntej no nws nug peb kom xaiv hom kev ua haujlwm. Muaj 2 hom, ib qho yog hom qub uas yuav siv thiab hloov kho nyeem ntau npaum li nws tuaj yeem ua tau. Lwm hom "Sleeping Mode", hauv hom no peb tuaj yeem tau txais qhov hloov tshiab tas li thiab lub rooj tsavxwm yuav nyob rau hauv hom kev txuag hluav taws xob. Txog qhov haujlwm no kuv tau xaiv thawj Hom raws li kuv xav tau lub sijhawm hloov tshiab ntawm qhov kub thiab txias.
- Tom ntej no peb yuav tsum xaiv cov zaub. Raws li peb tab tom siv 1.3 "128x64 zaub, peb yuav xaiv qhov ntawd. Tom qab ntawd coj mus rhaub rau" Txuas ntxiv ".
- Ntawm nplooj ntawv tom ntej tsuas yog xaiv "Tsis muaj txuas ntxiv".
- Ntawm nplooj ntawv tom ntej peb yuav tsum xaiv lub sensor. Peb siv "BME280" yog li xaiv qhov ntawd. Nco ntsoov tias koj tsis xaiv BMP280 uas zoo ib yam tab sis tsis muaj lub siab sensor.
- Thaum peb xaiv lub sensor lub app muab rau peb xaiv cov ntaub ntawv twg peb xav sau. Ntawm no toggle tag nrho peb qhov kev xaiv. Tsis tas yuav ua si nrog lwm qhov chaw.
- Thaum kawg nyem rau ntawm qhov ua tiav.
Tam sim no txhua yam peb yuav tsum tau ua yog tsim lub Circuit Court.
Kauj Ruam 5: Tsim Circuit Court
Raws li peb tab tom siv I2C kev sib txuas lus ntawm no, kev sib txuas yog yooj yim heev. Xa cov duab saum toj no. There 4 tus pin rau hauv kev ua si ntawm no: VCC, GND (tus pin zog) & SDA, SCL (I2C pins).
Txuas cov xov hlau raws li:
VCC = 3.3V
GND = GND
SCL = SCL (D1)
SDA = SDA (D2)
Thiab tag nrho cov. Tam sim no tsuas yog siv lub zog hluav taws xob thiab tos kom nws txuas mus rau lub network tam sim no peb yuav tau txais cov ntaub ntawv ntawm OLED thiab ntawm app.
Kauj Ruam 6: Lus Cim Kawg
Yog li tam sim no peb muaj DIY chaw nres tsheb huab cua yam tsis tas yuav sau tus lej tiag. Tsis yog nws txias? Tam sim no koj tuaj yeem tsim rooj plaub rau nws zoo li qhov kuv tau ua yav dhau los ntawm no. Vam tias cov ntawv qhia tau yooj yim ua raws thiab koj tau kawm qee yam tam sim no.
Yog tias koj muaj lus nug xav tawm hauv cov lus hauv qab no.
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Chaw Nres Tsheb Huab Cua DIY & WiFi Chaw Nres Tsheb Sensor: 7 Kauj Ruam (nrog Duab)
Chaw Tshawb Xyuas Huab Cua DIY & WiFi Chaw Nres Nkoj: Hauv qhov haujlwm no kuv yuav qhia koj yuav tsim lub chaw nres tsheb huab cua nrog rau qhov chaw nres tsheb WiFi sensor. Lub chaw nres tsheb ntsuas ntsuas cov ntaub ntawv kub thiab av noo hauv cheeb tsam thiab xa nws, los ntawm WiFi, mus rau chaw nres tsheb huab cua. Cov chaw nres tsheb huab cua tom qab ntawd qhia t
Nres Nres Nres Siv VHDL thiab Basys3 Board: 9 Kauj Ruam
Yooj Yim Stopwatch Siv VHDL thiab Basys3 Board: Txais tos rau cov lus qhia yuav ua li cas thiaj tsim lub tswb moos siv VHDL thiab Basys 3 board yooj yim. Peb zoo siab los qhia peb qhov project nrog koj! Nov yog qhov phiaj xwm zaum kawg rau chav kawm CPE 133 (Digital Design) ntawm Cal Poly, SLO thaum Lub Caij Nplooj Ntoos Zeeg 2016. Peb tes num txhim kho
FinduCar: Lub Ntsej Muag Tsheb Ntsuas Qhia Cov Neeg rau Qhov Chaw Lub Tsheb Nres Tsheb: 11 Cov Kauj Ruam (nrog Duab)
FinduCar: Ntse Lub Ntsiab Tseem Ceeb Qhia Tib Neeg rau Qhov Chaw Tsheb Nres Tsheb: Txhawm rau daws cov teeb meem saum toj no, txoj haujlwm no tawm tswv yim txhawm rau txhim kho tus yuam sij tsheb ntse uas tuaj yeem coj tib neeg mus rau qhov chaw lawv nres tsheb. Thiab kuv txoj kev npaj koom nrog GPS rau hauv lub tsheb tseem ceeb. Tsis tas yuav siv lub smartphone app los taug qab
Ua Lub Sijhawm Tawm Ntawm Lub Tsheb Nres Nres Nres Disc: 7 Kauj Ruam
Ua Lub Sijhawm Tawm Ntawm Lub Tsheb Nres Nres Nres: Nov yog qhov koj tuaj yeem ua nrog txhua qhov qub/qub tsheb kauj vab nres uas koj tau dag ib puag ncig! ntsia liaj qhov rooj thiab 2 txiv ntoo kom haum lawv (xaiv tau)- brasso- daim txhuam cev hauv chav ua noj + phuam