Cov txheej txheem:

Arduino + ESP Weather Box: 3 Kauj Ruam
Arduino + ESP Weather Box: 3 Kauj Ruam

Video: Arduino + ESP Weather Box: 3 Kauj Ruam

Video: Arduino + ESP Weather Box: 3 Kauj Ruam
Video: Arduino + ESP Weather box 2024, Lub Xya hli ntuj
Anonim
Arduino + ESP Weather Box
Arduino + ESP Weather Box

Cov cuab yeej muaj txiaj ntsig uas ua haujlwm rau lub sijhawm luv hauv zos thiab huab cua peb hnub

Kauj Ruam 1: Tshooj Arduino

Image
Image

Cov cuab yeej no suav nrog ob lub rooj sib txoos ywj pheej hauv ib lub thawv.

Ib qho yog Arduino barometer nrog BMP180 sensor, uas muaj daim ntawv tshaj tawm ntawm lub sijhawm tiag tiag, -1h thiab -3h qhov sib txawv hauv huab cua. Cov ntawv ceeb toom no muaj txiaj ntsig tshwj xeeb hauv kev kwv yees huab cua hauv lub sijhawm luv. Nws tus lej raug coj los ntawm "shelvin.de" lub vev xaib, uas nkag mus rau qhov sib txawv ntawm qhov tsis sib xws thiab cov txheeb ze huab cua siab rau qhov siab tau muab hauv "druck_offset =" kab ntawm txoj cai. Cov txiaj ntsig tau nthuav tawm ntawm N5110 LCD npo, uas tseem qhia txog qhov kub hauv tsev.

Kauj Ruam 2: ESP8266 Tshooj

Schematic
Schematic

Cov cuab yeej tom ntej yog siv los ntawm ESP8266 pawg thawj coj uas txuas 0.96 nti oled zaub. ESP8266 txuas nrog ntawm Wi-nkaus network rau "openweathermap" nplooj ntawv, los ntawm qhov uas nws siv sijhawm kwv yees peb hnub huab cua thiab nthuav tawm nws ntawm cov duab oled. Rau lub hom phiaj no, koj yuav tsum nkag mus rau tus lej API hauv tus lej, uas tau txais los ntawm Openweathermap nplooj ntawv. Cov lus qhia ntxaws ntxaws rau kev txhim kho cov tsev qiv ntawv thiab cov cai ntawm esp8266 tau muab rau:

blog.squix.org/wp-content/uploads/2017/06/esp8266weatherstationgettingstartedguide-20170608.pdf Hauv qhov xwm txheej tshwj xeeb no, kuv siv NodeMCU 1.0 (ESP12E module) board.

Kauj ruam 3: Schematic

Daim duab saum toj no qhia txog cov txheej txheem ntawm cov cuab yeej ua tiav.

Pom zoo: