998 questions
-1
votes
0
answers
43
views
Arduino IPADDRESS class to String [duplicate]
There is a builin function / method for the IPADDRESS class, .toString() which works fine on output via Serial.println
However it does not seem to covert it actually completely when storing it in a ...
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 ...
-1
votes
1
answer
54
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
47
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 ...
-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
61
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://...
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 ...
1
vote
0
answers
90
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
126
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
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 ...
1
vote
2
answers
147
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 ...
0
votes
0
answers
88
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
357
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
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
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 ...
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
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 ...
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 ...
1
vote
1
answer
292
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 ...
0
votes
1
answer
500
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
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 ...
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
1
answer
112
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 (...
-1
votes
1
answer
191
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
0
answers
257
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 ...