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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
35 views

Save sensors data on PC

I am working between an esp8266 and esp32 (I still have some doubt on what to use), and I would like to save sensors data permanently somewhere on my PC. I don't have a SD shield and I am new on this ...
  • 11
1 vote
0 answers
25 views

ESP8266 not sending text message to telegram bot

I've been trying to get my esp8266 to send a message to a telegram bot as soon as it connects to the wi-fi, whenever it encounters an obstacle, or whenever an SOS push button is pressed. But I didn't ...
1 vote
1 answer
26 views

400 Bad Request ESP8622

I was getting an error 400. I can't send the id of my rfid to my system so this is my code: void loop() { readsuccess = getid(); if (readsuccess) { digitalWrite(ON_Board_LED, LOW); ...
-1 votes
1 answer
22 views

ESP8266 + PIR with Laptop connection vs other power source

I have PIR HC-SR501 that I run with the simple example code available for this chip. I run the same code on Arduino Uno & ESP8266 NodeMCU - works perfectly fine when connected to the Laptop USB ...
-1 votes
0 answers
45 views

Upload Error on Esp8266

I am trying to upload my code I found online a while back for my MPU6050. It was working great for a long time, but when I went to upload it today it gave me a error message: C:\Users\Liamn\...
-2 votes
0 answers
35 views

ESP8266 Client Error

#include "Adafruit_MQTT.h" #include "Adafruit_MQTT_Client.h" #include "ESP8266WiFi.h" #define relayPin D3 //declare the relay pin #define WLAN_SSID "" #define ...
2 votes
0 answers
22 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 ...
2 votes
1 answer
51 views

ESPAsyncWebServer code not compiling

Error messages Arduino: 1.8.14 Hourly Build 2020/12/15 11:33 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most ...
-1 votes
0 answers
37 views

Can't connect to web server using esp8266

I’m trying to send an HTTP Get request to the web server, but in my code the client.connect() is not being satisfied so it goes to the else statement which gives ‘failed to connect to server’. are ...
-1 votes
1 answer
58 views

6 Pin BME280 Not giving 12C Signal

I'm Creating a telemetry package for my my mom model rocket with a MPU6050, a BME280, and a SD reader/writer. All code I found for the BME does not read any information. When I upload an I2C checker, ...
-2 votes
1 answer
50 views

How can I connect 2 Arduinos using ESP8266 transiver: ESP01

I have: 2 arduinos UNO, 2 ESP01 transivers. But if that's not enough, I'm ready to buy something else I need to use one of Arduinos as a wifi hot spot, and the second as a modem. They should just be ...
  • 3
1 vote
0 answers
25 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 ...
  • 11
0 votes
0 answers
28 views

Esp-now reacting like bloating in Many-to-one setup

I have project which 3 esp01 controller and 1 nodemcu 12-E receiver which gives scores. Trying to read all input freely from controllers but when i use 3 at same time or pressing button too quickly ...
1 vote
1 answer
29 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 ...
-1 votes
1 answer
69 views

Carbon dioxide sensor MG 811

I am using MG811 carbon dioxide sensor with ESP8266 module. CO2 values is being read inside closed room. The value comes around 400 ppm. Using CO2 generator does not make increase in reading. Checked ...
0 votes
1 answer
790 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 ...
  • 909
1 vote
0 answers
23 views

Problem with Time Interrupts in ESP8266 with water proof depth sensor

I am trying to use an edited version of waterproof depth sensor code from the Arduino blog. It works well on my Arduino Uno board; however, it doesn't work with my ESP8266 board. Is there a way to ...
0 votes
2 answers
83 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 ...
1 vote
1 answer
507 views

esp_now.h: No such file or directory

Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200" esp_now_testing:3:21: fatal error: esp_now.h:...
-1 votes
1 answer
35 views

how send a number from the phone to esp8266

i'm working in smart heated jacket and i need the user to send The temperature that fit him from the phone to the esp8266 then the value be the number that i try to save user temperatures at it
  • 1
2 votes
1 answer
40 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, ...
1 vote
0 answers
187 views

FastLED WS2812B with Esp8266 Wemos D1 mini shows 1 first led only

I'm working with WS2812B LED Strip (and Ring), Esp8266 Wemos D1 mini and FastLED library. I want to show leds with same solid color in every startup. There is a strange behavior that only the first 1 ...
1 vote
0 answers
52 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/...
2 votes
2 answers
283 views

Changing ESP8266 WiFi network via Access Point

I have an ESP8266 project that requires setting the SSID and password for a network via an Access Point. Everything works fine, the only issue is if you send incorrect credentials to the access point,...
1 vote
1 answer
547 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 ...
  • 388
1 vote
2 answers
137 views

What is the ideal way to check if time on ESP8266 via NTP is ready?

With ESP8266, I noticed that for the first 1 or 2 loops, localtime returns Unix epoch (1970 date) until it has finished getting the actual time from NTP, after which point I see the real date. ...
0 votes
0 answers
43 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 ...
0 votes
1 answer
426 views

How do I wake the ESP8266 from deep sleep on a specific date and time?

I'd like to put my ESP8266 into deep sleep and then wake it up at at specific date and time, [roughly] to the second. Edit: Unfortunately, ESP8266 deep sleep doesn't support values greater than about ...
1 vote
1 answer
162 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 ...
  • 388
0 votes
1 answer
33 views

How to reset flow control that prevents me from reading data from ESP8266?

I have a ESP8266 module (like this). I ran a command AT+UART_DEF=115200,8,1,0,3 as mentioned in documentation of ESP8266 SDK to change the baud rate of my ESP8266 module. It seems like by running this ...
  • 15
1 vote
1 answer
34 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 ...
  • 15
1 vote
2 answers
99 views

Passing variable into catch() exception

I'm working with a try{} catch(){} exception right now and I want to change a Variable. For this my board has to connect to the Internet and with a try{} statement it will try to do so. If it fails I ...
  • 11
1 vote
0 answers
182 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 ...
0 votes
2 answers
39 views

generate x item long list for gyverportal drop-down selection

I am trying to make a drop down selection with gyverportal. The issue is that I don't know how many items there are so the list cannot be hard coded. Here is an example from github: GP.SELECT("...
  • 1
1 vote
0 answers
29 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 ...
  • 11
0 votes
2 answers
128 views

Temperature sensors are heating themselves

I have 2 IoT devices for measuring room temperature. Room does not have direct sunlight (it is north oriented and have tree in front of window). One is ESP8266 with DHT11 and next one is ESP8266 with ...
  • 139
1 vote
0 answers
116 views

Coorect syntax for setCACert ESP8266

I am trying to use a cert with an ESP8266 the identical code works fine on ESP32 but for the ESP8266 I am getting errors. I set the cert as follows const char *ROOT_CERT PROGMEM = R"EOF(= "--...
  • 143
0 votes
1 answer
24 views

ESP_ATMod and its many library dependencies

I'm trying to install https://github.com/JiriBilek/ESP_ATMod onto an ESP8266. The sketch has Includes to many libraries. Those libraries have includes to other libraries and so on. Do I have to ...
  • 103
1 vote
1 answer
98 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 ...
  • 27
1 vote
1 answer
79 views

memory leak w/ no Strings involved

I'm trying to read data being transferred via Infrared from my Smartmeter on my ESP8266 using the following sketch: #include <ESP8266WiFi.h> #include <ESP8266WebServer.h> #include <...
1 vote
0 answers
80 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" ...
0 votes
1 answer
47 views

PSF WiFi module - Is it similar to ESP8266

Some products (as TUYA and SONOFF) are using a PSF wifi module. In this link, PSF-B04 is reffers as ESP8285 design. does anyone flash a sketch to such chip ? should it be reffered as ESP8285 when ...
  • 909
1 vote
0 answers
158 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 ...
  • 11
0 votes
1 answer
101 views

Arduino + ESP8266 to send MQTT messages

I'm wondering if an Arduino Uno (or any other 328 family) that connects via Serial to an ESP8266 can send MQTT messages, rather than AT commands.
  • 909
0 votes
1 answer
45 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 ...
1 vote
1 answer
42 views

ESP8266 SDCard initialization bug

I have an ESP8266 wich is connected to an SDCard module, an SHT21 sensor and an BMP280. The idea is that I want to log data from the sensors to the SD Card, but if I initialize the SD Card with SD....
  • 13
2 votes
1 answer
87 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 ...
  • 31
-1 votes
2 answers
128 views

Read SD card on ATMEGA328 from ESP826

I have a ATMEGA328 with ESP826 (like this http://arduinolearning.com/hardware/atmega328-esp8266-arduino-board.php) and can successfully send information from the ATMEGA328 to the ESP826 via serial. I ...
0 votes
1 answer
224 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, ...
  • 1
0 votes
1 answer
156 views

ESP8266 web server not responding when running a http request function

I am trying to build something that can control a stepper motor based on weather information from openweathermap. I've set up a ESP8266 webserver to manually control motor movement with buttons and I ...

1
2 3 4 5
39