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

ESP8266 WiFiUDP sending packet causes hang and then crash

I am building a C# windows form program that will communicate with an ESP8266. I am hoping to not have to post too much code as the both the programs are fairly large. I will try to explain my issue as best as I can; The C# program is sending a…
CalcGuy
  • 169
  • 1
  • 1
  • 10
0
votes
0 answers

Can't get ESP8266 to get JSON from the internet

I'm developing with the NodeMCU's ESP8266 and have to get data from some JSONs on the internet. The thing is that, no matter what I try, I won't get anything back from doing the GET request, only a -1 error on the console. void precioDolar (){ …
0
votes
1 answer

Why can't ESP8266 HTTP client receive data?

When I type the serverName into the browser, it returns a json object. But here, it Serial.print(payload) returns -1. How can I fix this? void loop() { if (WiFi.status() == WL_CONNECTED) { //Check WiFi connection status HTTPClient…
0
votes
0 answers

Android Java code to connect to nearby esp8266 AP

I have a esp8266 running in AP mode I gave it a static name for all other devices, I want my android app to connect to this esp8266 AP just by clicking on pair button, the problem is I'm not familiar with android versions so in some APIs it may work…
0
votes
1 answer

Send json document with ESP8266

I created a function to send a sensor value with a name to a node.js server with a http post request. I use ArduinoJson V6 library and ESP8266HTTPClient.h so i wrote this : void stk(String name, float value) { if (WiFi.status() == WL_CONNECTED)…
0
votes
0 answers

How to access ESP8266 using domain name

I want to map my domain to my ESP8266 server is there any way to do that? I think blynk app is doing that.
0
votes
0 answers

How to send data from esp8266 to my nodejs web app or from raspberry pi to node js app server

I need to send data of sensor to my nodejs server from either nodeMCU(esp8266) or raspberrypi. any sugessions ?
akdgamer
  • 1
  • 1
0
votes
1 answer

Unable to access a websocket using ESP8266 (Using Arduino IDE)

I been trying to get my ESP8266 to connect to a websocket, but no luck so far. Things that are ruled out are: The ESP8266 is connected to WiFi and has access to Internet (checked using a HTTP request). Not a problem with the socket server, I spun…
Deepak R
  • 13
  • 2
0
votes
0 answers

Not able to send data from nodeMCU-8266 to localhost (database)

When I try to send data from nodemcu it shows -1, refer bellow image [serial monitor][1] [1]: https://i.stack.imgur.com/3IokX.jpg you can see my ip address [ip address][2] [2]: https://i.stack.imgur.com/srNo1.jpg my post code
0
votes
2 answers

Flashing ESP8266 with a LittleFS binary

I'm trying to build a LittleFS file system binary on my PC and flash it to my WeMos D1 Mini Pro (16MB) ESP8266. I used the following code on the ESP LittleFS.begin() FSInfo info; LittleFS.info(info); Serial.print("LittleFS block…
Andrew Bullock
  • 36,616
  • 34
  • 155
  • 231
0
votes
1 answer

JavaScript key holding down and release

I can control my bot through web. These are its url- forward- https://172.0.0.1/forward backward- https://172.0.0.1/backward left- https://172.0.0.1/left right- https://172.0.0.1/right stop- https://172.0.0.1/stop I am using html…
0
votes
1 answer

How to read RJ45 MPPT Solar Charge Controller using ESP8266 or similar

i wonder if someone could help with some ideas about the following: Ive got MPPT Solar Charge Controller with rj45 port in it that suppose to transfer battery status and other data. I wonder how can i connect to that rj45 to read the data…
user912830823
  • 1,179
  • 3
  • 14
  • 25
0
votes
0 answers

ESP8266 to ESP32

A fairly new coder here so please be patient. I am working on porting some code that creates an LED display from ESP8266 to ESP32. In the header file I have noted the ESP8266 statements and have simply added an additional #elif statement as shown…
Qmick
  • 1
0
votes
0 answers

Attaching multiple interrupts to single ISR function in Arduino ESP8266

I'm using https://github.com/sui77/rc-switch on my ESP8266 with 2 receivers (315MHz and 433MHz), attached to GPIO 4 and 5. If I create 1 instance only, i.e. 315 OR 433, I'm able to receive properly. When I create 2 instances using the code below, 1…
bilogic
  • 449
  • 3
  • 18
0
votes
1 answer

ESP8266 HTTP get request is returning invalid http code -1

Normal response would be 200 but i am getting -1, explained below. i have tried using http://www.google.com https://www.google.com and www.google.com no luck here! apart from this i had tried a lot of different techniques but cant make it, need…