Esp8266 ndi chip ndi cholumikizidwa ndi maccu oyambitsidwa ndi macressif kachitidwe ka espressif.Ep8266 imagwiritsidwa ntchito kwambiri pa intaneti ya zinthu.Itha kulumikizidwa ndi microconler (monga ardeino) kudzera mu mawonekedwe oyankhulana kwa seri, pozindikira zochitika zosiyanasiyana zantchito monga magetsi anzeru monga magetsi anzeru, ndi nyumba zanzeru.Munkhaniyi, tidziwitsa zidziwitso za machitidwe, kapangidwe ndi ntchito.Ndiye tiyeni tiyambe!
Kataloji
Esp8266 ndi gawo lamphamvu la wifi.Zimaphatikizira kugwiritsa ntchito mphamvu yotsika 32-bit micro mcc (imodzi chip mucrocomputer), pafupipafupi 80mhz ndi 160mhz, ndipo imatha kuyendetsa RSOS.Ep8266 imatha kupanga ntchito mu pulogalamu yayikulu ya malingaliro a Ardue kuti alembe, ndikufalitsa deta ya gawo lolumikizidwa ndi Arduino Central Board kupita ku seva kudutsa ku Esping8266.Itha kupangidwanso mwachindunji ngati bolodi yotsogola kudzera muzofunikira kwa Ardue.
Thesp8266656Wii gawo limapangidwa ndi kampani yanyumba.Gawo la Esp8266 lomwe limapangidwa ndi Elisencence limaphatikizapo zitsanzo zambiri, zogawanika zitatu: esp-01, Esp-07, ndi Esp-12.Mndandanda uliwonse umagawidwa ndi zokwanira.Makoma akuluakulu a ma module awa ali Epsites's Espres8666.Kusiyana kwakukulu pakati pa mitundu yosiyanasiyana ndi kuchuluka kwa madoko a IO, kukula kwa module, komanso kuwaza.Kutha kwa Flash kuli ndi mitundu yosiyanasiyana monga 8MBti.
Module ya Esp826 ili ndi izi.
Ntchito yokhazikika
Imakhala ndi njira yoyendera kwambiri, imagwira ntchito yokhazikika, ndipo imatha kuzolowera malo ogwirira ntchito.
Kuthandizira kwa Netwoloko
Esp8266 imathandizira TCP / IP protocol stack ndipo imatha kukhazikitsa ma protocol ofala monga http ndi Mqtt.Izi zimapangitsa kuti zigwirizane ndi kusinthanitsa deta yokhala ndi nsanja yautumiki, maseva ndi zida zina.
Mphamvu ndi kukula kwake
Module ya Esp8266 nthawi zambiri imagwiritsa ntchito magetsi a 3.3V ndipo ili ndi kukula kocheperako komanso phukusi la SMT, ndikupangitsa kukhala koyenera kuphatikiza mitundu yosiyanasiyana ya zida zamagetsi zamagetsi.
Magetsi ochepera
Esp8266 imapangidwa kuti ikhale yazankho lam'manja, zamagetsi zamagetsi ndi maofesi a IOT, ndikukwaniritsa kugwiritsa ntchito mphamvu yotsika kwambiri kudzera mwamisiri yofunika kwambiri.Njira yake yopulumutsira mphamvu ndi yoyenera ma prenarios osiyanasiyana.
GPIO Zikhomo
Gawoli nthawi zambiri limakhala ndi zikhomo zingapo za GPIO zolumikiza zida zakunja ndi masensa.Zikhomo izi zitha kukhazikitsidwa ngati zotchinga kapena zotuluka ndipo zitha kugwiritsidwa ntchito poletsa madera akunja, werengani deta ya sensor, ndi zina zambiri.
Thandizo lakunja
Gawo lomwe limathandizira kukumbukira zakunja (Flash) kuti musunge ntchito, firrere, ndi deta yosintha.Izi zimathandiza kuti gawo likhale lotalikirana lalikulu kuti lithandizire ntchito zovuta komanso kukonza deta.
Mapulogalamu a Ecosystem
Chifukwa cha kugwiritsa ntchito mitundu yosiyanasiyana ndi thandizo la anthu ammudzi, Esp8266 ali ndi mapulogalamu olemera.Opanga mapulogalamuwo amatha kuyesa mitundu yotseguka mitundu, a Frameworks, ndi nambala yachitsanzo yopanga mwachangu mapulogalamu, ndikupeza chithandizo ndi mayankho ochokera mdera.
Ophatikizidwa kwambiri
SP8266 imagwirizanitsa antenna switches, 32-biredica pusser, radio frequent penti ya digito, phokoso lowongolera, ndikupanga madera ocheperako, ndipo amachepetsa malo a PCB.
PWM mawonekedwe
Doko la GPIIO la Esp8266 limathandizira ntchito pwm, lomwe lingagwiritsidwe ntchito kuwongolera kuwala ndi kuthamanga kwa zotumphukira monga mota ndi magetsi.
ADC imani
Esp8266 imaphatikiza ADC kuti musinthe ma andalog zizindikiro kukhala zizindikiro za digito.Maonekedwe a ADC amatha kulumikizidwa ndi zida za Analog monga masensa, kuwerenga malingaliro a Anallog ndikuwasintha kukhala deta ya digito.
GPIO madoko
Esp8266 ili ndi madoko angapo a GPIO kuti agwirizane ndi zida zina zotumphukira.Doko la GPIII limathandizira kubweretsa digito ndi ntchito pwm ntchito, ndipo imatha kupangidwa kuti aziwongolera zopinga zosiyanasiyana, monga kuwala kwa ants, kubweza, etc.
I2C mawonekedwe
Mawonekedwe a I2C ndi mawonekedwe oyankhulirana omwe amatha kulumikiza zida zingapo ndikugwiritsa ntchito mawaya awiri (SDA NDI SCL) kuti mukwaniritse kufalikira kwa deta.Esp8266 imatha kulumikizana ndi zida zina za I2C, monga masentimita, zowonetsera, etc., kudzera mu mawonekedwe a I2C.
Sdio mawonekedwe
Mawonekedwe a SDIO ndi mawonekedwe othamanga kwambiri ochulukirapo omwe amagwiritsidwa ntchito powerenga ndi kulemba pamakhadi a SD ndi makadi a MMC.Esp8266 imatha kulumikizidwa ndi khadi ya SD kapena khadi la MMC kudzera mu mawonekedwe a SDIO kuti musunge ndikuwerenga deta.
Uvart mawonekedwe
Interface ya UARE ndiyo mawonekedwe Aakulu olumikizana pakati pa Esp8266 ndi zida zina.Itha kulumikizidwa ndi zida zina kudzera mu RX ndi TX zikhomo.Kudzera mu mawonekedwe a ufa wa UART, Itha kuzindikira kufalitsa deta, kulandirira ndi kuwongolera ndi masensa, makompyuta, zina zopezeka microvert ndi zida zina.
SPI
Mawonekedwe a SPI ndi mawonekedwe oyankhulana.Imatha kulumikiza zida zingapo ndikugwiritsa ntchito mawaya anayi (Misa, MosI, SCK ndi SS) pakugulitsa deta.Esp8266 imatha kulumikizana ndi zida zina za SPI kudzera mu mawonekedwe a SPI, monga kukumbukira, kuwonetsa kwa LCD, etc.
Zolemba za Esp8266 Nthawi zambiri zimakhala ndi njira ziwiri zachitukuko, ndiye kuti polamula ndi chitukuko cha SDK.
Pa likulu
Wopanga adawotcha firmarere pa chip pa chip cha Esp8266 chisanacho kusiya fakitale, ndikuyika masitepe a wifi protocol kuti muzindikire ntchito.Ogwiritsa ntchito amangofunika kugwiritsa ntchito USB gawo la TTL kapena doko la seroctorverleler kuti athe kulumikizana ndi gawo la wifi.Potumiza malamulo, ogwiritsa ntchito amatha kuwongolera gawo la wifi.
Kukula kwa SDK
Popeza esp8266 yokha ndi pulogalamu ya mapulogalamu, imatha kuonedwa ngati microcontroller yokhala ndi mayanjano opanda zingwe.Ogwiritsa ntchito ayenera kulemba pulogalamu yolingana ndi mfundo zapadera ndikulemba pulogalamuyo m'chip ndi firtere yoyaka.Chifukwa chake, kukhazikitsa kulumikizana kwa WiFi, tifunika kusintha makonda a WiF Protocol.Izi zimafuna ogwiritsa ntchito kukhala ndi chidziwitso chokwanira.
Monga tikuwonera pa chithunzicho, chipike cha Espi8266 chimagwirizana ndi CPU ndipo ndi purosesa ya 32.Imagwira ntchito ngati purosesa ya wifi protocol ndi purosesa yogwiritsa ntchito.Kuthamanga kwakukulu kwa purosesayi kumathandizira maulendo awiri: 80mhz ndi 160mhz.Opanga amatha kulemba ndikutsitsa ku chip.Purosesa imatha kuyendetsa ntchito izi zolembedwa ndi otukuka.Mapulogalamu awa amakonzedwa ku spit flack kupita ku chip kudzera mu mawonekedwe a Uport0 kudzera mu chida choperekedwa kwa ESS Frow Download download.Ndikofunika kudziwa kuti kukumbukira ku Flash sikuphatikizidwa mkati mwa chip, kotero kuti sikuti ya space yakunja ndiyofunika.Pakadali pano, imathandizira kukula kanayi kwa Memory: 512kb, 1024kb, 2048Kbond ndi 4096kb.
Module iyi ili ndi mitundu itatu yogwira ntchito, mawonekedwe a AP, masitepe a sta ndi sta.
AP mode
Module ya Esp8266 imagwira ntchito ngati hotspot, ndipo chipangizocho chimalumikizidwa mwachindunji ndi gawo kuti athe kuwongolera opanda zingwe pa LAN.
Masitepe Sta
Module ya Esp8266 imalumikizidwa ndi intaneti kudzera pa rauta, kulola foni yam'manja kapena kompyuta kupita ku intaneti kudzera pa intaneti.
Makina a AP
Uwu ndi njira yolumikizira yomwe ingayambitse kusintha kosakhala kosakhala pakati pa intaneti, motero kumapereka mwayi wogwira ntchito.
Makina oyendetsa mafakitale
Gawo lingagwiritsidwe ntchito kuwunika ndikuwongolera zida zosiyanasiyana komanso njira zowunikira zakutali ndi zokhazokha.
Ma netreor solror
Gawo lingagwiritsidwe ntchito kukhazikitsa ma networ osowa a waya pogwiritsa ntchito kumwa pang'ono ndi malo ocheperako kuwunika magawo, chinyezi, kuwala, ndi zina.
Kuwunika Kwakutali ndi Kuwongolera
Mwa kuphatikiza esp8266 mu chipangizocho, titha kuzindikira kuwunikira zakutali ndi kuwongolera chipangizocho.Ziribe kanthu komwe tili, titha kugwiritsa ntchito ndikuwongolera zida izi nthawi yonseyi bola tili ndi kulumikizana koyenera ndi zida.
Nyumba yanzeru
A Esp8266 itha kugwiritsidwa ntchito kuwongolera zida zamitundu mitundu, monga njira zachitetezo, njira zopepuka ndi njira zowongolera.Imatha kulumikizana ndi intaneti yapanyumba kudzera pa Wi-Fi ya kuwunikira zakutali ndi kuwongolera.
Zida ndi masensa
Epist8266 itha kuphatikizidwa ndi zigawo zosiyanasiyana za iot ndi masensa, zomwe zimawapangitsa kuti mulumikizane ndi intaneti kudzera pa intaneti kudzera.Izi zikuphatikiza madera monga nyumba zanzeru, kugwiritsa ntchito zokhazokha, ndi mizinda yanzeru.
Maphunziro ndi Kafukufuku Wophunzira:
Chifukwa cha kugwiritsidwa ntchito kwake kosagwiritsidwa ntchito komanso mwamphamvu, Esp82666 yagwiritsidwa ntchito kwambiri pamaphunziro ndi kafukufuku wophunzirira, kukhala chida chofunikira chophunzirira ndipo amapikisana ndi dongosolo la zidole.M'mayunivesite akuluakulu ndi maphunziro apamwamba, Esp8266 imagwiritsidwa ntchito pophunzitsa ophunzira ndi mapulogalamu kuthandiza ophunzira ndi ofufuza amaphunzira ndi luso lakale la chitukuko.
Nthawi zambiri mafunso [FAQ]
1. Kodi Esp8266 amagwiritsidwa ntchito bwanji?
Esp8266 ndi dongosolo pa chip (Soc) Wi-fimchip la pa intaneti (iot) ntchito zopangidwa ndi espressif kachitidwe.Popeza ndi mtengo wake wotsika, kukula kochepa ndikusinthidwa ndi zida zophatikizika, Esp8266 ikugwiritsidwa ntchito kwambiri kudutsa zida zamagetsi.
2. Kodi Epit8266 ndi arruiiiiiiiiiiiiiiiiie?
Ndipo mabodi a Espti8266 ndi matabwa achitatu.Mtambo wa Arduino umathandizira ma v a ariat koma sangatsimikizire kuti mabodi ena otengera ntchito.Mndandanda wamabodi oyesedwa komanso oyesedwa moyenera akhoza kupezeka pano.
3. Kodi esp32 ikhoza kusintha kusintha kwa Esp8266?
Zida Zakale zimakhala ndi chipika cha Esp82666 mkati, komabe ndizotheka kusintha chipata chanu cha Esp8266 kupita ku Wamphamvu wamphamvu wa Esp32.Ngati simukufuna kukweza chipata chanu ndi EMS-Esp32, Firmware 'wakale' ikadalibe.
4. Kodi nchifukwa ninji Epit8266 ili yotchuka?
Inde, ndizotsika mtengo.Monga chomwe nkhaniyi ikutchulidwa, $ 5 esp8266 imakhala yotsika mtengo kuposa ma sensoni-a-carnon.Zimatanthawuza zimbudzi zomwe zimagwiritsidwa ntchito nthawi zambiri zimapangidwa ndi mtengo wotsika mtengo chifukwa zikhala zopanda ntchito zikadzayambitsidwa.Ngakhale, Esp8266 idakali yotsika mtengo kuposa sensor.