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
0
votes
1 answer

Get a JSON response from ESP8266 using fetch

I've created a ESP8266 web server that should send a JSON object when it's requested by the client. The code of this server looks like this: #include #include #include void setup() { …
Amphyx
  • 669
  • 4
  • 12
  • 24
0
votes
3 answers

ESP8266 send & recieve data without being in a network

I want two NodeMCU ESP8266s to communicate to each other, but I don't want them in a network. I was thinking about the transmitter could broadcast packets all the time and the reciever could use the promiscuous mode to capture and read the packets.…
0
votes
2 answers

Arduino Esp8266 LittleFS upload for updating

On my ESP8266 I run a small Webserver. On one page I am able to upload a binary file for the firmware and hit update. The Esp8266 updates its code and makes a reboot. After this the new code is run. So far so good. In my webserver on the ESP8266 I…
Niki
  • 13
  • 5
0
votes
1 answer

NodeMCU Lua integer max value is 2^31

Lua 5.1.4 on SDK 3.0.1-dev(fce080e) Trying to use node.dsleepMax() and it is returning a really smaller number (147324921). Then I tried to manually set the sleep time in node.dsleep to the 32-bit max value (4294967295) and it only remained sleeping…
cmaciel
  • 3
  • 1
0
votes
1 answer

ESP8266 failing to receive message over MQTT via AWS IoT Core

I'm using PubSubClient per this example to connect to AWS IoT. Specifically, I'm trying to use AWS IoT Fleet Provisioning, which involves subscribing and publishing to some special $aws/ topics. The connection is being established correctly, and…
Oleg Vaskevich
  • 12,444
  • 6
  • 63
  • 80
0
votes
0 answers

How to send data to multiple clients at once with ESP8266 on AP mode

So i have an ESP8266 (ESP-01) on AP mode and is working fairly good enough. I can receive data from the client and have used AJAX to handle the data. When connected to a single client, if i send data from the serial it shows up on the client webpage…
0
votes
0 answers

Volley request to local ESP8266

I'm trying to create some connected device which would stay local. But I would like to create an app which when I'm connected to my home WiFi could control this device. To control the device I'm using an Node MCU so I can connect to the WiFi with my…
0
votes
0 answers

IR tx/rx issues for YS-IRTM receiver/transmitter

I've connected YS-IRTM v3.06 IR receiver/transmitter using softuart like described in the project For some reason with code below, IR is receiving one byte per single serial write. I've tried to shield sensor from IR diode in case these two are…
mpapec
  • 50,217
  • 8
  • 67
  • 127
0
votes
1 answer

UPDATED: memory leak with WiFiClientSecure (Telegram) and WiFiClient (MQTT)

The title is quite self explanatory, just like the other question I have posted at Exception 28 thrown on ESP8266-01 when connected to Adafruit MQTT and Telegram Somebody might say this is the same question, but it's actually a follow-up of it, and…
GoTVm
  • 31
  • 6
0
votes
0 answers

esp8266 NodeMCU client cant connect to esp8266 NodeMCU server with static ip

Hello... My code is working perfect with using dynamic IP's, the LED is connected to server and a push button is connected to client, it work perfect with dynamic IP's addresses of both devices. But when i make static IP addresses, the client can…
0
votes
1 answer

Esp8266 and Internet FTP-client with a password?

I have tried to make for ESP8266 a simple FTP client program for some time, no success. I want to send light value, time + lux=max 65535, to my internet home page. A simple data. How I get time from the internet? This is a second problem. I can send…
oh3gdo
  • 1
0
votes
1 answer

ESP8266 EEPROM READ/WRITE - Write seems to happen before read of old value

I'm trying to write some code for the the ESP8266-12E that detects initial program load of a new version of the code. For this simplified version of my code (that still exhibits the behavior I'm seeing) there is no code in the loop() section. I…
Jim
  • 33
  • 10
0
votes
1 answer

ESP/HTML invalid characters when string is 11 characters or more

So my problem is as the title says, my html page cannot display strings with 11 or more characters and they are being displayed as - L1�?, I don't know what is the problem the strings are not using any special characters and are composed of English…
0
votes
0 answers

Importing JQuery via SPIFFS ESP8266

I have a working code that works well. The essence of the code is that the person connects to the Wi-Fi network, transfers him to the Captive Portal in which he enters some text that is sent to esp8266. But this does not work that way, since I want…
exiperon
  • 31
  • 5
0
votes
2 answers

ESP8266 WebServer

I found interesting code on stack overflow, but the only thing I don't like about it is that it uses JQuery that is imported via the Internet, and I need it all to work without connecting to the Internet. Can you please tell me how this can be…
RtroN
  • 21
  • 2
  • 4