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

can't connect esp8266 device to azure IoT hub

I am trying to connect a esp8266(esp-12e node mcu 1.0) to azure iot hub with code written in arduino. I've created a iot hub and a device using symmetric key authentication. Using the PubSubClient along with WifiClientSecure library to provide a…
Utsab
  • 1
  • 1
0
votes
0 answers

I want to connect two yf-s201 Waterflow sensors, one as inflow and other as a outflow using Nodemcu & blynk

This is mostly a copy-paste of the code I found on Google, I want to make a project using 2 waterflow sensors in which inflow() which shows how many liters i have taken in and outflow() which shows how many liters flown out. This is how far ive…
fuse
  • 61
  • 8
0
votes
0 answers

Error: 'esp_sleep_enable_ext0_wakeup' was not declared in this scope

I have an error when I compiling code: esp_sleep_enable_ext0_wakeup' was not declared in this scope How can I fix this error? I use WEMOS D1. Please help int bootCount = 0; void setup(){ Serial.begin(115200); delay(1000); //Increment boot…
Bartek
  • 35
  • 6
0
votes
2 answers

WEMOS D1 wake up by button

I am asking for help, how can I WEMOS D1 wake up with the button? I know how to do this after some time using: ESP.deepSleep (180000000) Please help.
Bartek
  • 35
  • 6
0
votes
2 answers

How to connect to the AP in loop() in ESP8266

I have an issue with WiFi.begin() in esp8266-12F. I'm going to connect the ESP8266 with the specific Access Point in the loop() not in the setup(). I want if a specific AP is available, ESP8266 would connect to it. In the below code, I supposed to…
Reza Hadipour
  • 52
  • 1
  • 9
0
votes
1 answer

C++ & Esp8266 LoadStoreAlignmentCause with pointer

I am trying to access a function of a pointer and it does not work and it gives me an LoadStoreAlignmentCause Exception. Furthermore I want to check if the pointer does exist, but it always returns true for that. LedFunction.h #include…
Maxdola
  • 1,562
  • 2
  • 10
  • 29
0
votes
1 answer

HERE MAPS one line URL WLAN Geolocation

It was successful to construct  one line URL for the HERE MAPS reverse positing line the following example https://reverse.geocoder.ls.hereapi.com/6.2/reversegeocode.json?apiKey=”API_Key”&mode=retrieveAddresses&prox=30.2509399,29.6754403,250 But…
0
votes
1 answer

Pointer to member function C++

I am new to C++ and I am having trouble with pointer functions to member functions. I am programming with PlatformIO on an ESP8266. UdpTask.h class UdpTask : public Task { public: void setup(); void loop(); UdpTask(String…
Maxdola
  • 1,562
  • 2
  • 10
  • 29
0
votes
1 answer

Upload file system to ESP-WROOM-02

My project wit data that contains SSL certificate fits to my test d1 (ESP8266MOD) board that without problems. I tried to upload the same system to ESP-WROOM-02 system and it failed with error: A fatal error occurred: File .pio\build\d1\spiffs.bin…
vico
  • 17,051
  • 45
  • 159
  • 315
0
votes
2 answers

How to make CPP files visible to linker in ESP8266 Eclipse project

There is a "hello world" project in Eclipse IDE that is supposed to compile against ESP8266 RTOS SDK. File structure is as follows I added one C++ class to it and put it into its own folder. Here is the class header #ifndef…
Mooh
  • 744
  • 5
  • 25
0
votes
1 answer

esp8266 1Mbyte (512kb spiffs) missing files

I have an issue with spiffs and arduino. I'm using ESP07 with 1mbyte of spi flash memory. I'm using arduino IDE. I have 16 files in my file system being sketched with the option "tools -> ESP8266 Sketch data upload". If i selected 256kbytes as…
Hamboy75
  • 938
  • 1
  • 11
  • 22
0
votes
1 answer

html chart for a web server from esp8266 with no wifi connection

I have set up the esp8266 in access point mode so i can access a web server from it. I want to be able to see a chart on this page. Is there any way to use chart.js or similar in html code without needing a wifi connection? this is my html string…
0
votes
1 answer

ESP8266 Wifi-Sniffer doesn't collect SSIDs (Probe Request / Probe Frame)

I'm trying to get the following project running: https://github.com/kalanda/esp8266-sniffer The project is about Probe Frame / Probe Request. It let's a simple ESP8266 act like a WLAN Router, and collect all incoming Probe Frames. Every Probe Frame…
0
votes
1 answer

Device can't resolve host

I have simple DNS resolve demo in my ESP8266. Can't find why it cat resolve Ubuntu virtual machine on AWS. According to my understanding DNS server is my home router 192.168.1.1. Resolution works fine from my desktop PC while ESP8266 fails. Why and…
vico
  • 17,051
  • 45
  • 159
  • 315
0
votes
1 answer

SSL error "Expected server name was not found in the chain."

Trying to connect to secure MQTT broker. Got error : Expected server name was not found in the chain. What is actually wrong there? Does it means my CA self signed certificate has no information about host name? CA certificate: Certificate: …
vico
  • 17,051
  • 45
  • 159
  • 315
1 2 3
99
100