Cov txheej txheem:
- Kauj Ruam 1: Tau txais & Upload Sketch
- Kauj ruam 2: Txuas rau AP thiab Tswj WiFi
- Kauj Ruam 3: Rho Tawm WiFi Network
Video: Siv WiFi AutoConnect Nrog ESP8266/ESP32 Boards: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
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
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
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
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:
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
Pib Nrog ESP32 - Txhim kho ESP32 Boards hauv Arduino IDE - ESP32 Blink Code: 3 Cov Kauj Ruam
Pib Nrog ESP32 | Txhim kho ESP32 Boards hauv Arduino IDE | ESP32 Blink Code: Hauv cov lus qhia no peb yuav pom yuav pib ua haujlwm nrog esp32 thiab yuav ua li cas rau nruab esp32 cov laug cam rau hauv Arduino IDE thiab peb yuav ua haujlwm esp 32 kom khiav ntsais muag code siv arduino ide
Pib Nrog Esp 8266 Esp-01 Nrog Arduino IDE - Txhim Kho Esp Boards hauv Arduino Lub Tswv Yim thiab Kev Ua Haujlwm Esp: 4 Cov Kauj Ruam
Pib Nrog Esp 8266 Esp-01 Nrog Arduino IDE | Txhim Kho Esp Boards hauv Arduino Lub Tswv Yim thiab Kev Ua Haujlwm Esp: Hauv cov lus qhia no peb yuav kawm paub yuav teeb tsa esp8266 cov laug cam hauv Arduino IDE li cas thiab yuav ua haujlwm li cas esp-01 thiab tso cov lej rau hauv. qhov no thiab feem ntau ntawm cov neeg ntsib teeb meem
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
Lub Suab Siv Cov Khoom Siv Media Siv Alexa: 9 Kauj Ruam (nrog Duab)
Lub Suab Siv Cov Khoom Siv Media Siv Alexa: Chav tsim los ntawm no ua rau koj cov cuab yeej siv xws li TV, tshuab raj, CD thiab DVD players tswj nrog lub suab txib siv Alexa thiab Arduino. Qhov zoo ntawm chav tsev no yog tias koj yuav tsum tsuas yog muab lub suab lus txib. Chav tsev no tuaj yeem ua haujlwm nrog txhua yam khoom siv tha