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 - how to write to code segment on the spi?

on esp8266, I dumped the first few hundreds of bytes of onboard spi. It seems to hold the code segment: .y......b.1..*3...F..L..b.1..0".............? !.........] M.=.!......".B..I.2.09 => 7040 …
amin
  • 3,672
  • 5
  • 33
  • 61
0
votes
1 answer

Arduino ESP8266 EEPROM commit() returns false

I want to save the SSID and password in the EEPROM in my Arduino Sketch Wlan. Actually everything works so far, except that the commit () returns a false. And that's why the memory is empty again after a restart. My code: void writePROM() { …
Sadece Sadece
  • 15
  • 1
  • 5
0
votes
0 answers

How does my ESP8266/NodeMCU communicate with my GSM Module SIM800L?

so I want to connect my SIM800L GSM Module to my NodeMCU. I bought a LM2596 DC-DC voltage regulator to convert the output voltage to ~4V for the SIM800L. Input voltage for the regulator is 9V/1A. Everything is connected: RX from GSM to D5 (GPIO14),…
kfar3991
  • 1
  • 1
  • 1
0
votes
1 answer

WAC (Wireless Accessory Configuration) ESP8266 Support

Can we share WiFi SSID and Password through WAC, I found a arduino library which support for apple HomeKit and I successfully integrated a Light Bulb but the disadvantage is the WiFi SSID and Password should be hard coded before it flash to the ESP.…
0
votes
0 answers

Failed to connect ESP8266: Invalid head to Packet (0xf0) D:

I am working with an arduino, rather learning to use it, I bought the esp8266 module to transmit data over wifi, but every time I upload a script it throws me the following error: Failed to connect ESP8266: Invalid head to Packet (0xf0) The selected…
0
votes
0 answers

ESP8266 problem with sending UDP to global network

I have a problem with sending UDP packets using ESP8266 D1/D1 mini boards. The thing is that when sending via local network I can see the packets arriving in Wireshark, but when I try to send globally (connecting the board to mobile hotspot),…
0
votes
1 answer

Arduino CSS RGB hex color parsing in C++

I'm using ESP8266 to run my smart room over MQTT. I'm struggling with converting a string to separated RGB integer values. The string I get looks like this: #953f4f I've already tried toInt(), atoi(), atol(), casting, etc. Here is the code: …
0
votes
0 answers

GUI menu in docker container freezes (ubuntu parent image)

I've been trying to run a docker container including the esp8266 toolchain and ESP8266_RTOS_SDK. After the Dockerfile is done the 'Espressif IoT Menu' pops up but freezes instantly and I cant control anything. Screenshot of the menu. I thought maybe…
xhera83
  • 3
  • 1
0
votes
0 answers

How to get ESP8266 to work on external IP?

I am trying to get my Arduino/ESP8266 project to work when I am off my local IP (192.168.xxx.xxx), similar to the way Shark and iRobot vacuums connect and can be accessed when not at home. The vacuum examples do not use port forwarding to map an…
NickV
  • 549
  • 7
  • 17
0
votes
2 answers

Programming esp32 and esp8266

How do i program an ESP32 or an ESP8266 module using assembly? I don't want to use arduino ide. I figured a way to program atmel chips with assembly. I wanted to learn how to program esp32 and esp8266 in assembly.
vishnu joshi
  • 68
  • 1
  • 9
0
votes
2 answers

Functions in Micro-python

i have a question about micro-python that how to make and call functions in micro-python or any other idea related to functions my code throwing an error that NameError: name 'my_func' isn't defined import time from machine import Pin led = Pin(2,…
user12267802
0
votes
1 answer

Switch state not changing according to physical changes nodeMCU float switches

I am using float switches(3 Nos) as depicted below and a NodeMCU esp8266, all three switches have been defined in the same way(input_pullup) 2 of these switches change state as the switch movement commands but one of these switches are not changing…
AkshayB
  • 55
  • 1
  • 7
0
votes
1 answer

ESP8266 AccessPoint always fails after exactly 5 times of correct communications

i'm practicing with ESP8266 since few months,in Arduino IDE. I tried to understand fundamentals reading Neil Kolban Book,but still i can't master the callback mechanism,and lot of other stuff,because my lack of experience in networks . Now…
0
votes
0 answers

Esp8266: Webserver variable Manipulation

I want to code a webserver witch isruning on the ESP8266. I code in Visual Code with Platformio Addin. At the moment I can display buttons, and can react on them, but it is extremly slow, and the esp8266 has to send the whole code for the webserver…
Flo
  • 3
  • 1
0
votes
1 answer

Exception decoder after connected with PubSubClient in my ESP8266

My code always gets exception decoder message and resets a few ms after MQTT connection is done successfully. My connectMqtt function: void MyClass::connectMqtt(PubSubClient client) { // Loop until we're reconnected int attempts = 0; bool…