Questions tagged [esp8266]

ESP8266 is a highly integrated chip which offers a complete and self-contained Wi-Fi networking solution, allowing it to either host applications or offload all Wi-Fi networking functions from another application processor.

The ESP8266 has on-board processing and storage capabilities that allow it to be used with sensors and other application specific devices through its GPIOs with minimal development up-front and minimal loading during runtime. Its high degree of on-chip integration allows for minimal external circuitry. The entire solution, including the module, is designed to occupy minimal PCB area.

The processor itself is an chip; use that tag for questions about Xtensa assembly language, ISA details, and other low-level CPU things, not about peripherals or SDK problems.

The chip features:

  • SDIO 2.0, SPI, UART
  • 32-pin QFN package
  • Integrated RF switch, balun, 24dBm PA, DCXO, and PMU
  • Integrated RISC processor, on-chip memory and external memory interfaces
  • Integrated MAC/baseband processors
  • Quality of Service management
  • I2S interface for high fidelity audio applications
  • On-chip low-dropout linear regulators for all internal supplies
  • Proprietary spurious-free clock generation architecture
  • Integrated WEP, TKIP, AES, and WAPI engines
  • 802.11 b/g/n
  • WiFi Direct (P2P), soft-AP
  • Integrated TCP/IP protocol stack
  • Integrated TR switch, balun, LNA, power amplifier and matching network
  • Integrated PLLs, regulators, DCXO and power management units
  • +19.5dBm output power in 802.11b mode
  • Power down leakage current of <10uA
  • Integrated low power 32-bit CPU could be used as application processor
  • SDIO 1.1/2.0, SPI, UART
  • STBC, 1×1 MIMO, 2×1 MIMO
  • A-MPDU & A-MSDU aggregation & 0.4ms guard interval
  • Wake up and transmit packets in < 2ms
  • Standby power consumption of < 1.0mW (DTIM3)

There are some companies developing modules mostly named like ESP-01, ESP-02, ... ESP-12. Every module has different capabilities and PCB layout.

The modules based on this chip can be programmed with some development tools including Eclipse, CodeBlocks, Arduino(1.6.5) etc. Modules can host different firmwares including NodeMCU. With NodeMCU firmware the chip can parse and execute Lua scripts.

2486 questions
3
votes
1 answer

Issue loading files w/SPIFFS (ERR_CONTENT_LENGTH_MISMATCH)

Alright so I've been looking into this for the past two days and I still feel like I'm getting nowhere. I recently started using the SPIFFS File System for Arduino development on an HUZZAH ESP8266 like the FSBrowser.ino example, and while it's been…
3
votes
1 answer

mqtt between esp8266 and arduino with PubSubclient

I am using ESP8266 with arduino using WiFiEsp library.I want to make MQTT connection with arduino so I use PubSubclient library.i got error: Attempting MQTT connection...failed, rc=-2 try again in 5 seconds my code is: #include…
shadab
  • 391
  • 4
  • 15
3
votes
1 answer

Can't set Station only mode of esp8266 arduino

When in WIFI_AP mode all goes well, but when in WIFI_STA mode it is still in WIFI_STA_AP mode. How do I set the WiFi to station only with no software access point available. if(wmode == "AP") { Serial.println("Starting in AP mode"); …
ChrisAdmin
  • 982
  • 1
  • 12
  • 32
3
votes
1 answer

How to get tag ID using MFRC522 and ESP8266 NodeMCU 0.1

I am using an ESP8266 NodeMCU v0.1 and MFRC RC522. Please can anyone tell me how I can send the tag ID to my web server and how to connect NodeMCU to RC522?
Yatin Gaikwad
  • 1,140
  • 1
  • 13
  • 23
3
votes
4 answers

How to prevent Ajax overflow/server crash? (Arduino/ESP8266 Environment)

I have been recently learning how to program in Arduino to host an HTML/CSS/Javascript webpage on an Adafruit HUZZAH ESP8266 breakout, so please forgive me if my methods here are completely off. I'm using Ajax to update a few pressure gauge values…
Michael Anthony Leber
  • 365
  • 2
  • 10
  • 24
3
votes
2 answers

Interrupt during network I/O == crash?

It seems that when an I/O pin interrupt occurs while network I/O is being performed, the system resets -- even if the interrupt function only declares a local variable and assigns it (essentially a do-nothing routine.) So I'm fairly certain it…
Mark McGinty
  • 756
  • 7
  • 13
3
votes
1 answer

Connect to my server from ESP8266 Arduino

I have an Arduino Uno and a server written in C++. I connected the ESP8266 to my router successfully using the following code: #include SoftwareSerial esp8266(3, 2); void setup() { // Open serial communications and wait for…
P.Kole
  • 33
  • 1
  • 6
3
votes
2 answers

ESP8266 - is .Net possible?

Looking to know if it is at all possible to develop for the ESP8266 (I have the WeMos D1 Mini) using C# or if I'm stuck with Arduino Sketch? I've looked around on the net, but not finding any guides or examples, so it does feel like my answer will…
Pedro G. Dias
  • 3,162
  • 1
  • 18
  • 30
3
votes
2 answers

How to send multiple data (conn:send()) with the new SDK (NodeMCU)

I've been reading the NodeMCU documentation and several closed issues about the change of SDK that previouly allowed to send multiple data streams (acting like a queued net.socket:send). It seems a huge debate grew here (#730) and there (#993) or…
S. Blanc
  • 107
  • 2
  • 9
3
votes
2 answers

ESPlorer can't communicate with ESP8266

I flashed the NodeMCU v0.9.5 to one of my ESP8266 modules. Now I'm trying to send a Lua script to my module using ESPlorer. I already double-checked the wiring. When I press the "Send to ESP" button, it shows an error: PORT OPEN 9600 …
Mark
  • 53
  • 1
  • 1
  • 8
3
votes
1 answer

Is possible to use ESP8266 as a network adapter?

I have a IoT solution based on Freescale/NXP FRDM-K64 board and the MQX operating system, communicating to the Internet with Ethernet. Now I would like to change from Ethernet to Wi-Fi. The ESP8266 (or another module under $10) can provide a…
Luís Rigoni
  • 374
  • 6
  • 21
3
votes
1 answer

How to Connect Arduino to pubnub cloud using esp8266?

I am trying to interface arduino to the pubnub cloud by using esp8266, please suggest me the best solution to push data from arduino kit to cloud and also to get the same data to devices from cloud.
3
votes
1 answer

ESP8266 exception 29

I have Wemos D1 connected to pc in AP mode. When I send a lot of message it give me an exceptión. Baudios: 921600.
gonmaster
  • 31
  • 1
  • 1
  • 4
3
votes
1 answer

Wifi mesh-like network using nodeMCU

I have 2 nodeMCU modules, which I want to connect to an MQTT broker and send some data every 5 seconds. The topology I am trying to achieve is sth like [router]<==[nodeMCU#1]<==[nodeMCU#2] It looks like [nodeMCU#1] is a wifi extender, but at work…
evgi9
  • 123
  • 1
  • 2
  • 5
3
votes
1 answer

Lua ESP8266 tmr issue

Im busy working on a dimming light which my ESP-03 will control. But what I have read up on, I have a problem. Please see my code below then I will explain: device_id = "553CDA2DEAC90" query_id = "" dim =…
PHP Noob
  • 413
  • 1
  • 6
  • 19