Cov txheej txheem:
Video: Kev Saib Xyuas Lub Zog hauv 15 feeb: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nov yog lub ntsuas hluav taws xob wifi txhawm rau kaw kab xev ntawm koj lub ntsuas hluav taws xob. Nws kuaj pom qhov muag nrog LDR, thiab nthuav tawm lub zog ntawm OLED zaub. Sau npe rau tus account demo dawb:
Qhov xav tau: ESP8266 TTGO 0.91 OLED (lossis tsis tu ncua ESP8266 thiab khiav yam tsis muaj zaub) LDR (lub teeb nyob ntawm tus tiv thaiv) 10K resistor
Nqi: Kwv yees li $ 9 tag nrho.
Ntsis: ESP8266 TTGO 0.91 OLED muag ntawm ebay, tshawb: 'esp8266 oled 0.91'.
Kauj ruam 1: Solder
Tsuas muaj 4 lub ntsiab lus sib txuas: LDR mus los ntawm A0 txog D0 (gpio16).10K resistor mus los ntawm A0 mus rau GND.
Kauj ruam 2: Code
Qhov program tau ua nrog Arduino. Download code ntawm kuv Github site:
Kev vam khom: Koj xav tau qee lub tsev qiv ntawv, U8g2lib, PubSubClient, Koj pom cov no hauv tus thawj tswj tsev qiv ntawv.
Chaw: Teeb koj qhov tseem ceeb nyob rau sab saum toj ntawm cov cai. Lawv tau piav qhia zoo
Upload: Xaiv tus programmer 'LOLIN (WEMOS) D1 R2 & mini'Yog koj tsis pom nws hauv cov ntawv qhia zaub mov, teeb tsa ESP8266 hauv Arduino Boards Manager.
Mus rau cov xov no yog tias koj TTGO OLED tsis ua haujlwm. Ob peb i2c OLED pinouts tau pom nyob ntawd.
Kauj ruam 3: Thingsboard
Sau npe kom muaj kev ywj pheej nyob dawb ntawm
Ntxiv cov cuab yeej, nrog lub npe Lub Zog Saib Xyuas.
Hauv Ntaus Ntawv 'Paub meej', nyem 'Luam theej duab token'Paste cov hlua no rau THINGSBOARD_TOKEN hauv tus lej, thiab rub tawm.
Yog tias txhua yam mus tau zoo, tam sim no koj yuav tsum pom cov ntaub ntawv hauv Ntaus Ntawv 'Tseeb telemetry'Select' wh 'cov ntaub ntawv xov tooj cua (Xeem Watts ib teev), thiab nyem' Qhia rau widget'Select 'Chart' hauv qhov nco, thiab nrhiav 'Timeseries - Flot 'in the carousel gallery. Click' Add to Dashboard'. Select a existing, or create a new dashboard. Select 'Open Dashboard', and click OK. In Dashboard you want to change Timewindow to 2 hour, and Data aggregation to Tsis muaj
Rau Analog gauge, ua tib cov kauj ruam los ntawm Telemetry, thiab xaiv Analog gauge hauv Widget. Thaum koj rov qab los rau Dashboard, Cov ntsuas ntsuas ntsuas tau kho., Yam tsawg kawg thiab Qhov siab tshaj tau teev tseg rau 0 thiab 8000, thiab 'Cov zuam loj suav' tau teev rau 10, los ntxuav 1000 tus cim.
Ua tiav
Pom zoo:
Tsim Ib Lub Tshuab Saib Xyuas Lub Zog Siv Lub Tshuab Hluav Taws Xob: 5 Kauj Ruam (nrog Duab)
Tsim Cov Khoom Siv Hluav Taws Xob Siv Lub Tshuab Hluav Taws Xob: Hauv feem ntau cov lag luam, peb xav txog Lub zog los ua lag luam. Daim nqi pom nyob hauv peb cov ntawv lossis email thiab peb them nws ua ntej hnub tso tseg. Nrog qhov tshwm sim ntawm IoT thiab cov cuab yeej ntse, Lub zog tab tom pib ua qhov chaw tshiab hauv kev lag luam 'bala
Ntse Kev Saib Xyuas Lub Zog: 5 Cov Kauj Ruam
Ntse Kev Saib Xyuas Lub Zog: Hauv Kerala (Is Nrias teb), kev siv hluav taws xob raug tshuaj xyuas thiab suav los ntawm kev mus ncig ntau zaus los ntawm cov kws tshaj lij los ntawm cov tuam txhab hluav taws xob/lub zog rau kev suav cov nqi hluav taws xob uas yog lub sijhawm ua haujlwm raws li yuav muaj ntau txhiab lub tsev
Kev Saib Xyuas Lub Hwj Chim Nyob Nrawm thiab Kev Tshaj Tawm ntawm Lub Hnub Ci Raws Lub Hwj Huam Fais Fab: 10 Kauj Ruam
Kev Saib Xyuas Lub Hwj Chim Nyob Nrawm thiab Kev Tshaj Tawm ntawm Lub Hnub Ci Raws Lub Hwj Huam Fais Fab: Lub hom phiaj ntawm txoj haujlwm no yog txhawm rau saib xyuas thiab faib cov khoom siv hluav taws xob hauv lub tshuab hluav taws xob (hnub ci zog). Kev tsim qauv ntawm cov txheej txheem no tau piav qhia hauv cov ntsiab lus raws li hauv qab no. Lub kaw lus muaj ntau daim phiaj nrog kwv yees li 2 lub hnub ci ci nyob hauv
Kev Saib Xyuas Kev Noj Qab Haus Huv Ntawm Cov Txheej Txheem Hauv Tib Neeg Siv Wireless Kev Ruaj Ntseg Sensors: 8 Cov Kauj Ruam
Kev Saib Xyuas Kev Noj Qab Haus Huv Ntawm Cov Txheej Txheem Hauv Tsev Siv Wireless Kev Ruaj Ntseg: Qhov tsis zoo ntawm lub tsev qub thiab kev tsim kho pej xeem tuaj yeem ua rau tuag taus thiab xwm txheej txaus ntshai. Kev saib xyuas tas li ntawm cov qauv no yog qhov yuav tsum tau ua. Kev saib xyuas kev noj qab haus huv hauv tsev yog ib txoj hauv kev tseem ceeb heev hauv kev ntsuas
Kev Nyuaj Siab: Kev Saib Xyuas thiab Saib Xyuas Ntxiv rau Kev Teeb Meem: 9 Cov Kauj Ruam
Hard Drive: Kev Saib Xyuas thiab Kev Saib Xyuas Ntxiv Teeb Meem: Daim duab saum toj no yog Hard Drive ib txwm muaj. Cov no yog cov tsav tsheb feem ntau siv niaj hnub no, tab sis tsis tas yuav nrawm tshaj. Tib neeg siv tus tsav no rau nws tus nqi qis dua gigabyte thiab lub neej ntev dua. Phau ntawv qhia no yuav qhia koj txog qhov sib txawv