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.
1,998
questions
0
votes
0
answers
8
views
Wemos D1 ESP Wroom 02 battery charge?
probably is a stupid question, but i've this module, the Wemos D1 ESP Wroom 02 with the 18650 battery,where are exposed V+ and Negative on the board.
My question is, can i directly charge battery ...
1
vote
1
answer
40
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 ...
1
vote
0
answers
34
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 ...
-1
votes
3
answers
111
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 ...
1
vote
1
answer
57
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 ...
0
votes
1
answer
44
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 ...
0
votes
1
answer
21
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 ...
0
votes
1
answer
65
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 ...
-2
votes
2
answers
43
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 ...
0
votes
1
answer
39
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 ...
1
vote
1
answer
83
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 ...
0
votes
2
answers
66
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 ...
0
votes
1
answer
127
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 ...
5
votes
3
answers
827
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 &...
-1
votes
1
answer
190
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 ...
0
votes
1
answer
42
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 ...
1
vote
1
answer
112
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.
/* ===============================================================...
1
vote
0
answers
35
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 ...
1
vote
1
answer
75
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 ...
0
votes
0
answers
20
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/...
1
vote
1
answer
115
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 ...
1
vote
0
answers
106
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 ...
1
vote
2
answers
452
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 ...
0
votes
1
answer
110
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 ...
1
vote
1
answer
97
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 ...
2
votes
1
answer
224
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.
...
3
votes
2
answers
85
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 ...
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,...
0
votes
1
answer
341
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 ...
-1
votes
2
answers
239
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 ...
0
votes
0
answers
66
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. "...
1
vote
1
answer
91
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&...
2
votes
1
answer
380
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 ...
1
vote
1
answer
48
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 ...
1
vote
1
answer
119
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....
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....
3
votes
1
answer
138
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 ...
4
votes
0
answers
946
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/...
-1
votes
1
answer
180
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 ...
0
votes
1
answer
126
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>
#...
0
votes
1
answer
200
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 ...
0
votes
1
answer
218
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 ...
2
votes
1
answer
220
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'...
1
vote
0
answers
79
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 ...
3
votes
1
answer
398
views
Errors when trying to connect esp8266 to firebase
hello guys i was trying to connect my project to firebase but got this erorrs:
d:\Kuliah\Mata Kuliah\Internet of Things\Arduino\libraries\FirebaseArduino\src\Firebase.cpp: In member function 'int ...
3
votes
2
answers
273
views
ESP8266 Wifi connection problem
I have a Feather Huzzah, aka ESP8266, that I am trying to connect to the Wifi.
One major thing is, that my landlord decided to use the worst Wifi SSID and PW.
The SSID contains an ä and a whitespace, ...
1
vote
0
answers
59
views
Selecting the Right GPIOs
I've bought this 4 relay ESP8266 board to active lights and window shades.
In an odd way - its relays are not pre-connected to a certain IO's but let you choose which IOs will operate relays (by ...
3
votes
0
answers
32
views
is it possible for a client esp8266 to control the esp8266 that set as an access point?
Im creating a project where i need to set one of my esp as a hotspot or access point but i would like to put a function where i could control the connected esp8266 client using the esp8266 that set as ...
4
votes
0
answers
79
views
Turn ESP8266 into an Arduino IDE-like "sketch uploader" (over hardware serial)
I have an ESP8266 module which has downloaded a hex file for an Arduino Mega2560. This hex file (call it mega2560.hex) is sitting in the ESP's SPIFFS file system. What I want to do is basically ...
2
votes
0
answers
54
views
Is it possible to get the RSSI value of the connected client or phone in esp8266 if it is set as an access point
Is it possible to obtain the RSSI value of the connected device to the esp8266 similar to obtaining MAC address?