997 questions
0
votes
2
answers
111
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 ...
2
votes
1
answer
51
views
ESP8266 not responding to M-SEARCH
I am working on an Arduino project, and I have been trying to utilize SSDP protocol to connect to ESP8266 from my phone. Even though I can set static IP for my ESP and define its IP in android APP I ...
0
votes
0
answers
53
views
What is the heap fragmentation risk with ESPAsyncWebServer on ESP8266?
I have an Arduino C++ program for ESP8266 that uses ESPAsyncWebServer to serve dynamic HTML pages.
The static parts of HTML, CSS and JavaScript are stored in PROGMEM as string literals.
The dynamic ...
-1
votes
1
answer
58
views
ESP32 records corrupt WAV file audio
I am using SeedStudio ESP32 Xiao Sense to record multiple samples of audio at once. I modified the sample code to do so. However, for some reason the header is corrupted(not sure for other parts) and ...
0
votes
0
answers
31
views
How to get notifications from my ESP8266 in Blynk
I am doing a project called "smartbin with iot notifications".
I've done all the code already, I just need to match it with the notifications in my blynk but for some reason it is not ...
0
votes
0
answers
51
views
MH-z19b stop working after 999999 millis (NodeMCU v3 ESP8266 12F)
everyone! I'm trying to make a CO2 sencor and it works well, until its runtime exceeds 999999 milliseconds. My wiring is TXD0->RX, RXD0->TX, GND->GND and V USB->Vin pinout on picture. I ...
0
votes
1
answer
92
views
How do I upload files with Arduino 2.0?
I am going down a bit of a rabbit hole but as far as I can tell the LittleFS module has been included in arduino-esp32
It seems that is the newer version of this.
So it looks like it should be in my ...
-1
votes
1
answer
2k
views
VSCode clang-format command keeps not available
I am running VSCode 1.95.0 on Win10 64 applying Platformio for programming eg. ESP8266.
I want to use the formatting feature of clang.
Downloaded clang+llvm-18.1.8-x86_64-pc-windows-msvc.tar.xz and ...
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
0
answers
65
views
NodeMCU ESP8266 Alexa interface works, but GPIO state change does not and always "Soft WDT Reset" following Alexa command
The purpose of the code listed below is to enable Alexa to control a relay, which then controls a medical chair slave remote control. The code is significantly based on this example: https://...
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
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
0
answers
96
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
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
0
answers
127
views
WiFi Manager crashes when TLS is enabled on ESP8266
Mine is a basic IoT project using ESP8266. I have integrated Tzapu's WiFi Manager and PubSub Client library for MQTT. It uses a TLS connection using WiFiSecure. The code is mostly copied from example ...
0
votes
0
answers
71
views
Error sending HTTP POST request with ESP8266HTTPClient library
I'm working on a project where I'm using an ESP8266 board to send sensor data to a REST API endpoint using HTTP POST requests. However, I'm encountering an error when trying to send the POST request, ...
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
0
answers
57
views
ARDUINO MEGA - ESP 8266 data sending problem
I am developing a simple project with an ARDUINO MEGA with a ESP8266.
The ARDUINO gets some data, and send to a web, and from the web to a database.
The system works perfectly when the web-database ...
1
vote
2
answers
152
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
votes
1
answer
75
views
Problem getting ESP01 to MySQL with AT commands
My setup consists of an arduino MEGA, an ESP8266-01 wifi module and an mq4 sensor whose values I want to store in a database, I have set up MySQL and can send values via apache like http://192.168.1.6/...
0
votes
0
answers
90
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
250
views
Some noise when attempting to produce sound wia external DAC for esp323
I am trying to make a voice changing device with esp32 board (PlatformIO + ArduinoIDE).
I have:
external microphone on input
esp32, to process voice (internal ADC is used for incoming signal - I2S ...
0
votes
0
answers
358
views
Fingerprint Sensor AS608 Not Detected on Wemos D1 R1 (ESP8266)
I'm encountering an issue where my AS608 fingerprint sensor works flawlessly when connected to an
Arduino Uno but isn't being detected when connected to a Wemos D1 R1 board (ESP8266). The sensor doesn'...
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 ...
0
votes
1
answer
116
views
How to receive a float array using esp8266 via I2c
I tried to receive array of float values via I2c using Esp8s66 (in Arduino IDE) in the following way:
void receiveEvent(int byteCount) {
// Ensure byteCount matches the size of the float array
if (...
0
votes
0
answers
86
views
ESP8266 AT+CWLAP does not return available networks
I am new to ESP8266. I try to connect ESP8266 to my network. On serial monitor I send AT and AT+CWMODE=1 command and I get "OK". Then I send AT+CWLAP command but it returns just OK. One of ...
0
votes
1
answer
1k
views
error message WeMos d1 mini: A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet header
I've tried to connect my WeMos d1 mini with arduino and tried to upload my code to WeMos. However, there comes the error message: A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed ...
1
vote
0
answers
487
views
WebSocket connection with a ESP-01S (ESP8266) and arduino
I'm new to working with WebSockets and arduino. I'm trying to connect to a WebSocket server that I run on a separate computer from my ESP-01s.
So far I'm able to connect to my wifi and get a local IP. ...
0
votes
0
answers
170
views
How do I use MQTTClient library on Arduino to publish and subscribe to the MQTT broker installed on a Mac using Homebrew?
I have create a MQTT system using MQTTClient library on my Arduino IDE for ESP8266 to publish and subscribe to io.Adafruit. Everything is working great except there is some functionality that I can't ...
0
votes
0
answers
41
views
First time using ESP8266, can't get it to connect to wifi
I'm trying to connect a Sensirion sps30 with a ESP8266 on wifi.
I used Arduino to program the ESP8266, but this is the first time I'm doing this.
I found a filled out sketch and I only had to put in ...
0
votes
0
answers
47
views
Is there an easy way to include helper files like bootstrap.min.js inside of my executable for an esp8266 server project?
I am using Visual Studio code with Arduino Core to program an esp8266. I have a server running on it, and I have been trying to find a way to package my Bootstrap styling files into the bin that I ...
1
vote
0
answers
62
views
Cannot deserialize JSON object via PHP script on AT commands from Arduino Uno/ESP8266 to connect to mySQL
I've recently started working on a project trying to upload sensor data from my Arduino Uno serially connected to an ESP8266, to a mySQL server. I can't seem to figure out what's incorrect about my ...
0
votes
0
answers
43
views
Can the ESP8266-01 WiFi Module be a substitute for the NodeMCU for transferring Temperature and Humidity data to google sheets?
I am currently working on a project that transfers data and saves it directly to google sheets, however most of the other projects utilizes boards like NodeMCU and ESP32. Can the ESP8266-01 WiFi ...
0
votes
1
answer
205
views
ESP8266 (Arduino) WiFi intermittent connection when between mesh access points
Background
I have an Arduino sketch running on an ESP8266 clone, using the vanilla ESP8266WiFi.h library.
This works as expected on the bench, when it is in clear sight of just one access point (...
1
vote
1
answer
293
views
MQTT Connection Lost : Connection issues when combining HTTP and MQTT calls in a loop
I am using The HTTP part to make a URL call, and the MQTT part allows to publish a message to a specified topic. BUT Experiencing connection issues when combining HTTP and MQTT calls in a loop,MQTT ...
1
vote
0
answers
136
views
ESP-01s LED inverted behavior
I'm seeing a strange anomaly with my ESP-01s. When I use the function "digitalWrite(LED_BUILTIN, HIGH)" the LED turns off, and when I use the function "digitalWrite(LED_BUILTIN, LOW)&...
0
votes
1
answer
501
views
ESP8266 interrupts issue
i am using esp8266 to calculate the rpm using hall 3144 sensor, and while doing so there is an issue arises in code.
void exti_callback()
{
Serial.println("working");
}
void setup() {
...
0
votes
2
answers
373
views
ESP8266 chips using different encryption for softAP
I've got this curious case which I'm trying to make sense of. I use ESP8266 boards in a particular project of mine. There are smaller boards and larger boards, with other modules on them, purchased ...
0
votes
1
answer
192
views
Create array of predefined arrays
With the help of PlatformIO and the U8G2 library, I want to write an application for an ESP8266 microcontroller. The U8G2 offers countless fonts, and I would like to display them on a graphical ...
-1
votes
1
answer
1k
views
fatal error: functional: No such file or directory #include <functional>
I installed the Arduino IDE and decided to create a project. Installed all libraries. But I do not understand why such an error. Help I want to connect ESP8266 to Arduino Uno. I need the arduino to ...
0
votes
1
answer
220
views
can Arduino subscribe to Firebase Cloud message notifications
I have seen everywhere how to send FCM(firebase cloud messaging) notifications from Arduino through different libraries.
However, I am wondering if there is a way to make Arduino subscribe to a ...
0
votes
0
answers
117
views
How 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 ...
0
votes
1
answer
115
views
ESP8266+Arduino - Response from api gets cut
I'm using an ESP8266 connected to an Arduino Uno via SoftwareSerial to make a get request to a telegram api. The data with AT-commands prints correct, but the response from the server is incomplete (...
0
votes
1
answer
1k
views
D1 mini ESP8266 pulldown button always HIGH
I am trying to connect a button to my d1 mini ESP8266.
The button is connected with a pulldown resistor (10kOhm) to GND.
And on the same side of the button to the D4 Pin. on the other side the button ...
-1
votes
1
answer
192
views
D1 mini ESP8266 - Temperature monitor
I am trying to monitor temperature with a D1 mini and a NTC, which is working, but the Temperature is calculated wrong. On the Serial Monitor I get Temperatures of around -300°C.
When printing the ...
0
votes
1
answer
592
views
User exception (panic/abort/assert) Nodemcu
Nodemcu runs normally, a few seconds later an error appears so it always asks to restart. Even though the numbers appear on the website and serial print, the restart occurs after the text appears, ...
0
votes
0
answers
261
views
How to get the requested url in NAPT range extender for NodeMCU ESP8266 with Arduino framework?
I have a NodeMCU ESP8266 WiFi development board.
I was using the RangeExtender-NAPT example sketch in Arduino IDE for ESP8266WiFi library.
You can find the code here too.
It works great. I was able to ...
0
votes
1
answer
665
views
WiFiMulti.run: While loop under the void setup() results in extra 7sec delay
I'm facing an unexpected behaviour while writing sketch for NodeMCU 1.0 (ESP-12E).
I'm trying to show some counter while connecting to the WiFi as a part of my void setup(). The idea is to show ...
0
votes
2
answers
3k
views
Esp32 Turn by turn Navigation
I am trying to create an app that allows me to use my esp32 as a "GPS" for turn by turn navigation.
I searched a lot, saw a lot of projects, but couldn't understand any of them + it seens ...