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

How to power a microcontroller with solar power? [closed]

I want to power 4 microcontrollers (Uno, Mega, ESP8266 and ESP32) but I do not know the recommended specification required for them. What I read tells me that I should plug in XX volt (DC power source)...
Marifin -'s user avatar
-2 votes
0 answers
29 views

ESP8266 I2C and 1-wire at the same time [closed]

I have ESP8266(WeMos D1 mini) and I want to connect BME280 and DHT22. My question is if I connect BME280 via I2C(GPIO4 and GPIO5) and DHT22 via 1-wire connection(GPIO14) will it work? Will be there ...
Przemyslaw's user avatar
0 votes
0 answers
30 views

MG90s servo motor acting weirdly with esp8266 nodemcu

I am having some problems with 2 MG90S servo motors with ESP8266 (nodemcu)(It is connect directly to digital pins D6 and D7). The basically turns the servo 90 degree and then sometimes it turns full ...
Overclocker.py's user avatar
1 vote
1 answer
59 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 ...
M A K's user avatar
  • 97
0 votes
2 answers
31 views

Relay switch when CO value is met

I need some help with my code using mq-7 and esp8266. Components I used: MQ-7 (i've heated it up for 48hours) ESP8266 4-channel relay 24vdc fan mb102 All i wanna to do is mq-7 to constantly reading ...
jeonsann's user avatar
1 vote
0 answers
38 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
0 votes
0 answers
28 views

How to use SCD30 on ESP8266

I'd like to use SCD30 sensor on ESP8266. I know it's possible to use for example Adafruit library to connect SCD to Arduino, but it requires SDL and SDA pins, which my ESP doesn't have. The library in ...
Kaomer's user avatar
  • 1
1 vote
2 answers
431 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
-1 votes
0 answers
33 views

Serial Monitor not reflecting commands (Connecting Arduino and ESP8266 Module CG340G)

I have a Arduno Uno R3 and ESP8266 Module Module CH340G. Currently using a Macbook. With google and youtube, I saw that I can test if my ESP8266 module (via connection through Arduino) is working, I ...
user93355's user avatar
0 votes
0 answers
17 views

ow can I send data with GET method NodeMCU?

I have NodeMCU v3 ESP8266 and RFID RC522 card reader. I want to send some data using the insert_status.php API on the server. But it gives an error. What I want to do is very simple, the php API will ...
theoyuncu13's user avatar
0 votes
0 answers
35 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
57 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
0 votes
0 answers
33 views

How to offer end-users the possibility of modifying ESP32 settings (e.g. Wifi SSID), without asking them to compile/upload with the Arduino IDE? [duplicate]

I have designed a device based on classical common ESP32 boards (without micro SD slot). I'd like (non tech-savvy) end-users to be able to modify some settings of the device, such as their home router ...
Basj's user avatar
  • 398
2 votes
1 answer
76 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
56 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
483 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
134 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
108 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
45 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
68 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&...
M A K's user avatar
  • 97
2 votes
1 answer
177 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 ...
M A K's user avatar
  • 97
1 vote
1 answer
37 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
71 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
25 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....
M A K's user avatar
  • 97
1 vote
1 answer
66 views

HTTP POST request error on esp8266 to my localhost (error:-1)

I've looked around for solutions and tried but can't get this to work. I'm trying to send a POST request to a localapi. My code: #include <ESP8266WiFi.h> #include <ESP8266HTTPClient.h> #...
jaminaa's user avatar
  • 19
3 votes
1 answer
89 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
3 votes
0 answers
522 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
  • 63
-1 votes
1 answer
102 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
106 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
150 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
129 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
122 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
  • 63
1 vote
0 answers
59 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
3 votes
1 answer
202 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 ...
NyK's user avatar
  • 51
3 votes
2 answers
153 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, ...
DaMusikant's user avatar
1 vote
0 answers
57 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 ...
guyd's user avatar
  • 993
3 votes
0 answers
31 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 ...
kwak's user avatar
  • 61
3 votes
0 answers
60 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 ...
First User's user avatar
2 votes
0 answers
48 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?
kwak's user avatar
  • 61
1 vote
1 answer
198 views

How much maximum current do the Arduino Wemos D1 (R1 & R2) consume?

I have been powering my WeMos D1 R1 and D1 R2 Arduinos (with ESP8266) using a simple USB cable connected to a standard charger whose rating is 3.1 amps. Is this sufficient to charge two such Arduino ...
Chiwda's user avatar
  • 252
1 vote
0 answers
392 views

Wemos D1 Mini deep sleep

I am building a very simple battery powered touch button using a Wemos D1 Mini (it is basically an ESP8266) and a capacitive touch sensor (something like this: https://www.az-delivery.de/en/products/...
user3161330's user avatar
1 vote
1 answer
88 views

Powering a NodeMCU as well as a GSM module

I'm trying to connect a GSM module(sim800L) with a NodeMCU to execute remote operations. But the GSM module cannot be powered using the NodeMCU. So, what are the other ways to power the board as well ...
vasantha raj's user avatar
1 vote
0 answers
101 views

try to send AT commands from Arduino nano to ESP01

I encountered an issue when I try to send AT commands from Arduino nano to ESP01 I tried to find any tutorial for more helps, but I find nothing. please someone can help me. I tried the tutorial from ...
Salomon Oholo's user avatar
1 vote
0 answers
364 views

How to pass AT commands to Lora from ESP32 UART?

I have connected "Reyax RYLR998" Lora module to ESP32 UART2, but AT commands passed through Hardware serial not working. #define RXD2 16 #define TXD2 17 void setup() { Serial.begin(...
MrNams's user avatar
  • 129
2 votes
3 answers
9k views

Error while uploading "A fatal esptool.py error occurred: Write timeout" [closed]

I have constantly been getting this error while trying to upload a sketch on Wemos D1 Mini R1 & R2 type board. A fatal esptool.py error occurred: Write timeout I've recently updated my Arduino ...
sribasu's user avatar
  • 131
-1 votes
1 answer
162 views

what is 400 bad request and how to solve this

AT+CIPSEND=65 link is not valid ERROR OK OK OK OK STATUS:2 OK \x0BQ\xADUART_DEF=115200,8,1,0,0ATE0 AT+CWMODE=3 AT+CIPMUX=0 AT+CIPMODE=0 AT+CIPSTATUS AT+CIPSTART="TCP","api....
Satvinder Jaglan's user avatar
3 votes
1 answer
233 views

Mobile hotspot with wemos d1 mini

I recently got a wemos d1 mini and now am trying to connect it to my IPhone 13's hotspot, however it doesn't connect, I tried to run the wifiscan example - and it doesn't even detect it there. I tried ...
Arthur Isnt original's user avatar
1 vote
0 answers
49 views

ESP-07s only connects to my wifi very occasionally

I've got an ESP-07s and I used an example code from the internet. When I power it and the program starts, it should just connect to my Wifi network. It has a simple webpage that should be locally ...
user2190492's user avatar
1 vote
0 answers
82 views

Problem changing the state of the blue LED on an ESP8266

I am trying to change the blue LED on my ESP8266. I can do this (sort of...) In the setupWifi() function below, there is a loop that is supposed to rapidly blink the LED while wifi is connecting. The ...
jordanthompson's user avatar
1 vote
0 answers
109 views

ESP8266 + NodeMCU Motor Shield spinning motor only in one direction

I hooked my ESP8266 Wi-Fi module to an ESP-12E Motor Shield and connected it to an RC car. It works fine when connected to my laptop (Goes forward, backward, left, and right. Though the car doesn't ...
Hamaad Fahim's user avatar

1
2 3 4 5
40