We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [esp8266]

An IC that offers Wi-Fi networking compatible with b/g/n standards. It also has integrated TCP/IP protocol stack. Extremely popular along IoT community as a low cost and powerful board.

Filter by
Sorted by
Tagged with
5
votes
5answers
26k views

AT command is not responding on serial monitor

I am trying to send AT commands to ESP8266. I re-flashed ESP8266 http://imgur.com/a/J8Ueh I followed this tutorial http://remotexy.com/en/help/esp8266-firmware-update/ and I hope it re-flashed ...
0
votes
1answer
221 views

Is there any easy way to change Arduino Wifi shield to ESP8266?

As the title says, is there any easy way to replace WiFi shield with ESP8266, with as little as possible modification to code? Here is my ESP:
8
votes
6answers
94k views

Send AT commands to ESP8266 from Arduino Uno via a SoftwareSerial port

GOAL From Arduino UNO, send AT commands to ESP8266 via a SoftwareSerial port and receive results. CURRENT STATUS I either send AT commands and get nothing back (wiring scheme 1) or I send AT ...
1
vote
1answer
2k views

Arduino Uno and ESP8266 serial monitor issue

I plugged in the Arduino Uno and the ESP8266 following this schema: When I enter "AT" in the serial monitor, I get an "OK". I can also connect to my wifi using typical ESP8266 commands. What doesn't ...
9
votes
5answers
57k views

How to change baudrate of ESP8266 (12e) permanently?

IMPORTANT: DO NOT USE AT+IPR=9600! (see update) I have an ESP8266 12E module that communicates at 115,200 bauds. Since I use it with an Arduino Nano with SoftwareSerial things get messy. So I found ...
9
votes
1answer
3k views

Does the ESP8266 somehow remember wifi access data?

Today I did some tinkering with an ESP8266, trying out OTA and writing a webserver. To find an error, I reduced the sketch to just the following lines: #include <ESP8266WebServer.h> ...
2
votes
3answers
46k views

Arduino Nano v3.0 with ESP8266

I am attempting to connect and use an ESP8266 board with my Arduino nano v3.0 and I am not have much luck. I have read a bunch of tutorials and articles, the most recent is http://elektro-blogger....
7
votes
1answer
938 views

Arduino and ESP8266 Web server

First things first, if there was an ESP8266 StackExchange, I would post this there. I am setting up a web server that will programmaticly be controlled from an external Python script, and I am ...
0
votes
4answers
15k views

Linking Arduino Nano with ESP8266 Wifi module

I recently started playing around with Arduinos to connect a few sensors up. I used an Arduino Nano to measure temperature, humidity, air pressure and light level. To store the data in a database, I ...
3
votes
1answer
5k views

WiFiEsp not working on Software Serial, working fine on Hardware Serial

What I want to achieve I want to connect to my wifi network using Arduino UNO and ESP8266 using WiFiEsp.h library over `SofwareSerial, since UNO doesn't have additional H/W serial. What I am able to ...
2
votes
2answers
4k views

Problem with sending a POST request using the WiFiEsp library [closed]

I'm using an ESP8266 version 1 with the WiFiEsp library to connect to WiFi, and that works just fine. I'm setting up the device using the same code as in the example WebClientRepeating. I need to ...
1
vote
0answers
2k views

Programming an Arduino over the air using an ESP8266

This question stems from this article (Originally in Spanish/English) which Hack a Day summarizes (Includes link to partial English translation). These articles show that it is possible to update an ...
1
vote
4answers
12k views

EEPROM put and get not working on ESP8266 (NodeMCU)

The Arduino documentation provides two examples to store data in the EEPROM. https://www.arduino.cc/en/Reference/EEPROMPut stores data in the EEPROM and the EEPROMGet example reads the data back and ...
1
vote
2answers
2k views

Using ESP8266-01 with Arduino uno R3

I am trying to learn how to use ESP-01(AI-Cloud, Black Version) with arduino Initially, I created an adapter for it that has 4 inputs: RX, TX, Vcc(3.3v), GND I checked it and the wiring seems fine ...
1
vote
4answers
26k views

ESP8266 + Arduino Uno: Can't send AT Commands

I'm trying to get the ESP8266 up and running without a FTDI chip, just my Arduino Uno. But it seems really difficult. What I did: attach the ESPs VCC directly to Arduino Uno 3.3V; RX->TX; TX->RX ...
1
vote
7answers
1k views

How to parse 20180810T143000Z to time_t

What is the shortest/most elegant way (i.e. use existing lib functions) to parse a string in the form of 20180810T143000Z to a time_t? Note that the literal always represents a UTC timestamp. I ...
6
votes
3answers
8k views

ESP8266 Analog read interferes with wifi?

Short version: I have a program that connects my ESP8266 to WIFI so I can control a relay connected to it over the internet or a button. I also have a sensor for my door. This software works ...
2
votes
2answers
743 views

ESP8266 Soft Access Point: Timeout of request of resource when not responded to in set undocumented time

I'm experimenting with the ESP8266 chip on a Wemos D1 R2 board. I'm trying to write some code which will allow the user to input a username and password in an HTML form then get a response as to what ...
2
votes
1answer
148 views

How to send UDP data packet between two access point?

I am new to arduino programming and nodeMcu boards.I have two ESP8266 bards as access points and one board get some data form WiFi stations and resend that data to other access point. but the problem ...
1
vote
1answer
157 views

SyslogAppender for log4esp

I'd like to "merge" two Arduino libraires, namely log4Esp on one side and Syslog on the other, hence creating a syslog appender for log4esp. My problem is that log4esp's Appender prototype expects a ...
1
vote
1answer
2k views

How to pass non-static class member to callback?

I am using the arduinoWebSockets library in my own Arduino library. I'm having trouble with trying to assign a class member as the websocket library onEvent callback function. MyClass.cpp: #include &...
1
vote
1answer
118 views

How to publish on Pubnub with node mcu?

I have node mcu and i am trying to use the example code on github and pubnub blog to send a msg as an experiment but can't figure how to do it. I used 2 example as the reference - https://github.com/...
0
votes
2answers
215 views

How to interface ESP8266-01 Wifi Module with Arduino Uno

I have an Arduino Uno and ESP8266-01 Wifi module with me currently. So I'm going to use ESP8266 to connect to the MQTT broker to allow me publish data to other devices. However, I have a problem with ...
0
votes
0answers
38 views

More about Problems with using esp8266

I'm running a project under https://www.youtube.com/watch?v=2AL7HfiRlp4&t=23s I encounter a problem with "deadly error: ESP8266WiFi.h: No such file or directory", the code indicates '' #include ''...
0
votes
1answer
2k views

Every so often ESP8266 hangs… WifiClient seems to be at fault

This code works fine without any freezes: #include <ESP8266WiFi.h> #include <Servo.h> #include <WiFiClient.h> #include <ESP8266WiFiMulti.h> Servo turn; ESP8266WiFiMulti ...
0
votes
1answer
122 views

NodeMCU not responding AT after blink app

I've just bought NodeMCU LoLin ESP8266, I tried to send AT commands (after spending days on ESP8266-01) and everything was okay. Than I've uploaded the Blink example to the board, after that moment it'...
0
votes
0answers
79 views

error for uploading code to esp8266 module

I am getting error for uploading code to esp8266 module. I have installed cp2109 drivers also but at the time of uploading getting follwing error message: Sketch uses 344,292 bytes (32%) of program ...
0
votes
1answer
1k views

ESP8266 TCP/IP communication

So I'm looking into having a TCP communication between 1 ESP8266 Chip (Station) and 2 ESP8266 (Clients) connected to that station. Every time I find a code including the TCP, they only include things ...
-1
votes
1answer
514 views

NodeMCU and expected ';' before wrong ' " '

I am creating a home weather station but the Arduino IDE shows "expected ';' before 'viewport'". It detects wrong quotation marks. My code: String message2 = "<!DOCTYPE html>"; ...
-2
votes
1answer
898 views

Only getting error from ESP8266 AT commands

I am trying to get the ESP8266 work with Arduino AT commands. I am using the due. How do I get the ESP8266 to respond with anything other than ERROR? Here is the current serial output: AT ERROR ...
1
vote
5answers
53k views

How to make a 5-volt relay work with NodeMCU?

I have hooked up 2 channel 5-volt relays with NodeMCU v1.0 as shown in the fritzing below. Relay are powered with a different power source than NodeMCU. As of now, I am powering the NodeMCU from my ...
5
votes
1answer
14k views

ESP8266 & websockets

At the moment, I'm using various operating systems and devices like the Raspberry pi to control lights and other stuff over websockets. I use websockets since they added the support on Chrome. I write ...
10
votes
1answer
13k views

Both red and blue led of ESP8266 stays on

I've connected ESP8266 to Arduino UNO. After a getting a huge trouble I successfully managed to run some AT commands. I have also tested AP mode. Then I got some trouble with software serial ...
5
votes
1answer
21k views

Get data from website with ESP8266 using AT commands

I'm trying to get data from a website by sending a HTTP GET request via AT commands for the ESP8266. Here is my current code: #include <SoftwareSerial.h> const byte rxPin = 2; const byte txPin ...
4
votes
6answers
26k views

How to connect Wi-Fi shield ESP-12E-ESP8266-UART-WIFI-Wireless-Shield with Arduino

I have bought this shield from ebay and now I don't know how to use it, ESP 12E ESP8266 UART WIFI Wireless Shield for Arduino UNO R3 Bouclier Sans filfr: There are no instructions in the box or ...
5
votes
4answers
42k views

How to I make the Tx and Rx pins on an ESP-8266-01 into GPIO pins?

When programming an ESP-01 with Arduino IDE, how can I make the Tx and Rx into a generic I/O pins reliably? I think there's a command to swap the Tx and Tx with other pins. I tried serial.swap() but ...
3
votes
3answers
2k views

WiFi module ESP8266 + Arduino Uno

I'm trying to connect a WiFi module, ESP8266-01 to an Arduino Uno. But, as I've understood, this module will only work with 3.3 V. Since all of the data pins use 5 V, one of the solutions is to use a ...
4
votes
1answer
14k views

Upload with esptool fails with “espcomm_send_command: can't receive slip payload data”

Uploading a sketch to an ESP8266 board fails with: error: failed reading byte warning: espcomm_send_command: can't receive slip payload data warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed ...
3
votes
1answer
2k views

Arduino with ESP8266

I have completed the circuit and code to interface ESP8266 module with Arduino UNO. When i send AT,AT+RST from serial monitor the reply is correct . But when i send AT commands to search WIFI ...
2
votes
1answer
8k views

Simple Multiple RX/TX SoftwareSerial?

In this project I will be using multiple ESP8266 WiFi modules (4) connected by software serial to an Arduino Leonardo Micro (1 UART). I plan to rotate between all 4 (starting with 2): Open port, write,...
1
vote
1answer
7k views

DHT11 data in Arduino UNO to Firebase through ESP8266

Hello Good Day to Everyone. I have a project where I need to send DHT11 sensor data to a Firebase database using both Arduino UNO and Esp8266 esp-01 wifi module. Both of them must work together to ...
0
votes
3answers
22k views

How to connect ESP8266 12e directly to Arduino Uno (without shields)

I have an ESP8266 12E module and I'm trying to connect it to arduino, without any shields or whatsoever. I've looked everywhere but all I can find is about ESP-01 or with a NodeMCU. I'd like to do the ...
13
votes
4answers
22k views

ESP8266, Arduino IDE vs Lua?

I'm planning to buy an ESP8266. Do I really need to learn Lua to play with it? I have seen some people using it with the standard Arduino IDE. Do you need a custom firmware to use the Arduino IDE ...
5
votes
1answer
17k views

ESP 8266 does not respond at all

I have a ESP8266_01, and I wired up. It does not work for me. I have connected the ESP to an Arduino Uno. I am using a 5V pin from uP with a 3.3V regulator, and I have a voltage divider between RX(...
5
votes
1answer
5k views

How to optimise TX power for ESP8266?

I have multiple ESP8266 units programmed using Arduino SDK and I would like each one of them to adjust the transmission power to lower the power requirements. Arduino allows setting the TX power of ...
3
votes
1answer
1k views

Uploading sketch to ESP8266

I'm managing to upload a sketch to the ESP8266 01. I have been researching on internet but I'm not able to get it. I have installed the libraries for Arduino IDE and my circuit is the ESP powered by ...
2
votes
0answers
733 views

Wake up ESP8266 with multiple GPIOs

I am building a ESP-07 based IOT device, that detects the status of 4 doors. The device must connect to WiFi and send an http request, when 1 of 4 doors is opened. I want to place a reed switch, for ...
2
votes
5answers
19k views

Esp8266-01 AT commands returns random chars and/or “ERROR”

I'm trying to make my esp8266 work with my arduino. But when I send AT commands I get some weird symbols and some functions return "ERROR" Here's the code I'm using. #include "SoftwareSerial.h" ...
2
votes
0answers
222 views

ESP8266 Websockets problem

I am trying to set up a network of 4 esp8266 programmed via the Arduino IDE. The Network will have 1 server (esp8266 running in AP mode) and 3 clients (esp8266 running in STA mode). I would like to do ...
1
vote
1answer
2k views

ESP8266 deep sleep and MQTT

I am working on a project were I am putting my board into deep sleep mode, and it wakes up with an interrupt from a sensor. When it wakes from deep sleep I would like to send a message to my MQTT ...