2,480 questions
0
votes
2
answers
60
views
How to detect the end of an ESP-01 (ESP8266 AT command) UART response when receiving with interrupts?
I’m working with an ESP-01 (ESP8266, AT firmware) connected to an STM32 “Bluepill”.
I receive data from the ESP using UART interrupt (HAL_UART_Receive_IT) and I want to detect when a full response ...
0
votes
0
answers
37
views
Firebase Connectivity in ESP8266 NodeMCU
I am working on an ESP8266-based IoT project (waste segregation system) and trying to send data to Firebase Realtime Database. I am using the latest Firebase ESP8266 Client library (FirebaseESP8266.h) ...
0
votes
0
answers
39
views
Eclipse not able to resolve datatypes in ESP8266_RTOS_SDK
I am working with ESP8266_RTOS_SDK, I have imported an old project from my backup which used to run fine earlier when I was using an old system. I have installed the complete tool chain (make / xtensa/...
0
votes
2
answers
106
views
How to change baudrate of UART in Esp8266 (baremetal)?
I am trying to write bare-metal code for ESP8266 (for learning how embedded system works).
My GPIO code is working and now I am trying to play around with UART.
In ESP8266 REG = 0x60000000 is FIFO for ...
1
vote
0
answers
29
views
Why I am getting two BIN files when I convert elf2image using esptool elf2image?
So basically what I am doing is, I created a simple Blink LED program using platformio for ESP8266 (no big deal). As we know, we get firmware.bin and firmware.elf files in .pio/build/nodemcuv2/ folder....
0
votes
1
answer
49
views
iOS can not connect to ESP8266WiFi softAP
I am using an ESP8266WiFiHW-628 V0.0.1 to create an access point (code below).
While I am able to connect to the AP using a windows machine when I am trying to connect using iOS devices I get "...
0
votes
0
answers
25
views
ValueError: Invalid Key while trying to upload code to ESP8266 device
I'm trying to connect my NodeMCU (ESP8266) device running Micropython to AWS IoT but wwhile running the code I'm getting the following error:
start connecting
Connected: True
Key and Certificate ...
-2
votes
1
answer
306
views
Why does it show that esp_task_wdt_config_t was not declared in this scope even after calling library? [closed]
The error of the form: "esp_task_wdt_config_t" was not declared in this scope, appeared even after calling the library.
Since I am moving from Arduino IDE to PIO, I initially added the ...
0
votes
1
answer
122
views
ESP8266 keep crashing when I write file
I am using Wemos Mini ESP8266 and trying to make control panel on this platform.
But i have stuck when it needs to save data to a file.
Tried to using LittleFS method to save json to file, still ...
0
votes
0
answers
107
views
NodeMCU ES8266CH340 Send POST request with WifiClientSecure and SSL fingerprint is failed. Returned httpCode -1
I've NodeMCU ESP8266CH340. Unable to verify fingerprint of SSL (Issued by Google Trust) with WifiClientSecure. I don't want to set client.setInsecure(); or bypass SSL verification. POST request failed ...
0
votes
0
answers
36
views
ESP8266 Unable to Connect to Two WebSocket Servers Simultaneously Using arduinoWebSockets
I'm trying to use an ESP8266 to connect to two WebSocket servers simultaneously using the arduinoWebSockets library. This is a snippet of my code. I then attempt to display data on 7 segment displays.
...
0
votes
1
answer
194
views
Light Sleep with GPIO Wakeup for ESP8266
I am trying to achieve a light sleep on ESP8266 with a GPIO wakeup. Everything is working fine except that if after wakeup the GPIO stays in a state opposite to the WAKEUP trigger level then the ESP ...
0
votes
0
answers
45
views
ESP01 AT Command module with Google Firebase Realtime Database
I am working with a ESP01 module with AT Firmware, I have been trying to establish a communication between ESP01 and the Firebase database to read and write some numerical value but right now I am ...
1
vote
0
answers
69
views
Captive Portal In MicroPython doesnt work
I am trying to create an automatic captive portal using a Raspberry Pi Pico H with an ESP8266 Wi-Fi HAT. When I connect to the Wi-Fi, it works, but the user is not automatically redirected to the ...
0
votes
1
answer
86
views
Why does AT command don't work with ESP8266-01?
i have a problem with my new ESP01. I tried using AT commands with the baud rate of 115200, but don't receive OK answer. I also tried to flash it and didn't quite succeed as it's just flashing that ...
1
vote
0
answers
41
views
Pic16F15313 and ESP8266 only getting an error response
I'm just trying to send a simple AT command but only getting back error responses indicated by my LED flashing twice. ESP8266 document tells me I should be using 115200 for the baud rate. My power ...
1
vote
0
answers
40
views
Websockets esp8266, php Workerman - how to send close signal when turning device off
I make a device on esp8266, which connects to php Workerman websocket server via websocket using WebSocketsClient.h library. Everything works, connection is established. But when I turn off the device,...
0
votes
1
answer
65
views
Debugging ESP8266, GDB unable to connect, unrecognized item "timeout" in "qSupported" response
I'm trying to debug my code on an ESP8266 with GDB, but can't get it to connect.
ESP8266 code (gdb.ino):
#include <GDBStub.h>
void setup() {
Serial.begin( 115200 );
gdbstub_init();
...
-2
votes
1
answer
47
views
TypeError: function takes 1 positional arguments but 2 were given
I am trying to interface multiple buttons with Esp8266 and display it on a 16x2 LCD. I am using micropython. Here is my code
import time
from machine import I2C, Pin, Timer
from i2c_lcd import I2cLcd
...
0
votes
0
answers
37
views
Is it possible to reusing the web stream command line parser ESP8266Webserver to process serial stream
The ESP8266Webserver built in key-name pair parser does a nice job of accessing the arguments by name or by index.
For example, it is almost trivial to process the following http get request
http://...
0
votes
1
answer
114
views
ESP32 online builded firmware can't boot
I tried to install nodemcu firmware to ESP32 C3 super mini board, with firmwares builded on https://nodemcu-build.com from dev-esp32-idf3-final branch.
After flashed, the serial console outputs very ...
0
votes
0
answers
218
views
Programming a WIFI acces point with DHCP functionality with a ESP8266
I had written some time ago a setup procedure that worked very fine when connecting my ESP8266 Wifi module to any Android device , to a Windows 10 Desk computer and a Windows 11 laptop.
This is the ...
-2
votes
1
answer
90
views
HTML5 Server-Sent Events: new EventSource as variable
I am working with ESP8266 moduls in Wifi-Station Mode. Each new ESP8266 module is assigned a different IP address by the wifi router. That's why I need the Ip addresses as Javascript variable, but ...
0
votes
0
answers
32
views
Does cstring variables needs to be static to work with ESP8266?
Despite 5 years of development with ESP8266 (mini D1) I'l still confused:
My IDE version is 1.8.19
My sketch is 3300 lines but I made a test case:
This is the sketch:
// Globals
int i=1;
void setup() ...
1
vote
1
answer
59
views
Esp8266 randomly resets after a lot of time (9 hours)
I have esp8266, it connected to 3 temperature sensors. I put all data in list (temperature and time). After 9 hour of work esp8266 just refresh everything and all data get lost. I tried check my code, ...
0
votes
0
answers
57
views
Arduino R3 trouble connecting to ESP8266 - Timed Out Error
I am attempting to turn my generic Arduino R3 (an ELEGOO UNO R3) into an IoT device by connecting an ESP8266 ESP-01 WiFi module.
Here are my wiring connection:
GND - GND
TXD - RX
IO2 - 3.3v (through ...
1
vote
0
answers
118
views
ESP8266_NONOS_SDK vs Arduino Framework - Interrupt Differences?
Just for the record, I am a C# developer and tend to focus more on api's and backends, firmware development / C / C++ is EXTRERMELY new to me!
I have been asked to port our existing ESP8266_NONOS_SDK ...
0
votes
0
answers
58
views
How to get idToken ( Auth key) for firebase with ESP8266 using AT commands
I was trying to connect to firebase using AT commands on ESP8266 (ESP01).
Without authenticated rules I'm able to write to a node.
But with authenticated rules, I'm having a trouble getting Auth Key.
...
0
votes
0
answers
88
views
How do I create a Firestore document using ESP8266?
I'm pretty new at firebase and in my arduino project, where I use an ESP8266 01S module, I want to hardcode an Id, representing the Arduino project. Then with that Id I want to create if not already ...
0
votes
0
answers
57
views
Issues Fetching Unread Emails from IMAP Server
I am using MicroPython on an ESP8266 to connect to an IMAP server and fetch unread emails. Although I can connect to the server and log in successfully, I’m having trouble detecting new unread emails. ...
-1
votes
1
answer
77
views
Transaction won't occur on Sepolia-Ethereum using ESP-8266 Microcontroller using Micropython
I'm trying to execute "transfer" function of an ERC-20 token with my ESP8266 Microcontroller using Micropython. The problem is Micropython doesn't have libraries like web3.py so i have to ...
-1
votes
2
answers
100
views
ESP8266 is stuck in an infinite socket.accept() loop, i guess?
Ive been working with my ESP8266 and have encountered an issue that seems to be coming from nowhere and being unsolvanle. At least - to me.
Basically I went on with this tutorial on building a simple ...
0
votes
0
answers
87
views
updating variable on local hosted webpage without reloading
I have had this problem with an esp8266 nodemcu where I cannot seem to find a way to update a variable on a webpage without having to sit there and spam F5, the project is for a weather vane to show ...
1
vote
1
answer
434
views
How to implement functions within a UART Interrupt Handler?
I know this is an incredibly long questions but ive posted as much detail so I can give the most context and hopefully make it easier to answer.
I am currently creating a program to receive messages ...
1
vote
0
answers
92
views
Connection failed between my ESP8266 to the API
This is my code for ESP8266 trying to send a request to the API to get a response.
But when I am trying to scan a QR code the output is always connection failed, at first I thought it was because of ...
0
votes
1
answer
81
views
R serial::read.serialConnection() returning empty value, even though there are values in buffer
I'm using R serial::read.serialConnection() to read serial output from an ESP8266 connected with USB to my computer. I just used the standard example and it works perfectly for years.
This is the code:...
0
votes
0
answers
71
views
Connecting to MQTT server problem solving
I have ESP8266 project in Arduino IDE that connects to AWS MQTT server. For this purpose PubSubClient (https://pubsubclient.knolleary.net/) library was used.
After connect procedure execution I get ...
0
votes
1
answer
189
views
ESP8266 Software Watchdog triggers while http communication
I am using an ESP8266 to get some data off an openDTU (as JSON file) to act as a status monitor.
While getting the data from the openDTU the ESP8266's software watchdog "bites" every few ...
1
vote
1
answer
447
views
Connect websocket on esp8266 to local server using IP
I started working a small "smart home" project to learn about embedded development and Rust. I have
an ESP8266 with a DHT to measure humidity and temperature, written in C++
a server ...
0
votes
1
answer
110
views
Arduino IDE: how to redefine constant defined in standard library?
I am trying to redefine WEBSOCKETS_TCP_TIMEOUT constant in this library: [https://github.com/Links2004/arduinoWebSockets]. But I do not want to change library, I would like to do it in my code.
...
0
votes
1
answer
74
views
Parsing RGB HexCode String for a ESP 8266
I'm working on a project where my ESP8266 receives color hexCodes from the internet and then I use that color for an LED strip.
An example text that I receive is "$3#FF00FF"
However my code ...
0
votes
1
answer
51
views
no compilation error and i am able to successfully upload the code to node mcu but no output and led not blinking of r307
#include <ESP8266WiFi.h>
#include <SoftwareSerial.h>
#include <ESP8266HTTPClient.h>
#define RX_PIN D5 // Connect this pin to RX pin of the fingerprint sensor
#...
0
votes
1
answer
109
views
ESP8266 umqtt OSError -1
I have an ESP8266. On this board I'm running the newest Version of the MicroPython firmware (1Mib).
I have a Java Vaadin Web Application with 2 Buttons. One Button is for publishing, that the LED ...
1
vote
2
answers
193
views
How do I restart ESP 12e when it is in access point mode?
I am using an ESP 12e on a MQTT system. When it first starts up I have wifiManager open an access point so the user can put in the wifi, password, MQTT name and Key. This all works fine.
However ...
0
votes
1
answer
62
views
Print long double value and clock_t as a double - ESP8266-RTOS-SDK
I can't print clock_t as a double or print time elapsed
void app_main()
{
clock_t start, end;
long double cpu_time_used;
start = clock();
ESP_LOGI(TAG, "Elapsed time");
ESP_LOGI(TAG, &...
1
vote
2
answers
150
views
Preprocessor directives appear within HTML embedded in a raw string literal
Following problem:
I am creating a webinterface for an ESP8266. The Webinterface should make HTTP Requests to the ESP that then executes Code. My Problem is that i get weird preprocessor information ...
1
vote
1
answer
163
views
I can't send AT command to my backend server from ESP-01. Error 400 Bad Request
Hi I have been trying to use stm and esp-01 and cominicate with firebase with backend server. my backend server js is this:
const express = require('express');
const app = express();
const ...
0
votes
0
answers
89
views
Why does NodeMCU keeps resetting?
I have connected my NodeMCU V3 to my laptop via Micro-USB (Good Quality).
If I enter a basic code, e.g. LED blinking or Sensor reading, it works fine.
But when I tried to connect to WiFi, NodeMCU ...
0
votes
0
answers
75
views
esp-01 wifi module STM32F4 discovery firebase
I want to send data to Firebase Realtime Database using stm32f4 and esp-01 wifi module.
this is how I tried to connect and send to firebase Realtime Database
connect firebase and send message funciton
...
0
votes
1
answer
86
views
ESP8266 StreamHttpClient example broken - prints "read timeout" error
Problem:
The ESP8266 example sketch StreamHttpClient, seems to be broken for 3.1.x version of the Arduino SDK. The URL is broken because it returns HTTP code 301. However, even if you fix the URL, the ...