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.

429 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
74 views

How can I switch from ArduinoOTA to ESPhome safely?

I have a ESP8266 (ESP-12F) which I flashed with ElegantOTA, a variation of ArduinoOTA with just a different interface. I never managed to flash anything else, so it's a bare OTA I flashed using a ...
0
votes
0answers
14 views

BH1750 had strange behavior with WEMOS D1

I had WEMOS D1 (ESP8266 inside) connect to BH1750 (Light sensor). And I clone source code from an example BH1750FVI_4Wire. I don't know why 3 functions loop() operated differently as below: //Code A ...
0
votes
0answers
26 views

NodeMcu does not connect to my wifi

this is the code , and it never connects to the wifi ,i dont know what to do , the code is an example in the blynk library
0
votes
0answers
31 views

Reading data from multiple sensors from Arduino with ESP8266

I am trying to do a project where I need to get data from multiple sensors simultaneously. I am planning to use a Arduino to get the readings from the sensors. I am thinking to control the Arduino ...
0
votes
0answers
20 views

Relay LOW makes ESP8266 deny ESP.deepSleep command

ESP8266 reacts as expected when I issue the command: digitalWrite(D2, HIGH); // = OFF ESP.deepSleep(300000000); which switches a relay OFF and enters a deepSleep state. ESP8266 reacts NOT ...
0
votes
0answers
57 views

How to send JSON on a http POST request using an ESP8266?

I'm working on a project aimed on sending alerts via SMS. I signed up for a SMS service that works via HTTP requests (REST standard). I need, then, to send data as JSON, so that their server processes ...
0
votes
0answers
44 views

ESP8266 using deep sleep, http connection fails after 360 successful connections

I am building a monitoring device for my chicken stable. Therefore, I want to measure temperature, humidity, and a reed switch every minute and send the results to a server, then sleep 60s and repeat. ...
0
votes
0answers
41 views

Arduino How to Concat Strings

am stuck with something simple which is concating string not sure what am doing wrong , am getting exception (3 ) error due to it 3 LoadStoreErrorCause Processor internal physical address or data ...
0
votes
0answers
23 views

Esp8266 esp01 kicks other devices off tplink router

I had an Esp8266 esp01 module programmed to log onto the router and post data. It worked fine for a few months but all of a sudden it kicks everyone else off the router. Actually as soon as I ...
0
votes
0answers
36 views

Where is tcp.c?

This question is related to my other question, which I already answered. I want to add modify tcp.c to include my own code. The problem is I can't find tcp.c. The first thing I tried was looking in ...
0
votes
1answer
93 views

RtcUtility.h: No such file or directory

I have a problem with remaining headers. Can't seem to find the first header "RtcUtility.h". Anyone how to fix? I've provided a picture for you to see. Error Messages: Arduino: 1.8.10 (Windows 7), ...
0
votes
1answer
445 views

Reading Data from Google Sheets using Nodemcu

I want to read and writ data on Google sheets using ESP8266 WIfi Nodemcu and I'm able to do it but the time interval between two writing row is 3 seconds which is too much. I can read data but I am ...
0
votes
0answers
19 views

Esp8266 fatal timeout error

I recently got my esp8266-01 and for interfacing with Arduino I completed all the steps need for right form pins to board allotting from esp8266 community after everything I still get error of "...
0
votes
0answers
299 views

FatalError('Invalid head of packet (0x%s)' % hexify(b)) while uploading on ESP8266

I have this error while uploading my code to ESP8266 despite the fact that the code runs without errors. I have the git version of installation for the board. ERROR: File"C:/../../AppData/Local/...
0
votes
0answers
26 views

ESP 01 calling Pushing Box API

I want to write my data on google sheets using ESP 01 and Arduino Nano. So I copied code from some website I don't remember the website "how to send data on a local server" and modified it a bit. But ...
0
votes
0answers
348 views

ESP8266 rotary encoder ISR not in IRAM

I am trying to connecting rotary incremental encoder with NodeMCU Lua V3, ESP8266, CH340G. This tutorial is what I want to do https://www.youtube.com/watch?v=Y6BjnfwfzKE but here is the warning ...
0
votes
0answers
42 views

Have ESP8266 read 'text/event-stream` from flask in single request

I have a route in Flask which serves an event-stream: @app.route('/input/<string:blah>') def index(blah): def generate_random_data(): while True: r = random.random() * ...
0
votes
0answers
40 views

How to implement server.on() without any libraries?

I was trying to setup a web server with Arduino and ESP32, without using the ESP32 libraries. Currently I'm able to display a webpage(a form with single submit button) from the server, with only using ...
0
votes
0answers
27 views

Delayed response from web server

I am trying to implement a web server in ESP8266 that will handle simple HTTP GET requests by initiating an operation (e.g. move a stepper motor to the requested position) and return a response when ...
0
votes
1answer
153 views

Uploading Firmware to Atmega1284p using ESP8266 with AVRISP as programmer

I am trying to flash a new Firmware to my Ender 3 Pro. I am using the ESP8266 as an ISP via AVRISP over Wifi. I have a 10mF capacitor between the ground and reset of the ESP8266 I followed this ...
0
votes
0answers
140 views

Nodemcu single server with 2 clients

I am trying to connect my nodemcu server with 2 nodemcu clients. One client is connected and it works perfectly. I am unable to configure what to do for the other client to be connected and share data ...
0
votes
0answers
42 views

ESP8266 crashing with blue LED always on and without the word “w_flash” on startup

When using Arduino SoftwareSerial with ESP8266, the blue led turns always on every time I reset the circuit by power. The only way to take the ESP working again is reflashing with the SDK 2.2.1, AT ...
0
votes
1answer
26 views

Communication between three NodeMCUs such that one in in AP mode, second one in AP+STA mode and the third NodeMCU in STA mode

I am able to establish a connection between first and second NodeMCU, but unable to do so for the third nodeMCU. I used the IP address to establish connection. Should I assign a different IP to each ...
0
votes
0answers
31 views

when submit data to ESP8266, ets Jan 8 2013,rst cause:4, boot mode:(1,6) wdt occurs

I am trying to make my ESP8266(nodemcu) as a Web server. When my code operates, and user connects esp's wifi and enters '192.168.4.1/set_peroid' by IE or chrome, this webpage appears: This is ...
0
votes
0answers
127 views

ESP8266 do not 'reset' when I connected D0-RST for deepSleep

I connected like this status(D0 ~ RST) on my ESP8266 NODEMCU board for making deepSleep & wakeup automatically. after I set like this, ESP.deepSleep(5e6); // 5second for entering deepSleep mode ...
0
votes
1answer
29 views

Is it support to use Infrared radiation module in ESP12E?

I have a IR module -->image as shown is it possible to use the IR module in esp8266? how to do(sent and receive)? what is the packet format of IR module? please explain. Thanks
0
votes
0answers
43 views

How to make watchdog and automatically reset on esp8266

When my system is confronting at logical & hardwaretical problem, I want to make system know It has some problem and reset automatically because my esp8266(nodeMCU) is on the place where people ...
0
votes
0answers
67 views

Can't print out a field with ArduinoJSON

I'm trying to create a command interpreter. Allowed commands are stored in a JSON document inside SPIFFS. If I send an allowed command, it doesn't print the field associated with that value (end of ...
0
votes
0answers
54 views

Communication between 2 arduino's one at 6th floor and the other at the basement

Communication between 2 Arduino's one at 6th floor and the other at the basement. I tried with nodemcu , but the signal is not reaching the basement. From 6th floor. Which is the best way to connect?...
0
votes
0answers
129 views

ESP8266 WiFi.begin() isn't working

I did a project for IoT attendance system using ESP8266 and RDM6300. However, I can connect to wifi using WiFiMulti.addAP() function for my home WiFi. I tried WiFi.begin() instead of WiFiMulti.addAP(...
0
votes
0answers
31 views

Adafruit MQTT Library Error Connection failed

Adafruit_MQTT library is awesome but i have got a problem with it. I use it in Arduino with NodeMCU (ESP8266). Everything is okey with example code. (TLS connection - WiFiClientSecure). With my way ...
0
votes
0answers
82 views

DHT11 sensor reporting all null values

I am using a DHT11 sensor attached to a NodeMCU ESP8266 to have a web server reporting the local humidity and temperature values. I don't have a resistor attached in the circuit, the DHT11 is directly ...
0
votes
0answers
31 views

Can connect to esp8266 AP which is connected to Arduino UNO but no response

I am new to arduino and am trying to connect the esp8266 to arduino UNO and send commands to the arduino using an android phone. I have double, triple checked the connections and I am sure they are ...
0
votes
0answers
63 views

Creating global webserver without port forwarding

I'm setting up a "Smart House" project with Arduino+Esp01F(Serial Communication). But I want to make it global server. For it I use WiFiEsp library. But for it I must Get any port (neither 80 nor 443),...
0
votes
0answers
459 views

Wemos D1 won't work with MH-Z19B (CO2 sensor)

I would like to connect a CO2 sensor to the Wemos D1. I would like it to work via UART (RX, TX) and not the PWM pin. I've encountered numerous libraries on Github, but I can't seem to get it working. ...
0
votes
0answers
32 views

How to fetch a character in a specific position from serial buffer?

All what i mean is how to get the character in a given position in Serial buffer, if you want more details here is what i need : First of all I am using an Esp8266-01 (Wifi Chip) generic board with ...
0
votes
0answers
58 views

Why am I getting an 'invalid conversion' error on compile?

I have one of these NodeMCU ESP8266 OLED Arduino Wifi Modules which I am trying to load with SpaceHuhn's deauther software from Github I am trying to compile the source code using Arduino IDE with ...
0
votes
0answers
37 views

wemos ESP8266 fastled webmaster slave copies the master

I have been searching for a solution and attempting to make a solution where that a wemos running an existing project consisting of using a web server to control ws2812b lights, the basic code allows ...
0
votes
0answers
90 views

Parsing the data from an HTTP POST request on a ESP8266 / wemos

I'm sending an HTTP Post request on my Android App to my Wemos D1 mini pro and want to parse the incoming data (which is a json). My current code just prints out the whole POST request and I need to ...
0
votes
0answers
35 views

Why sometimes parsed data is null in WiFiEsp?

I'm setting up web server with args. As host.com/?pin=9. I parsed the response by indexOf and substring functions. In first connection response has been successfully parsed and number has been parsed ...
0
votes
0answers
26 views

About split string

Sorry my English is poor. I use nodemcu to get a json data. By this String alldata = client.readString(); But it turn this: HTTP/1.1 200 OK Server: nginx Date: Sat, 10 Aug 2019 04:53:16 GMT ...
0
votes
0answers
48 views

How to use ESPAsyncWebServer with SoftwareSerial communicating ESP01f

I'm creating a web server with using host.com/?ll="some". But I read that I can use for it ESPAsyncWebServer for this things. And how can I use it without flashing esp? If possible give me link to the ...
0
votes
0answers
97 views

Send HTTP request from Arduino UNO+ESP8266

I am trying to send an HTTP request from from an Arduino UNO through an ESP-01 connected by Serial. Communication with the ESP and connection to the AP work fine. But when i try to send an HTTP ...
0
votes
0answers
32 views

Creating WebServer with 5000 port with AT command(ESP-01f)

I'm setting webserver with toggle led. I want to create global webserver. I`m mean hat use server with global ip. For it I must use port too. global ip/local ip:port. I want to create on 5000 port. I'...
0
votes
0answers
147 views

ESP8266 spend 10mA, even though It is in the deep sleep mode

I am using Nodemcu ESP8266. I want to know how much my ESP board consume the battery during sleep mode. as the Mannual said it spend about micro-ampere, but my multi meter said it spend 10 mili-ampere,...
0
votes
0answers
150 views

Exception(28) when calling `WiFi.status()`

Exception(28) intermitent, apparently caused by low quality connection, when connecting to WiFi. Seems like it has something to do with WiFi.status(). Is this caused by a problem with WiFi,status() ?...
0
votes
0answers
38 views

AT Commands with NodeMCU

I have an NodeMCU with an ESP8266 32Mbit, I am trying to flash the AT Firmware as described in Non-OS AT Instruction Set with NONOS-SDK-3.0 but I dont get any responses. I have the MCU connected by ...
0
votes
0answers
280 views

TIMEOUT error when connecting ESP8266 to Arduino Uno

I am trying to set up my Arduino Uno to receive information from the internet, but I am having a very hard time finding proper guides online. I am using an Arduino Uno and ESP8266-01. I am trying to ...
0
votes
0answers
582 views

input from push button

I have connected three push buttons to node mcu which are working properly, but display of output on COM port is very slow. It works properly when two buttons are connected, but not when three are ...
0
votes
0answers
46 views

How to connect ESP8266 to my home WiFi securely

I'm working on a home automation project using NodeMCU ESP8266. Most of the example projects I see online provide their WiFi SSID and password in plain text at the beginning of the code by storing ...