Wemos: da allon cigabanku tare da ESP8266

Wemos D1 Mini

Idan kun tuna, mun riga mun gabatar da ESP8266 guntu, IC mai amfani sosai don haɗin WiFi don amfani dashi a cikin ayyukanku tare da Arduino. Yanzu lokacinka ne juya zuwa Wemos D1, kwamitin da ya hada da wannan guntu guda kuma wannan ma yana da matukar amfani ga dumbin ayyukan DIY. Idan kuna so, zaku iya samun takardu don wannan kwamitin daga tashar yanar gizon Wemos, inda zaku iya samun dama daga nan.

Te Ina ba da shawarar ganin labarinmu akan ESP8266 cewa na sanya a cikin hanyar haɗin da ta gabata, tunda in ba haka ba, lokacin farawa da Wemos D1 zaku ɗan sami hasara sosai idan baku da tushe. Hakanan yakamata ku ga sauran jagorarmu akan NodeMCU, wanda ke da alaƙa da ESP8266 kuma tare da wannan sauran abubuwan da muke ma'amala da su a yau. A cikin waɗannan labaran biyu kuma zaku sami misalai na lamba don iya shirya ESP8266, dakunan karatu masu buƙata don Arduino IDE, da sauransu.

Wemos

Yana da Alamar kasar Sin da ke ƙerawa irin wannan allunan cigaban lantarki da garkuwar su daga shafin yanar gizo. Kuna iya samun samfuran Wemos D1.

Wemos D1

Wemos D1 Mini da Pro

Akwai faranti masu ban sha'awa guda biyu wadanda Wemos suka bayar, ɗayan Wemos D1 ɗayan kuma ƙanwarta ce Wemos D1 Mini, wanda ya fi ƙanƙanci, ko wasu nau'ikan da suka fi tsada kamar Pro (tare da filashi 16M maimakon 4M), da dai sauransu. Ga mutane da yawa, ɗayan ɗayan kwamitocin ci gaba ne da suka fi so don guntu na ESP8266, koda a saman NodeMCU, ko wasu kayayyaki tare da ESP8266, don wasu aikace-aikace.

A cikin labarin NodeMCU da ESP8266 da na nakalto, zaku iya koya cewa guntu ESP8266 za a iya haɗa shi cikin wasu kayayyaki kamar ESP12, ESP12E, da dai sauransu. Game da Wemos D1 Mini, ya fi girma girma fiye da kai tsaye ta amfani da ESP12 ba tare da ƙari ba, tare da girman 34.2 × 25.6mm da gram 3 na nauyi.

Amma idan kayi amfani da ESP12, zaku sami gazawa da yawa. Tare da Wemos D1 Mini kuna da fa'idodi da ƙari kamar a microUSB tashar jiragen ruwa da serial converter don haɗin ku Hakanan ya haɗa da mai sarrafa wutar lantarki don ciyar da shi kai tsaye tare da soket na 5du na Arduino, kuma da'irar ciki za ta kula da wuce waɗancan volts ɗin zuwa ƙarfin da injin ɗin yake buƙata.

Wani fa'idar Kayan Wemos shine suka yarda faɗaɗa ayyukanta da garkuwoyi, wanzu suna da yawa don sarrafa injina (direbobi), jigilar bayanai, OLED fuska, zafin jiki da sanyin firikwensin, PIR, maɓalli, da dai sauransu. Wato, yana ba ku wurare da yawa don amfani da waɗannan abubuwan haɗin tare da sarrafawa daga Intanet ko a cikin hanyar sadarwar WAN.

Ko da yake ba komai shine fa'ida baAkasin haka, tana da ƙaramin adadin fil da ke akwai, tare da GPIOs 11 idan aka kwatanta da 17 ɗin da kuke da su a wasu matakan kamar ESP12 ko NodeMCU. Koyaya, wannan bai kamata ya zama babbar matsala ba, tunda yawancin aiyuka basa buƙatar sama da waɗannan fil 11, kodayake komai zai dogara da abin da kowane mai amfani yake buƙata ...

Fasali, farashi, da farashi

Kasancewa bisa ga ESP12E, raba fasaliSaboda haka, zan baku taƙaitawa a nan:

  • Yana aiki cikin saurin 80 zuwa 160Mhz.
  • MBwaƙwalwar walƙiya ta 4 MB
  • 3.3arfin wutar lantarki 5v, kodayake yana da mai sauyawa don iya ciyar dashi tare da Arduino XNUMXV idan kuna so.
  • 11 GPIO, duk tare da PWM banda D0.
  • Katsewa
  • Motar I2C
  • Abubuwan analog 1 (3.2v max)
  • Mai haɗin MicroUSB

El farashin daga kimanin € 2 da tsayi, har zuwa € 20, ya dogara da ƙirar. Kuna iya samun sa a cikin shagunan musamman na musamman da kan layi. Don haka kuna iya samun Wemos D1 Mini mai rahusa ƙwarai, fiye da NodeMCU kuma kawai ɗan sama da farashin ƙirar ESP12E ba tare da ƙarin ƙari ba ...

para sayi waɗannan kayan da garkuwar su, Wemos tayi wani sashi na Shagon kan layi, amma turawa zuwa gare ka Lankanawar, don haka shine wurin da ake rarraba shi a hukumance.

El kuraje na Wemos D1 Mini babban kwamiti shine:

  • TX: an haɗa ta da TXD na ESP8266, don TXD.
  • RX: an haɗa shi da RXD na ESP8266, don RXD.
  • A0: an haɗa shi zuwa fil ɗin suna iri ɗaya kamar shigarwar analog.
  • D0: shine GPIO16 na kundin, kuma ana amfani dashi azaman I / O.
  • D1: GPIO5 na rukunin, kamar I / O, PWM, Karkatawa, I2C, da SCL.
  • D2: zuwa GPIO4, don I / O, PWM, Tsoma baki, I2C, SDA.
  • D3: zuwa GPIO0, don I / O tare da 10K mai tsayayya, PWM, Katsewa da I2C.
  • D4: GPIO2, daidai yake da na sama, amma ƙara BUILTIN_LED
  • D5: zuwa GPIO14, don I / O, PWM, Tsoma baki, I2C da SCK.
  • D6: GPIO12, daidai yake da na sama, amma maimakon SCK don MISO.
  • D7: zuwa GPIO13 na ESP12, daidai yake da na baya.
  • D8: zuwa GPIO15, don I / O tare da 10K mai saukar da ƙarfi, PWM, Katsewa, I2C da SS.
  • G: shine GND (ƙasa), haɗin ƙasa.
  • 5V: don samar da wutar lantarki.
  • 3V3: wutar lantarki 3.3v.
  • RST: an haɗa shi zuwa RST, ma'ana, don sake saitawa.

para samu takardar bayanaiKun riga kun san cewa zaku iya samun takaddun daga gidan yanar gizon Wemos na hukuma wanda na bari a farkon labarin. Hakanan suna da cikakken Wiki cewa ina ba da shawara, tunda kuna iya samun taimako da yawa ... Har ma suna da koyawa.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.