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

ESP8266 SSDP - Not showing on Windows?

I've got the ESP8266SSDP library running on my NodeMCU, and have it configured like so: SSDP.setSchemaURL("test.xml"); SSDP.setHTTPPort(80); SSDP.setName("Addressable…
K20GH
  • 6,032
  • 20
  • 78
  • 118
3
votes
4 answers

create a timed 3 state push button in arduino

Due to a shortage of pins on a esp8266 in arduino, I need a way to detect a button where; momentary press runs snooze() 15 sec press runs conf_Desk() 30 sec press runs calibration() the preconfig; int buttonPin = D7; pinMode( buttonPin…
user1213320
  • 650
  • 1
  • 6
  • 13
3
votes
0 answers

"Send payload error" in HTTP POST - Arduino ESP8266

I'm trying to make a POST HTTP request via ESP8266 using Arduino IDE and this library, but for any reason I'm getting this error: [HTTP] POST... failed, error: send payload failed Wifi connect's correctly and header seems to be processed correctly…
Christian Tapia
  • 33,620
  • 7
  • 56
  • 73
3
votes
1 answer

How to post HTTP request with Arduino + ESP8266 AT commands

In order to send data to google spreadsheet I need to request HTTP access to the unique URL, something like this: https://script.google.com/macros/s/AKfycbz7jkkd7nfa6ThjOqGw5KZgnUUxIOrxCV_m8WithLQD4EAS7hx6/exec?SOMEDATEHERE I tried with: GET…
3
votes
1 answer

ESP8266 and POST request

I have an ESP8266, which I'm programming in Arduino. I need make a POST request. I tried this code: #include #include void setup() { Serial.begin(115200); //Serial…
Matej
  • 782
  • 2
  • 6
  • 19
3
votes
3 answers

POST request on arduino with ESP8266 using WifiESP library

I am attempting to make RESTful POST request using the WifiESP library (https://github.com/bportaluri/WiFiEsp). I'm able to successfully make the request with curl, but consistently get an error using the Arduino and ESP. I suspect the problem is…
Troy D
  • 381
  • 2
  • 4
  • 17
3
votes
1 answer

esp8266 RTOS blink example doesn't work

I have a problem with the RTOS firmware on the esp8266 (I have a esp12e), after flashing the firmware, reading from uart, it keeps stuck with those lines: ets Jan 8 2013,rst cause:2, boot mode:(3,0) load 0x40100000, len 31584, room 16 tail 0 chksum…
luca
  • 150
  • 1
  • 9
3
votes
1 answer

Maintain persistent bandwidth on esp8266

I'm working with esp8266 Arduino (via Adafruit Feather Huzzah) I'm trying to continuously write 3 characters to a TCP socket, but there's nothing continuous about it. It has a very regular pattern of high and low bandwidth. It writes at a very high…
Issac Kelly
  • 6,309
  • 6
  • 43
  • 50
3
votes
2 answers

arudino web server too slow - possibly use queue?

I have implemented a basic light controller for Livolo light switches using an ESP8266 running a web server and a library i found for the livolo switches that uses an RF433 transmitter. i dont have any problem with the code as such.. (and i can post…
Paul O'Brien
  • 171
  • 1
  • 11
3
votes
2 answers

How to switch to normal wifi mode to access-point mode ESP8266

I am using ESP8266-12 wifi module for accessing my home wifi network to control lights. For uploading new firmware(OTA: Over the Air) update, I want to use ESP8266's hotspot AccessPoint because after changing the password of my wifi network, I will…
Jai Prak
  • 2,855
  • 4
  • 29
  • 37
3
votes
2 answers

Load config parameters on Arduino ESP8266

I am using Arduino ESP8266 to store and load configuration settings on SPIFSS. I used this ConfigFile.ino as a reference example. https://github.com/esp8266/Arduino/blob/master/libraries/esp8266/examples/ConfigFile/ConfigFile.ino This function loads…
user6064424
3
votes
2 answers

How to use android to connect to an ESP8266 access point without internet in a stable way?

I have a Wifi Micro controller ESP8266 which also has an access point. I have referred to other blogs which talk about programmatically connecting to an access point and tried both the way Using the exposed standard…
thehellmaker
  • 162
  • 3
  • 13
3
votes
4 answers

ESP8622 with NodeMCU firmware starts blinking after flashing new version of firmware (old builds are working)

Yesterday i tried to generate new firmware bin from nodemcu-build.com and after flashing with esptool.py, my esp started blinking (blue diode on esp chip) and sending out (trough USB converter) garbage data. I tried to generate build with…
jan smrz
  • 31
  • 2
  • 2
3
votes
2 answers

How can I create Date Object from Date and Time Strings in Lua NodeMCU?

I am playing around with NodeMCU on an ESP8266. I have a Date String and a Time String from a Web Request like this: 15.07.16 (German format DD.MM.YY) 19:50 (24 hours format) These DateTimes lay usually a little bit in the future. I want to get the…
amiroo
  • 91
  • 10
3
votes
6 answers

ESP266 Timed out waiting for packet header

I am trying to flash the AT firmware in esp8266 but I am always getting the error of timed out waiting for packet header. Note : I am using esptool.py to flash the the chip and I already have some code uploaded to it, which I uploaded using Arduino…
Mayank Pal
  • 31
  • 1
  • 1
  • 4