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
4
votes
2 answers

Problem uploading code to ESP8266: esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for package header

I'm trying to upload the example Blink code to my ESP8266 modules, 1 of which is an ESP8266-07, the other a WeMos D1 mini PRO. I've installed the library for the ESPs according to online instructions. I'm uploading from Ubuntu 16.04, Arduino 1.8.9.…
ChocolateOverflow
  • 460
  • 1
  • 4
  • 11
4
votes
0 answers

Reasons why adding static to all the functions in a translation unit may increase the size of the resulting object file?

My intention is to limit the visibility of a number of symbols to the translation unit where they are defined. This commit is adding 688 bytes to the resulting firmware file. Any ideas why? The compiler involved is a GCC 4.8.2 The target device is…
Frank Meerkötter
  • 2,778
  • 2
  • 20
  • 26
4
votes
1 answer

How secure is the ESP8266?

I have an ESP-01. Its the most basic of the ESP8266 boards that I've found. Mine turns on, sends a post to a server, turns off. I have it TLS'd with the server's cert. But something bugs me. How easy it for someone to steal the chip, decompile the…
Mithun Kalan
  • 400
  • 1
  • 3
  • 13
4
votes
1 answer

I need the Lua math library in NodeMCU

I need to perform log calculations for a thermistor, however the Lua math library (math.log) doesn't seem to be implemented, or I'm doing something wrong. It's not a module on NodeMCU-build.com or in the docs, either. Any…
4
votes
0 answers

ESP8266 NodeMCU - Meaning of E:M codes for memory issues

I'm working on adapting a clock program in NodeMCU. The program is reporting heap usage to the serial console every second. The heap is varying between 12360 and 12472 as it runs successfully for 15 to 40 minutes. Then it crashes with: E:M…
tim11g
  • 1,935
  • 5
  • 27
  • 41
4
votes
2 answers

ArduinoJson.h: No such file or directory (Arduino)

I have a problem include libraries FirebaseArduino There was an error. fatal error: ArduinoJson.h: No such file or directory How should I solve this problem? This is my code #include #include #define…
MaTaDoRcpe
  • 79
  • 1
  • 1
  • 8
4
votes
1 answer

Get value from text field at a webserver ESP8266

I've made a webserver with an esp8266. sResponse = "

" "

" "

ESP8266 Web Server

" "

Time hh mm

MFC_Starter
  • 173
  • 1
  • 2
  • 11
4
votes
1 answer

SSL certificate verification on ESP8266 Wemos D1 Mini with MQTT broker

I have a raspberry pi 3 with raspbian stretch as its operating system. I have installed and fully configured a MQTT broker on the raspberry pi following this tutorial:…
Sus Verwimp
  • 43
  • 1
  • 5
4
votes
3 answers

Cannot set hostname for ESP8266

I am facing a problem, as setting host name for my ESP8266 is not working. Even though when I'm trying to connect through default host name "ESP_xxxx", it's not working. Actually when I upload my code with my mobile hotspot SSID and password then…
Karan Sharma
  • 53
  • 1
  • 5
4
votes
2 answers

how to estimate RAM ROM usage from (Text data bss dec hex)

Hello is it possible to estimate the size of RAM and ROM used from text data bss dec hex filename 24823 0 920 25743 648f (TOTALS) I read on some blog "RAM = Data + bss" is that correct??. The target hardware…
Rishikesh Ayre
  • 99
  • 3
  • 14
4
votes
2 answers

Send data via UART from ESP8266 (NodeMCU) to Arduino

I want to send data from my ESP8266 device to an Arduino Uno board via UART. The ESP8266 has been flashed with NodeMCU firmware (the build has the following timestamp: nodemcu-master-8-modules-2017-05-30-19-21-49-integer). The firmware has been…
catileptic
  • 41
  • 1
  • 3
4
votes
2 answers

ESP8266 UPnP Port Forwarding - IoT

Is it possible to use the UPNP protocol for automatic port forwarding on the router using ESP8266? I need to be able to access my ESP8266 module even when I am away from home. Currently I have configured port forwarding manually in my router…
Julio Cardoso
  • 57
  • 1
  • 3
4
votes
0 answers

Search in Char array

The Project I'm working on is a BURSTCOIN ticker, it gets its information from Poloniex using an ESP8266 the first problem I had was that I was using http.getstring and it was to big to go into the string and it kept restarting the device. I then…
Draknoid
  • 41
  • 1
4
votes
3 answers

ESP8266 takes long time to connect

I am using an ESP8266 for a project which requires the ESP to establish a connection to the Access Point , with as less delay as possible, but as of now it takes a minimum of 4-5 mins for establishing the connection which is too much delay. I have…
Pratik Kumar
  • 2,211
  • 1
  • 17
  • 41
4
votes
1 answer

Find other device on local network using the ESP8266

How would I find a device on the local network? I'm building an IoT device that needs to find another device connected to the same network. There will be two ESP8266 modules that need to communicate with each other on the local network, how would I…
Adam
  • 143
  • 3
  • 18