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.

5
votes
5answers
23k 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 ...
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 ...
0
votes
1answer
170 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:
9
votes
5answers
52k 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 ...
7
votes
6answers
91k 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 ...
9
votes
1answer
2k 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> ...
1
vote
3answers
44k 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....
6
votes
1answer
914 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
14k 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 ...
2
votes
2answers
3k 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
4answers
25k 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
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
10k 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 ...
5
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 ...
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 ...
1
vote
1answer
237 views

How to establish a connection between an Arduino and a web server via ESP8266 [duplicate]

I'm working on a IOT project where three or more IOT device communicates with a web server. The IoT device will have Arduino UNO which is connected to a ESP8266 so internet access is available. ...
0
votes
1answer
97 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
41 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
0answers
35 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
2answers
171 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
1answer
702 views

Help in “An error occurred while uploading the sketch”

Trying to test THIS. Got following error: esptool v0.4.13 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de> setting board to nodemcu setting baudrate from 115200 to 9600 setting port ...
0
votes
1answer
136 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
votes
1answer
415 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>"; ...
1
vote
5answers
46k 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 ...
4
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 ...
7
votes
1answer
12k 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
20k 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
25k 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 ...
4
votes
3answers
36k 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 ...
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 ...
3
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 ...
2
votes
1answer
7k 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
6k 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
21k 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 ...
11
votes
4answers
21k 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
16k 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
4k 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
589 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
2answers
16k views

How to reset ESP8266 wifi module

I have programmed ESP8266 to make it accessible over the network using below program. First Program #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> ...
1
vote
3answers
8k views

Basic Question - ESP8266 Board Pins

I have an embarrassingly simple question. My experience to date has been limited to Arduino Uno + Wifi101. I bought an ESP8266 and noticed that the GPIO pins don't match the printed numbers on the ...
1
vote
1answer
4k views

How to pass JsonObject from ArduinoJson to ESP8266WebServer object?

I am learning the ArduinoJson.h library and creating jsonOject: JsonObject& prepareResponse(JsonBuffer& jsonBuffer) { JsonObject& root = jsonBuffer.createObject(); JsonArray& ...
1
vote
2answers
3k views

ESP8266 error: espcomm_upload_mem failed while uploading sketch

First of all, I would like to apologize for posting this error once again to this community. However, I have been studying articles for last many days to resolve this error. Unfortunately, I did not ...
0
votes
1answer
198 views

Arduino Uno with ESP8266-01 with AT [closed]

Here is the schematic I followed: Here also the link: https://www.circuito.io/app?components=10167,11021,12083,13678,13959 #include "DHT.h" #include "NewPing.h" #include <SoftwareSerial.h> #...
0
votes
2answers
1k views

esp8266 not getting programmed

I am working on an esp8266 and I am connecting it with Arduino Uno. I have programmed the Arduino but when I write AT command on the serial monitor it doesn't show anything.The connections which i ...
0
votes
2answers
4k views

Peer to peer communication

Hello guys , I want to perform a mesh network between 3-4 modules using ESP8266 . Any one have idea how to do it?
6
votes
3answers
4k views

Can I use arduino's 3.3 V output directly to esp8266?

I just bought esp8266 and ftdi usb driver, I want to power the esp8266 with Arduino's 3.3 V output, is that possible? I saw some tutorial on youtube in that they are suggesting us to use 3.3v ...
5
votes
3answers
4k views

esp8266 garbage out only when using SoftwareSerial

I'm trying to operate the esp8266. When I connect RX+TX pins to pins 1+2 on the Arduino, everything works fine. but when I'm trying to use software serial all hell breaks loose and the recieved data ...
2
votes
1answer
668 views

ESP8266 disconnects after relay switch

the aim of the project I'm working on is to water my bonsai automatically, depending on numerous sensor inputs. So basically I have Arduino Nano with huminity and light sensor, a relay to switch the ...