Isikhokelo sokugqibela kwi-ESP8266
2024-04-19 3584

I-ESP8266 yi-wifi ye-chip ene-MUCE edityanisiweyo esungulwe kwiinkqubo ze-Espressimif ngo-2015I-ESP8266 isetyenziswe ngokubanzi kwi-Intanethi yezinto.Inokuqhagamshelwa kwi-microcontroller (efana ne-Arduino) ngonxibelelwano lwe-serial yonxibelelwano, ngaloo ndlela ufezekisa iimeko ezahlukeneyo zesicelo ezinje ngezibane ze-smart, izithuthi ezimkayo, kunye namakhaya alumkileyo.Kweli nqaku, siza kwazisa ulwazi malunga neempawu zalo, ulwakhiwo kunye nokusetyenziswa.Ke masiqale!

Ikhathalogu


Yintoni i-ESP8266?


ESP8266

I-ESP8266 yimodyuli enamandla ye-wifi.Idibanisa i-Ultra-i-ITUTE YOBUCHULEI-ESP8266 inokwenza imisebenzi kwiprogram ephambili ye-Arduino ye-Arduna yokubhala, kwaye idlulise idatha yemodyuli yokufunyanwa edityaniswe kwiBhodi yoPhuculo lwe-Arduno kwi-ESP8266.Ingaqokelelwa ngokuthe ngqo njengebhodi yophuhliso nge-Arduna.

Imodyuli esetyenziswayo esetyenziswayo ye-ESP826Wifi iphuhliswa yinkampani yasekhaya.Imodyuli ye-SP8266 ye-SP8266 iphuhliswe ngokwesiseko ibandakanya iimodeli ezininzi, ezahlulwe zanguchungechunge amathathu: i-ESP-01, kunye ne-EP-12.Ungcelele ngamnye lwahlulwa ngokwahlukeneyo.Ezona chipsi ziphambili zale modyuli ziyi-Esprestif'sss8266.Umahluko ophambili phakathi kweemodeli ezahlukeneyo linani le-IO Portos, ubukhulu bemodyuli, kunye namandla e-flash.Umthamo weflash uneenkcazo ezahlukeneyo ezinje nge-8MBIT kunye ne-32MBIT.

Iimpawu zemodyuli ye-ESP8266 yemodyuli


Imodyuli ye-ESP8266 inezi mpawu zilandelayo.

Ukusebenza ngokuzinzileyo


Inoluhlu lobushushu olubanzi lobushushu, lugcina ukusebenza ngokuzinzileyo, kwaye kungaziqhelanisa neendawo ezahlukeneyo zokusebenza.

Inkxaso yenkqubo yenethiwekhi


I-ESP8266 ixhasa i-TCP / IP Protocol Stack kwaye isebenzise imigaqo-nkqubo eqhelekileyo yenethiwekhi efana ne-http kunye ne-MQTT.Oku kwenza ukuba kubekwazi ukunxibelelana nokutshintsha idatha ngamaqonga eenkonzo, iiseva kunye nezinye izixhobo.

Uncedo lwamandla kunye nobungakanani


Imodyuli ye-ESP8266 isebenzisa i-3.3V yombane kwaye inobungakanani obuncinci kunye nephakheji ye-SMT, iyenza ilungele ukudityaniswa kweentlobo ezahlukeneyo zezixhobo ze-elektroniki.

Ukusetyenziswa kwamandla asezantsi


I-ESP8266 yenzelwe izixhobo zeselula, i-Inrouble ye-Eyrownic kunye nokusetyenziswa kwe-IOI, ukufezekisa ukusetyenziswa kwamandla e-Ultra ngenani leetekhnoloji yobuqu.Imowudi yayo yokonga amandla ilungele iimeko ezahlukeneyo zokusetyenziswa kwamandla eziphantsi.

I-GPIO PINS


Imodyuli ihlala inemipu emininzi ye-GPIO yokuqhagamshela izixhobo zangaphandle kunye nezinzwa.Ezi zikhonkwane zinokulungiswa njengamagalelo okanye iziphumo kwaye zinokusetyenziselwa ukulawula isekethe zangaphandle, funda idatha yesenzi, nangaphezulu.

Inkxaso yeMemori yangaphandle


Imodyuli idla ngokuxhasa inkumbulo yangaphandle ye-flash (iFlash) yokugcina isicelo, i-firmware, kunye nedatha yoqwalaselo.Oku kuvumela imodyuli ukuba ibe nefreyimu enkulu yokugcina ukuxhasa izicelo ezinzima kunye nokuqhubekeka kwedatha.

Isoftware ye-Ecosystem


Ngenxa yoluhlu lwayo olubanzi lweZicelo kunye neNkxaso yoLuntu e-ESP8266 ine-ecosystem yesoftware enesityebi.Abaphuhlisi banokunyusa iintlobo ezahlukeneyo zelayibrari evulekileyo, imigaqo-nkqubo, kunye nekhowudi yesampula yokuphuhlisa izicelo zokuqhubela phambili izicelo, kwaye ufumane inkxaso kunye nezisombululo ezivela ekuhlaleni.

Idityanisiwe kakhulu


I-SP8266 idibanisa i-Eriyanna Switch, i-32-bit tensililica iprosesa, i-Piblate yePrideral Prouqucation Amputy, Ingxolo ye-Amputer Amplifier, i-Filt kunye nemozulu yoLawulo lweMpu, ngaloo ndlela kunciphisa indawo yePCB.

Isinxibelelanisi sezixhobo zekhompyutha ye-ESP8266


Hardware interface of ESP8266

Isinxibelelanisi se-PWM


I-GPIO yezibuko ze-GP8266 ixhasa umsebenzi we-PWM, onokusetyenziselwa ukulawula ukuqaqamba kunye nesantya sezinto eziphangiweyo njengeemotontya kunye nezibane.

Isinxibelelanisi se-ADC


I-ESP8266 idibanisa i-adc yokuguqula imiqondiso ye-analog ibe yimiqondiso yedijithali.Isinxibelelanisi se-ADC sinokuqhagamshelwa kwizixhobo ze-analog ezifana njengeenzwane, iinqobo zokuziphatha ze-analog kwaye ziguqule zibe yidatha yedijithali.

I-GPIO Ports


I-ESP8266 ineendawo ezininzi ze-GPIO zokunxibelelana nezinye izixhobo zomdinga.I-GPIO Port ixhasa igalelo ledijithali kunye nemveliso kunye nemisebenzi ye-PWM, kwaye inokucwangciswa ukulawula i-peripherals ezahlukeneyo, ezinjengezibane ezikhokelayo, zidluliselwa, njl njl.

Isinxibelelanisi se-I2C


Isinxibelelanisi se-I2C sisinxibelelaniso se-I2C sisinxibelelanisi sonxibelelwano esinokuqhagamshela izixhobo ezininzi kwaye sisebenzisa iingcingo ezimbini (i-SDA kunye ne-SCL) yokufezekisa usulelo lwedatha.I-ESP8266 inokunxibelelana nezinye izixhobo ze-I2C, ezinje ngeenzwa, imiboniso, njl njl, ngemvumelwano ye-I2C.

Isinxibelelanisi se-SDIO


Isinxibelelanisi se-SDIO sisinxibelelanisi sedatha esiphezulu esisetyenziselwa ukufundela nokubhala kumakhadi e-SD kunye namakhadi e-MMC.I-ESP8266 ingaqhagamshelwa kwikhadi le-SD okanye ikhadi le-MMC ngonxibelelaniso lwe-SDIO ukugcina kunye nokufunda idatha.

Imbonakalo ye-UART


Umnxibelelanisi we-UAart luhlobo oluphambili lonxibelelwano lwe-ESP8266 kunye nezinye izixhobo.Inokuqhagamshelwa kwezinye izixhobo nge-RX kunye ne-TX.Ngokusebenzisa i-Intertion ye-UART, inokufumana usulelo lwedatha, ukwamkela kunye nokulawulwa kwezinzwa, iikhompyuter, ezinye izixhobo ezincinci kunye nezinye izixhobo.

Isinxibelelanisi seSPI


Isinxibelelanisi se-SPI sikwayindlela yokunxibelelana ye-serisis.Inokuqhagamshela izixhobo ezininzi kwaye isebenzise iingcingo ezine (miso, mosi, i-SCS kunye ne-SS) yokuhanjiswa kwedatha.I-ESP8266 inokunxibelelana nezinye izixhobo ze-SPI nge-spices, ezinje ngememori ye-flash, umboniso we-LCD, njl.

Indlela yophuhliso lwe-ESP8266


I-ESP8266 uthotho ngokubanzi lunendlela ezimbini zophuhliso, ezizezi kuphuhliso lomyalelo kunye nophuhliso lwe-SDK.

Ngokomyalelo


Umenzi uphethe kwangaphambili i-firmware kwi-chip ye-ESP8266 ngaphambi kokuba uphume umzi-mveliso, kwaye angenise i-WiFi ye-WiFi ukufezekisa umsebenzi wokudluliselwa okungaphakathi.Abasebenzisi kufuneka basebenzise i-USB ukuya kwimodyuli ye-TTL okanye kwizibuko le-serial ze-microcontroller yokufezekisa unxibelelwano nemodyuli ye-WiFi.Ngokuthumela kwimiyalelo, abasebenzisi banokulawula imodyuli ye-WiFi.

Uphuhliso lwe-SDK


Ukususela kwi-ESP8266 ngokwayo yi-chip enokufikeleleka, inokuthathwa njenge-microcontroller ngemisebenzi yonxibelelwano engenazingcingo.Abasebenzisi kufuneka babhale inkqubo ehambelanayo kwi-lideli ekhethekileyo kwaye babhale inkqubo kwi-chip nge-firmmware evuthayo.Ke ngoko, ukumiliselwa kwe-wifi, kufuneka senze ngokwezifiso i-wifi ye-WiFi.Oku kufuna ukuba abasebenzisi babe nenqanaba eliphezulu lolwazi olufanelekileyo.

Ubume be-ESP8266


Structure of ESP8266

Njengoko kunokubonwa kumfanekiso, i-esp8266 i-chip idibanisa i-CPU kwaye yinkqubo ye-32-bit.Isebenza njenge-WiFi Protor Proprocer kunye neprosesa yesicelo.Eyona nto iphambili kule prosesa ixhasa ii-frequency ezimbini: i-80mhz kunye ne-160mhz.Abaphuhlisi banokubhala izicelo kwaye babakhuphele kwiChip.Iprosesa iyakwazi ukuqhuba ezi zicelo zibhalwe ngabaphuhlisi.Ezi zicelo zilungiselelwe kwi-SPI iflash ngaphandle kwe-chip kwi-Uarth Preen kwi-Iart0 ye-ESP enikezwe isixhobo se-ESP se-Esp Esp.Kufanelekile ukuba uqaphele ukuba inkumbulo ye-flash ayidityaniswa ngaphakathi kwe-chip, ke ifutha le-SPI yangaphandle iyafuneka.Okwangoku, ixhasa ubungakanani bobukhulu bememori yeFlash: 512kb, i-1024kb, 2048kb kunye ne-4096kb.

Zithini iindlela zokusebenza ze-ESP8266?


Le modyuli ineendlela ezintathu zokusebenza, i-AP ye-AP, Imowudi ye-Stand kunye ne-AP ye-AP.

Imowudi ye-AP


Imodyuli ye-ESP8266 isebenza njenge-hotspot, kwaye ifowuni iqhagamshelwe ngqo kwimodyuli yokufezekisa ulawulo olungenazingcingo ngaphezulu kwe-LAN.

Imowudi


Imodyuli ye-ESP8266 iqhagamshelwe kwi-Intanethi nge-router, ivumela ifowuni okanye ikhompyuter ivumela ukuba ilawule kakhulu isixhobo kwi-Intanethi.

Imowudi ye-PFY


Le yeyona ndlela yokudibana enokuthi ifumane ukutshintshwa okungenamthungo kulawulo lwe-Intanethi, ngaloo ndlela kubonelele ngamava afanelekileyo okusebenza.

Zithini izinto zesicelo se-ESP8266?


I-Automation Automast


Imodyuli inokusetyenziselwa ukubeka iliso nokulawula izixhobo ezahlukeneyo kunye neenkqubo zokuqonda ukubeka iliso kulawulo olude kunye nokuzenzekelayo.

Inethiwekhi ye-Wireless


Imodyuli inokusetyenziselwa ukuseka uthungelwano lwenzwakazi engenantambo besebenzisa ukusetyenziswa kwamandla ephantsi kunye nekhowudi encinci yokubeka i-parameters efana neqondo lokusingqongileyo njengeqondo lokushisa, ukukhanya, njl njl.

Inkqubo yokubeka iliso kude nenkqubo


Ngokudibanisa i-ESP8266 kwisixhobo, sinokuqonda ukubek'esweni okude nokulawula isixhobo.Nokuba siphi, sinokufikelela nokulawula ezi zixhobo nangaliphi na ixesha ixesha elide njengoko sinonxibelelwano olufanelekileyo lwenethiwekhi kunye nezixhobo.

Ikhaya lobulumko


I-ESP8266 ingasetyenziselwa ukulawula izixhobo ezahlukeneyo ekhaya, ezinje ngeenkqubo zokhuseleko, iinkqubo zokukhanyisa kunye neenkqubo zokulawula ubushushu.Iyakwazi ukuqhagamshela kwinethiwekhi yasekhaya nge-Wi-fi yokubeka iliso ekude kunye nolawulo.

Izixhobo ze-IIO kunye nezinzwa


I-ESP8266 inokudityaniswa kwizixhobo ezahlukeneyo ze-IOI kunye nezinzwa, zibenza ukuba ziqhagamshele kwi-Intanethi nge-Wi-Fi.Oku kubandakanya iindawo ezinje ngamakhaya alumkileyo, ezenzekelayo, kunye nezixeko ezimkayo.

Imfundo kunye noPhando lweMfundo:


Ngenxa yokuncipha kwayo kunye neempawu ezinamandla, i-ESP8266 isetyenziswe ngokubanzi kwimfundo kunye nophando lokufunda, ukuba sisixhobo esibalulekileyo sokufunda, ukuba sisixhobo esibalulekileyo sokufunda, iqonga lokuziqhelanisa kwicandelo le-i-IIOD kunye nophuhliso lwenkqubo efakelweyo.Kwiiyunivesithi ezinkulu kunye namaziko emfundo, i-ESP82266 isetyenziswa ngokubanzi kwiinkqubo zokufundisa kunye nophando ukunceda abafundi kunye nabaphandi bafunda kwaye befumana i-inkosi yenkqubo yophuhliso.






Imibuzo ebuzwa rhoqo [i-FAQ]


1. Yintoni i-ESP8266 esetyenziselwa?


I-ESP8266 yinkqubo kwi-chip (SOC) ye-Wi-Fi Microchip yeZinto zeZinto (iOiot) izicelo eziveliswa ziinkqubo ze-Esprediif.Ngenxa yeendleko zayo eziphantsi, ubukhulu obuncinci kunye nokuziqhelanisa nezixhobo ezifakelweyo, i-ESP8266 ngoku isetyenziswa kakhulu kwizixhobo ze-IIO.

2. Ngaba i-ESP8266 i-Arduino?


I-ES32 kunye ne-ESP8266 iibhodi ziibhodi zeqela lesithathu.Ifu le-ArduIo ixhasa zombini ii-ariat ii-IOs0 kodwa azinakuqinisekisa ukuba iibhodi ezithile ezisekwe kulo msebenzi we-SOSS.Uluhlu lweebhodi ezivavanyiweyo kunye nezixhasiweyo zophuhliso oluxhaswe ngokusemthethweni zifumaneka apha.

3. Ngaba i-ESP32 ithathe indawo ye-ESP8266?


Amasango amadala ane-chip8266 ngaphakathi, nangona kunjalo kunokwenzeka ukuba ahlaziye isango lakho le-ESP8266 yesango le-ESP82 le-ESPE linamandla e-ESP32.Ukuba awufuni ukuphucula isango lakho nge-EMS-i-ESP32, 'i-'ley' i-'mdala 'isebenza njengoko kunjalo.

4. Kutheni i-ESP8266 ithandwa kangaka?


Ewe, iphantsi.Njengale nqaku, le nqaku, i-5 ye-5 ye-ESP8266 ihamba kancinci kunezingenzi-ngaphandle-kwi-a-cannon.Kuthetha ii-cannons zenzwane ezisetyenziswayo zihlala zenziwa ngeendlela zexabiso eliphantsi kuba iya kuba ingenamsebenzi emva kokuba i-cannon isungulwe.Nangona kunjalo, i-ESP8266 iseyinto ebi kakhulu kuneso senzwane.

NGATHI Ukoneliseka kwabathengi ngalo lonke ixesha.I-Trual Trust kunye nezinto eziPhilayo. I-ARIAT ITekhnoloji iseke ubudlelwane bexesha elide kunye nokuzinza okuzinzileyo kunye nabavelisi abaninzi kunye nabathengisi.
Umsebenzi wokuvavanya.Ezona mveliso zinendleko ziphezulu zexabiso kunye neyona nkonzo ilungileyo kukuzinikela kwethu ngonaphakade.

Imeyile: I-Info@ariat-tech.comI-HK TEL: +00 852-30501966ADD: Rm 2703 27F Ho King Comm Centre 2-16,
I-Fa Yuen St MongKok Kowloon, Hong Kong.