Cov txheej txheem:

Ua kom yooj yim IOT Weather Station: 4 Kauj Ruam
Ua kom yooj yim IOT Weather Station: 4 Kauj Ruam

Video: Ua kom yooj yim IOT Weather Station: 4 Kauj Ruam

Video: Ua kom yooj yim IOT Weather Station: 4 Kauj Ruam
Video: Mus ua nyab rau yim hmoob tsis zoo 7/27/2017 2024, Kaum ib hlis
Anonim
Tsim kom yooj yim IOT Weather Station
Tsim kom yooj yim IOT Weather Station

Hauv qhov kev qhia no, peb yuav tsim qhov txaus (nws muaj lub dashboard thiab sib tham!) Tsis tau yooj yim IoT huab cua chaw siv Zio's Zuino XS PsyFi32 thiab peb qhov kev koom ua ke tshiab tshaj plaws rau Qwiic tsev neeg, Zio Qwiic Air Pressure Sensor! Lub Rooj Tswjhwm Saib muaj qhov ntsuas BMP280 los ntawm Bosch uas ntsuas qhov ntsuas kub siab, thiab nws tuaj yeem siv ua qhov ntsuas qhov siab!

Muaj ntau qhov chaw nres tsheb huab cua, tab sis tsis ntau (lossis ib qho uas peb pom tau) siv WiFi ua haujlwm ntawm Zuino XS PsyFi32 THIAB Zio BMP280 sensor. Lub hom phiaj ntawm txoj haujlwm no tsis yog tsim kom muaj chaw nres tsheb huab cua, tab sis tseem yuav pib siv lub peev xwm WiFi ntawm PsyFi32.

Koj yuav tsum tau teeb tsa thiab teeb tsa PsyFi32 rau kev txhim kho nrog Arduino IDE. Yog tias koj tsis muaj, txheeb xyuas peb cov lus qhia kom paub siv PSyFi32 nrog Arduino IDE.

Kho vajtse:

  • Zuino XS PsyFi32
  • Zio Qwiic Cua Siab Sensor (BMP280)
  • Qhib kab
  • USB A rau Micro USB B cable

Software & Tsev qiv ntawv:

  • Arduino IDE Cov
  • Arduino ESP32 lub tsev qiv ntawv
  • Adafruit_BMP280 lub tsev qiv ntawv
  • Adafruit Unified Sensor Driver lub tsev qiv ntawv
  • ThingSpeak

Kauj Ruam 1: Txuas Zuino XS PsyFi32 thiab Cua Siab Sensor Siv Qwiic Cable, thiab Hwj chim PsyFi32

Txuas Zuino XS PsyFi32 thiab Cua Siab Sensor Siv Qwiic Cable, thiab Hwj chim PsyFi32
Txuas Zuino XS PsyFi32 thiab Cua Siab Sensor Siv Qwiic Cable, thiab Hwj chim PsyFi32

Kev teeb tsa yog yooj yim zoo nkauj, tsuas yog daisy saw PsyFi32 thiab Air Pressure sensor ua ke. Qhov zoo ntawm Qwiic yog tias koj tsis xav tau lub khob cij los yog cov kab uas tsis zoo los txuas cov khoom siv!

Kauj Ruam 2: Teeb tsa ThingSpeak kom Muaj Peev Xwm Nyeem Cov Ntaub Ntawv Sensor

Yog tias koj tseem tsis tau muaj, tsim ib tus as khauj ntawm ThingSpeak. Mus rau Channels ntawm sab xis saum toj ntawv qhia zaub mov thiab tsim Tus Tshiab ChannelFill hauv cov npe xov xwm thiab lus piav qhia, thiab xaiv peb Fields. Hauv qhov kev txiav txim, sau daim ntawv qhia teb raws li hauv qab no: Kub (° C), Siab (hPa) thiab Qhov siab (m) Koj tuaj yeem sau lwm cov ntaub ntawv xws li txuas lub vev xaib lossis Github, tab sis cov teb hauv (2) yog qhov tsawg kawg nkaus

Kauj Ruam 3: Nyem PsyFi32

Nyem PsyFi32
Nyem PsyFi32

Koj yuav raug hais kom nkag mus rau koj tus lej SSID thiab WiFi ua ntej tso tus lej. Koj mus rau ThingSpeak Channel uas koj nyuam qhuav tsim thiab nyem rau ntawm API Keys. Luam theej duab 'Sau API Key' rau tus lej (api_key string).

Kauj ruam 4:

Image
Image

Tam sim no koj muaj koj tus kheej chaw nres tsheb huab cua!

Koj tuaj yeem saib ntawm Channel peb teeb tsa rau kev qhia no ntawm no.

Tag nrho cov cai ntawm qhov kev qhia no tuaj yeem rub tawm ntawm no.

Pom zoo: