Cov txheej txheem:

Ntxiv WiFi Qhov Kev Sib Txuas AutoConnect rau qhov kos duab uas muaj: 3 Kauj Ruam
Ntxiv WiFi Qhov Kev Sib Txuas AutoConnect rau qhov kos duab uas muaj: 3 Kauj Ruam

Video: Ntxiv WiFi Qhov Kev Sib Txuas AutoConnect rau qhov kos duab uas muaj: 3 Kauj Ruam

Video: Ntxiv WiFi Qhov Kev Sib Txuas AutoConnect rau qhov kos duab uas muaj: 3 Kauj Ruam
Video: "Cov Lus Zais Tob Ntawm Txoj Kev Dawb Huv: Zaj Txuas Ntxiv" (Cov Yeeb Yaj Kiab Piv Txwv) 2024, Kaum ib hlis
Anonim
Ntxiv WiFi Qhov Kev Sib Txuas AutoConnect rau ib qho Sketch
Ntxiv WiFi Qhov Kev Sib Txuas AutoConnect rau ib qho Sketch

Hauv cov ntawv tshaj tawm tsis ntev los no, peb tau kawm txog AutoConnect feature rau ESP32/ESP8266 cov laug cam thiab ib qho ntawm cov lus nug tau nug txog yog ntxiv nws rau cov duab kos uas twb muaj lawm. Hauv kab ntawv no, peb yuav kawm paub yuav ua li cas thiab peb yuav siv lub sijhawm network ua haujlwm piv txwv.

Txij li muaj ntau tus lej uas yuav tsum tau theej, kuv xav kom saib cov vis dis aus kom kawm paub ntau ntxiv vim nws muaj txiaj ntsig ntau dua los saib nws hauv kev nqis tes ntau dua nyeem txog nws.

Kauj ruam 1: Rub tawm Sketches

Koj yuav tsum rub tawm thiab tau txais ob daim duab kos zoo li peb yuav siv lawv rau txoj haujlwm no. Pib los ntawm rub tawm lub network cov phiaj xwm phiaj xwm kos duab (E12) los ntawm qhov txuas hauv qab no:

Luam cov ntaub ntawv thiab hloov nws mus rau E16 vim tias yuav yog qhov kos duab zaum kawg rau qhov haujlwm no. -13

Tshem cov ntawv no ib yam thiab qhib ob daim duab hauv Arduino IDE.

Kauj ruam 2: Hloov kho Sketch

Tam sim no, peb yuav tsum luam qee cov cai los ntawm AutoConnect kos duab mus rau qhov kos duab tshiab (E16). Thov saib cov vis dis aus kom ua raws cov kauj ruam lossis lwm yam koj tuaj yeem rub tawm qhov kos duab zaum kawg siv qhov txuas hauv qab no:

Kauj ruam 3: Upload thiab Test

Tshaj tawm daim duab kos rau lub rooj tsavxwm siv cov kev hais uas tau hais hauv daim duab. Yog tias cov ntaub ntawv pov thawj network tau khaws cia ua ntej hauv lub flash, tom qab ntawd lub rooj tsavxwm yuav txuas mus rau WiFi network. Yog tias tsis yog, tom qab ntawd koj yuav tsum txuas mus rau qhov chaw nkag thiab teeb tsa lub network, ib yam li peb tau ua hauv AutoConnect video. Txhua yam ntxiv zoo ib yam yog li thov xa mus rau thawj kab ntawv kom paub siv AutoConnect lub tsev qiv ntawv, yog xav tau.

Txuas mus rau thawj daim ntawv tshaj tawm:

Pom zoo: