Questions tagged [esp8266]
An IC that offers Wi-Fi networking compatible with b/g/n standards. It also has integrated TCP/IP protocol stack. Extremely popular along IoT community as a low cost and powerful board.
2,019 questions
2
votes
0
answers
222
views
ESP & Servo not communicating well
I have a mystery I was unable to solve and would greatly appreciate it if anyone could shed some light on this.
I have a servo DSS-M15S 270 which I managed to run perfectly fine with Arduino Uno (code ...
-1
votes
1
answer
633
views
6-pin BME280 not giving I2C signal
I'm creating a telemetry package for my my mom's model rocket with a MPU6050, a BME280, and a SD reader/writer. The code I found for the BME does not read any information. When I upload an I2C scanner,...
1
vote
0
answers
168
views
Why won't IP mode change to 1 in ESP01 using the AT commands?
I was trying to send some data to a webpage using an Arduino Uno R3 connected to an ESP01. I simply uploaded the BareMinimum and started sending AT commands through the Serial Monitor. It worked fine ...
2
votes
1
answer
177
views
Is ESP8266 dropping an interrupt?
I want to use interrupts on my ESP 8266 to monitor the digital outputs of a power meter and water meter.
The idea is to increment a counter in the ISRs and at some point to take the value of the ...
2
votes
2
answers
3k
views
ESP8266 - error after board update to 3.1.1
I'm using a Ubuntu 22.04 and Arduino IDE 1.8.19 for my ESP8266 Projects.
Yesterday I upgraded to 3.1.1 (using board library manager), and right after that - I got the following message (few seconds ...
0
votes
2
answers
475
views
Is it possible to know how long an ESP8266 was in deep sleep?
I'm working on a low power device that implements an ESP8266 MCU and uses it's deep sleep feature. The firmware uses the Arduino C++ library.
Part of the functionality requires knowing the time. To do ...
2
votes
1
answer
184
views
Detecting the difference between a deep sleep wake signal and a manual wake button press
When my ESP8266 wakes itself from sleep (i.e. D0 sends wake signal), I want it to do something different to when I manually wake the device with the reset button.
I have the RST and D0 pins connected, ...
2
votes
1
answer
262
views
ESP8266 Wemos D1 Mini Pro v2.0 - Load sharing and battery
I have a simple question regarding the new version of Wemos D1 Mini Pro v2.0 and specifically about its load sharing circuitry. Schematic is here :
https://www.wemos.cc/en/latest/_static/files/...
1
vote
1
answer
5k
views
ESP8266 RTC memory (for bootcount)
I'm using an ESP8266 with deep sleep + wake up when RST pin goes low.
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266HTTPClient.h>
WiFiClient client;
HTTPClient ...
0
votes
0
answers
160
views
What is the minimum value for ESP.deepSleep(n)?
I noticed that when calling ESP.deepSleep(1), the ESP8266 sometimes does not wake. Why am I entering such a low value? I want to sleep for the minimum amount of time so that I can restart with WiFi ...
1
vote
1
answer
2k
views
Slow WiFi reconnection after deep sleep (6 to 10 seconds)
With my ESP8266, I need to make a simple GET request to a server, and then go to deep sleep (the goal is 1 year battery powered)... until a signal comes on RST and then it starts again.
The following ...
1
vote
1
answer
457
views
ESP8266 module doesn't respond to commands and sends garbage to serial on boot
I bought a ESP8266 module (like this).
I connected the module like on the following scheme:
I use a USB to TTL converter (cp2102) that I've connected to RX&TX pins of the module. It works. It ...
1
vote
0
answers
632
views
ESP Sim800l Firebase
So, I'm trying to send data from ESP boards- 32 and 8266 using sim800l module to firebase.
But I'm getting HTTP not connected error. I tried to search web but it seems that firebase changed something ...
1
vote
0
answers
79
views
Code not checking for updated sensor values after connecting to firebase?
I am using a project with an MQ138 sensor and want to push the real time sensor reads to firebase. Currently, the wifi/firebase part and sensor part work fine separately. The code connects to wifi and ...
1
vote
1
answer
2k
views
Correct syntax for setCACert ESP8266
I am trying to use a cert with an ESP8266. The identical code works fine on ab ESP32, but in the ESP8266 I am getting errors.
I set the cert as follows:
const char *ROOT_CERT PROGMEM = R"EOF(= &...
1
vote
2
answers
502
views
Removing spaces between characters in MD_Parola
I'm using ESP8266 and Max7219 module (8*32) and MD_Parola library. To create my own font, at first I used of MDParolaFontEditor and created the following fonts.
I edited file MD_MAX72xx_font.cpp ...
1
vote
0
answers
206
views
ESP8266 TIMEOUT: 428
this is the code I used:
#include <Wire.h>
#include "WiFiEsp.h"
// Emulate Serial1 on pins 6/7 if not present
#ifndef HAVE_HWSERIAL1
#include "SoftwareSerial.h"
...
1
vote
0
answers
449
views
Connect Arduino + ESP8266 to Azure IoT Hub Device via X509 certificate
I would like to connect ESP8266 with Azure IoT Hub Device via X509 certificate. Currently, I can connect using the symmetric key connection to my device, but I have devices that I want to authenticate ...
0
votes
1
answer
61
views
Esp8266-01 and Arduino
I recently bought an ESP8266 (ESP-01s). When I first connected it to Arduino,AT commands showed. Then when I uploaded other code,the commands stopped showing. I flashed it using many flashing tools ...
2
votes
1
answer
643
views
Arduino/ESP8266 How to give users updated compiled code without using Arduino IDE
I have an Arduino project using an ESP8266 dev board.
I want to be able to give users updates to my software in the future and I don't want them to have to download the code and the Arduino IDE to do ...
0
votes
1
answer
1k
views
"previous declaration of 'HTTPMethod HTTP_HEAD'"
I'm getting the following error when I try to compile my code on my LOLIN(WeMos) D1 R1:
In file included from C:\Users\Administrator\Documents\Arduino\libraries\WiFiManager/WiFiManager.h:17,
...
0
votes
3
answers
3k
views
How to store a struct in a file?
I'm trying to store (read&write( a struct using LittleFS on ESP8266.
Appreciate assistance
struct oper_string
{
bool state; /* On or Off */
uint8_t step; /* Step, in case of PWM */
...
1
vote
0
answers
125
views
Inconsistant compilation error
It is s a bit complicated to ask such question, but what may be the reason that one time compilation passes and other fails without any changes in code? surely debugging this way is very hard (one ...
1
vote
1
answer
243
views
Why doesn't serial communication work on Arduino Uno r3 and ESP8266 WiFi module?
I have a simple problem here. I use an ESP8266 WiFi module and an Arduino Uno r3.
What I want is to receive a serial message from the ESP8266 on the Arduino Uno.
Note: I set the upload speed of the ...
0
votes
1
answer
401
views
Determining ArduinoJSON document size based on file size
I'm trying to effectively allocate a doc's size, based on the size of the file saved in flash of ESP8266. Is there a way?
For example: file.size() X 1.5