Cov txheej txheem:

Siv WiFi AutoConnect Nrog ESP8266/ESP32 Boards: 3 Kauj Ruam
Siv WiFi AutoConnect Nrog ESP8266/ESP32 Boards: 3 Kauj Ruam

Video: Siv WiFi AutoConnect Nrog ESP8266/ESP32 Boards: 3 Kauj Ruam

Video: Siv WiFi AutoConnect Nrog ESP8266/ESP32 Boards: 3 Kauj Ruam
Video: Qhia hu nkauj kaw nkauj hauv smule zoo heev. 2024, Kaum ib hlis
Anonim
Siv WiFi AutoConnect Nrog ESP8266/ESP32 Boards
Siv WiFi AutoConnect Nrog ESP8266/ESP32 Boards

Peb yuav kawm paub siv AutoConnect lub tsev qiv ntawv uas tso cai rau peb txuas mus rau thiab tswj WiFi cov ntsiab lus nkag mus siv lub xov tooj.

Cov vis dis aus saum toj no yuav coj koj mus rau cov txheej txheem nrog rau ntau cov ntxaij vab tshaus uas koj xav tau nkag mus kom paub txog AutoConnect lub tsev qiv ntawv. Cov ntawv sau no yuav tsuas yog piav qhia nws luv luv.

Kauj Ruam 1: Tau txais & Upload Sketch

Tau Txais & Upload Sketch
Tau Txais & Upload Sketch
Tau Txais & Upload Sketch
Tau Txais & Upload Sketch
Tau Txais & Upload Sketch
Tau Txais & Upload Sketch

Thaum ESP32 pawg thawj coj saib khau, nws kuaj xyuas seb puas muaj cov ntaub ntawv pov thawj network yav dhau los tau khaws cia hauv FLASH. Los ntawm lub neej ntawd, nws yuav sim txuas rau lawv thiab yog tias ua tiav ces nws yuav luam tus IP chaw nyob rau hauv Serial chaw nres nkoj. Koj daim duab kos yuav ua haujlwm zoo li qub. Yog tias nws tsis muaj peev xwm txuas rau WiFi network nws yuav tsim ib qho chaw nkag uas koj tuaj yeem txuas rau thiab tswj hwm WiFi cov ntaub ntawv pov thawj.

Cia peb pib los ntawm kev txhim kho cov tsev qiv ntawv xav tau hauv Arduino IDE. Peb yuav tsum tau teeb tsa lub tsev qiv ntawv AutoConnect. Qhib tus thawj tswj tsev qiv ntawv thiab ntaus hauv AutoConnect. Nruab ib lub tsev qiv ntawv uas tshwm tuaj. Lub tsev qiv ntawv AutoConnect xav tau PageBuilder lub tsev qiv ntawv rau nws kom ua haujlwm yog li ntaus hauv PageBuilder thiab nruab qhov ntawd ib yam. Tom qab ntawd, rub tawm thiab qhib qhov kos duab rau qhov haujlwm no.

Txuas mus kos duab:

Koj tsis tas yuav hloov dab tsi hauv daim duab tab sis yog tias koj xav tau, tom qab ntawd koj tuaj yeem muab lub npe sib txawv rau koj pawg thawj coj. Tam sim no yog lub sijhawm los rub tawm daim duab. Txuas lub rooj tsavxwm siv daim duab saum toj no, qhib lub davhlau ya nyob twg thiab nias lub pob pib dua. Koj yuav tau txais cov lus qhia tias pawg thawj coj tau npaj kom tau txais cov cai. Ntaus lub pob upload thiab tos kom nws ua tiav. Khaws lub davhlau ya nyob twg qhib, tshem lub khau raj jumper thiab nias lub pob pib dua.

Hauv qhov no, ob yam yuav tshwm sim. Yog tias cov ntaub ntawv xov xwm yav dhau los tau khaws cia hauv lub cim xeeb nco tom qab ntawv pawg thawj coj yuav txuas rau lub network thiab luam tawm tus IP chaw nyob thiab lub npe hostname. Qhov no, koj tsis tas yuav ua dab tsi. Yog tias koj xav lwv cov ntaub ntawv khaws cia khaws cia ces koj yuav tsum lwv lub cim xeeb FLASH thiab cov vis dis aus muaj cov lus qhia rau koj ua qhov no. Txawm li cas los xij, yog tias nws yog pawg thawj coj tshiab lossis yog tias tsis muaj cov ntaub ntawv siv tau ces nws yuav tsim ib qho chaw nkag.

Kauj ruam 2: Txuas rau AP thiab Tswj WiFi

Txuas rau AP thiab Tswj WiFi
Txuas rau AP thiab Tswj WiFi
Txuas rau AP thiab Tswj WiFi
Txuas rau AP thiab Tswj WiFi
Txuas rau AP thiab Tswj WiFi
Txuas rau AP thiab Tswj WiFi

Yog tias pawg thawj coj tsis tuaj yeem txuas rau WiFi network ces nws yuav tsim qhov chaw nkag hu ua "esp32ap" thiab qhov no ib txwm tshwm tom qab li 30 vib nas this. Txuas mus rau nws los ntawm kev siv tus password tsis raug ntawm 12345678. Nws yuav tsum hloov pauv koj mus rau nplooj ntawv tswj hwm lossis lwm yam, koj tuaj yeem siv tus IP chaw nyob 172.217.28.1 kom tau nws. Nplooj ntawv muab koj qee cov ntaub ntawv hais txog pawg thawj coj saib xws li MAC chaw nyob, xwm txheej nco thiab lwm yam. Cov ntawv qhia zaub mov muab rau koj ntau txoj hauv kev: Lub peev xwm los teeb tsa cov ntsiab lus nkag tshiab lossis cov tes hauj lwm. Saib cov SSIDs lossis tes hauj lwm tau txais kev cawmdim. Txiav tawm ntawm lub network tam sim no. Pib dua lossis rov pib dua lub rooj tsavxwm. Hloov thaj tsam sijhawm. Thiab tseem mus rau nplooj ntawv hauv tsev uas yooj yim qhia lub sijhawm.

Coj mus rhaub teeb tsa kev xaiv AP tshiab. Xaiv qhov nkag los ntawm cov npe thiab ntaus tus password. Thaum ua tiav, nyem thov thiab pawg thawj coj yuav tsum txuas rau lub network thiab muab cov ntsiab lus network raws li qhia hauv cov duab. Tus IP chaw nyob kuj tseem yuav luam tawm mus rau lub davhlau ya nyob twg nrog rau lub npe hostname.

Lwm lub sijhawm koj khau raj lub rooj tsavxwm, nws yuav txuas rau WIFI network thiab koj daim duab yuav ua haujlwm raws li qhov xav tau.

Kauj Ruam 3: Rho Tawm WiFi Network

Rho tawm WiFi Networks
Rho tawm WiFi Networks

Kuv tsis tau pom txoj hauv kev yooj yim los lwv cov ntaub ntawv khaws tseg SSID los ntawm nyem los ntawm kev siv nplooj ntawv tswj hwm. Ib txoj hauv kev los ua qhov no yog los ntawm kev rov kho lub rooj tsavxwm rau lub Hoobkas tsis ua haujlwm los ntawm kev siv esptool uas tuaj yeem siv tau ntawm Windows thiab Mac. Ua qhov no txhais tau tias koj yuav tau xa koj daim duab dua. Yog tias koj tab tom khiav Windows ces muaj txoj hauv kev yooj yim dua rau koj ua qhov no. Koj tuaj yeem rub tawm thiab teeb tsa ESP32 Flash Download tool. Daim vis dis aus qhia koj yuav siv lub cuab yeej no li cas. Lub nyem rub lub cuab yeej tsis ua haujlwm rau Mac yog li qhov kev xaiv uas koj muaj yog siv esptool. Koj yuav tsum tau teeb tsa nws ua ntej los ntawm kev siv lub davhlau ya nyob twg thiab tom qab ntawd koj tuaj yeem tshem tawm cov nyem los ntawm kev qhia chaw nres nkoj. Ib zaug ntxiv, thov saib cov vis dis aus rau cov lus txib thiab yuav siv lawv li cas.

Txuas mus kos duab:

Yog tias koj nyiam qhov tshaj tawm no, tom qab ntawd tsis txhob hnov qab ua raws peb siv cov kab ntawv txuas hauv qab no vim peb yuav tsim ntau txoj haujlwm ntxiv zoo li qhov no:

  • YouTube:
  • Koj li xyoob ntoo Instagram:
  • Facebook:
  • Twitter:
  • BnBe Lub Vev Xaib:

Pom zoo: