Cov txheej txheem:

ESP32 Raws Sijhawm: 4 Kauj Ruam
ESP32 Raws Sijhawm: 4 Kauj Ruam

Video: ESP32 Raws Sijhawm: 4 Kauj Ruam

Video: ESP32 Raws Sijhawm: 4 Kauj Ruam
Video: ESP32 Web Sockets - Transferring Raw Image Data 2024, Kaum ib hlis
Anonim
Image
Image
Qhov Chaw & Tsev Qiv Ntawv
Qhov Chaw & Tsev Qiv Ntawv

Tutorial yuav tsim lub moos raws li esp32 nrog lub ntsej muag ua haujlwm, nrog kov lub pob, tsis muaj lwm qhov, tsis xav tau xov hluav taws xob/soldering

Kauj Ruam 1: Qhov Chaw & Tsev Qiv Ntawv

Qhov Chaw & Tsev Qiv Ntawv
Qhov Chaw & Tsev Qiv Ntawv

Qhov

  • ESP32 tus qauv nrog ua hauv OLED zaub (Amazon)
  • Ib lub micro USB cable

Tsev qiv ntawv

  • NTPTime.h ntawm no
  • SSD1306 rau esp ntawm no

Kauj ruam 2: Code

Ua ntej tshaj plaws kom ntseeg tau tias koj muaj pob esp32 ntxiv rau koj tus thawj tswj hwm (ua raws cov lus qhia ntawm no yog tias koj tsis ua).

Cov cai nyob ntawm github, txuas ntawm no.

Rub tawm nws lossis muab tshuaj txhuam nws tso rau hauv daim duab arduino. Nco ntsoov hloov ssid, password thiab sijhawm sijhawm.

Xaiv wemos lolin32 ua koj lub rooj tsavxwm thiab xa koj cov cai (yuav xav tau tuav lub khau raj thiab nias lub khawm ua ntej rub tawm).

Kauj ruam 3: Ua tiav

Ua tiav
Ua tiav
Ua tiav
Ua tiav

Tam sim no lub moos yuav tsum ua tiav. Txhawm rau hloov hnub pom, tsuas yog kov T1 lossis 0 tus pin ntawm qhov tshwj xeeb.

Kev txhim kho

Yog tias koj xav ua kom nws txias dua, koj tuaj yeem xaim xov hlau ntawm tus pin GPIO0, tom qab ntawv txuas cov hlau me me phaj/npib ntawm qhov kawg. Rwb thaiv cov hlau npog ntawm esp thiab kho lub phaj/npib muaj (nrog qee cov kua nplaum kub).

Teeb meem

Yog tias koj muaj lwm yam teeb meem tsis txhob yig tso lawv rau hauv cov lus.

Kauj Ruam 4: Cov neeg ua tim khawv

  • Kev cai oled fonts
  • Thawj lub tsev qiv ntawv ssd1306

Pom zoo: