Skip to main content
The 2024 Developer Survey results are live! See the results

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

ESP8266 NodeMCU board when inserted via cable, doesn't showup in COMPORT, in Arduino IDE throws an error

I'm trying to connect NodeMCU ESP8266 board with my Windows laptop and push the code using Arduino IDE. However after connecting it through cable, in the Arduino IDE I see the below error while ...
Giri's user avatar
  • 99
2 votes
0 answers
44 views

CUT HERE FOR EXCEPTION DECODER --------------- Exception (0): esp8266

Why does my program end up with CUT HERE FOR EXCEPTION DECODER for esp8266? I am triying to integrate gps and accelerometers with a website. integrating gps is the hardest one since it always refuse ...
Marifin -'s user avatar
0 votes
0 answers
50 views

int does not name a type [closed]

#include <Adafruit_ST7735.h> #include <Adafruit_ST7789.h> #include <Adafruit_ST77xx.h> #include "sasuke.h" #include <SPI.h> #include <TFT_eSPI.h> // Hardware-...
THÀNH NGUYỄN TRUNG's user avatar
3 votes
0 answers
48 views

Why RTU bridge timeout even though answer is received?

I'm testing the following code as a bridge between https://sourceforge.net/projects/qmodmaster/ and https://pypi.org/project/pyModSlave/. As hardware, I'm using a NodeMCU 1.0 and a USB/TTL converter. ...
Eduardo-bat's user avatar
0 votes
0 answers
27 views

ESP8266 NodeMCU SD Card Not Initializing

I have tried numerous tutorials, Arduino examples and I cant get an SD to initialize. There is a card inserted that is formatted with exFAT and there is one file test.txt. Particularly SD Card Module ...
Jason Crosby's user avatar
-1 votes
0 answers
45 views

Arduino Line Notify Stops Working After 1 Hour

I'm using an Arduino with the ESP8266 to send notifications to the Line app using the TridentTD_LineNotify library. The notifications work perfectly at first, but after running for about an hour, the ...
KaaDodTod's user avatar
2 votes
1 answer
67 views

Software serial communication problem between ESP8266 and Arduino Mega for plant monitoring system (using Blynk IoT)

We're using the ESP8266 to receive data from the Arduino Mega board, where our sensors are connected. Supposedly, our ESP is connected to the Blynk App. However, the values showing up in our dashboard ...
Earth_Lovers's user avatar
1 vote
0 answers
70 views

Is it possible to create a RS485 bridge over Wifi using 2 ESP07's

I've got a solar energy inverter that has a RS485 port for connecting a meter. You can place a separate energy meter in your distribution panel at home, that measures things like power usage, purchase ...
user2190492's user avatar
1 vote
1 answer
165 views

Why does filling up a large char array cause a crash? (ESP8266)

Here's the code in question: void setup() { Serial.begin(115200); Serial.println(); char test[5000]; int i; for (i = 0; i < sizeof(test)-1; i++) { test[i] = 'x'; Serial....
Daavee18's user avatar
-1 votes
1 answer
136 views

How to use ESP12F analog pin to read battery voltage?

I'm using an ESP12F microcontroller powered by a 3.7V battery. What I want is to get actual information about the battery's state of charge. So to know when the battery needs to recharge. To achieve ...
stanimirsp's user avatar
2 votes
1 answer
74 views

Communication between 3.3 V and 5 V system

I am using an ESP8266-01S that only works with 3.3 V power. I want to control a 5 V relay. I gave each component its own power source and got an NPN transistor and wired it like in the diagram, but ...
Samy ashraf's user avatar
0 votes
1 answer
77 views

Why are my ESP8266 HTTP firmware updates failing?

I've just spent a few hours on this and I am starting to go crazy. I have code to do a firmware update over HTTP working on several ESP32s. I'm trying to adapt that code to work on an ESP8266, but can'...
Blaine's user avatar
  • 101
0 votes
1 answer
73 views

ESP-WROOM-02 with on-board 18650 battery. How to charge it?

I have a ESP-WROOM-02 module with on-board 18650 battery. V+ and GND are exposed on the board. Can I directly charge the battery using an USB-C connector with the two cables (red and black) directly ...
Frank Piselli's user avatar
1 vote
1 answer
77 views

NodeMCU 1.0 - Port D3, relay and pump does not boot

I'm trying to create a watering system using a NodeMCU 1.0, a relay and some pumps. Currently I've port D0, D1, D2, D5, D6, D7, D8 already in use. I'm trying to use the port D3 (GPIO0) as follows, but ...
Timmy's user avatar
  • 195
1 vote
0 answers
45 views

Esp8266 WebServer crashes when I use PracticalCrypto library! why?

So here is my code, Its the simple_server example from ESPAsyncWebServer.h and encryption example from PracticalCrypto.h combined. the webserver works fine and I can see the / page, but the moment I ...
T R Y's user avatar
  • 75
-1 votes
3 answers
202 views

Running code inside void loop() vs inside a separate function with an infinite loop in it

I'm writing a program for running a stepper motor at a high RPM using accelStepper on a NodeMCU esp8266. Super New to the accelStepper but reading, experimenting and learning as I go When the code to ...
Bart's user avatar
  • 1
1 vote
1 answer
188 views

strip.clear() is not clearing/turning off the NeoPixel strip after resetting the ESP8266

In the code below which is running on a WEMOS D1 (ESP8266), a NeoPixel strip turns on 1 LED in red which moves left to right and then right to left whilst the board attempts to connect to Wi-Fi in the ...
Lachlan Etherton's user avatar
0 votes
1 answer
112 views

Attempt to change an ESP8266's flashs layout over-the-air

Backstory Several Tasmota devices based on an ESP8285 have to be flashed with alien firmware. The devices' programming ports are not accessible (except for one dummy device which was cracked open for ...
Sim Son's user avatar
  • 1,869
1 vote
1 answer
51 views

SdFat.h pin selection ESP8266

This super simple code, that saves data to a csv file, works perfectly fine on my Arduino Uno (I am using the default SPI pins). However, for my project I need to use an ESP8266. Does the library ...
NE555's user avatar
  • 21
0 votes
1 answer
153 views

String or unsigned char to uint8_t

I'm attempting to save a string to EEPROM of an ESP8266 radio and then read it back before I encrypt the data (evenutally I would like to save the encrypted data but I'm simplifing things at the ...
PhippsTech's user avatar
-2 votes
2 answers
53 views

Physically passing through a pin to access another [closed]

I would like to know about physically passing through a pin in order to get to another. For instance, if I have a sensor on one side of an ATMEGA328P or ESP8266 (Wemos D1 Mini) yet need to connect to ...
jhorv's user avatar
  • 41
0 votes
1 answer
50 views

Sketch halts if button is pressed on boot

I have a KY-040 rotary encoder with a push button wired to an ESP8266. My objective is to be able to detect if the button is pressed or not on boot. In the below code, if I hold the button down and ...
Lachlan Etherton's user avatar
1 vote
1 answer
97 views

Fixing a pedestrian traffic light sequence pattern in a cycle using millis and without delay

I was emulating the pedestrian traffic light cyclic pattern (red, green, green flashing) in the next Arduino code. But when I run this code with my ESP8266 Wemos D1 mini controller, it appears the ...
Hong Christian Lin Jiang's user avatar
0 votes
2 answers
131 views

Where can I store secret keys?

I want to store a password in my ESP8266 program, but I can't figure out a way to do it that makes it inaccessible to hackers. Even if I encrypt it, I'd still need to store the private key for the ...
Blaine's user avatar
  • 101
0 votes
1 answer
528 views

How to connect an Arduino Uno with an ESP-01 to the Arduino IoT cloud?

I have been trying to connect to the Arduino IoT cloud using my Arduino Uno and an ESP-01. The Arduino IoT cloud does not recognize my device as genuine. Hence, I've been trying to create a thing and ...
Saurav Ghimire's user avatar
5 votes
3 answers
1k views

ESP8266 I2C doesn't respond

I've got a huge problem using an ESP8266 from a Wemos D1 mini. I am using an STM32L073RZ to send a request to an ESP8266 to send me the time it has acquired from a WiFi connection. ESP code: #include &...
Jackob2001's user avatar
-1 votes
1 answer
239 views

Why does an ESP01 WiFi module reset when it's connected to a DC motor/water pump?

When I connect an ESP01 WiFi module and water pump in a parallel circuit to an Arduino Uno's 5 V pin, the ESP01 stops working. The ESP01's built-in LED starts blinking chaotically and the serial ...
stanimirsp's user avatar
0 votes
1 answer
79 views

Can Vin of ESP handle many voltage sensors and relays?

My project is Charging Battery via Solar and Piezoelectric sensor while also getting the Realtime Voltage of the Battery, Capacitor, and Solar. I want to use Vin as the source to get 5V because ...
walter's user avatar
  • 1
1 vote
1 answer
143 views

ESP8266 - Where to find pin assignment guide for uploading code?

I try to upload a script which starts a webserver on the ESP8266 with a simple web GUI where the user can enter his WLAN credentials. /* ===============================================================...
Black's user avatar
  • 109
1 vote
0 answers
62 views

Problem with sending a GET request using the WiFiEsp library

Hello I am trying to make a request using WiFiEsp library but even the examples not working, I have searched a lot but never solved it. most of the solutions are outdated and do not solve anything, I ...
OSMX's user avatar
  • 11
1 vote
1 answer
125 views

OLED and Wifi not working together on ESP8266 Heltec NodeMCU

I have this ESP8266 Heltec NodeMCU board with OLED. The pins are described here. I have the following problem. The both OLED (with u8g2) and Wifi work fine individually. There is a problem getting ...
Fabian's user avatar
  • 151
0 votes
0 answers
27 views

How to bypass any on board circuitry when using an external LDO

I am using an ESP8266 NodeMCU (Amica) module. I am powering it with a 3.7v rechargeable Li-Lion battery (18650). I am regulating the voltage using a LDO circuit. https://randomnerdtutorials.com/...
Eoin Byrne's user avatar
1 vote
1 answer
176 views

How to properly declare a random URL in ESPAsyncWebServer?

I'm trying to make a onetime URL with a random string to for example give a user onetime access to a house with a smart lock. I have a function to make a fixed 8-character string and the following ...
T R Y's user avatar
  • 75
1 vote
0 answers
152 views

ESP32 SPIFFS Write problem

I'm trying to flash a spiffs on a esp32 but it is not working, i'm using these commands from this source: to create the image: mkspiffs -c /data/ -b 4096 -p 256 -s 0x100000 spiffs.bin my output was ...
Danilo Namitala's user avatar
1 vote
2 answers
482 views

Need help with parsing NWS JSON weather alerts causing reset on ESP8266

I'm trying to parse the JSON string from the National Weather Service Alerts and am encountering a problem where the code can't parse the value and the device auto-resets. I've used this code before ...
user3481929's user avatar
0 votes
1 answer
174 views

Wake esp8266 from deep sleep with PIR but disable while running code

I am using an ESP8266 to control a ring of neopixels. I want to use a PIR to trigger a brief light show. I'm using batteries and need them to last as long as possible. I have it working by checking ...
Eoin Byrne's user avatar
1 vote
1 answer
131 views

Water pump relay switching too fast

I'm using a water level sensor with two outputs, a 5V fan and a water pump. Here's the wiring . What I want to do with this project is: When the water reaches 2 cm, then the water pump is on while ...
jeonsann's user avatar
2 votes
1 answer
404 views

D1 mini ESP8266 no sound on speaker

I am new to Arduino and microcontrollers, I want to make a tone with my D1 mini and a LSM-50F speaker. But I don't get any output. Any idea what I am doing wrong? Tested it with two D1 mini boards. ...
Louis Eiden's user avatar
3 votes
2 answers
115 views

Understanding ESP8266 OTA Updates: A Question on Limitations

I am currently researching OTA updates for ESP8266 firmware, and I have a question that I couldn't find an answer to: Question: Is the number of OTA updates limited? According to the documentation, it ...
M-125's user avatar
  • 31
1 vote
0 answers
1k views

esptool.py error Cannot configure port, something went wrong. PermissionError(13, 'A device attached to the system is not functioning.', None, 31)

When trying to upload my firmware to an ESP8266 board using Arduino IDE 2.2.1 I get A fatal esptool.py error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13,...
James Lafritz's user avatar
0 votes
1 answer
598 views

Can't connect esp8266 via USB to Linux Mint 21.1 [duplicate]

What was my problem I had a big problem with my esp8266. I couldn't upload anything to it using the Arduino IDE 2.2.1, the ttyUSB port couldn't be found. When I plug my esp8266 into the USB Port, it ...
DasMoorhuhn's user avatar
-1 votes
2 answers
345 views

How to create minimal web server example with a dropdown menu?

I want to create a three-item menu: Verizon, T-Mobile, AT&T. Since the example uses LEDs, I'll do the same--except with a dropdown menu to select among the three. I'm trying to combine these two ...
adamaero's user avatar
  • 198
0 votes
0 answers
77 views

Respond to all WiFi probe requests with ESP8266?

I'm wondering if there's a way to program an ESP8266 such that it responds to all WiFi beacon probe requests. For example, if a device sends a probe request for a WiFi network name, e.g. "...
Blue Herring's user avatar
1 vote
1 answer
116 views

how to make this code work with spiffs?

So, I have a page to select a txt file from the user's device and save it to SD card: <!DOCTYPE html> <html> <head> <title>File Upload </title> </head> <body&...
T R Y's user avatar
  • 75
2 votes
1 answer
519 views

How to refresh an iframe in a page made with Espasyncwebserver

So, I have this page on esp8266: controlserver.on("/UDEL", HTTP_GET, [](AsyncWebServerRequest *request){ request->send(200, "text/html", htmltd); }); htmltd is a ...
T R Y's user avatar
  • 75
1 vote
1 answer
54 views

Weird behaviour with BearSSL on GPIO ESP8266

I use GPIO 5 to trigger a relay. My code also connects with a secure MQTT connection for which I have to use the BearSSL certificate definitions. Without the BearSSL certificates, when the ESP ...
Shreyansh Jain's user avatar
1 vote
1 answer
206 views

ArduinoJson library: how much space to allocate for serialized buffer?

I am using the fantastic ArduinoJson library for working with JSON data on my ESP8266. I have been facing issues with random software wdt resets and have been investigating memory leaks wherever I can....
First User's user avatar
1 vote
1 answer
33 views

Problem with reading MIFARE 13.5Mhz with MFRC522 lib

I'm trying to read the UID of MIFARE 13.5Mhz cards with MFRC522 lib and I have defined the following function for it. void getUID() { if (mfrc522.PICC_IsNewCardPresent() && mfrc522....
T R Y's user avatar
  • 75
3 votes
1 answer
210 views

NodeMCU V3 GOT OVERHEATED AND DIED

My NodeMCU V3 got overheated and died. Please help me figure out what i did wrong. Brief Desrip: Project is an RC Car on ESPNOW Protocol. Transmitter setup have an Arduino Nano to take values from Two ...
NonTechGuyinTech's user avatar
4 votes
0 answers
1k views

Is there a way to use ESP8266 in promiscuous(monitor) mode and see the the wifi packets?

I didn't find much documentation about ESP promiscuous mode (just from the espressif sdk although I'm using ArduinoIDE https://docs.espressif.com/projects/esp8266-rtos-sdk/en/latest/api-reference/wifi/...
tatu101's user avatar
  • 73

1
2 3 4 5
41