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.

0
votes
0answers
11 views

ESP-13 WiFi shield - “error: espcomm_upload_mem failed”

I am creating a web server with Arduino and a ESP-13 WiFi shield. The wiring is as following: Arduino UNO || ESP-13 WiFi shield 5V || .5V GND || GND TX || RX RX || ...
1
vote
2answers
5k views

Problems with I2C connection on ESP8266 - 12F, which pins should I use?

Previously I had pined the temp/hum sensor HDC1080 with an Arduino using this sketch and everything worked fine. Now I want to run it over an ESP-12F, I uploaded it but it has issues at the time of ...
2
votes
3answers
18k views

How to determine Flash size?

I need to determine the flash size of my ESP8266 on my NodeMCU module in order to flash the AT firmware onto the board. Apparently different boards come with differently-sized flash memories. Can ...
0
votes
1answer
35 views

About Wemos D1 WiFi

I bought the Wemos D1 WiFi and I am wondering how to operate this. So, inside the Arduino IDE, I downloaded ESP8266 boards, I see WeMos D1 mini, WeMos D1 R1, and WeMos mini Pro/Lite. Why in the world ...
0
votes
1answer
29 views

Running 2 channel 5V relay with nodmcu esp8266 [on hold]

I am cry for help & search many articles with no solution.pls anyone guide me. I connect my relay with nodmcu in 2 ways 1st one a) Vcc = 3.3v from nodmcu b) in1 = D4 of nodmcu c) in2 = D5 of nod ...
-1
votes
1answer
22 views

Arduino IDE / Specified folder/zip file does not contain a valid library

I trying to add library here but it doesn't seem to work https://github.com/esp8266/Arduino This happens "Specified folder/zip file does not contain a valid library" This problem make me no longer ...
0
votes
0answers
68 views

JPEG/PNG issues with ESP8266 + Spiffy

I am using a Huzzah ESP2866 with Arduino IDE. I am trying to upload images using html + Spiffy, however the broken image logo keeps appearing. The text works fine. I am using code from here: The ...
0
votes
1answer
55 views

Why wifiManager.setTimeout(60) is not working?

in this code I am using wifiManager.setTimeout(60); so that when it fails to connect to the wifi it should restart. However, wifiManager.setTimeout(60) is not working at all. It get stuck and display ...
0
votes
0answers
9 views

ESP-8266 stopped working due to possibly faulty perfboard layout

I have been following this tutorial to set up my ESP8266. I have also recreated on a perfboard the circuit provided in the tutorial, and I intend to use this perfboard circuit in my project. The ...
0
votes
3answers
2k views

NodeMCU ESP8266 on Arduino IDE doesn't detect Wifi

I am using a NodeMCU 1.0 v3 and I am trying the example sketch (wifiscan) but it just doesn't pick up any AP in the house. My phone and laptops etc are able to pick up the APs though. Other sketches ...
0
votes
3answers
1k views

ESP8266 and Python Communication

I'm new to networking and working with ESP8266. I have successfully setup my ESP8266 and can program it from Arduino IDE (tested a blinky code). I want to send some data from a Python script running ...
0
votes
0answers
21 views

Extracting SPIFFS functionality to library on Arduino/ESP32 using PlatformIO

I am trying to make the C/C++ code I am writing a bit more modular (hopefully eventually unit testing it), but I am not familiar with C/C++ so after the refactoring the code does not compile any more. ...
0
votes
1answer
14 views

How to handle concurrent HTTP request when using interrupt

I'm trying to make a door sensor with a reed switch. Each time the there is a change, the ESP8266 sends an HTTP request to web service. Unfortunately, the ESP8266 serial monitor dumps a huge stack ...
0
votes
2answers
636 views

ESP8266-01 wrong flow control settings

Changed ESP8266-01 to wrong settings by mistake. It was working ok at 115200 (its default settings). It was connected like this: PC->(USB)->Arduino->ESP8266. Using Arduino as bridge Pins 0 and 1 (...
0
votes
1answer
2k views

Creating a webserver on a Wemos D1 mini pro

I am trying to put a webserver on my Wemos D1 mini pro. I am using this example for the Arduino code: https://github.com/wemos/Arduino_D1/blob/master/doc/esp8266wifi/server-examples.rst #include &...
0
votes
0answers
33 views

What's the required voltage for ws2815?

I am working on ws2815 led strip with the esp8266 on arduino 1.6.6 fast led library.Using CD40109B level shifter to convert 3.3V of esp output to 12V .It's working fine upto 31 leds according to the ...
0
votes
1answer
44 views

Deep Sleep NodeMCU with Door Sensor

I have a very simple code of door sensor (magnetic) which gives results in 1 & 0 format. But I want to run the NodeMCU only when a door is open or close. Rest of time I want to keep it in deep ...
2
votes
1answer
133 views

Problem with serial connection. Data garbled

I have a hardware device that sends data over the serial port and over a socket connection. I have the TX of the device connected to the RX of the ESP8266, RX of the device to TX of the ESP8266. ...
0
votes
1answer
34 views

Arduino pins vs Esp8266MOD

I had used Arduino Uno & RFID but now i want to run same code in Esp8266MOD. i have installed all the drivers and everything else to run esp8266 in Arduino IDE but i dont know how to connect rfid ...
0
votes
0answers
45 views

ESP8266 client.connect() generates a memory leak [duplicate]

I have an ESP8266 that has to run 24/7, it sends some data to server every our, everything works fine for about 2-3 days after that it crashes. Sometimes it resets sometimes it freezes. I got to the ...
0
votes
0answers
33 views

ESP12F module not working as an access point

I have an ESP12F WiFi module and I need it to work in access point mode. I burned the example code to it using Arduino IDE and it worked at first. I could connect to the WiFi provided by it using my ...
0
votes
1answer
56 views

5V 10A 4 channel relay to 2 lights15W light in series in 220V AC supply

I am trying to setup my first relay module with live environment. I have attached the relay module image below. Which I am using to control 4 devices in my switch board as follows: Fan (working ...
0
votes
2answers
165 views

ESP8266 timer to trigger actions (logic issue)

so I have an application in which there are 2 specific times (eg 9AM, 6PM) where a variable curPos is updated. Everything is converted in ms since 00:00 (9AM = 32400000, 6PM = 64800000). Now, the ...
0
votes
1answer
1k views

How to turn off or stop Access Point network in ESP8266?

I've created a code for ESP8266 12E with Arduino IDE, in which it'll operate as "Station Mode" or "Access Point Mode" on Wifi, depending on the situation. Everything works fine except when device was ...
0
votes
0answers
22 views

How to use ESP8266 with Google API for GPS as well as controlling Arduino pins

I am working on IoT based project and I want to control the device using mobile App. Everything works fine, I can switch the load and get the status back on mobile app, but I want to use my ESP8266 as ...
0
votes
1answer
120 views

Updating Server using ESp8266 with Direction Button Pressed IN

I've connected a 5-way tactile switch to a ESP8266 module and am using the Arduino IDE to create an automatically updating web server that displays the direction that the button is pressed in when ...
0
votes
2answers
32 views

Calculate the Li-Po Battery Level in ESP-Wroom-02

I am very new to micro controller and circuits. I am not at all with this field. But trying to create a home project where I have a device image attached below. This is 18650 Lipo battery powered ...
0
votes
1answer
29 views

ESP8266-01S Stopped responding after second launch

Here's the code: #include <SoftwareSerial.h> #define RX 6 #define TX 5 String AP = "..."; String PASS = "..."; SoftwareSerial esp8266(RX,TX); void setup() { Serial.begin(9600); Serial....
1
vote
2answers
55 views

Is it okay to short IN and GND pins of relay module with controller ground? [closed]

I have this relay module that is attached to an ESP8266 (Wemos D1 Mini). Currently, I operate the relay by shorting the IN and GND pins to ground (relay module uses low state to energize) with a ...
0
votes
0answers
38 views

LED turning on late

I am using an Arduino nano and an ESP8266. I have burnt an Arduino, but when I send a request to the Arduino LED, it takes some time to turn ON. Here is my code: #include <SoftwareSerial.h> ...
0
votes
0answers
39 views

How connect to iot device without predefined wifi and password

I bought a Sonoff switch to understand how it connect to my wifi without predefined ssid and pass. But I couldn't understand its logic. When I want to use ESP8266 module with Arduino, how my phone ...
0
votes
2answers
27 views

ESP8266 Switching firmware on the fly

Can you help me out to understand if this is possible with ESP8266 / 32 ? I have a main binary that i upload to the chip, let's call it A - that's done from arduino. A starts to work, but ...
0
votes
1answer
85 views

DIP switches on RobotDyn Uno+WiFi

There are theses 8 small pins on the Uno+WiFi board. Can someone please give me a detailed table or something on the settings of these 8 DIP switches? I'm sorry if this question has already been ...
0
votes
1answer
432 views

Error while uploading code to ESP8266 through Arduino Mega 2560

I am sorry for posting this question for the nth time but I am still not able to find a solution for this error. I am trying to upload the WiFiScan(Arduino IDE example program)program code to ESP8266 ...
0
votes
1answer
37 views

Newbie question: Set servo at certain degrees when something happens

I am trying to set my servo at f.e. 90 degrees when the friendlyValue of the soil sensor is < 50%. The servo isn't moving at all, is it because the code is running too fast and the servo doesn't ...
0
votes
1answer
44 views

Detect power interruption on NodeMCU

Im using a 5v 1A power supply and connected to VIN pin on the NodeMCU. I also use 18650 battery to keep NodeMCU running in case the power supply shuts off due to power interruption. I'm planning to ...
0
votes
2answers
999 views

ESP8266 + DHT11 AWS IOT Thing not updating thing shadow - was working before

I was able to get this working - https://www.youtube.com/watch?v=8hpro1olRK0 - send an sms and email of temperature and humidity data from AWS IOT using esp8266 + dht11 but all of a sudden it stopped ...
0
votes
1answer
25 views

Cannot get esp8266 - 12 wifi module to always read analogRead incoming voltage accurately

So I have and arduino uno that is firing an output on pin 8. This code is not in this file just to be clear. From there Im taking that output and using it to fire pin 0 on the wifi module. Im using ...
0
votes
0answers
25 views

ESP8266 WiFi.softAPgetStationNum() can only increase?

So using the ESP8266 in STA_AP mode, the amount of Stations connected to the AP can be figured out by running a WiFi.softAPgetStationNum() line. But let's say Alpha is my AP. And Bertha is a Client ...
0
votes
2answers
388 views

Send AT commands to ESP8266 from Arduino Nano serial monitor

I have an Arduino nano and an ESP8266-01. The first thing to do seems to be to send AT commands via the serial monitor and see the replies. ESP connect as follows: GND GND GPIO2 not ...
2
votes
3answers
73 views

Value of uninitialized EEPROM in ESP8266?

In my limited testing it appears that the EEPROM in the Wemos D1 is not initialized to 255 like the specs say is the case for AtMega based Arduinos. In fact, the values look to be more-or-less random. ...
1
vote
2answers
376 views

Serial monitor in Arduino IDE for RobotDyn ESP8266-Pro via CP2102

I bought a couple of "ESP8266-Pro" micro-controllers from a Chinese company named RobotDyn. There's no real documentation with them, but I've bought a lot of other stuff from them in the past that ...
0
votes
1answer
31 views

Cannot get pins on esp 8266 adafruit wifi module to read HIGH on pin 15

I have an esp8266 and I cannot get the value to read HIGH when 3.3v is applied to directly to pin by hand. I have an Arduino Uno powering the esp8266. It connects to the WiFi like it should, and now ...
0
votes
1answer
35 views

Synchronous communication between two Arduino boards using two ESP8266 modules

I am trying to establish communication between two Arduino boards to send data from sensors through a WIFI module. The problem is that I need them to connect to each other whenever they are in range ...
0
votes
0answers
27 views

Garbage output/ not running at start up nodemcu

I have a nodemcu acting as a thermostat home office. The wall heating element is controlled with a solid state relay on D2. If i have it connected, I cannot program the board from the arduino ide. I ...
0
votes
1answer
725 views

Arduino OTA port not updating in Arduino IDE

The OTA (from the ArduinoOTA library) on my ESP8266 does not show up in the programming ports on the Arduino IDE unless I restart the IDE. Even when I plug in a usb cable and the ports list updates ...
0
votes
1answer
137 views

How to avoid electromagnetic interference on ESP32 input

I've realized a simple circuit like the following, in order to implement a rain gauge that I can access via HTTP: With the following sketch: #include <WebServer.h> #include <WiFi.h> #...
0
votes
1answer
31 views

MQTT - Can lastwill be sent to multiple topics?

I'm using an ESP8266 as an IOT device, with MQTT to send status messages. Each device have its own availability topic, to state its online or offline state ( needed for Home Assistant indication on ...
0
votes
1answer
230 views

ESP send data to Arduino

I'm trying to send data from my esp to my arduino using serial using the following codes : esp : server.on("/drive",HTTP_GET, handleDrive); void handleDrive() { server.send(200,"text/html", "...
0
votes
2answers
37 views

ESP8266 Supply Voltage dropping below 3.3V

I am trying to power an ESP8266 with a 3.3V regulator (this one, can supply ~ 1A). I've been struggling for days to get the ESP to work – it will occasionally boot, occasionally connect, but then not ...