Cov txheej txheem:

ESP32 Moos Siv WiFi, ESP-TAM SIM NO, & Cellular: 4 Kauj Ruam
ESP32 Moos Siv WiFi, ESP-TAM SIM NO, & Cellular: 4 Kauj Ruam

Video: ESP32 Moos Siv WiFi, ESP-TAM SIM NO, & Cellular: 4 Kauj Ruam

Video: ESP32 Moos Siv WiFi, ESP-TAM SIM NO, & Cellular: 4 Kauj Ruam
Video: Terrarium controller assembly. For more - check my channel. #esp32 #diy #terrarium_controller 2024, Hlis ntuj nqeg
Anonim
ESP32 Moos Siv WiFi, ESP-TAM SIM NO, & Cellular
ESP32 Moos Siv WiFi, ESP-TAM SIM NO, & Cellular

Nov yog ESP32 raws wifi moos kuv tau ua rau kev sib tw wireless. Kuv txiav txim siab los ua lub moos no dhau ntawm wireless yog li nws siv peb yam sib txawv ntawm kev sib txuas lus wireless (WiFi, ESP-TAM SIM NO, & Cellular). Lub xov tooj txuas nrog lub xov tooj ntawm tes thiab ua lub wifi hotspot. Thawj esp32 txuas nrog lub xov tooj thiab nthuav tawm lub teev nws rub los ntawm ntp server ntawm OLED.

Ob txoj kab txuas tau txuas nrog lub xov tooj thiab xa cov feeb thiab vib nas this mus rau lwm lub koos pis tawj siv esp32 tus kheej txoj kev sib txuas lus hu ua ESPNOW. Thawj txoj hnyuv loj yog kis cov feeb thiab lub nyuv thib ob yog kis thib ob.

Muaj 5 txoj haujlwm sib cais rau txoj haujlwm no uas kuv yuav qhia hauv qab no.

Kauj ruam 1:

Duab
Duab

1. ESP32 Board nrog ua hauv OLED Zaub X5

2. 18650 Lithium Battery

3. Xov tooj tshaj li tuaj yeem ua tus hotspot lossis router

4. USB Micro Cable

Kauj Ruam 2: Rub tawm Arduino IDE thiab Yuav Tsum Muaj Tsev Qiv Ntawv

Rub tawm Arduino IDE thiab Cov Tsev Yuav Tsum Muaj
Rub tawm Arduino IDE thiab Cov Tsev Yuav Tsum Muaj
Rub tawm Arduino IDE thiab Cov Tsev Yuav Tsum Muaj
Rub tawm Arduino IDE thiab Cov Tsev Yuav Tsum Muaj

Ua ntej tshaj, xyuas kom koj muaj Arduino IDE qhov tseeb los ntawm kev mus xyuas:

Tom qab ntawv xyuas kom tseeb tias koj txhim kho ESP32 arduino core kom raug los ntawm kev ua raws cov lus qhia ntawm GitHub nplooj ntawv ntawm no:

Rub tawm thiab teeb tsa lub tsev qiv ntawv tsav tsheb OLED rau ESP32 ntawm no:

Yog tias koj xav ua koj tus kheej font, koj yuav tsum siv lub tshuab hluav taws xob no:

Nyem tsim tom qab koj tau txiav txim siab yam font twg koj xav siv. Cov ntawv uas kuv siv yog lub tiaj Nimbus Mono L nrog 52 pixel siab. Tom qab koj tau teeb tsa txhua lub tsev qiv ntawv luam cov ntawv los ntawm lub tshuab hluav taws xob thiab luam nws. Tshawb xyuas koj lub khoos phis tawj rau cov ntaub ntawv npe oleddisplayfonts.h

Qhib nws nrog cov ntawv sau thiab muab tshuaj txhuam rau hauv koj tus lej cim rau saum thiab ua tib zoo saib lub npe vim tias koj yuav tsum tau luam nws rau hauv koj qhov program. Piv txwv li, lub npe ntawm kuv tus font yog "Nimbus_Mono_L_Regular_52"

Kauj Ruam 3: Ua Haujlwm Koj Cov ESP32 Chav

Program Koj Qhov ESP32 Chav
Program Koj Qhov ESP32 Chav

Nco ntsoov ntaus SSID thiab Password rau WiFi network koj yuav txuas rau.

Siv Arduino IDE los teeb tsa 5 txoj haujlwm sib txawv.

Kauj ruam 4:

Duab
Duab

Qhov ntawd yog nws! Nov yog txoj haujlwm zoo los pab koj kom paub txog qee qhov ESP32 kev ua haujlwm thiab kuv vam tias qhov no txhawb lwm tus los ua tej yam zoo sib xws.

Yog tias koj pom cov lus qhia no muaj txiaj ntsig, thov pov npav rau kuv hauv kev sib tw wireless.

Ua tsaug!

Pom zoo: