Skip to main content

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 vote
1 answer
29 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
0 answers
26 views

ESP8266 NodeMCU ESP relay control problem

I'm running into a problem trying to control a relay with ESP8266. The relay works I can manually apply power and hear it click when it turns on/off. I'm taking one of the digital outputs to control ...
Jason Crosby's user avatar
0 votes
0 answers
36 views

Power supply on Vin for ESP8266 Amica nodemcu v2

My ESP8266 nodeMCU v2 Amica runs fine if I power it from my computer with a micro USB cable. I successfully uploaded a sketch (extended Blink) and it is doing fine. However, if I power the board with ...
Hans St's user avatar
0 votes
0 answers
33 views

Error connection to ESP8266 NodeMCU ESP 12-e

I'm having a problem getting the Arduino IDE to connect to this board: I added the URL for the board manager in preferences: Added the board in the board manager: Selected the proper comport (COM4) ...
Jason Crosby's user avatar
-1 votes
0 answers
18 views

ESP8266 post data from MQTT using Node.js

I'm trying to capture my voice using the KY-038 module wired to the A0 pin on the WeMos D1 mini and send it to a javascript file for conversion to wave file format (WAV) so I can play and listen to it ...
MrObscure's user avatar
0 votes
1 answer
27 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
42 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
52 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
37 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
132 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
88 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
61 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,859
0 votes
1 answer
28 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
  • 11
0 votes
1 answer
87 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
46 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
42 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
90 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
82 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
245 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
883 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
207 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
52 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
118 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
50 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
88 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
21 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
143 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
116 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
456 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
130 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
103 views

Please help me with my project of water pump relay switching too fast

I have some problems with my project. 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 ...
jeonsann's user avatar
2 votes
1 answer
278 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
90 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
408 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
276 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
68 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
96 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
433 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
51 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
139 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
31 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
161 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 votes
1 answer
216 views

NodeMcu V3 & BMe280 -> Temperature, Humidity, Pressure: value nan

I've just started playing around with a NodeMcu V3 and a BME280 sensor. wiring VCC -> 3.3V GND -> GND SCL -> D1 (GPIO5) SDA -> D2 (GPIO4) I've tried this sketch / I2C scanner: it finds ...
Massimo Variolo's user avatar
0 votes
1 answer
135 views

ERROR: return reinterpret_cast<T>(pgm_read_ptr(p));

I need to update DHT sensor data to the webserver in JSON format using ESP8266. This is my code. #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #...
Kuralmozhi's user avatar
0 votes
1 answer
217 views

ESP8266 serial monitor spitting out garbage

I am trying to set up a weather station, and I should just have the anemometer left. This code works fine (as far as I know). // Pin definitions const int reedSwitchPin = 2; // Variables volatile ...
Iliketurtles's user avatar
0 votes
1 answer
231 views

sim800l gsm module response isn't completed

I am using the sim800l gsm module with nodemcu esp8266 and comunicating with it using AT+ commands. The module is working correctly but I am trying to use the command AT+CLCC to get all the current ...
Mohamed Essam's user avatar
2 votes
1 answer
257 views

ESP8266 seems to be killing a while loop

When i was testing out a program I found a strange behavior of esp8266 It seems to get out of a while loop even when there's no option of getting out on code I don't know if these are related but here'...
tatu101's user avatar
  • 73
1 vote
0 answers
84 views

Arduino cant send DHT11 data to Firebase

I have a problem with my project, the problem is that my Firebase can't detect my DHT11 temperature and humidity sensor from the Arduino. The code runs without an error but the Firebase can't read my ...
NyK's user avatar
  • 51

1
2 3 4 5
41