158 questions
0
votes
1
answer
349
views
ESP8266 (Adafruit Huzzah) disconnects immediately from WiFi, STA disconnect: 203
I have a PM sensor, made for the initiative "sensor community", outside of the window, attached to an ESP8266 which is connected to a repeater that repeats my home network. Yesterday morning ...
0
votes
0
answers
209
views
NTP for esp8266 v. 4 platform
Updated Espressif 8266 to 4.0.1 (platform.io), getting time from NTP stopped working on all esp8266/32s. Silently assumes 1970s. Seemingly ignores configTime(MYTZ, "pool.ntp.org", "...
0
votes
0
answers
300
views
NodeMCU keeps running the previous program
After countless days and hours, I finally can upload my sketch into my NodeMCU successfully. But, just after that, I've got another problem.
If you've checked my previous post, you'll see I have two ...
0
votes
2
answers
7k
views
How can I fix this error of ESP8266: "warning: espcomm_sync failed error: espcomm_open failed error: espcomm_upload_mem failed"?
I'm doing a project with ESP8266-01. This is how I connected it with PL2303:
PL2303 ---> ESP8266
3.3V ---> VCC, CH_PD
TXD ---> RX
RXD ---> TX
GND ---> GPIO0, GND
Next, I opened Arduino ...
0
votes
0
answers
307
views
ESP8266 TCP packet fragmentation
I am trying to send TCP packets to a remote server, using the Wemos D1 Mini Pro (ESP8266), configured in lwIP v2 high bandwidth mode (TCP_MSS = 1460, LWIP_ FEATURES = 1).
I set a maximum buffer size ...
1
vote
0
answers
1k
views
ESP32 Upload a flash memory file to Google Drive using a program for ESP32CAM
I am trying to upload a ".wav" (circa 32kB) file from the flash memory of ESP32 to Google Drive. Is there a way to do that and would you be able to suggest a way to approach this? I am ...
0
votes
0
answers
674
views
How to use C Compiler for esp8266
i have been working with platformio for a few weeks now and have been able to create quite a bit for my microcontroller (atmega328p). I have always tried to get away from the Arduino structure. So no “...
0
votes
1
answer
668
views
How to display text file on async Webserver using esp8266
I have several txt files on my SD card that I would like to output to my async webserver. I use the ESP8266 for this.
I have tried it with the following call. However, an error is then displayed.
It ...
1
vote
0
answers
263
views
Firebeetle ESP8266 and micropython
I have gotten stuck while flashing micropython firmware into the board.
Erasing flash finished with success as you can see below:
esptool.py --chip esp8266 --port /dev/ttyUSB0 erase_flash
esptool.py ...
0
votes
1
answer
586
views
ESP8266 with Firebase (firebase-arduino-master) adds unique key
I have a problem with saving data in Firebase realtime and sending from ESP8266. I use firebase-arduino-master library. I want to send the soil moisture information from ESP8266 to Firebase ...
2
votes
0
answers
1k
views
MicroPython (u)socket.accept()
I have a Wemos D1 mini v3 and I'm making cheap interactable lights for in the classroom using this. I have been following a tutorial from randomnerds trying to solve the problem of creating an HTTP ...
2
votes
1
answer
1k
views
Wifi does not start after light sleep
I have an application that uses an ESP8266 running ESP_RTOS_SDK version 3.4 and an STM8. It is solar powered, so minimising current consumption is crucial. It works in three modes:
between events: ...
0
votes
1
answer
3k
views
Connecting an ESP8266 to an Arduino Uno using Blynk
I am working on a project where I am trying to turn on LEDs over wifi using the Blynk app through an ESP8266 and an Arduino uno. I believe the circuit is set up properly as I was able to run an empty ...
1
vote
1
answer
961
views
Android 12 WI-FI Connection
Phone Model: Google Pixel 4
Os version : Android 12
We have tried to connect Open wifi of IOT device from System but it showing obtaining IP address and never changed state of that one.
Before Android ...
1
vote
1
answer
590
views
ESP8266-RTOS-SDK - cannot connect to WPA2 network depending on esp_wifi_init() location
I encounter a strange issue while working on my project with ESP8266 and using FreeRTOS SDK (version release/v3.4).
In my code, I'd like to have 5 functions for controlling WiFi state:
...
0
votes
1
answer
1k
views
NanoFramework scan wifi networks in AP mode
I use nanoframefork & vs2019 to write firmware for my esp32 device.
version mscorelib 1.10.5 (my device does not support version higher)
The trouble is about to get the list of wifi networks, when ...
0
votes
0
answers
319
views
D1 mini lite won't connect to WLAN
I am building some simple IoT devices like tem / humi and window sensors for the house and would need some support with a simple method to connect a D1 mini lite to my WLAN.
There are already more ...
1
vote
2
answers
216
views
Print library value from function on display
I'm trying to print the return value(WiFi.localIP) on my display from the library ESP8266WiFi. But I'm getting an error. For the display I'm using the SSD1306 library.
The purpose of this is to print ...
0
votes
0
answers
76
views
node mcu not displaying RGB values
Platform
Hardware: ESP-01
Development Env: [Arduino IDE|
Operating System: [Windows|
Settings in IDE
Module: [Generic ESP8266 Module|
Flash Mode: [DOUT]
Flash Size: [512KB]
lwip Variant: |v2 Lower ...
0
votes
0
answers
302
views
What header file to include to use ESP return code macro constants?
It is ESP8266, and I am using the Arduino framework (VS Code + Platform IO). The documentation uses constants like ESP_OK or ESP_ERR_ESPNOW_INTERNAL, but what to include to use them with the Arduino ...
0
votes
2
answers
338
views
Project: NodeMCU esp8266-esp12e to connect to another esp8266-esp12e - social distancing
I need to ring the buzzer within the range of 1 meter only, my esp8266 is connected to a buzzer but the buzzer will ring on and off within the range of 1 meter using two esp8266, or sometimes it does ...
0
votes
1
answer
1k
views
ESP8266, when connecting to AP, requesting sepcific IP or discoverable host name?
Is there any way in the ESP8266 code to ask the router for a specific IP? I mean, in the following example (which I copied from the web), it gets "192.168.1.3". The part "3" is ...
0
votes
2
answers
1k
views
grab full url from ESP8266WebServer
This question must be a duplicate, but I cannot find the answer.
Using the ESP8266WebServer library, there is an uri() method to grab the uri. So in the example: http://example.com/index, it will grab ...
0
votes
3
answers
2k
views
i2cdetect doesn't showing any address
I'm using an OLED 128*64 display screen with NodeMCU ESP8266.
when I tried to detect the screen address, the serial monitor shows:
enter image description here
It would be kind if someone can tell me ...
0
votes
1
answer
946
views
How to connect an ESP8266 device securely to a web frontend?
I want to develop a product, a home smart thermostat which will have a web interface. The web interface would make requests to the thermostat which is controlled by an ESP8266-based wemos mini d1. And ...
1
vote
0
answers
267
views
Esp8266 Http communication over Wifi
Goal
I am trying to send temperature data between two Esp8266 modules.
The Server reads a temperature value from the analog pin and is supposed to host this data on a website (I don´t know the correct ...
0
votes
1
answer
477
views
wifi_fpm_do_sleep(0xFFFFFFF) returns -1;
I cannot do light sleep on my NodeMCU v3 ESP8266, because the function wifi_fpm_do_sleep() returns -1. Can you help me to find why there is an error?
void light_sleep() {
wifi_fpm_set_sleep_type(...
5
votes
1
answer
698
views
ESP8266 NonOS fails to connect to WiFi network hosted by other ESP8266
I am trying to connect a ESP8266 to a WiFi network hosted by another ESP8266. The problem is the ESP8266 shows the WiFi network during a WiFi scan but fails to connect to it with the error: no ...
0
votes
1
answer
4k
views
How to solve "Connection failed" for D1mini(ESP8266)
I'm trying to use D1 mini to fetch some data from website. I created an API key on Thingspeak ThingHttp. However, the client didn't connect properly. I got "connection failed" from the ...
1
vote
0
answers
438
views
SSL handshake with Firebase Realtime DB stopped working sequentially to a Blaze plan issue (ESP8266-Firebase communication)
Some background to the current events: in June we upgraded our Firebase project to Blaze plan.
At the beginning of July, we were charged $0.01 for Cloud Storage. For some reason, the payment didn't go ...
1
vote
0
answers
943
views
Why ESP8266 module can connect to my iPhone Hotspot but cannot connection to my home wifi?
Here is the code for scanning WiFi network and connecting to the WiFi.
#include<ESP8266WiFi.h>
#include<Arduino.h>
#define USER_SERIAL Serial
const char* ssid = "*****";
const ...
0
votes
0
answers
597
views
Connect to hidden WiFi "network", transmit data and reconnect to original network
I have very little experience with non-embedded programming, so i wanted to do a sanity check before I go down this path.
Basically just need to know whether the titular line of actions are possible ...
2
votes
0
answers
1k
views
How can one make an ESP8266 connect to WPA2-Enterprise using PEAP instead of EAP-TTLS?
I want to connect an ESP8266 to a WPA2-Enterprise Wifi. When debugging, I see it trying to connect using EAP-TTLS and MSCHAPv2, but it needs to connect using PEAP and MSCHAPv2 (or EAP-TTLS and PAP). ...
1
vote
1
answer
3k
views
How to send data from ESP8266 to Django local server
I am new to Django and even newer to ESP8266. I'm trying to send information from ESP8266 to my Django server using the POST method. The information looks like this:
Temperature=24.60&Humiditi=30....
0
votes
0
answers
203
views
FirebaseHttpClient_Esp8266.cpp:8:25: fatal error: ESP8266WiFi.h: No such file or directory
These are the header files I am using
#include <FirebaseArduino.h> // firebase library
#include <DNSServer.h>
#include <WiFiManager.h>
#include <WiFi.h>
#include <Servo.h>...
0
votes
2
answers
3k
views
Problem uploading sketch to arduino uno/esp8266
Getting this error while uploading:
Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most ...
0
votes
1
answer
333
views
In firebase, how to create a user and add data in user object from ESP 8266?
I'm working with some IoT projects and for handling all data I have used Blynk application but now I have created my own app but problem is that I want to add sensor data to firebase, but I have ...
-2
votes
1
answer
3k
views
Arduino IDE: esptool.FatalError: Invalid head of packet
I'm trying to connect my ESP8266 Module and I get this error when I do so. This is the wiring that I have set up (ignore the 3 crossed out wires at the bottom). Do you know how I can address this?
...
-4
votes
1
answer
413
views
What does the return code of the Wifi Libary in an ESP8266 mean?
#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#ifndef STASSID
#define STASSID "wlanName"
#define STAPSK "wlanPassword"
#endif
const char* ssid = STASSID;
...
0
votes
1
answer
6k
views
NodeMCU not getting detected by Windows10
my NodeMCU (ESP8266) V3 is not getting detected by my windows 10 nothing happens when i attach the usb with it not even a blink of led or sound on windows that detects a device and it doesn't appear ...
0
votes
0
answers
209
views
WiFiClient arduino isn't returning what I expect from a php webpage
I have a very simple php web page that simply does "echo 0". When you type in the correct address, all you see is 0 on the page. So this is fine. I am trying to activate this php page with ...
0
votes
0
answers
206
views
extract post values from http request using C
I'm trying to extract POST fields data from this:
POST / HTTP/1.1
Host: 192.168.4.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
Accept: text/html,...
1
vote
1
answer
1k
views
How to get access to ESP8266 ( NODEMCU ) served website outside local network?
I'm able to connect my ESP8266 to local network, serve a website and access it on my mobile using the local IP address.
So I tried getting my Public IP using api.ipify.org and use it to access the ...
0
votes
1
answer
1k
views
ESP8266 WiFiClientSecure Exception 9
I have a few problems trying to connect my ESP8266 to my WebServer.
I want to connect to a Webserver and then send Information via the REST-API to the Server.
Unfortually my Program Crashes when ...
1
vote
1
answer
1k
views
ESP8266-05 always return +CWJAP:4 on connection to any Wi-Fi network
I am a novice with ESP8266. I have an ESP-05 module connected to my PC USB through CH340 com-port adapter.
I was able to list all networks with AT+CWLAP, but when I put the command to connect to, it ...
0
votes
0
answers
362
views
Wemos D1 mini (esp8266 12-F) does not respond to AT commands
I have been working for some months with these modules, but I have some major issues about them that I have never learned how to deal with.
Sometimes, my modules stop responding (I don't know the ...
0
votes
0
answers
676
views
How does Arduino Ethernet library handle reconnections
I would like to find out if the standard Arduino Ethernet library handles possible re-connections automatically like ESP8266WiFi library does with wifi.
If for some reason the Ethernet connection, ...
1
vote
1
answer
2k
views
How to connect the ESP8266 Wifi Module to firebase through the STM32CubeIDE
I am working on an embedded project on the STM32F103rb Nucleo-64 board.
The project contains the ESP8266 Wifi Module.
I write the code in the STM32CubeIDE workspace.
Is there a way to connect the ...
0
votes
1
answer
110
views
ESP8266 suddenly stopped connecting to java server
I have a java program on a computer that is the server and a program on the esp that acts as a client. They both connect to the local wifi and then to each other. The purpose is to have the computer ...
-1
votes
1
answer
270
views
ESP8266 HTTPS certificate connection fails
I've tried to use my ESP8266 to connect to a website (ecocathlon.fr) with HTTPS, and it worked for some time, but recently the server has been reset and now the ESP8266 won't connect to the server. ...