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

ESP8266 WeMos D1 using deepsleep drains too much battery

I've developed a fingerprint sensor using NodeMCU D1 mini powered by a 1000mah battery. Everything seems working correctly except for battery energy consumption. I have read several topic where user says that using deepsleep fuction on NodeMCU…
CrazYoshi
  • 1
  • 1
0
votes
1 answer

client.subscribe() taking a long time (30-45 seconds) to receive messages

While working with Arduino MQTT client I observed that, when I am publishing to a topic, the messages are sent immediately to the broker. I confirmed this with the help of a mqtt.fx tool. While receiving messages from the broker for the same topic,…
0
votes
0 answers

sending audio to mqtt broker through ESP8266

I'm trying to stream voice to the MQTT broker. I'm using esp8266(NodeMCU1.0) and it's ADC to sampling the audio signal at 4KHz and 8-bit PCM audio format. I used Pubsubclient.h library to publish audio packets to the broker but on the other side…
0
votes
1 answer

Unable to connect in Ap_mode in esp32

I am making and auto connect code for esp32 in which i am trying to get wifi credential from the webpage when it is operated in ap-mode after getting credential it will connected to wifi whose credential are provided in webpage. But problem i am…
Muhammed
  • 63
  • 1
  • 1
  • 8
0
votes
1 answer

send data collected on the internet instead of on the serial monitor (Nodemcu v3)

Good evening, I am working on a project on a brightness sensor (tsl2561). Not having arrived yet I used a photoresistor and a led and everything works perfectly. Practically, depending on the light seen by the photoresistor, the LED light is more…
Ludo23
  • 3
  • 1
0
votes
1 answer

NodeMCU flash fails - "Connecting to HW-BELTLINE-01"

I have a NodeMCU dev board based on the ESP 12E chipset that does not want to flash. I've tried with both NodeMCU-PyFlasher-4.0 and exptool.py v2.7. Here's the output from NodeMCU when attempting to flash a firmware: Command: esptool.py --port…
Troy
  • 68
  • 6
0
votes
1 answer

I can't subscribe to MQTT broker on Lua for ESP8266

First of all I'm using the following: ESP8266 (ESP12E) Default firmware from Git (built with linux with all pertinent configs, according with nodemcu documentation) ESPlorer IDE My specific problem (I think) is that I can't connect my MQTT client…
0
votes
2 answers

Socket connection ESP8266 and Socket.io

I am using React Native with socket.io to send data to Arduino using sockets. I'm just getting confused because my arduino prints this string as output (instead of "hello world") GET /socket.io/?EIO=3&transport=polling&t=N3MDU9z HTTP/1.1 accept:…
0
votes
0 answers

Can't connect any Arduino to local DB server, i have tried everything i could think of

I am struggeling to get a connection to my local MySQL database that is on a LAMP server, i have tried to get a connection with a Arduino WiFi Rev.2, Arduino Yùn Rev.1, a normal Arduino UNO connected to an ESP8266 and even a ESP-32. I have made a…
0
votes
1 answer

PushBullet Nodemcu

i working on security alarm system and need to push notify to my phon and write code according pushbullet api documents but my code not work : i use both "https://api.pushbullet.com" and "api.pushbullet.com" for pushbullet_server and use…
mohammad
  • 1
  • 3
0
votes
1 answer

Arduino, esp8266 and serving webpages

I'm working through a tutorial about using esp8266 connected to an Arduino Uno to serve a webpage with Ajax that retrieves a json file (also served by the Arduino). The tutorial (won't link to it here) looks like it's a work of fiction because the…
garrettlynchirl
  • 790
  • 8
  • 23
0
votes
2 answers

MQTT failed with state -2

I have set WiFi credentials and connect over TCP data. WiFi is connecting by MQTT showing failed to connect with failed state -2 means no internet by there is one, which is connected. Also creating same name hotspot and mqtt subscribe topic via tcp…
Arnab
  • 11
  • 2
  • 6
0
votes
0 answers

Unable to do https POST request from ESP8266

We are trying to make an HTTPS POST request from ESP8266 to aws cloud but unable to communicate to the server. The code snippet is given below: WiFiClientSecure client; char data[100]; DynamicJsonBuffer jsonBuffer; char host[] =…
Süresh AK
  • 344
  • 3
  • 20
0
votes
0 answers

411 Length Required .Net Core Api hosted on IIS and ESP8266

I'm building .net core Api for my ESP8266 sensors. Sensors sending update in JSON. I'm getting 411 HTTP Error, but Content-Length is provided in request. I think problem is in multiple Hypertext Transfer Protocol - see in wireshark screenshot - but…
PiotrK
  • 21
  • 7
0
votes
2 answers

ESP8266 5v Relay USB Disconnection issue

Issue -When using the ESP8266 wired up in this way it will randomly disconnect the USB interface when it powers the relay. It may then re-connect but is sporadic. -The code can be viewed below, but essentially the relay is powered for 300ms then…