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

How to fetch Real-Time data from URL in NodeMcu using Arduino?

Problem Statement I want my NodeMCU to fetch latest updated data from URL each time of the loop. Currently it does not update the content fetched. For example, Link: http://abcdxyz.xyz/io.php has just the digits 223838. Once the NodeMCU starts…
Arijit Aich
  • 137
  • 2
  • 12
0
votes
1 answer

Access to Grandeur Cloud has been blocked by CORS policy

I am working on building an Internet Switch with Grandeur Cloud and following the tutorial on hackster. I am running the example provided but it is giving me Blocked by CORS policy error. The code snipped is attached as below /* @file: main.js …
rebootdude
  • 11
  • 2
0
votes
1 answer

AT COMMANDS no answer (esp8266 f-12)

since I started working with my modules esp8266 F-12, I have found some strange behaviors. When I started programming the module using the serial monitor I had no problem, but when I do it automatically like…
19Miquel
  • 21
  • 5
0
votes
1 answer

exit status 1 'class WiFiClass' has no member named "softAP" in NodeMCU

#include #include #define LED_BUILTIN 2 // Set the GPIO pin where you connected your test LED or comment this line out if your dev board has a built-in LED // Set these to your desired credentials. const char *ssid =…
IronBot9992
  • 21
  • 1
  • 3
0
votes
1 answer

NodeMCU client.connect returns 0 for locally hosted parse api?

Below is the link for rest api guide using parse: https://docs.parseplatform.org/rest/guide/#your-configuration My hosted remote server configuration #include const char* ssid = "your-ssid"; //replace with your own wifi ssid const…
Crazie Ash
  • 21
  • 1
  • 6
0
votes
0 answers

ESP8266Mod 12-F baud rate changing problem

first of all, I want to say that this was my first approach to ESP wifi modules. I was programing this module using the AT commands and everything was perfect until I changed the baud rate of my module using AT+UART=9600,8,1,0,0…
19Miquel
  • 21
  • 5
0
votes
0 answers

Captive Portal esp8266

Need help with a project on esp8266. I'm trying to do something like a chat. Combined several examples and wrote an html page. In theory, it should accept user input on a page in the Captive Portal. But that doesn't work, the data just isn't…
RtroN
  • 21
  • 2
  • 4
0
votes
0 answers

ESP12E WiFi always ON even when it should not be

I am having a peculiar problem with ESP12E. Can someone please help me here? I setup the ESP as an AP and running a server on it. I have configured it in a way that when I send a particular serial data, say "start", it should start the Wifi. This is…
Vvk
  • 13
  • 8
0
votes
1 answer

C++ Problem with Vector Iterator on ESP8266 Microcontroller

I'm currently facing an issue with a vector iterator in C++. The application runs on an ESP8266 NodeMCU microcontroller. As soon as I call the function CWebServer::getAvailableNetworks() (implementation can be found below), the program crashes and I…
Dignity
  • 11
  • 3
0
votes
1 answer

Communication between Flask and ESP8266 via SocketIO (Updated 2x)

I have a small web app for which the back-end is a Flask+SocketIO server. I would like to get some data from an ESP8266 into my app. The most simple way to achieve this I could think of was to have the micro controller connected directly to the…
mr_tuna
  • 185
  • 1
  • 7
0
votes
0 answers

SSL/TLS connection failed using fingerprint to validate

I'm using the RootCA's SHA1 thumbprint which is still valid from api.github.com full original source code. I do not understand why the connection has failed, i tried changing the thumbprint to capital instead still doesn't work, i've also added…
user93228
  • 3
  • 2
0
votes
0 answers

NodeMCU says Timed out waiting for packet header

I am trying to upload a code to the NodeMCU to Ask FirebaseDatabase for the Sensor State i.e whether Sensor is 1 or 0 which I will change according to my need. Then read the data from the sensor and update on Firebase. Currently I am Using 2 Sensors…
0
votes
2 answers

How to diagnose an ESP8266/D1 mini reboot loop issue?

I'm trying to build the software side of an Automatic Blind Controller on Thingiverse, but having am trouble with what I think is repetitive rebooting, based on the serial monitor output: 17:53:28.964 -> ets Jan 8 2013,rst cause:2, boot…
Mat
  • 82,161
  • 34
  • 89
  • 109
0
votes
0 answers

AT+CIPSEND GET Request returning 400 ESP8266

I have been trying for 2 days to find a solution to this 400 error. Before I just got 408 and I managed to sort that out and now I get an 400. I'm using these commands through the Serial Monitor. The Arduino Sketch is Blank and every time i try to…
0
votes
1 answer

What is the correct way to create a class function that is passed a string array as a parameter? [Arduino]

I want to create my own function in an existing library from Arduino/ESP8266, pass an empty array in case the user doesn't have any header. //.h file t_httpUpdate_return updateheader(WiFiClient& client, const String& url, const String&…
DrakoPD
  • 161
  • 1
  • 13