Cov txheej txheem:

Visualizing Barometric Siab thiab Kub Siv Infineon XMC4700 RelaxKit, Infineon DPS422 thiab AWS: 8 Kauj Ruam
Visualizing Barometric Siab thiab Kub Siv Infineon XMC4700 RelaxKit, Infineon DPS422 thiab AWS: 8 Kauj Ruam

Video: Visualizing Barometric Siab thiab Kub Siv Infineon XMC4700 RelaxKit, Infineon DPS422 thiab AWS: 8 Kauj Ruam

Video: Visualizing Barometric Siab thiab Kub Siv Infineon XMC4700 RelaxKit, Infineon DPS422 thiab AWS: 8 Kauj Ruam
Video: 2016 NCAS Philip J. Klass Award Presented to Dr. John Mather 2024, Hlis ntuj nqeg
Anonim
Visualizing Barometric Siab thiab Kub Siv Infineon XMC4700 RelaxKit, Infineon DPS422 thiab AWS
Visualizing Barometric Siab thiab Kub Siv Infineon XMC4700 RelaxKit, Infineon DPS422 thiab AWS
Visualizing Barometric Siab thiab Kub Siv Infineon XMC4700 RelaxKit, Infineon DPS422 thiab AWS
Visualizing Barometric Siab thiab Kub Siv Infineon XMC4700 RelaxKit, Infineon DPS422 thiab AWS

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

Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse
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

Tshuaj Architecture
Tshuaj 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

Software
Software
Software
Software

Source Code rau NodeMCU ESP8266 tuaj yeem pom ntawm no:

Kauj ruam 4: AWS IOT Core Configuration

AWS IOT Core Configuration
AWS IOT Core Configuration
AWS IOT Core Configuration
AWS IOT Core Configuration
AWS IOT Core Configuration
AWS IOT Core Configuration
  1. Tsim qhov khoom ntawm AWS IOT core.
  2. Tsim daim ntawv pov thawj thiab xa nws mus rau qhov khoom tsim.
  3. Tsim txoj cai tshiab thiab muab nws tso rau qhov khoom.
  4. Tam sim no tsim txoj cai.
  5. Xaiv Xa lus xa mus rau Amazon Kinesis Firehose kwj.

Kauj Ruam 5: Kinesis Firehose Delivery Stream Configuration

Kinesis Firehose Tus Me Nyuam Kwj Configuration
Kinesis Firehose Tus Me Nyuam Kwj Configuration
Kinesis Firehose Tus Me Nyuam Kwj Configuration
Kinesis Firehose Tus Me Nyuam Kwj Configuration
Kinesis Firehose Tus Me Nyuam Kwj Configuration
Kinesis Firehose Tus Me Nyuam Kwj Configuration
  1. Nyem rau ntawm Tsim cov kwj xa khoom
  2. Xaiv qhov chaw raws li PUT ncaj qha lossis lwm qhov chaw
  3. Lov tes taw cov ntaub ntawv hloov pauv thiab hloov pauv cov ntaub ntawv.
  4. Xaiv lub hom phiaj raws li Amazon Redshift.
  5. Sau rau hauv cov ntsiab lus pawg.
  6. 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.
  7. Pab kom S3 nrawm raws li GZIP inorder txhawm rau txo lub sijhawm hloov (Yeem)
  8. Txheeb xyuas Firehose kev xa khoom thiab nyem rau ntawm Tsim Delivery Stream

Kauj ruam 6: Amazon Redshift Configuration

Amazon Redshift Configuration
Amazon Redshift Configuration
Amazon Redshift Configuration
Amazon Redshift Configuration
Amazon Redshift Configuration
Amazon Redshift Configuration
  1. Pib nrog tus cim pawg, lub npe database, tus tswv siv thiab tus password.
  2. 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.
  3. Mus ntxiv thiab tom qab ntawd qhib pawg.
  4. Mus rau Query editor thiab tsim cov lus dps_info.

Kev Ruaj Ntseg Pawg Raug Rho Tawm Txoj Cai rau Redshift

  1. Los ntawm lub neej ntawd redshift txwv tsis pub sib txuas los ntawm VPC pab pawg ruaj ntseg.
  2. Ntxiv txoj cai inbound rau redshift kom Redshift txuas rau lwm cov kev pabcuam xws li QuickSight.

Kauj Ruam 7: Amazon QuickSight

Amazon QuickSight
Amazon QuickSight
Amazon QuickSight
Amazon QuickSight
Amazon QuickSight
Amazon QuickSight
Amazon QuickSight
Amazon QuickSight
  1. 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.
  2. Tom qab ua tiav kev teeb tsa tus as khauj, nyem rau qhov kev tshuaj xyuas tshiab los ntawm lub dashboard.
  3. Muab lub npe rau koj qhov kev tshuaj xyuas.
  4. Xaiv Redshift cov ntaub ntawv los ntawm cov npe muab.
  5. Xaiv cov txuj lom database rau khaws cov ntaub ntawv. Nov yog qhov cim xeeb khaws cia los ntawm QuickSight.
  6. Koj kuj tseem tuaj yeem xaiv teem sijhawm rov kho cov ntaub ntawv rau hauv SPICE.
  7. Ntxiv qhov yuav tsum tau teb rau kev tshuaj xyuas.
  8. 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: