Cov txheej txheem:
- Kauj ruam 1: Kho vajtse
- Kauj Ruam 2: Kev Txhim Kho Architecture
- Kauj ruam 3: Software
- Kauj ruam 4: AWS IOT Core Configuration
- Kauj Ruam 5: Kinesis Firehose Delivery Stream Configuration
- Kauj ruam 6: Amazon Redshift Configuration
- Kauj Ruam 7: Amazon QuickSight
Video: Visualizing Barometric Siab thiab Kub Siv Infineon XMC4700 RelaxKit, Infineon DPS422 thiab AWS: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nws yog txoj haujlwm yooj yim txhawm rau txhawm rau ntsuas lub ntsuas cua thiab ntsuas cua sov siv Infineon's DPS 422. Nws ua rau tsis meej pem los ntsuas qhov ntsuas thiab ntsuas kub ib ntus. Nov yog qhov kev tshuaj xyuas los ntawm daim duab, kev nkag siab ntawm kev hloov pauv hauv lub siab thiab qhov kub nyob rau lub sijhawm yuav tuaj yeem pab txhawm rau txhawm rau txheeb xyuas qhov ua tsis raug thiab ua tiav kev saib xyuas ua ntej.
Kev nyiam rau kev ua qhov haujlwm no yog kev siv qib siab ntsuas ntawm Infineon thiab tau txais kev pom los ntawm kev ntsuas siv Amazon QuickSight.
Kauj ruam 1: Kho vajtse
S2GO XEEB DPS422:
Qhov no yog qhov ntsuas qhov ntsuas qhov ntsuas siab. Nws yog qib qib kev ntsuas nrog qhov txheeb ze txheeb ze ± 0.06 hPa. Thiab nrog qhov ntsuas kub ntawm ± 0.5 ° C.
Kuv tus IOT ADAPTER:
Kuv tus IoT adapters yog lub qhov rooj mus rau kev kho vajtse sab nraud xws li Arduino thiab Raspberry PI, uas yog IoT kho vajtse nrov platform. Txhua yam no ua rau kev ntsuas nrawm tshaj plaws thiab txhim kho IoT system.
XMC4700 Relax Kit:
XMC4700 Microcontroller cov khoom ntsuas; Kho vajtse compatbile nrog 3.3V thiab 5V Arduino ™ Shields
NodeMCU ESP8266:
NodeMCU yog qhov qhib IoT platform. Nws suav nrog cov software uas khiav ntawm ESP8266WiFi SoC los ntawm Espressif Systems, thiab kho vajtse uas yog raws ESP-12 module.
Kauj Ruam 2: Kev Txhim Kho Architecture
Amazon webservices muab kev pabcuam MQTT los txuas cov khoom siv rau huab. MQTT tus qauv yeej ua haujlwm ntawm lub hauv paus ntsiab lus ntawm kev tshaj tawm-sau npe. Cov cuab yeej uas yog DPS310 lub ntsuas hluav taws xob hauv qhov no, ua raws li tus tshaj tawm uas tshaj tawm qhov kev ntsuas thiab ntsuas kub rau AWS IOT cov kev pabcuam tseem ceeb uas ua raws li cov neeg siv khoom. Cov lus tau txais yog xa mus rau Amazon Kinesis Delivery Stream siv AWS IoT core txoj cai teeb tsa. Kev Xa Dej tau teeb tsa kom xa cov lus mus rau Amazon Redshift pawg. Amazon Redshift yog cov ntaub ntawv khaws cov kev pabcuam los ntawm AWS. Cov ntaub ntawv tau txais xws li, siab thiab ntsuas kub nrog rau lub sijhawm teev npe tau ntxiv rau pawg lus. Tam sim no, Amazon QuickSight cov cuab yeej txawj ntse ua lag luam muab los ntawm AWS los rau hauv daim duab uas hloov cov ntaub ntawv hauv redshift pawg ua rau pom kev pom kom tau txais kev nkag siab ntawm cov ntaub ntawv.
Kauj ruam 3: Software
Source Code rau NodeMCU ESP8266 tuaj yeem pom ntawm no:
Kauj ruam 4: AWS IOT Core Configuration
- Tsim qhov khoom ntawm AWS IOT core.
- Tsim daim ntawv pov thawj thiab xa nws mus rau qhov khoom tsim.
- Tsim txoj cai tshiab thiab muab nws tso rau qhov khoom.
- Tam sim no tsim txoj cai.
- Xaiv Xa lus xa mus rau Amazon Kinesis Firehose kwj.
Kauj Ruam 5: Kinesis Firehose Delivery Stream Configuration
- Nyem rau ntawm Tsim cov kwj xa khoom
- Xaiv qhov chaw raws li PUT ncaj qha lossis lwm qhov chaw
- Lov tes taw cov ntaub ntawv hloov pauv thiab hloov pauv cov ntaub ntawv.
- Xaiv lub hom phiaj raws li Amazon Redshift.
- Sau rau hauv cov ntsiab lus pawg.
- Raws li cov lus los ntawm DPS yuav tsum tau tsim hauv JSON hom, daim ntawv theej yuav tsum tau hloov pauv raws li. Hauv COPY xaiv lub thawv, sau JSON 'pib'. Tsis tas li, raws li peb tab tom yuav siv GZIP kev nyem ib yam yuav tsum tau hais hauv cov thawv xaiv.
- Pab kom S3 nrawm raws li GZIP inorder txhawm rau txo lub sijhawm hloov (Yeem)
- Txheeb xyuas Firehose kev xa khoom thiab nyem rau ntawm Tsim Delivery Stream
Kauj ruam 6: Amazon Redshift Configuration
- Pib nrog tus cim pawg, lub npe database, tus tswv siv thiab tus password.
- Xaiv Node hom li dc2.large, clustertype li multinode yog tias koj xav koom nrog cais cov lej sib cais. Hais txog tus lej ntawm cov lej suav yog xaiv ntau hom pawg pawg.
- Mus ntxiv thiab tom qab ntawd qhib pawg.
- Mus rau Query editor thiab tsim cov lus dps_info.
Kev Ruaj Ntseg Pawg Raug Rho Tawm Txoj Cai rau Redshift
- Los ntawm lub neej ntawd redshift txwv tsis pub sib txuas los ntawm VPC pab pawg ruaj ntseg.
- Ntxiv txoj cai inbound rau redshift kom Redshift txuas rau lwm cov kev pabcuam xws li QuickSight.
Kauj Ruam 7: Amazon QuickSight
- Los ntawm cov npe kev pabcuam, xaiv Amazon QuickSight. Yog tias koj yog thawj tus neeg siv, QuickSight yog pub dawb rau siv rau 60 hnub thiab tom qab ntawd them nyiaj.
- Tom qab ua tiav kev teeb tsa tus as khauj, nyem rau qhov kev tshuaj xyuas tshiab los ntawm lub dashboard.
- Muab lub npe rau koj qhov kev tshuaj xyuas.
- Xaiv Redshift cov ntaub ntawv los ntawm cov npe muab.
- Xaiv cov txuj lom database rau khaws cov ntaub ntawv. Nov yog qhov cim xeeb khaws cia los ntawm QuickSight.
- Koj kuj tseem tuaj yeem xaiv teem sijhawm rov kho cov ntaub ntawv rau hauv SPICE.
- Ntxiv qhov yuav tsum tau teb rau kev tshuaj xyuas.
- Tshaj tawm lub dashboard los ntawm kev xaiv sib qhia. Muab qhov xav tau nkag mus rau lwm tus neeg siv los saib lub dashboard.
Pom zoo:
Qhov siab, Siab thiab Kub Siv Raspberry Pi Nrog MPL3115A2: 6 Cov Kauj Ruam
Qhov siab, Siab thiab Kub Siv Raspberry Pi Nrog MPL3115A2: Suab nrov. Nws muaj peev xwm ua tau nyob rau lub sijhawm no thaum peb txhua tus tab tom mus rau IoT tiam. Raws li cov khoom siv hluav taws xob tsis zoo, peb tau ua si nrog Raspberry Pi, thiab txiav txim siab los ua cov phiaj xwm nthuav dav siv qhov kev paub no. Hauv qhov haujlwm no, peb xav tau
Sib cuam tshuam Infineon DPS422 Sensor Nrog Infineon XMC4700 thiab Xa Cov Ntaub Ntawv rau NodeMCU: 13 Cov Kauj Ruam
Sib cuam tshuam Infineon DPS422 Sensor Nrog Infineon XMC4700 thiab Xa Cov Ntaub Ntawv mus rau NodeMCU: Hauv qhov kev qhia no peb yuav kawm paub siv DPS422 ntsuas qhov ntsuas kub thiab ntsuas ntsuas siab nrog XMC4700.DPS422 DPS422 yog qhov me me digital digital barometric huab cua siab thiab ntsuas kub nrog qhov raug siab thiab tam sim no qis kev siv
Siv Raspberry Pi, Ntsuas Qhov Siab, Siab, thiab Kub Nrog MPL3115A2: 6 Cov Kauj Ruam
Siv Raspberry Pi, Ntsuas Qhov Siab, Siab, thiab Kub Nrog MPL3115A2: Paub tias koj yog leej twg, thiab paub vim li cas koj thiaj yog tus tswv! Nws yog qhov txaus nyiam. Peb nyob hauv lub hnub nyoog ntawm Internet Automation raws li nws plunges rau hauv plethora ntawm cov ntawv thov tshiab. Raws li lub khoos phis tawj thiab khoom siv hluav taws xob, peb tau kawm ntau yam nrog Raspberry Pi a
Yuav Ua Li Cas Siv DHT11 Kub Sensor Nrog Arduino thiab Luam Kub Kub thiab Vaum: 5 Kauj Ruam
Yuav Ua Li Cas Siv DHT11 Kub Sensor Nrog Arduino thiab Luam Kub Kub thiab Vaum: Lub DHT11 sensor tau siv los ntsuas kub thiab av noo. Lawv yog cov khoom siv hluav taws xob nrov tshaj plaws.Qhov DHT11 cov av noo thiab ntsuas kub ua rau nws yooj yim ntxiv cov av noo thiab ntsuas kub rau koj li DIY cov phiaj xwm hluav taws xob. Nws yog rau
ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Kub Kub Nrog Steinhart-Hart Kho thiab Tswb Kub: 7 Kauj Ruam (nrog Duab)
ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Ntsuas Kub nrog Steinhart-Hart Kev Kho thiab Tswb Kub: Tseem tab tom taug kev kom ua tiav "qhov haujlwm yuav los tom ntej", "ESP32 NTP Kev Ntsuas Kub Kev Ntsuas Kub Ua Noj Nrog Steinhart-Hart Kev Kho thiab Tswb Kub" yog Cov Ntawv Qhia qhia yuav ua li cas kuv ntxiv NTP ntsuas kub, piezo b