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
5
votes
1 answer

ESP8266 NonOS fails to connect to WiFi network hosted by other ESP8266

I am trying to connect a ESP8266 to a WiFi network hosted by another ESP8266. The problem is the ESP8266 shows the WiFi network during a WiFi scan but fails to connect to it with the error: no espnetwork found, reconnect after 1s. Code for the…
Gus
  • 151
  • 2
  • 15
5
votes
1 answer

How to check Micropython umqtt client is connected?

I want to reconnect an MQTT client to a server on failure. I am using uqmtt.robust for the reconnection: it is working for some failures but not handling internet disconnections. I am thinking about doing like: while True: if c.isConnected():# how…
Yugandhar Chaudhari
  • 3,831
  • 3
  • 24
  • 40
5
votes
1 answer

Receiving data from a server using ESP8266 /Arduino Uno

I have a Raspberry Pi working as a WiFi hotspot and an Arduino Uno trying to get data from it using an ESP8266 module. This is my receiver code for Arduino: #include #include #define sw_serial_rx_pin 4 // …
Sachith Muhandiram
  • 2,819
  • 10
  • 45
  • 94
5
votes
2 answers

ESP8266 12E NodeMCU 1.0 pin mapping for micro sd card?

I tried several pin conifguration to connect nodemcu and micro sd card. However, I had not any luck to successfully connect to sd card. I followed esp8266 forum and some other solution! I need your suggestions :)
Naim Rajiv
  • 3,324
  • 2
  • 17
  • 23
5
votes
4 answers

Get Mac address of client connected with esp8266

I turned my esp8266 as an access point, so that the mobile devices could connect to it. Want to get the macAddress of the devices connected to it. How could I get it?
ABI
  • 1,536
  • 18
  • 38
5
votes
2 answers

Interface NodeMCU (ESP8266) with GSM module

I'm a new user of NodeMCU and I would like to make it communicate with a GSM module like SIM900. Can I use the second UART terminal of ESP8266 to interface with the GSM module? Thanks.
Sawssen Bejaoui
  • 67
  • 1
  • 1
  • 4
5
votes
1 answer

ESP8266 Arduino Hostname (MDNS)

I am having problems with the hostname of my ESP8266. I am using the MDNSResponder and I can successfully access my device with mydevice.local However, my WiFi router (Netgear WGR614) list the device as ESP_FEA38A. When I use 'Angry IP Scanner' on…
qubit
  • 171
  • 1
  • 1
  • 6
5
votes
4 answers

MQTT broker for Windows IOT Core?

I have a Raspberry Pi running Windows IOT Core and it is running my home automation application. Now I need to set up communication between the RB pie and ESP8266. I've been considering the MQTT protocol but I don't want to have an external server…
CodeBreaker
  • 488
  • 9
  • 18
5
votes
2 answers

ESP8266 for Arduino IDE (xtensa-lx106-elf-gcc) and std::map linking error

Is it possible at all to use map with ESP8266 for Arduino package? Here is my code: #include typedef std::map Items; void setup() { Items items; items[2]=5; //items.emplace(4,5); } void loop() { } Here is…
x_arrange
  • 317
  • 2
  • 12
5
votes
1 answer

how create TCP server by ESP8266?

I want to create a simple Wifi TCP server by ESP8266 in Arduino IDE. But I have a big problem: when I send a character or string from client I can't receive it on the server. In fact I connect esp8266 to my PC and I want to see send character from…
Sadeq
  • 179
  • 1
  • 3
  • 14
4
votes
8 answers

A fatal esptool.py error occurred: Cannot configure port. PermissionError(13, 'A device attached to the system is not functioning.', None, 31)

I am using a windows OS and I tried running a .ino code in arduino IDE for ESP8266 and came across the following error while trying to upload the code to ESP8266. A fatal esptool.py error occurred: Cannot configure port, something went wrong.…
Krshnapriy
  • 41
  • 1
  • 1
  • 3
4
votes
0 answers

PN532 not working as expected with I2C communication with ESP8266 NodeMCU v3

I have two problems with the PN532 connected with I2C communication in the ESP8266. The first problem is that sometimes when I connect the board, it throws an error saying that it didn't find the PN53X board Didn't find PN53x board 0x40237dbc in…
Joaquin
  • 91
  • 1
  • 14
4
votes
2 answers

Unable to get time form the NTP server in esp8266, arduino

I know I am successfully connected to the network as it's visible in my phone's hotspot. However I am unable to get the time using library through NTP server. Thanks in advance. I will really appreciate your…
112 Boss
  • 68
  • 5
4
votes
3 answers

'class BearSSL::WiFiClientSecure' has no member named 'loadCertificate'

I tried loading this sketch below into my WeMos D1 R1. My intention is to connect the board to AWS IoT. Below is the example of the sketch. #include "FS.h" #include #include #include #include…
John Miles
  • 51
  • 1
  • 1
  • 2
4
votes
1 answer

ESP8266 doesn't receive packets in WIFI network

While running the UDP example on my node mcu v3.0 I encountered the following strange problem. If I connect both my computer and the node mcu to a WIFI-hotspot hosted by my phone everything runs perfectly (I can send udp packets from my computer via…
user2224350
  • 2,262
  • 5
  • 28
  • 54