Cov txheej txheem:

IoT Huab Cua Saib E-Ntawv Zaub - Internet Txuas ESP8266: 7 Cov Kauj Ruam
IoT Huab Cua Saib E-Ntawv Zaub - Internet Txuas ESP8266: 7 Cov Kauj Ruam

Video: IoT Huab Cua Saib E-Ntawv Zaub - Internet Txuas ESP8266: 7 Cov Kauj Ruam

Video: IoT Huab Cua Saib E-Ntawv Zaub - Internet Txuas ESP8266: 7 Cov Kauj Ruam
Video: Ib Ob Peb, Los Seev Cev (Official Music Video) - Douachi Yang 2024, Kaum ib hlis
Anonim
Image
Image

Cov ntawv E-Paper yuav tso saib cov ntaub ntawv huab cua, ua ke nrog OpenWeatherMap API (dhau WiFi). Lub plawv ntawm txoj haujlwm yog ESP8266/32.

Hav, ua li cas, cov menyuam? Akarsh ntawm no los ntawm CETech.

Cov Zaub tau txuas nrog esp8266, koj tuaj yeem siv esp32 ib yam nrog rau cov zaub no. Esp8266 txuas nrog internet siv wifi uas nws cov ntsiab lus tuaj yeem hloov pauv los ntawm tus lej uas kuv tau muab rau ntawm GitHub.

Yog li cia peb pib! Kuv kuj tau ua yeeb yaj kiab hais txog kev tsim txoj haujlwm no kom meej, Kuv pom zoo saib qhov ntawd kom pom zoo dua thiab nthuav dav.

Kauj Ruam 1: Qhov Chaw

Qhov
Qhov
Qhov
Qhov

Txhawm rau ua qhov no koj yuav xav tau ESP8266 pawg thawj coj lossis ESP32 thiab koj tseem tuaj yeem ntxiv roj teeb yog tias koj xav tau.

Rau cov zaub, Kuv siv EPaper Firebeetle module.

Kuv qhia kom siv lub rooj tsavxwm los ntawm DFRobot nrog cov qauv no raws li tus pinout yuav sib xws thiab koj yuav ntsib tsis muaj teeb meem nyob qhov twg, Kuv siv Firebeetle board los ntawm DFRobot raws li nws muaj onboard roj teeb them thiab saib xyuas kev daws teeb meem.

Kauj Ruam 2: Tau PCBs rau Koj Txoj Haujlwm Tsim

Tau PCBs rau Koj Txoj Haujlwm Tsim
Tau PCBs rau Koj Txoj Haujlwm Tsim

Koj yuav tsum txheeb xyuas JLCPCB rau xaj PCBs online kom pheej yig!

Koj tau txais 10 qhov zoo PCBs tsim thiab xa mus rau koj lub qhov rooj rau 2 $ thiab qee qhov xa khoom. Koj tseem yuav tau txais luv nqi ntawm kev xa khoom ntawm koj thawj daim ntawv xaj. Txhawm rau tsim koj tus kheej PCB lub taub hau kom yooj yim EDA, ib zaug uas ua tiav xa koj cov ntaub ntawv Gerber mus rau JLCPCB kom tau txais lawv tsim nrog qhov ua tau zoo thiab lub sijhawm hloov pauv sai.

Kauj Ruam 3: Rub tawm thiab teeb tsa Arduino IDE

Rub tawm thiab teeb tsa Arduino IDE
Rub tawm thiab teeb tsa Arduino IDE

Rub tawm Arduino IDE los ntawm no.

1. Nruab Arduino IDE thiab qhib nws. 2. Mus rau File> Preferences

3. Ntxiv https://arduino.esp8266.com/versions/2.5.0/package_esp8266com_index.json Tus Thawj Saib Xyuas Ntxiv URLs.

4. Mus rau Cov Cuab Yeej> Pawg Thawj Coj> Tus Thawj Saib Xyuas Haujlwm

5. Tshawb nrhiav ESP8266 thiab tom qab ntawd teeb tsa lub rooj tsavxwm.

6. Rov pib dua IDE.

Kauj Ruam 4: Txuas E-ntawv Zaub rau Firebeetle Micro Controller

Txuas E-ntawv Zaub rau Firebeetle Micro Controller
Txuas E-ntawv Zaub rau Firebeetle Micro Controller

1. Cias sib phim & ua ke cov ces kaum dawb ntawm ob tus qauv thiab teeb tsa cov qauv nyob ib sab.

Kauj Ruam 5: Sau npe rau ntawm OpenWeatherMap.org

Sau npe rau ntawm OpenWeatherMap.org
Sau npe rau ntawm OpenWeatherMap.org
Sau npe rau ntawm OpenWeatherMap.org
Sau npe rau ntawm OpenWeatherMap.org

1. Mus rau lub vev xaib.

2. Sau npe nrog koj tus email ID thiab lwm yam ntaub ntawv pov thawj (DAWB).

3. Thaum koj tau kos npe nkag, nkag mus rau API Keys tab thiab luam koj li API Key tshwj xeeb uas peb yuav xav tau hauv qib tom ntej.

Kauj Ruam 6: Coding Module

Coding tus Module
Coding tus Module

1. Rub tawm GitHub chaw cia khoom:

2. Rub tawm lub chaw cia khoom rub tawm.

3. Luam cov tsev qiv ntawv los ntawm cov chaw khaws cia rub mus rau Lub Tsev Qiv Ntawv nplaub tshev hauv Arduino daim duab kos.

4. Qhib Code.ino kos duab hauv Arduino IDE.

5. Hloov Wi-Fi SSID thiab tus lej zais hauv daim duab.

6. Ntxiv API qhov tseem ceeb los ntawm Kauj Ruam 4 mus rau kab lej 44 ntawm cov cai hauv qhov chaw ntawm hashtags.

7. Mus rau Cov Cuab Yeej> Pawg Thawj Coj. Xaiv lub rooj tsav xwm uas tsim nyog uas koj siv, Firebeetle ESP8266 hauv kuv rooj plaub.

8. Xaiv qhov kom raug. chaw nres nkoj los ntawm kev mus rau Cov Cuab Yeej> Chaw Nres Nkoj.

9. Ntaus lub pob upload.

10. Thaum lub tab hais tias Ua tiav Uploading koj tau npaj siv huab cua saib.

Kauj Ruam 7: Ua Si Nrog Tus Saib Xyuas

Ua Si Nrog Tus Saib Xyuas
Ua Si Nrog Tus Saib Xyuas

Sai li qhov module txuas nws tus kheej rau WiFi network cov duab pib rov ua dua tshiab thiab koj yuav pom txoj haujlwm los rau lub neej.

Pom zoo: