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

Connect Arduino + ESP8266 to Azure IoT Hub Device via X509 certificate

I have hard times finding a solution, or writing my own, where I can connect ESP8266 with Azure IoT Hub Device via X509 certificate. Currently, I can connect using the symmetric key connection to my device, but I have devices that I want to…
2
votes
1 answer

With SPIFFS or LittleFS, on an ESP8266, is it possible to write a filesystem to flash, and then later create/modify files from the firmware?

To clarify, I'm working on a project on an esp8266 (specifically an esp-12s using NodeMCU 1.0). I have a bunch of html files and images that I bundle into a LittleFS binary that gets written to the flash using esptool (or the arduino ide, which uses…
Dan Forever
  • 381
  • 2
  • 12
2
votes
0 answers

NodeMCU keeps running the previous program

After countless days and hours, I finally can upload my sketch into my NodeMCU successfully. But, just after that, I've got another problem. If you've checked my previous post, you'll see I have two sketches. The first one is at my question and the…
Su1010
  • 31
  • 1
  • 5
2
votes
1 answer

unable to arm and use A2212(1000kv) motor with wemos d1 mini and a 30A ESC

#include #include #include #include Servo bldc; double roll,pitch,yaw,thr; char packet[255]; struct __attribute__((packed)) JoyStick { double yaw; double thr; double pitch; double roll; …
2
votes
0 answers

Espressif IDF override KConfig variable

I need to flash a bunch of ESP boards that have a few different compile-time variables ( per board ) that are normally defined in a Kconfig file for a module. Is there any way to pass some env variable or perhaps a command-line argument to make or…
jdevelop
  • 12,176
  • 10
  • 56
  • 112
2
votes
1 answer

Wifi does not start after light sleep

I have an application that uses an ESP8266 running ESP_RTOS_SDK version 3.4 and an STM8. It is solar powered, so minimising current consumption is crucial. It works in three modes: between events: the ESP8266 is in deep sleep and the STM8 is…
JavaLatte
  • 378
  • 5
  • 18
2
votes
1 answer

NTP server doesn’t get the right date (ESP8266)

I'm developing a small project, based on a ESP8266 module, to get date & time via an NTP server, since a RTC module wouldn't work for me. Iv'e tested a code where I get date & time using the NTPClient library in my circuit. My system prints time…
2
votes
0 answers

main.py is running in an infinite loop on a esp8266 board

I have a esp8266 board running micropython. From windows 10, I pushed a main.py file to the board using ampy. The script simply flashes the boards led lights. Unfortunately, it does so in an infinite loop. Now, I am unable to stop the program which…
Willyd
  • 37
  • 7
2
votes
1 answer

DHCP fail with WEMOS D1 Mini in sagemcom FAST3890V3 router

with classic esp8266 (wemos) connection example usind DHCP in sagemcom FAST3890V3 router, i never get IP, after about 10 minutes i get some ip outside of range and it doesn't work. I read lots of post and can't find a solution. thanks connection…
mariano
  • 21
  • 2
2
votes
1 answer

RTOS SDK Where is app_main defined as startup function?

Using rtos SDK i was able to develop and run successfully some simple examples, but I need to understand. Normally a c / c++ program starts with main(...) (I don't remember the exact signature) RTOS projects seem to start almost all with app_main()…
Ettore Galli
  • 677
  • 6
  • 24
2
votes
0 answers

How to get the value of a measurement sent by a BLE device?

I would like to use a BLE temperature sensor (such as the Inkbird IBS-TH1 Mini BLE Sensor), however, I want to be able to display the temperature measurements in my own website. To do this I am planning to have an ESP32, which would intercept the…
Nina
  • 499
  • 6
  • 16
2
votes
0 answers

Is there some kind of limit regarding the packet size in a SSL/HTTPS connection?

In the last couple of weeks I've been developing a boot loader that performs a firmware update on a certain device. The setup is as follows: The firmware binary and its respective SHA1 hash are stored in a web server; The device is composed of an…
2
votes
0 answers

How can one make an ESP8266 connect to WPA2-Enterprise using PEAP instead of EAP-TTLS?

I want to connect an ESP8266 to a WPA2-Enterprise Wifi. When debugging, I see it trying to connect using EAP-TTLS and MSCHAPv2, but it needs to connect using PEAP and MSCHAPv2 (or EAP-TTLS and PAP). From what I have found, PEAP and MSCHAPv2 are…
McLP
  • 140
  • 14
2
votes
1 answer

Methods for updating SHA-1 fingerprint on IOT devices

Disclaimer: Complete newbie trying to wrap my head around SSL. I am developing a device using an ESP8266 which needs to connect securely to a known server for IOT purposes, we will develop and control the server endpoint as well as the ESP8266 based…
Cheen
  • 21
  • 1
2
votes
1 answer

Access Micropython REPL on UART(0) not USB

Background I'm working on a robotics project that requires using an ESP8266 based board (Lolin D1 mini pro v2) as a microcontroller. I have Micropython on this board along with a set of functions that I have to be able to call from an Nvidia Jetson…