The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
0
votes
0answers
14 views

WS2812B not fully working with NodeMCUv2 [ESP8266]

I have a problem with my NodeMCU v2 board and my WS2812B led matrix with 256 (32x8) LEDs. The Board cannot be able to turn on the 191th led and stops working after the 190th without changing the ...
0
votes
0answers
16 views

WDT Reset with PubSubClient library for esp8266

I am using ESP8266 with arduino and PubSubClient library. With this library on esp8266, i can see esp8266 is resetting due to Watchdog reset. After google search get to know this is known issue. I was ...
0
votes
0answers
20 views

Serial communication from Arduino to ESP8266 NodeMCU works, but from NodeMCU to Arduino isn't working

My circuit connection is like: (I am following this tutorial) Code uploaded to Arduino: #include <SoftwareSerial.h> #include <ArduinoJson.h> SoftwareSerial s(5,6); void setup() { s....
0
votes
0answers
17 views

Characters like '$' coming through weirdly (as in '$$amd4') when sent from ESP8266 to Uno via Serial

I am running a program on an Uno using data that an ESP8266 is sending via Serial (can't run directly on the ESP8266 due to not enough GPIOs) and I'm having a problem where characters like '$' on a ...
0
votes
0answers
10 views

Documentation for esp8266::polledTimeout?

I came across esp8266::polledTimeout for the ESP8266 Arduino core in the NTP example. But I could not find any documentation. It seems to be a template that is intended to eliminate manual time(out) ...
0
votes
0answers
18 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
11 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
11 views

Using Library LoRa.h with Wemos D1 R2 for Lora Shield

I have been using Lora Shield for communication between server and multiple sensor with arduino . But recently i must save data received to Cloud . So i choose Wemos D1 R2 that have similar board with ...
0
votes
0answers
20 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
1answer
24 views

Obtain retained MQTT message

I’m using ESP8266 with Arduino code. Each device posts a ‘state’ and an ‘avail’ messages for a specific topic. I wish to be able to read those retained messages and not only right after connecting ...
0
votes
0answers
24 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
17 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
28 views

ESP8266 webserver reboots from form generation [closed]

I have an ESP8266 with the latest http server code. https://tttapa.github.io/ESP8266/Chap10%20-%20Simple%20Web%20Server.html What I try to do is to generate a fairly large http response string with ...
0
votes
0answers
37 views

Unused lines of code causing program to crash

I have a project which essentially involves WiFi, a web server, and an LED. I'm using the Inbuilt LED on my ESP8266 for testing at the moment. I am using the Arduino IDE for programming. I had a ...
0
votes
0answers
21 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
1answer
36 views

Error when compiling code NODE MCU ESP8266-12E module in Arduino ide

Here is my sketch: #include<ESP8266WiFi.h> char* ssid = "xxxxxxxx"; char* pass = "xxxxxxx"; void setup() { WiFi.begin(ssid,pass); Serial.begin(9600); while(WiFi.status()!=WL_CONNECTED) { ...
0
votes
2answers
30 views

Control 5V from ESP8266 Wemos D1 mini

I am making a simple heater with the help of ESP8266 wemos d1 mini. Heaters will use 12V DC power suply and ESP8266 must turn the heater on and off with the help of 5V DC relax. I want to avoid the ...
0
votes
1answer
32 views

Brownout detector triggered

I'm running a pretty basic setup. When I run a small program just doing some serial.println, it works fine, when I try to do operations that needs more power, the brownout detector gets triggered. I'm ...
0
votes
1answer
37 views

ADS1115, ACS712 and ESP8266

I have an ACS712 (5v sensor), an ADS1115 (5 or 3.3v) and an ESP8266 board (3.3v). I know I can't directly use the ACS with the ESP without a voltage divider on the analog pin. So I figured I could ...
0
votes
1answer
27 views

ESP32 access point code not compiling

I'm trying to use the ESP32 board to control an LED, buzzer, and motor (ABA) through an access point. I got some code from this page: https://lastminuteengineers.com/creating-esp32-web-server-arduino-...
0
votes
0answers
16 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
28 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
1answer
56 views

ESP8266 ESP-07 does not respond to commands

I just bought an ESP8266 ESP-07 V1.0 Serial Wifi Transceiver. Similiar to this: https://www.ebay.com/itm/ESP8266-Serial-Wifi-Transceiver-Module-for-Arduino-ESP-07-V1-0-New-/331868488091 I have ...
0
votes
2answers
30 views

Arduino Nano burns with ESP-01 in parallel

So I have an Arduino Nano powered in parallel with an ESP-01 (for the ESP there is an extra LM1117-5.0 voltage regulator in series). +12V ---------+---------+ | | ...
0
votes
1answer
22 views

Sending multi-byte data over I2C between different processors

I have been attempting to read data from an ATTINY84 via an ESP8266. Both are programmed via the Arduino IDE, though as PlatformIO is a proxy for that, I'm not certain what version of the ATTINY core ...
0
votes
0answers
20 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
33 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
43 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), ...
2
votes
2answers
59 views

ESP8266 seems to be bricked , how to recover?

In a part of my sketch I put by mistake pinMode(7,INPUT_PULLUP); Which is dedicated pin for external flash chip (gpio7/SDIO_DATA_0/SPI_MISO) that not supposed to use for sketch. after uploading ...
0
votes
1answer
48 views

Did I kill my ESP8266?

So I've been playing with the esp8266 controller lately and today my Usb Host Mini came in that I wanted to connect. So for this I followed the following tutorial https://www.hackster.io/139994/plug-...
0
votes
1answer
27 views

NodeMCU max draw

1) what is the max draw I can draw from NodeMCU V3 logic and 5v pins? 2) Also, I heard i draw with it more than 500mA, the PC USB port stops working. Is that information actual? Because USB 3 port has ...
0
votes
0answers
27 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
2answers
35 views

nodemcu GPIO6 clock

is there a way that i can declare gpio6 (CLK) as an input without getting a wdt reset? I'm somewhat new to circuitry, but my boss wants to use it(GPIO6) to talk with external devices. I have more ...
0
votes
2answers
50 views

WiFi connection in loop function

What I am trying to do is while connected locally in the esp8266 and give it a ssid and password, save them in a global variable and use them to start a connection inside loop function with a flag so ...
0
votes
1answer
31 views

MQTT with OLED realy :- display not coming properly

I am very new to Arduino/ESP and I am writing a code to activate 2 relays using MQTT. Also like to display status on OLED here is my code #include <ESP8266WiFi.h> #include <ESP8266WebServer....
0
votes
1answer
63 views

How to get current Date [closed]

How to get Current date, month and year. I have used RTC, NTPClient, but it didn't work. This gives default output of 1970. What can I do for fixing it. time_t now = time(nullptr); struct tm* newtime ...
0
votes
0answers
16 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
2answers
20 views

How to Sort a String with Number by Ascending

I have trouble figuring out how to sort a String that has a Number in it. The String im sending looks like 112:AAAA and 111:EEEE, how would I sort it so that the 111 will be the first in an array but ...
0
votes
1answer
27 views

NodeMCU MQTT getting topic but not calling IF loop

I am very new to Arduino/ESP and I am writing a code to activate 2 relays using MQTT. My connection is successful and I am able to receive message/topic printed out on serial console. Here is my code: ...
0
votes
1answer
28 views

Expected unqualified-id before 'public'

I'm making an arduino program for a buzzer that you can record notes and song for and then play them back. I have 2 arrays that hold both pitch and if a note is being played. I continue to get errors ...
0
votes
0answers
46 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
22 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
1answer
42 views

how to do Arduino to esp8266 communication

I am trying to do Arduino to ESP8266 communication, but I am not able to send data to esp8266. However I can receive data from esp8266. Here if my Arduino code: #include <SoftwareSerial.h> ...
1
vote
1answer
46 views

#include <ESP8266WiFi.h> Error with WiFiClientSecureBearSSL.h

I am new to the Arduino world and it seems that this simple problem is keeping me at the start line. I use the Generic ESP8266 Module as Board In my sketch I just write: #include < ESP8266WiFi.h &...
-1
votes
1answer
40 views

How do I send Sensor Data from one Arduino to another Arduino that is a Webserver to post it?

I have been looking for over 2 hours now and just cant get it figured out. Im very confused as to how to do this. The solution I thought I found was to use HTTP POST. But I just cant get it to work. ...
0
votes
0answers
70 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
34 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() * ...
1
vote
0answers
50 views

reference to 'File' is ambiguous. Why am I getting this error?

The program is supposed to take photo and store the picture into the SD card with the timestamp. My Program Code: #include <SdFat.h> #include <Adafruit_VC0706.h> #include <SPI.h> #...
0
votes
1answer
30 views

How do I use PlatformIO to flash ESP-12F (ESP8266MOD)

In PlatformIO while creating a project , in the board selection there is no ESP-12F in the boards. While there is ESP-12E. I can flash ESP-12F while choosing ESP-12E from the boards without any ...
0
votes
0answers
34 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 ...