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

ESP8266 to ESP8266 i2C Communication

I am trying to get my ESP8266's connect and send messages over an i2c bus. I am using a NodeMcu Development Board. Pins D1,D2 and GND are connected to each other. The code on my master is : #include void setup() { Wire.begin(D1,D2); //…
user3599285
  • 91
  • 1
  • 7
4
votes
1 answer

Arduino Not Receiving MQTT Subscribed Messages Over ESP8266

I have an MQTT server (Mosquitto) running on a RPi3. I also have a sensor array on my bench that publishes readings to MQTT every 5 seconds. All of this is working great. Tonight, I wired up an ESP8266-01 to an Arduino Mega using one of the Mega's…
MySilmaril
  • 185
  • 2
  • 13
4
votes
2 answers

How to POST to a RESTful API on an ESP8266 using authentication?

I can enter this URL from a browser, and after entering my credentials this successfully calls my API http://172.16.0.40/rest/vars/set/1/12/666. I'm trying to do this from an an ESP8266 using HTTPClient. My credentials are username:password, and I…
WhiskerBiscuit
  • 4,795
  • 8
  • 62
  • 100
4
votes
1 answer

IOT-Right way to find device on local network

What are the options to find IOT devices on local network? For example, I have an IOT device, an Air Conditioner which is connected to local network by wifi. I want to send instructions to it from smartphone which is connected to the same network…
Nikhil Shetye
  • 71
  • 1
  • 7
4
votes
1 answer

ESP8266 soft AP no internet access issue with android marshmallow

I have created a soft AP with ESP8266 to which I'm connecting through android 6.0 marshmallow mobile. After connecting I get a notification on mobile stating "Wifi has no internet access" if I ignore it and open a browser window to open my web…
4
votes
4 answers

How to clear static IP configuration and start DHCP

I'm using a sketch like this: WiFi.config(IP, Gate, Subnet); WiFi.begin (ssid, pass); //-- somewhere below I want to drop the static IP configuration and obtain IP with DHCP. WiFi.disconnect (); WiFi.begin (ssid, pass). //ssid and pass are the…
Alex Kirillov
  • 65
  • 1
  • 6
4
votes
2 answers

how much NodeMCU GPIO Current Maximum, and NodeMCU standalone Power Consumption?

Unfortunately, i can't find hardware Spec about NodeMCU. so i want know about GPIO Current limitation, Standalone Power Comsumptionm, and board size. or Can you share the link about NodeMCU Hardware Spec? some page say that GPIO Current Maximum is…
ParkDyel
  • 262
  • 2
  • 4
  • 19
4
votes
4 answers

How to wake esp8266 from deep sleep without continuous resets

I'm building an IR to wifi bridge using an esp8266. Basically I'm building an IR receiver connected to an esp8266 inside an IR remote control, to forward received IR Remote keypresses over wifi to a server. I'm using a Wemos D1 Mini. I already have…
localhost
  • 1,253
  • 4
  • 18
  • 29
4
votes
1 answer

Get gateway address in Arduino using ESP8266

I need the default gateway IP address for my ESP8266. I know that in LUA you can retrieve it with this code: ip, netmask, gateway = wifi.sta.getip() print(gateway) But how using Arduino/C++?
Fabiosoft
  • 1,141
  • 14
  • 32
4
votes
2 answers

Using a "big sound" module with arduino to create a decibel meter

I am trying to create a sound meter to measure the decibels in a room and I am currently using a nodemcu 12e as I want to insert those measures to a row in a mySQL server and a "big sound module"…
PayToPwn
  • 1,238
  • 1
  • 16
  • 29
4
votes
1 answer

Arduino ESP8266 Softwareserial not enough buffer size for HTTP get request

I am working on a project in which I use arduino uno and ESP8266ex as wifi module on it. The connections of wires: Arduino 5V --> 3.3V Regulator --> ESP: CH_PD (with 10k resistor) and VCC Arduino GND --> 3.3V Regulator --> ESP: GND and RST (reset…
4JaoDeka
  • 43
  • 1
  • 1
  • 6
4
votes
2 answers

Why does PIR sensor stay high with nodeMCU/ESP8266 board?

I have a PIR sensor attached to a Amica nodeMCU board routing 5v from VIN and attached via USB port for testing. When motion is deteted it connects to the internet and sends data to IFTTT which i receive a notification on my phone. When I power up,…
Dom
  • 2,057
  • 1
  • 14
  • 17
4
votes
12 answers

esp8266 on wifi serial board and Arduino Uno board

I bought esp8266 with serial wifi wifi card I connect RX to TX; TX to RX; VCC to VCC; GRD to GRD; I cant communicate with the board not if program mode and not in UART mode; the reset do nothing. the red led on the board is on. I connected the wifi…
Gilad Ravid
  • 51
  • 1
  • 1
  • 2
4
votes
1 answer

ESP8266 + WiFiManager + pubsubclient

I'm using an ESP8266 and want to control it using MQTT with the MQTT server being my Synology DS415+. I want the ESP to sit in a place where I cannot access it using serial once it is installed, so I need to be able to configure it's…
SirSiggi
  • 143
  • 1
  • 1
  • 9
4
votes
1 answer

NodeMCU fails to connect to Bluemix with TLS

I try to connect the NodeMCU with the IBM Bluemix IoT Foundation. The unsecured MQTT connect works splendid and pushes data from a BMP180 to the cloud. However, when I start using TLS it won't connect to the broker. I tried to make a TLS connection…
trahloff
  • 607
  • 1
  • 9
  • 17