Cov txheej txheem:

EPA UV Index Pub / IOT: 4 Cov Kauj Ruam (nrog Duab)
EPA UV Index Pub / IOT: 4 Cov Kauj Ruam (nrog Duab)

Video: EPA UV Index Pub / IOT: 4 Cov Kauj Ruam (nrog Duab)

Video: EPA UV Index Pub / IOT: 4 Cov Kauj Ruam (nrog Duab)
Video: STOP The #1 Vitamin D Danger! [Side Effects? Toxicity? Benefits?] 2024, Kaum ib hlis
Anonim
Image
Image
EPA UV Index Pub / IOT
EPA UV Index Pub / IOT

Cov cuab yeej me me no rub koj qhov ntsuas UV hauv cheeb tsam los ntawm EPA thiab tso tawm UV qib hauv 5 xim sib txawv thiab tseem qhia cov ntsiab lus ntawm OLED. UV 1-2 yog Ntsuab, 3-5 yog Daj, 6-7 yog Txiv Kab Ntxwv, 8-10 yog Liab, 11+ yog Ntshav.

Khoom siv

Adafruit Feather M0 WiFi - ATSAMD21 + ATWINC1500

350 Ib

Ib NeoPixel

Tus neeg rau zaub mov uas tuaj yeem khiav php tsab ntawv nrog Is Taws Nem txuas

Cov ntawv luam tawm 3D (txuas nrog)

Kauj ruam 1: Kev thaiv kab

Thaiv
Thaiv
Thaiv
Thaiv

Koj yuav tsum tau xaim NeoPixel rau Adafruit Feather M0 WiFi - ATSAMD21 + ATWINC1500

nws yog siv los tso saib UV xim coding rau saum. Koj kuj tseem yuav xav tau t xaim qhov hloov pauv mus rau GND thiab pab tus pin.

Kuv siv slider hloov los ntawm no

www.digikey.com/product-detail/en/c-k/JS20…

Kauj ruam 2: Teeb Server / Grab EPA Feeds

danchen.me/lab/wp-content/uploads/2020/08/pub_UV_index_checker_via_WiFiWebClient_OLED_neopixel.zip

Cov ntawv zip muaj cov ntawv uv.php, nws rub tawm xml los ntawm EPA qhov chaw

(Hloov ZIP/***** rau koj tus lej zip)

enviro.epa.gov/enviro/efservice/getEnvirofactsUVHOURLY/ZIP/98121

Cov ntaub ntawv PHP uas kuv suav nrog hauv qab no, nqe lus XML ntawv thiab ntxiv qee yam, xws li lub sijhawm tam sim no thiab qhov ntsuas UV tam sim no thaum kawg thiab nws zoo li qhov no?: 7 2 PM:7 3 PM:6 4 PM:4 5 PM:2 6 PM:1 0 Adafruit MO tom qab ntawv ua txoj hlua thiab daim duab qhia chaw rau NeoPixel xim ntawm tus lej hauv qab no.

Kauj Ruam 3: Luam Ntawv

Luam cov ntawv luam tawm 3D

Kauj ruam 4: Sib sau ua ke

Sib sau ua ke
Sib sau ua ke
Sib sau ua ke
Sib sau ua ke
Sib sau ua ke
Sib sau ua ke
  1. Ua kom ntseeg tau tias koj xaim NeoPixel rau tus lej PIN raug, kuv tau siv 12 tus lej suav nrog.
  2. Hloov kho WiFI SSID thiab Password.
  3. Upload qhov muab cov duab kos.
  4. Pop hauv cov zaub thiab daim di ncauj
  5. Ua tiav!

Pom zoo: