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
0 answers

EPS8266 writing number to EEPROM fails to write, returns 0

I am using an ESP8266 and trying to write to the EEPROM. My goal is to save an array of 4 digit numbers (2 byte ints), but here I made a test for one number. The serial monitor output is "0" for number2. can anyone tell me why? #include…
0
votes
1 answer

How to Authenticate to GitHub with a token on ESP8266?

I can update from a public repo, now I want to authenticate to GitHub with a token, for download a firmware of a private repo, but I get Connection refused (error code -1). I had configured certs and NTP time already, I won't put the code of this…
DrakoPD
  • 161
  • 1
  • 13
0
votes
1 answer

OkHttp fails to connect to ESP8266

I'm trying to send a simple HTTP request to a ESP8266 from my Android phone. I'm following this tutorial. The code works for the URL used in the tutorial (https://reqres.in/api/users?page=2), however not for the URL that turns on the LED on ESP8266.…
m278
  • 27
  • 6
0
votes
0 answers

Access to raw packet data on ESP8266

The ESP8266 solutions that I have found all seem to try to isolate the programmer from any of the low level network protocols. However I need access to all of the Ethernet, IP, TCP/UDP, etc headers in order to integrate it into another system which…
Peter Ball
  • 53
  • 7
0
votes
0 answers

NodeMCU MQTT keep alive causing disconnects

I am a little confused about who is supposed to send the MQTT keep alive pingreq when using the NodeMCU Lua libraries. If I connect and regularly send messages then everything is ok. If I don't I get offline notification, and the mosquito server…
0
votes
1 answer

Failed to connect azure iot hub with esp8266 using azure-iot-arduino library

I'm trying to connect to azure iot hub with esp8266 using azure-iot-arduino library: https://github.com/Azure/azure-iot-arduino I've faced several problems doing that: 1) AzureIoTUtility library. File esp82266/sample_init.cpp function configTime(0,…
0
votes
1 answer

Communicating between subnets with ESP8266 wifi extender

I have a local (household 192.168.0.X) network provided by my router/modem which assigns local IP addresses by the usual Dynamic DNS. I have added an ESP8266 runnning in the WiFi Nat (natp) mode to act as an extender. So it connected to the…
0
votes
1 answer

How to read json file from ESP8266's SPIFFS with ArduinoJSON 6?

I am currently working on a project with ESP8266 (ESP-12E) and I need to store information in a json file (more convenient to access via the web interface and easier to manage than EEPROM for me). My problem is the following: I'm using the latest…
Vincent
  • 1
  • 1
  • 2
0
votes
1 answer

How do I add a delay before an HTML redirect with an ESP8266?

I've set up a simple ESP8266 web server that allows me to remotely control LEDs. It uses four buttons: one for each LED and one to turn off all the LEDs. When you click a button, it sends you to /LED and sends a value. Based on what the value is, it…
jacobtohahn
  • 135
  • 7
0
votes
1 answer

How to log in a web server with esp8266 client?

I am struggling to use ESP8266 client to log into my web server (which is running in a PC host in local network). The ESP must login in order to see weather it must activate the sensor connected to it or not. Users can change the state of sensor…
Bornak
  • 69
  • 2
  • 7
0
votes
1 answer

Telegram API, ESP8266, sendMessage unable to send Messages

i made myself a Telegram bot to send a message into a group chat when my ESP8266 is powerd, but i dont get the ESP to send Messages using Telegram API. A while ago the code below worked perfectly, but not anymore. And I belive I haven't changed it…
0
votes
1 answer

connecting Esp8266 client to sub-directory of a local web server

I am going to connect Esp8266 client to local web server. Here I am connecting to a sub-directory inside local web server. In a browser It's easy with just typing: 192.168.1.103/public_html/register.php When it comes to esp8266, I use the following…
Bornak
  • 69
  • 2
  • 7
0
votes
0 answers

Unable to get token from dropbox

I am using ESP8266 ESP-01 module, using FTDI to upload code using arduino IDE platform. I came accross dropbox manager library developed by lucasromeiro. I am herein providing github link for the library.…
0
votes
1 answer

Need help in getting http request in esp8266

Hi beautiful community of ESP! I am trying to send a http request from browser to the esp8266. Currently I have ESP8266WebServer running on the esp and listening to incoming http requests. I have a function which listens to request made by browser…
Nobster
  • 11
  • 1
0
votes
1 answer

ESP8266 and ATmega8 UART

I connect ESP8266 with ATmega8 using UART. I send some value from ESP8266 to ATmega8 on that basis of the value ATmega8 send back some value to the ESP8266 and this is working fine but after few hours ATmega8 does to send data after resetting…