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

ESP12F, cant get a relay to work with data from dht11

i've been trying to build a system that detects in one room of the house the temperature using an esp8266 and a dht11 sensor, this esp sends the data to a webserver while the ESP12F grabs this data and should turn the relay on when a certain value…
0
votes
1 answer

error: variable 'size_map' has initializer but incomplete type

Trying to compile this code with new esp-open-rtos (esp8266 sdk) but seeing error app_main.c:446:10: error: variable 'size_map' has initializer but incomplete type enum flash_size_map size_map = system_get_flash_size_map(); uint32_t…
Murad
  • 89
  • 1
  • 9
0
votes
2 answers

esp8266 does not communicate with fingerprint sensor R305

hello my problem is that when i connect my fingerprint sensor with my esp8266 it does not work! i am using the adafruit fingerprint sensor R305 and an esp module esp8266 cp2102. i have connect the vcc pin to the 3.3v pin and the ground pin to the…
0
votes
2 answers

Can't upload my code to esp32 and not able able to erase flash

Every time i try to upload a code or erase flash it gets me "A fatal error occurred: Timed out waiting for packet content" C:\esptool>python esptool.py --port com4 erase_flash esptool.py v3.0-dev Serial port com4 Connecting........_ Detecting chip…
0
votes
1 answer

Inconsistent connectivity via WiFi manager in ESP8266

I am facing a peculiar problem. The below code snippet connects to new WiFi network. No hard-coded ssid or password in the program. I am using AsyncWifiManager and AsyncWebServer modules. When I am connecting to my home WiFi router providing ssid…
Avik
  • 739
  • 9
  • 15
0
votes
0 answers

I am not able to write / access files in SPIFFS in ESP8266

I am trying to store text file into SPIFFS memory. I get an error whenever I try to format or to write file into SPIFFS. Here is the code to format the SPIFFS. #include void setup() { Serial.begin(9600); SPIFFS.begin(); delay(1000); …
0
votes
1 answer

Problem with, ESP8266WebServer::on(const char [6], )'

I'm learning how to use 'class' in C++, and when I'm trying to call a function from my class I'm getting this…
0
votes
0 answers

EPS8266 Wemos D1 Mini - automatic reboot

I've made a simple sketch which displays my subscriber count and it is working fully. I have made a wooden box for it so I am going to screw it together with the Wemos inside. When I disconnect the usb chord and stick it back in the Sketch seems to…
Pierre
  • 160
  • 2
  • 11
0
votes
1 answer

PANIC: unprotected error in call to Lua API (init.lua:116: attempt to call field 'alarm' (a nil value))

I keep getting an error on this line of code, how can I solve this? Thanks in advance tmr.alarm(0, 250, tmr.ALARM_AUTO, function()
0
votes
1 answer

ESP8266 http GET request don't show any value in serial monitor

I have a table in MySQL database inside my local server and I managed to echo that value using a PHP script. Here is the PHP script (I have named it get.php and it is directly inside my htdocs folder in xammp).
Udara Sampath
  • 55
  • 3
  • 16
0
votes
1 answer

ds18b20.lua task starving?

I have a ds18b20 sensor connected on pin D3 and an hall sensor on pin D1. I use tmr.trig on pin D1 to count falling edge events. When I call ds18b20:read_temp(callback, pin, ds18b20.C) everything works as expected. The odd thing starts to happen…
0
votes
1 answer

Rollerblind project problem: Wifi tmr.alarm

I am trying to build this project: https://www.instructables.com/id/Motorized-WiFi-IKEA-Roller-Blind/ having had some problems and still do... this is my wifi_setup.lau -- file: setup.lua local module = {} config = {} config.SSID =…
rasae
  • 1
0
votes
3 answers

Arduino simple timed loop without delay() - millis() doesn't work?

Have some arduino code for temp loggers that is VERY NEARLY working....! I've built an OTA routine so I can update them remotely, however the delay() loop I had to ensure it only logged temperatures every 15 mins is now causing problems as it…
Alphatester77
  • 702
  • 3
  • 8
  • 16
0
votes
1 answer

ESP32 Hardware Serial - only write 1 byte at a time

I'm using Serial2.begin(9600, SERIAL_8N1, 15, 14,true); Serial2.write(b,100); To write a buffer to serial from the esp32 But for some reason it doesn't transmit the full buffer ? Instead it transmit one byte at a time. Any one have an advise on…
Stweet
  • 683
  • 3
  • 11
  • 26
0
votes
1 answer

How to Get Value from Color picker (jscolor) SPIFFS from ESP8266 Webserver html page

I am using JScolor Picker from http://jscolor.com/examples/ Need Help to extract those R, G, B Values and use them as Integer input to variable in arduino code. Please Guide me with code how can i get updated values of R, G & B Transferred via http…
user1543571
  • 57
  • 2
  • 9