Questions tagged [arduino-esp8266]
This project brings support for ESP8266 chip to the Arduino environment. It lets you write sketches using familiar Arduino functions and libraries, and run them directly on ESP8266, no external microcontroller required.
984
questions
-3
votes
0
answers
70
views
what is the suitable arduino for windows 11? [closed]
Is Arduino 2.2.1 good for windows 11
My Computer processor is i5gen12th ram 8
does it run smoothly with my computer?
I hope its compatible with my computer
...
0
votes
1
answer
17
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
13
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
0
answers
20
views
Error compiling for board NodeMCU 1.0 (ESP-12E Module) while using arduinojson
I got this error after upgrading Arduinojson to 6.21.3, what I am supposed to do?
I kept changing the version for the Arduinojson but it ended with the same error, and before adding the Arduinojson ...
0
votes
1
answer
32
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 ...
-1
votes
0
answers
36
views
C++ SPI Communications
Reading 16 Cell Voltages from BMS (Max14921, Maxium Integrated), uses 24 bit communications, 16 bits for cell readings. when i increment byte_2 inside the "for" loop to read cell volts, i ...
0
votes
0
answers
12
views
The Sensor data from the nodemcu is not updating to blynk
I have managed to get the first initial values updated to the dashboard, but after the first update the dashboard values seems not to update. Any reasons? Any suggested changes to the code?
// Fill-...
-2
votes
0
answers
117
views
how to solving error compile for esp8266?
I made automation using esp8266 and blynk but when compiling the code an error appears even though the code is correct, please help me
In file included from e:\DATA C\Documents\Arduino\libraries\Blynk\...
0
votes
0
answers
22
views
call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url) 28 | http.begin(URL);
I'm trying to simulate sending temperature and humidity variables to xampp (localhost) via Post, using the idle arduino, but I'm encountering this error in compilation:
used board:
C:\Users\dossa\...
0
votes
0
answers
51
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 ...
-1
votes
0
answers
58
views
Iam using a ESP 8266 controller and P10 Dot matrix display but when the For loop does not for all values
Gives error after the loop runs from -121 to -80
3fffffb0: 3fffdad0 00000000 3ffee738 40202f78
3fffffc0: feefeffe feefeffe 3fffdab0 401015ed
<<<stack<<<
--------------- CUT HERE ...
0
votes
0
answers
17
views
I am Using WiFi UDP to send numbers from my computer to an adafruit led matrix display with arduino mega 2560 wifi R3 but it only sends once
I am using an Songhe Mega2560 + WiFi R3 ATmega2560+ESP8266 32Mb Memory USB-TTL CH340G to power and send numbers to a 64x32 adafruit led matrix display from my computer. I am kind of a beginner at this ...
0
votes
1
answer
38
views
Problem with webserver on esp8266 that i want to return tvoc from SGP30 sensor
So i have this code:
void setup() {
Serial.begin(9600);
Wire.begin();
if (mySensor.begin() == false)
{
while (1);
}
sencon = true;
mySensor.initAirQuality();
pinMode(led, ...
-1
votes
2
answers
29
views
Exiting loop in Arduino after doing an operation for specific number of times
I want to turn on light/solenoid valve on and off 30 times only, and after that I want to exit the loop. How can I modify the void loop in Arduino? My program is given below. Thanks for your help.
int ...
0
votes
0
answers
22
views
Invalid head of packet (0x38) while booting ESP8266-01S through Arduino Uno
I have spent my complete day, trying to solve failures, that occurred during working with ESP8266-01S Module. Every time it gives me different error messages and every time I fix one - another pops ...
0
votes
1
answer
29
views
I Can't load the EEPROM stored data from an ESP-01S when its restarted from WIFI configuration, the device freezes and then restarts
how are you?.
I'm making a project where one part of it its the classic AP mode where the network details are stored to make the connection once the device is restarted.
In my case the data is ...
0
votes
1
answer
248
views
Arduino IDE cant find "#include <BlynkSimpleEsp8266.h>"
I am trying to use NODMCU esp8266 lib in my project and it doesnt works
CODE
the first lib is ok couse code just end run after it in second lib
I'm trying execute this code.
I've post image with code ...
1
vote
0
answers
76
views
Example of setting a DHCP option in ESP8266 using the Arduino libraries
I want to set some DHCP options on an ESP8266 but I can't seem to figure out the syntax.
I can get the DHCP Server object:
DhcpServer dhcp = WiFi.softAPDhcpServer();
The DhcpServer class is ...
0
votes
1
answer
40
views
Can't conncect ESP32 to ESP8266 or vice versa. socket error on fd 48, errno: 104, "Connection reset by peer"
im trying to communicate wia WiFi usin esp8266 and esp32 devices (cuz have 2 esp8266 and 1 esp32). Im using ESPAsyncWebServer library (https://github.com/me-no-dev/ESPAsyncWebServer works via ...
0
votes
1
answer
64
views
EspExceptionDecoder missing from Arduino tools menu
I am running Arduino:
Version: 2.1.0
Date: 2023-04-19T15:31:10.185Z
CLI Version: 0.32.2
I have installed EspExceptionDecoder.jar in:
C:\Users\<my username>\Documents\Arduino\tools\...
0
votes
0
answers
27
views
ESP8266 direct write to memory by byte
How to directly, without using the EEPROM library, overwrite the flash memory of the PROGMEM variable byte by byte? Also, how can I determine the memory addresses in which I can save my data byte-by-...
0
votes
1
answer
43
views
Descriptor is empty for characteristics
I have made a simple arduino code, where there are 6 characteristics, I have made a flutter apk where I observe all the characteristics which I defined in the arduino.
In setup code of arudino ->
...
0
votes
0
answers
55
views
why do we use the "plain" argument in server.hasarg("plain") in the ESP8266WebServer library
I am writing an Arduino code to retrieve a JSON code from the ESP8266 webserver, i used postman to send the POST request and included the JSON code in the body of the request. The Arduino code is ...
0
votes
1
answer
27
views
NodeMCU and Flow Sensor Battery Issue
I have an issue about my flow sensor connected to my NodeMCU ESP2866. I want to make it powered wirelessly and therefore I need a battery. The problem is however, the sensor requires 5V+ but my ...
0
votes
0
answers
27
views
Why am I getting 'INVALID DMP VECTOR' error when sending E1.31 commands via PHP but not with QLC+ software?
im new to E1.31 or sACN. I am trying to send a command to an E1.31 receiver that was created with an ESP8266 with Arduino from a PHP service. However, I keep encountering an error message:
"...
0
votes
0
answers
27
views
Undefined reference to _EEPROM_start when using Mixiaoxiao's HomeKit framework on esp8266
I'm using a homekit framework by Mixiaoxiao for the esp8266 to create a diy homekit controllable smart blind. I'm pretty sure I've solved all of the issues I was having with my own code (hopeful ...
0
votes
0
answers
109
views
how to esp8266 port not detecting on arduino in window 11
windows 11 is not suitable for programming IoT devices like arduino and esp modules.
as it do not have com port by default.
so I tried to install CH340 driver
and com-port in
windows device manager &...
1
vote
0
answers
330
views
I can't upload code to my esp8266 (arduino ide V.2.1.0, windows 11 )
I'm on window 11 and arduino ide V.2.1.0 I want to cade my ESP 8266 bt
. Variables and constants in RAM (global, static), used 28008 / 80192 bytes (34%)
║ SEGMENT BYTES DESCRIPTION
╠══ DATA ...
0
votes
0
answers
48
views
Faster builds with arduino-cli
I have a script that uses arduino-cli to generate a compiled build of my sketch that has a dependency on arduinoWebSockets among other libraries.
Each build takes a lot of time, as it compiles all the ...
0
votes
0
answers
41
views
Getting 'Invalid value' error when setting timestamp value in Firestore using Arduino and ESP32
I'm working on a project that involves using an Arduino board and an ESP32 microcontroller to interact with Google Firestore. I'm trying to set a timestamp value in Firestore using the Arduino code, ...
0
votes
0
answers
73
views
trying to control arduino uno from another network using ESP-01 module
I was able to successfully control my Arduino uno on the local network, I use "mobile telnet" app to send data such as "LED=ON".
I'm unable to do the same remotely even after port ...
5
votes
8
answers
28k
views
A fatal esptool.py error occurred: Cannot configure port. PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
I am using a windows OS and I tried running a .ino code in arduino IDE for ESP8266 and came across the following error while trying to upload the code to ESP8266.
A fatal esptool.py error occurred: ...
0
votes
0
answers
19
views
Compilation error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url) [duplicate]
I tried the coding for IOT Door open Notification using IFTTT by Sachin Bhangale with the esp8266. But when I upload the code i got an error. I already tried the one from (Error: call to '...
0
votes
0
answers
55
views
ESP8266-Arduino-Lua libraries and executing script from serial
For some reasons that I won't explain here, I'm programming a NodeMCU board with Arduino IDE. In order to send scripts instantaneously, I'm testing the ESP8266-Arduino-Lua libraries, which should ...
0
votes
0
answers
75
views
Is it possible to assign static IP address to ESP8266 NodeMCU and ESP32-CAM camera?
I read and watched many tutorial about the two modules. Unfortunately I still have not found a firm explanation whether we may assign static IP address to those modules. Mostly the tutorials explained ...
-1
votes
1
answer
129
views
Arduino Uno and ESP8266MOD connection problem
I want to connect my ESP8266MOD to my Arduino Uno, right now I've following wiring connections using jumper wires:
3V3 of ESP to 3.3 of Uno
Gnd of ESP to Gnd of Uno
Tx of ESP to Rx of Uno
Rx of ESP ...
0
votes
1
answer
293
views
i am having errors with esp32 and rfid Mfrc522 card reader
I managed to make my esp32 and mfrc522 card reader work before. but Now first i got this error,
*'/esptool.exe' is not recognized as an internal or external command,
operable program or batch file.
...
0
votes
1
answer
71
views
How can I check the output of my code using Arduino IDE and ESP8266 when I want to display the data to a large 7-segment LED
I have a varying data which is data1, data2, data3 these data changes when there is an update in my database. What I wanted to do is to display these data into 3-layer large 6-digist 7-segment LEDs ...
0
votes
0
answers
197
views
Soft WDT Error when trying to connect to WIFI and Blynk with ESP8266
When running my code, the board resets when trying to connect with Bylnk and my phone's hotspot.
#include<Adafruit_ADS1X15.h>
#include<Wire.h>
#include "Arduino.h"
#define ...
0
votes
0
answers
13
views
Is it possible connect 4 HC-SR04(for every direction) in a 170 Points Mini Breadboard (SYB-170)?
I need to connect four HC-SR04 (Ultrasonic distance sensor) in a 170 Points Mini Breadboard SYB-170.
Each sensor for each direction(North,South,East,West)
I am attaching the image of both components, ...
0
votes
1
answer
145
views
Esp32 OTA update using React-native app is not working
I'm developing an react native based OTA app updater.
The file is been searched by the fs and then uploaded to esp32 via http where esp32 is in AP mode to receive the file over webserver. During the ...
0
votes
0
answers
80
views
Impossible to disconnect NodeMCU arduinoWebSockets client from Flask SocketIO server
What am I trying to do ?
I am trying to build a simple connection mechanism based on the SocketIO protocol :
A NodeMCU device (ESP8266) running the arduinoWebSockets library connects to a Flask ...
0
votes
0
answers
53
views
Unable to connect ESP8266 to Server
I have an ESP8266 module. I want to toggle GPIO 2 from a web page. I use 000webhost which has HTTPS protocol so I wrote related code.
This is my Arduino Code:
#include <ESP8266WiFi.h>
#include &...
0
votes
0
answers
55
views
ESP8266 & Javascript AES
I have this encrypted AES128 CBC zero padding :
o9MfCaefrs8pM8zQqyQ2mQ==
key = aaaaaaaaaaaaaaaa
iv = 0000000000000000
I am looking for decryption code to let esp8266 decrypt it any help is ...
-1
votes
1
answer
616
views
How to send a data from ESP8266 (Arduino) to PC (Python) over Wifi
I have an ESP8266 measuring a voltage via its Analog port (1).
I have the ESP8266 successfully connecting to my local WiFi network.
I can successfully command the ESP8266 over the local WiFi with ...
2
votes
0
answers
80
views
ESP.deepSleep For Esp8266 for 22 hours
I've got a really cool project where I have a camera trap in the wild monitoring cougars in the mountains. My camera trap is a wifi capable battery powered security camera. I have a wifi router built ...
0
votes
1
answer
93
views
AttributeError: 'function' object has no attribute 'POLLIN' in micropython script
whenever i try to run the captive portal script i begins to work by creating the AP and configuring the servers but once it is about to start printing http request it cast this error
Traceback (most ...
0
votes
0
answers
43
views
Arduino/ My Sql Connector unable to connect using wifi with lolin d1 r2 mini
I was trying to connect with database with lolin d1 r2 mini. I wants to send data to the database via my microcontroller, for that I am using MySQL library. I am able to connect with the wifi but not ...
0
votes
2
answers
354
views
generating test data and sending it to the azure iot cloud using python
I have to generate test data periodically like every 6 minute and send it to azure iot cloud using python, And use that data to manipulate or control my other device both physical(esp8266 or arduino) ...