Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
0answers
996 views

How to listen to multiple server ports with ESP8266?

I'm using WeMos D1 R2. I'm trying to listen to both ports 1992 and 1993. This is my current code: #include <ESP8266WiFi.h> WiFiServer server_1992(1992); WiFiServer server_1993(1993); void ...
2
votes
0answers
403 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
0answers
210 views

How can i change by esp8266 baudrate, as I accidentally changed the baudrate to something else(which I dont remember)?

//In order to connect, SoftwareSerial esp8266(2,3); // the TX pin of esp8266 is connected to pin 3 of // arduino uno and RX pin is connected to 2 // we need to pass baud rate to begin ...
2
votes
0answers
1k views

Converting between NEC and HEX values from IR receiver

I jacked one of the IR receivers from my LED strip and hooked it up to my ESP8266 NodeMCU (running Arduino code). I found a great library called IRremoteESP8266. With this library, I can basically ...
2
votes
0answers
1k views

Sending data from Arduino UNO as a SOAP request

I have a servo motor on one end which can be turned ON and OFF with web service sending SOAP request. In the other end I have my Arduino UNO with ESP8266. Currently, I am able to send HIGH or LOW ...
2
votes
0answers
1k views

Non-blocking MQTT library

Are there any MQTT libraries that do not block while connecting? I'm currently using PubSubClient, and the connection part contains this code: https://github.com/knolleary/pubsubclient/blob/master/...
1
vote
0answers
15 views

Fail using OTA - Network ports

I was using OTA to upload sketches to ESP ports I have ( around 10 ESPs). For some time now - I'm having some kind of a trouble I would like to share, since I've read some similar topics, but all didn'...
1
vote
0answers
87 views

OTA port not showing up

I am using the BasicOTA file and after uploading and rebooting the board everything works and I get a message in the serial monitor saying "Ready" and my board's IP address. However, the board doesn't ...
1
vote
0answers
60 views

HTTP GET fails from ESP8266 to Emoncms

I've tried the code with emoncms.org as well and the results are identical; one parameter posts fine, but when I include the second parameter in the JSON I get HTTP 400 Bad Request from nginx and I'm ...
1
vote
0answers
502 views

Connecting to Alexa with FAUXMOESP library not detecting the device

I am using NodeMCU (ESP8266 12E) module from somedays. I am trying to connect to Alexa for voice controlling. I have Amazon Alexa Echo 2 from which I am trying to discover my nodemcu as a smart home ...
1
vote
0answers
305 views

Arduino/ESP8266 - TCP server, connect to AP, receive connections/data

We're trying to use an ESP8266/Arduino Uno as a TCP server, which connects to a wireless AP and then receives commands from other devices on the same network. Currently we got the "connect to AP" part ...
1
vote
0answers
497 views

Connecting to Eduroam wifi

I have an ESP8266 board and want to connect it to wifi. It works with usual home wifi, but I can't get it to work in any way with eduroam (university wifi). I tried this code and pretty much ...
1
vote
0answers
308 views

Exporting an html for esp8266

EDIT: Added "web page source" ("In the end", :D ) (Please, sorry if this question isn't in the right place, feel free to move it to that place) Here I have a problem: In my house I have a self-...
1
vote
0answers
132 views

What is the best way to communicate with ESP8266-01 in LAN?

I've been working on this small project, not that small for me though, for a while. Because I also had classes and exams I didn't really have time for it. But almost everything was done except that I ...
1
vote
0answers
190 views

ESP8266 based wifi IR Universal Remote for A/Cs

I have been working on a prototype for a wifi based universal remote controller and i have been using the IR-Remote library for the same. But i have a couple of questions which google couldn't help ...
1
vote
0answers
54 views

ESP8266 WiFi Module disconnects from WiFi itself

#define id "qwerty" #define password"123456789" int relayPin= 4; void setup() { Serial.begin(115200); Serial.println("AT"); pinMode(13, OUTPUT); pinMode(relayPin, OUTPUT); delay(3000); ...
1
vote
0answers
476 views

ESP8266 can't read parasitic DS18B20 temperature (reset during conversion, 85°C)

tl;dr at the end I was running two DS18B20+PAR temperature sensors without any problems for the last two years on an ESP-01 module running on 3.3V on GPIO 2 using a 4.7K pullup resistor. Now, ...
1
vote
0answers
28 views

Serve currently uploaded code from Arduino

I'm creating a project where multiple ESP8266 12-E's are connected together. I want to use ArduinoOTA with the HTTP option (described here) and I want to have one ESP be able to send its code to ...
1
vote
0answers
489 views

Reading +IPD response from serial.read() using Arduino UNO and ESP8266

I have a python server running on my PC and I am using an Arduino Uno (wifi enabled by a ESP8266 chip) as the client. I can make the the server and client communicate using AT commands as shown below: ...
1
vote
0answers
187 views

Sparkfun ESP32 Thing - Sending string over IR

I have successfully gotten Nano-to-Nano IR communication working with the below: #include "Arduino.h" #include "TagTransfer.h" #include <SoftwareSerial.h> const int STX = 2; const int ETX = 3; ...
1
vote
0answers
110 views

ESP8266 exception if sending TLS-POST-request for a couple of iterations

Problem I send sensor measurements from an Arduino to -> AWS APIGateway -> Lambda -> CloudWatch, which works but only for a couple of minutes, then a stack-trace is shown and the program stops. ...
1
vote
0answers
162 views

Adafruit Huzzah Feather not resetting and serial monitor garbage

Hi there, I have an Adafruit Huzzah Feather project laid out as you can see in the diagram above. Currently I am having trouble getting it to reliably reset and start the sketch. More often than ...
1
vote
0answers
614 views

espcomm_sync failed when connecting ESP8266 (ESP-01)

I'm new to the Arduino (I'm a developer but didn't have a chance to work with this kind of device before) and wanted to connect my ESP8266 to the Arduino Uno. I followed this tutorial but I got errors:...
1
vote
0answers
475 views

ESP8266WiFi client.print() strange response

I am using a NodeMCU, so ESP8266. I installed the core via the Boards Manager at the last version. My goal is to control a GoPro camera through WiFi. I am getting mad with these few lines of code: ...
1
vote
0answers
478 views

Where is the definition of system_adc_read() in the esp8266 Arduino code?

Where is the definition of uint16 system_adc_read(void) in the esp8266 Arduino code? I can see it being declared in Arduino/tools/sdk/include/user_interface.h, however there seems to be no definition ...
1
vote
0answers
911 views

ESP-01 not running custom firmware

I have two esp-01 microcontrollers that I'm trying to flash using the Arduino IDE but found some problems in the process. I followed step 1 of this tutorial to install all the dependencies to the IDE. ...
1
vote
0answers
193 views

ESP8266 vs. iPhone Hotspot

My Problem: ESP8266 wakes up --> takes measurement --> looks for known SSIDs --> uploads data --> goes back to deep sleep This whole process works with android hotspots and other "normal" wifi ...
1
vote
0answers
2k views

ESP8266 - AP+STA mode not working properly

I'm trying to have an ESP8266 ESP-12 to serve as Access Point and Station at the same time, delivering the same webpage in both cases. This is what I have: #include <ESP8266WiFi.h> #include <...
1
vote
0answers
654 views

Arduino Uno, ESP8266 HTTP request have no response

Firmware version AT+GMR AT version:0.21.0.0 SDK version:0.9.5 OK Connection ESP8266(ESP-01) <> Arduino Uno GND <> GND 3V3 <> 3.3V EN(CH_PD) <> 3.3V TX <> ...
1
vote
0answers
129 views

ESP8266-01 system param error

I'm using esp8266-01 connected to arduino nano. Every time I tried to upload code to the esp8266 chip I get this error in the serial monitor: system param error 56 45 52 31 00 00 00 00 ff ff ff ...
1
vote
0answers
1k views

NodeMCU stops responding after several hours

I'm controlling some devices through a relay and a NodeMCU, it works fine and reconnects without problem in the meantime I'm testing it, but after I leave it like for 3 or more hours, it stops ...
1
vote
0answers
2k views

Can upload programs to ESP8266 with Arduino Nano but not run them

I am trying to use my Arduino Nano to program my Generic ESP-01 Module. I want to use the module to control an RGB LED Light Strip but am not having much success, only errors.... These are my ...
1
vote
0answers
74 views

Trying to communicate with an ESP8266

G'day guys, I'm trying to get an ESP8266 to work with an Arduino Uno.Here is the wiring. When i go to the serial monitor(115200baud) and type: AT, there is not response from the ESP8266.Is there ...
1
vote
0answers
1k views

ESP8266 library / function for IR remote control

I am using IRremoteESP8266 for reverse engineering Hitachi AX-M76E mini stereos IR controller. I want to read the signal that the remote sends and send the same hexas to the stereos with IR led. ...
1
vote
0answers
423 views

Make RFID Tag as a variable

I want to make RFID Tag as a variable, and push it to the web server. But I struggle to do the Serial.read function.. Any solutions? Here is my code #include <ESP8266WiFi.h> #include <SPI....
1
vote
0answers
210 views

Can't send AT comands to ESP8266 on any baud rate

I have problem with baud rate. I have changed baud rate of esp from 115200 to 9600 with AT command AT+CIOBAUD. And everything worked fine until I wanted to change it back and executed command AT+...
1
vote
0answers
158 views

ESP8266 sometimes stuck on AT+CIPSEND with “busy s…”

I'm using an ESP8266-01S Wi-Fi module on an Arduino UNO. When I use AT+CIPSEND=4 and then type test it successfully sends that message to my laptop. However, sometimes the module returns a busy s... ...
1
vote
0answers
934 views

My ESP8266 01 is saying at espcomm_sync failed, espcomm_open failed, and (2x) espcomm_upload_mem failed. OS X

I'm extremely frustrated at my ESP8266 right now, with the Arduino. I am using a 6v DC battery power supply (4xAA batteries), and a 3.3v voltage regulator (NTE1904). I have the connections as shown: ...
1
vote
0answers
294 views

Can't Flash ESP8266 latest firmware, says “Fast Flashing error” and "Invalid head of packet(' ')

I can't figure out how to flash the firmware found on http://www.electrodragon.com/w/ESP8266_AT-Command_firmware. I am using ESP8266 Download tool v3.4.4. When I am adding a firmware in download path ...
1
vote
0answers
316 views

Connection between Arduino Mega 2560 , ESP8266-12F , PCF8574

Another start for achieving something new , I want to connect ESP8266-12F , Arduino Mega 2560 Board And the PCF8574 I/O Expander (I can use MCP23017 also) together , Where ESP8266-12F will take ...
1
vote
0answers
309 views

Why does my ESP8266 making an HTTP request to an MDNS responder keep getting redirected to my ISP's search engine?

I have two ESP8266's trying to talk to each other, a 'host' and a 'client', if you will. I have the ESP8266mDNS.h responder running on the host at esp8266wifi.local. On sending an http GET request to ...
1
vote
0answers
478 views

Arduino Mega + ESP8266 - Post Data to website issue

I'm trying to post data to my SQL database and it seems that I'm not sending the data correctly. My PHP file is working since I have tried it and it writes to the database. I am getting an esp.find("...
1
vote
0answers
2k views

Load website from SD card

I combined two different codes together, a captive portal and a SD card webserver. I encountered a problem which the website in the SD card doesn't load when I connect to the AP (captive portal page). ...
1
vote
0answers
1k views

WiFiManager autoconnect after timeout

I like to configure my ESP8266 with WiFiManager. After each power cycle, the config portal should open and wait for a new configuration. If there is no new configuration entered, WiFiManager should ...
1
vote
0answers
224 views

ESP-12f SoftwareSerial read fails

I am trying to use esp8266 version of SoftwareSerial, espsoftwareserial, on an esp-12f. If I initialize an object using: SoftwareSerial gpsSer(14,12, false, 256); or SoftwareSerial gpsSer(12,14,...
1
vote
0answers
424 views

AT+CIPSEND command closed the connection automatically

I don't know why CIPSEND command closed the connection after sending done without CIPCLOSE command. Is it normal? If I want to keep the connection, what should I do in this case?
1
vote
0answers
91 views

Esp8266 not working

I connected all the pins as in datasheet, except ch_pd. But when I connect ch_pd to 3.3 V , the red light on esp8266 goes dim. I used 3.3 V, 250 mA power supply. What is the reason for this?
1
vote
0answers
659 views

ESP8266 only responds to AT and AT+GMR

I purchased a pack of esp8266 (https://www.amazon.com/gp/product/B00PA3UQNI/) and a usb to serial converter (https://www.amazon.com/gp/product/B01FUA2BBU/) from amazon. I hooked them up and attempted ...
1
vote
0answers
1k views

Arduino Wifi/Wemos Wifi D1 adding &t=0 to simple GET request

I'm attempting to make a simple get request to my website from my arduino, but I'm unable to do so. I keep getting the following error: <html> <head> <meta http-equiv="refresh" ...
1
vote
0answers
671 views

Error loading Blink sketch in esp01 (esp8266)

I have the esp01 connected the serial port using a usb to ttl serial cable and also using the Arduino UNO as suggested in some tutorials. I can execute AT commands. But loading a sketch from Arduino ...