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
28
votes
2 answers

What is the secret of the arduino `yield()`function?

The Arduino docs explain yield() at https://www.arduino.cc/en/Reference/Scheduler with regards to the Due. Apparently it is part of the Scheduler library: #include However, I can call yield() on my Nano or ESP8266 without including…
andig
  • 13,378
  • 13
  • 61
  • 98
18
votes
3 answers

ESP8266/Arduino: Why is it necessary to add the ICACHE_RAM_ATTR macro to ISRs and functions called from there?

Note: Since esp8266/Arduino release 3.0.0 ICACHE_RAM_ATTR has been changed to IRAM_ATTR. For future readers, I updated the links to the ESP8266 Arduino Core docs, but left the rest of the question unchanged. I read that I need to add the…
x-ray
  • 3,279
  • 5
  • 24
  • 37
13
votes
2 answers

Is there a esp8266 simulator for testing code written on Arduino IDE?

Is there a good esp8266 simulator software that can be used to automate testing? Is it possible to get code written on Arduino IDE to run on these simulators?
ambassallo
  • 924
  • 1
  • 12
  • 27
12
votes
4 answers

How do you get a timestamp in Arduino-ESP8266?

I would like to get a timestamp with Arduino-ESP8266. But I don't have any idea how to get that. I suppose we have to get the time from the Internet since the ESP8266 doesn't have any clock. Do we need to do that only once or every time we need a…
stallingOne
  • 3,633
  • 3
  • 41
  • 63
12
votes
1 answer

Cannot modify example for ESP8266 provided by espressif

My setup consists of the Espressif SDK using eclipse and a nodemcu, which I want to program in C. I have followed all he steps and I can compile and flash the board from the eclipse environment. I don't press any buttons to load the flash because…
morcillo
  • 1,091
  • 5
  • 19
  • 51
12
votes
2 answers

How to run Node.js on esp8266 (Nodemcu dev board)?

I am trying to connect Apple homekit to nodemcu board, I found a tutorial which works on my computer, but I am wonder if there is any way to load and run Node.JS on a NodeMCU board (ESP8266)?
jezuz
  • 413
  • 2
  • 5
  • 13
11
votes
1 answer

Connecting Mobile with ESP8266

I am working on a Home Automation project and I want to connect an Mobile Application to ESP8266. I can Publish a message from Mobile App to AWS server which is setup as a broker. (Working) I can Publish a message from AWS to Raspberry PI.…
Mitul Verma
  • 237
  • 1
  • 15
10
votes
3 answers

Setting a wildcard in ESP8266WebServer

I want to send all paths that start with "/robot" to a certain handler using ESP8266WebServer.h. I tried a few variations: server.on ( "/robot", handleDirection ); server.on ( "/robot/", handleDirection ); server.on ( "/robot/*", handleDirection…
Sam Jones
  • 1,400
  • 1
  • 13
  • 25
10
votes
1 answer

No COM port, no /dev/tty* - tried different OS's, different cables

My devkit is an Amica V3, well two of them and both seem to have the same problem. I tried to get the device to show up to then be able to install the NodeMCU firmware. I did this on different computers and different OS's (Windows 7/10 + OS X…
Pieter
  • 1,751
  • 3
  • 30
  • 65
8
votes
1 answer

ESP8266 Micropython - connecting to University Wi-fi ( WPA2 Enterprise PEAP )

I have a board with an ESP8266 chip running Micropython firmware v1.8.7. My requirement is to use WebREPL via the University Wi-Fi, which uses WPA2 Enterprise EAP-MSCHAPv2 authentication. My Google-fu so far has informed me that Arduino users have…
Udu
  • 83
  • 1
  • 5
8
votes
1 answer

ESP8266 WiFiClient simple HTTP GET

I'm working on simple problem of reading a webpage using ESP8266 and ESP8266WiFi library. I changed only a few lines in example and don't know whats the problem. Thats my code: include const char* ssid = "WiwoNET"; const char*…
wiwo
  • 721
  • 1
  • 13
  • 18
7
votes
1 answer

How to reset esp8266 NodeMCU?

I'm new at NodeMCU. My NodeMCU version is LOLin 0.1 First code I have uploaded is Spacehuhn's Deauther. I set up my AP for deauther settings and everything worked fine. Few days later I wrote a new code (related with WIFI) and it didn't work. …
Nopparuj
  • 71
  • 1
  • 1
  • 3
7
votes
0 answers

ESP8266 + Micropython: Why do I keep getting the same value with periodic i2c reads?

I am writing some simple code using MicroPython running on a Digistump Oak, which is basically an ESP8266 breakout board. I'm trying to understand the behavior that I see when performing periodic reads of the sensors via i2c. The following code…
larsks
  • 277,717
  • 41
  • 399
  • 399
7
votes
3 answers

How to flash RobotDyn ESP8266PRO board?

Working with the RobotDyn ESP8266PRO version of the NodeMCU. First, no doc provided by manufacturer. Here is as far as I got: 10Kohm between EN and 5V 10Kohm between IO15 and gnd ground IO0 and reset I used a PL2303 cable (success with Ardruino…
cc young
  • 18,939
  • 31
  • 90
  • 148
7
votes
2 answers

Is it possible to get ESP8266 running on WPA2 Enterprise network?

I've seen examples for ESP8266 chip Wifi clients logging onto a WPA2 personal network. However, is it possible for an ESP8266 client to login to an enterprise network?
jhtong
  • 1,529
  • 4
  • 23
  • 34
1
2 3
99 100