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

Wemos D1 reset when setting pins mode

I'm building a little car, remote controlled by a Wemos D1 board, in order to set the WiFi connection and the control logic I'm running this script: #include const char* pass = "**********"; const char* ssid =…
SimCor
  • 190
  • 17
3
votes
2 answers

What will happen if codes inside a NodeMCU timer execute over the timer interval I set?

With NodeMCU, we can easily create timer function in esp8266 chip. However, I wonder what will happen if codes inside a timer execute over the timer interval I set? Please see the code below. If I set a timer with 2 seconds interval, and "Something…
Peter
  • 45
  • 3
3
votes
2 answers

Lua ignoring scope variable

This might be a silly question, however, I don't know what is happening. I have a simple script who fetches google time and I need to set it to the time global variable. So, inside the receive event, I print the time fetched and it works…
hugalves
  • 271
  • 4
  • 15
3
votes
0 answers

esptool: Permission denied

I'm trying to compile a project with esp_iot_sdk 1.30 but I get esptool: Permission denied every time I do make. david@david-VirtualBox:~/myprojects/esp8266-injection-example$ ls -al total 36 drwxrwxr-x 7 david david 4096 אפר 24 20:40 . drwxrwxr-x …
789
  • 718
  • 1
  • 10
  • 30
3
votes
1 answer

NodeMCU ESP8266 connecting to iPhone Hotspot with C

I have a question regarding wifi connection from a NodeMCU ESP8266 board to an Apple iPhone6 personal hotspot. The iOS version is 10.2.1 (14027). The NodeMCU code I use works with my home WLAN using WPA2 without any problems. If I change SSID and…
Armin
  • 117
  • 2
  • 10
3
votes
1 answer

ESP8266 Keeps Rebooting rst cause:4, boot mode:(3,7) NO PROGRAM LOADED

I'm new with the ESP8266. Today I bought one and found a tutorial to connect it in this way The wiring is made without the microprocessor of Arduino as you may see in the picture. When I connected it this way the Serial COM of the Arduino IDE, at…
BREAKWAVE
  • 63
  • 1
  • 4
3
votes
1 answer

Arduino library for ESP8266 - WiFiClientSecure - which SSL certificates are needed?

WiFiClientSecure of Arduino library for ESP8266 has methods: setCACert, setCertificate, setPrivateKey. I need some explanation what is what and for what purpose. When I'm creating a certificate for my server with Let's Encrypt I get cert.pem,…
Defozo
  • 2,946
  • 6
  • 32
  • 51
3
votes
1 answer

Arduino/Esp8266 infrared remote control carrier frequency

I am trying to use Arduino Uno/ESP8266 to generate IR signal on top of carrier frequency(38KHz) to replace IR remote control. First, I was trying to use IRremote.h library, but when using "irsend.sendNEC(0x8F4567A2, 32)" to send the code, the…
Christ Gao
  • 41
  • 2
3
votes
0 answers

Get Signal strength of client connected to esp8266 AP

Using esp8266 as an access point so that the other mobiles could connect with the esp8266, Want to get the client's info like ip, mac and rssi, this could be done by the command AT+CWLAP. I had programmed the esp in Arduino, want to execute the…
ABI
  • 1,536
  • 18
  • 38
3
votes
1 answer

Arduino is not freeing up RAM memory

I'm using Arduino mega with MD5 library and ESP8266 with SoftwareSerial. The problem is that after 370 loops, Arduino auto-restart due to lack of memory. I used FreeMemory to troubleshoot, I noticed the problem is the decreasing of available memory…
vJos
  • 131
  • 1
  • 2
  • 12
3
votes
0 answers

ESP8266 "AT" shows no response

I tried to communicate with my ESP8266 over a serial connection but i don't receive any response from the device. What is working: Flashing works and i can get the Chip ID and MAC address (using esptool). Wiring is done like shown here Power comes…
br0ken.pipe
  • 850
  • 3
  • 17
  • 32
3
votes
1 answer

Connect Arduino to Blynk with ESP8266

so I got my Arduino Uno today. For a porject I want to be able to control some relays on my Arduino via Wifi (via Blynk app). For this I want to use the ESP8266-01 as a Wifi shield. I used this tutorial:…
3
votes
3 answers

AWS iot with esp8266

Please help me connect with AWS IOT services with esp8266 12e. I am using aws-mqtt-websocket example but I an not able to connect with AWS IOT. The code is as follows and the error I get is: please start sntp first ! error connection to the…
3
votes
1 answer

Can I use my Arduno Uno Wifi to write to a SQL Database?

I recently bought an Arduino Uno Wifi in order to write sensor data right from my Arduino into an existing MySQL Database. I thought since there are some existing libraries (like this one) that do exactly the same thing with the help of a ethernet…
Felix Bockemuehl
  • 157
  • 1
  • 3
  • 14
3
votes
1 answer

Interactive shell via UART serial for Arduino?

I would like to implement an interactive shell via UART serial port for Arduino, with pure C++ OOP style code. But I think if there are too many if-else judgements when judging the user input commands in the code, it will be a bit ugly, So I would…
Jackson Ming Hu
  • 1,681
  • 2
  • 14
  • 23