Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
-2 votes
0 answers
42 views

Why do I get those warnings?

'void setup()': C:\Users\\Documents\Arduino\libraries\DHT_sensor_library/DHT.h:44:1: error: expected initializer before 'static' static const uint8_t DHT11{11}; /**< DHT TYPE 11 */ ^~~~~~ ...
user avatar
  • 1
0 votes
0 answers
25 views

relay issue at boot in wemos d1 r1

Hi I have a wemos d1 r1 and I want to activate a relay with rc522 RFID module. the problem is that when I connect the board to power or when I reset it, or when I'm uploading the code, the led on the ...
user avatar
  • 3
0 votes
1 answer
38 views

How to append to array of Strings in arduino?

Here is my code: char *StrAB[] = {"29 EC C7 C1", "69 5B C9 C2", "22 3B 83 34", "12 BF BF 34", "C6 78 8E 2C" }; void setup() { Serial.begin(9600)...
user avatar
  • 3
0 votes
0 answers
16 views

RA-02 LoRa transfer problem

i've connected 2 RA-02 modules to my ESP8266 s. Both are capable of transmitting and receiving data between each other. and also esp8266 s are represented as access points to whatever client that ...
user avatar
  • 1
-3 votes
1 answer
37 views

i download a file that has ino but when i extract it is gone [closed]

so when I download a file for my ESP8266 the the file to open it in Arduino. file is not there for it is there a fix and this the github: https://github.com/SpacehuhnTech/esp8266_deauther/tree/v3
user avatar
  • 1
-1 votes
0 answers
30 views

problem regarding file sending through softAP connection on ESP8266

i have a code on my esp8266 in which i attempt to send a file to the client that is connected to me via softAP access point i've provided. client first sends the file name it wants with the key string ...
user avatar
  • 1
-1 votes
0 answers
38 views

What ways are there for wifi provisioning with ESP8266?

I'm creating a project where a flutter app controls an ESP8266. For this the ESP8266 needs to connect to the wifi network without hard coding the credentials - preferably through the flutter app. My ...
user avatar
  • 111
0 votes
0 answers
51 views

ESP32 not connecting to WiFi

basically im trying to deploy a web server in my ESP32 DevKit V1 but as you can see in Serial Monitor it always spamming "..........." infinitely. according to one comment there the problem ...
user avatar
-2 votes
1 answer
29 views

how to save float with 3 decimal places [duplicate]

i am transmitting sensor data from my atmega328p to my esp8266. The Sensordata has 3 decimal places. The esp8266 sends this data to my pc and there I see only two digits. This is because the data is ...
user avatar
  • 1
0 votes
1 answer
26 views

Node MCU Esp12-E does not support server accept function

I am trying to get a web server to run on the ESP12E on the Node MCU variant, and following the example from the esp8266 documentation page here. But the code does not compile, throwing the following ...
user avatar
0 votes
1 answer
39 views

NodeMCU programming without USB port

Recently, I've been attempting to build an anti-collision detection system for uses in a car. I bought several nodeMCU units and wil use one as a WiFi hub. In the course of experimenting, I broke off ...
user avatar
9 votes
2 answers
2k views

On an esp8266 what is faster, 64-bit math or float math?

I need to do some math with vars from an attitude sensor (acclerometers and gyroscopes) on an esp8266. int32_t math with those vars does not have enough range and the float math operations are ...
user avatar
  • 267
0 votes
0 answers
63 views

ESP8266 - What is the difference between PSTR() and PROGMEM specifier?

While saving ESP8266 RAM spaces I am confused by the usage of PSTR(), PROGMEM, and lots of _P functions. What I know now is PROGMEM only applies to global or static strings, while PSTR() can only be ...
user avatar
  • 1
0 votes
1 answer
96 views

I2S pins don't output audio in ESP8266

I am trying to use the ESP8266 to output some audio, but I'm having trouble making it work. I downloaded the library ESP8266Audio and am testing one of the examples they have in the repo, namely ...
user avatar
  • 1
1 vote
0 answers
166 views

rst cause:2, boot mode:(3,6) caused by pointer reference

I am experiencing an unusual issue with my code. I have a LOLIN WEMOS D1 mini Lite and I am using the Arduino IDE to upload the sketch. The version of the board is 3.0.2 for ESP8266. The problem is ...
user avatar
2 votes
0 answers
56 views

Using both FastLED and Webserver without glitches possible?

I'm using an ESP8266 to control a short strip of WS2812 LEDs. I also want some way of remote Control so I'm looking into using a Web UI with the ESPAsyncWebServer library. However using that Webserver ...
user avatar
1 vote
0 answers
128 views

WeMos D1 losing WiFi connection

I have a WeMos D1 connected to an air quality sensor and publishing the value on a self-hosted website. Initially everything works fine (although router UI does not display WeMos). After an hour or ...
user avatar
  • 11
1 vote
2 answers
52 views

What size diode should I use?

I'm building a project with an ESP8266 which requires multiple analog inputs - but the ESP8266 only has one. I know of ways to multiplex with dedicated modules, but since I have lots of diodes lying ...
user avatar
  • 111
0 votes
1 answer
104 views

Why is EEPROM commit not registering int values?

if(jsonDoc["delayOn"].as<int>() <= 255 && jsonDoc["delayOff"].as<int>() <= 255 && jsonDoc["delayUnitOn"].as<int>() <= 2 &&...
user avatar
2 votes
3 answers
145 views

why is my char array empty

following sketch will run totally fine and as expected : #include <Wire.h> #include "SparkFun_External_EEPROM.h" ExternalEEPROM ExtEEPROM; char username[33] = ""; char ...
user avatar
  • 143
0 votes
0 answers
81 views

ESP8266 - MAX3485 Modbus not getting data

I'm trying to connect a modbus meter to a nodeMcu LoLin v3 I'm using a MAX3485 module to transfer the TTL to a RS485 connection. The modbus server has unitId 1, baud rate 9600 and no Parity This is ...
user avatar
  • 101
1 vote
0 answers
100 views

ESP8266 ESPAsyncWebServer LittleFS crashes

I am trying to write a simple web page to be served from my ESP8266 based on this tutorial: https://www.mischianti.org/2020/10/26/web-server-with-esp8266-and-esp32-byte-array-gzipped-pages-and-spiffs-...
user avatar
0 votes
1 answer
68 views

Is there accurate connection procedure for connection between an esp32 and ultrasonic sensor(HC-SR04)? [closed]

I am currently working on a project which integrates esp32 and HC-SR04 and send the data from HC-SR04 to my own domain. The connection diagram is this And the code which I use is this, const int ...
user avatar
1 vote
1 answer
62 views

esp8266 - server.handleClient() fails to call assigned function

I'm trying to get one esp to send integers to a second as a part of a simple remote control, but after multiple days I can't get it to work. The transmitter seems like it's connecting and sending ...
user avatar
0 votes
1 answer
151 views

Set time() on ESP8266

If I call configTime() on a ESP8266 using ESP8266 Core, then time() gets changed from uptime to unixtime. However this sends a SNTP request. I have a DS3231 RTC attached without internet. How can I ...
user avatar
  • 11
0 votes
1 answer
37 views

How to detect ESP32 vs ESP8266 automatically when uploading the application?

I have the same application for both ESP32 and ESP8266 (the same functionality). The person, who is not an IT expert is expected to launch the dedicated installer program to upload the (first/new) ...
user avatar
  • 137
0 votes
0 answers
81 views

ESP8266 and Google OAuth 2

Looking for some help in implementing a version of this project. I'm using an ESP8266 as a webserver for the simple page to generate a code for OAuth to approve the device and generate a Refresh Token ...
user avatar
-1 votes
1 answer
121 views

Serial read and send to UDP?

I was trying to send whatever is received from serial by udp, but it doesn't work properly. the receiver side showing number 50 51 53 ..... the result like below screenshot: can anyone help me please ...
user avatar
0 votes
1 answer
49 views

Using ESP8266 to program Arduino by serial comm

Since ESP8266 can self program on wifi, can we use it to program arduino too with the binary sent via wifi? my arduino is connected with reset+RX+TX pins and shared power. Has this been already done?
user avatar
  • 109
1 vote
0 answers
62 views

ESP8266: ESPASyncserver + client

I have project with an ESPAsyncWebServer with websockets working already. What I need to add is Client functionality to poll a site for a response. I looked at the ASyncTCP library and it has two ...
user avatar
2 votes
0 answers
90 views

Uploading image to Google Drive with Arduino/ESP8266

I have a toucscreen tft connected to an ESP8266 the aim for which is to take a screeenshot (.bmp format) and upload to Google Drive. I have been following this tutorial. Where I am stuck in how to ...
user avatar
1 vote
1 answer
44 views

ESP8266 Pulling Credentials from SD makes esp unable to connect

I'm trying to set up a wifi SD server and i want to put the wifi credentials in a config.txt file on the sd. The entire code works fine. when i dont use the sd credentials but when i do i run into ...
user avatar
2 votes
1 answer
2k views

Drivers for CH9102X serial port chip

Some ESP-family cheap boards manufacturers had recently moved to CH9102X serial port chip (from CP2102), and it seems the drivers for CH9102X are hard to find. Where can I download them?
user avatar
  • 247
0 votes
1 answer
59 views

using RTC for storage

I keep seeing stuff about this: https://www.arduino.cc/reference/en/libraries/rtcvars/ when looking for storage for a few variables that survive turning off and on, but then it is only on ESP8266. The ...
user avatar
-1 votes
1 answer
350 views

'D1' was not declared in this scope; did you mean 'y1'?

Even though i am mentioning everything in the beginning then too m getting out of scope error. Code Reference :- https://noisycarlos.com/project/how-to-turn-your-computer-on-and-off-remotely/ I dont ...
user avatar
-1 votes
2 answers
195 views

how to change a const char*

At the top of my arduino sketch, I have the following : // softAp const char *softApSsid = "abcdefg"; const char *softApPassword = "123456"; Those are the DEFAULT ssid and ...
user avatar
  • 143
1 vote
0 answers
91 views

Arduino websockets send id in connection

I am creating home automation using esp's and little home server. Idea is to connect arduinos to server, add each of them id and let them talk via websockets with server and server will forward (by ...
user avatar
  • 121
1 vote
1 answer
30 views

Selenoid motor not responding to NodeMCU instructions

I just start a project migrating from Arduino Uno to NodeMCU, basically this projects control some selenoid motors triggered by a website instructions. For example: if website returns 2, the motor #2 ...
user avatar
  • 13
2 votes
1 answer
101 views

Arduino ESP8266WebServer hangs after a while but responds pings

I have an ESP8266 module that I use to be able to power on three computers if they are off. The ESP8266WebServer has what I needed to have a POST method rather than a simpler GET one since I am ...
user avatar
  • 21
-1 votes
1 answer
296 views

HOW to use ESP-01 GPIO's for INPUT

I'm trying to use one of ESP-01 GPIO's as an input, However, I'm always reading 1 and nothing attached to these pins. Basically, I'm trying to detect high voltage from another sensor like touch sensor ...
user avatar
1 vote
0 answers
49 views

Exception 29 when trying to display NTP time on an LED

I'm currently working with a "WEMOS D1 R2 & mini" and am trying to call the time from an NTP server and display it onto an OLED display. I've been stuck on an error code that I can't ...
user avatar
  • 11
2 votes
0 answers
90 views

How to fix this problem of invalid conversion from 'const char*' to 'char' [-fpermissive] [closed]

Im working with node mcu ESP 8266 and trying to make it a webserver but keep encountering this problem. #include<ESP8266WiFi.h> WiFiClient client; WiFiServer server(80); void ...
user avatar
0 votes
1 answer
181 views

ESP8266 module ESP-12F does not connect to esptool.py

I have bought some blank ESP-12F modules like this: https://www.aliexpress.com/item/1005001520382593.html For these modules I have made my own adapter PCB to connect them, but now I don't get any ...
user avatar
1 vote
0 answers
46 views

ESP8266 ESP-12E: SD2 (GPIO 9) causing reboot when pulled low [duplicate]

I'm working on a project with reed switches, which are connected between a GPIO pin (in pullup mode) and ground. With some of my NodeMCU ESP-12E boards (HiLetGo brand) that I ordered, whenever the ...
user avatar
  • 11
1 vote
0 answers
33 views

Fatal exception preventing flashing ESP8266 ESP-01

My issue arose when attempting to flash several of my ESP8266 ESP-01 module (https://www.aliexpress.com/item/33010444450.html?spm=a2g0s.9042311.0.0.27424c4dNkKYQZ). In the past and with the first chip ...
user avatar
1 vote
0 answers
71 views

Can the Arduino-HomeKit-ESP8266 library be used with the WiFi101 library?

I am currently trying to create a project to setup a HomeKit remote control to control my smart home devices with the Arduino-HomeKit-ESP8266 library. I am currently using a Arduino-based TinyCircuit ...
user avatar
1 vote
0 answers
28 views

Robotdyn esp8266 interrupt from arduino timing

I use a Robotdyn, uno+wifi r3 atmega328p+esp8266. I need to control motor speed and operate few servos. Since the uno has a single timer, I use the esp8266 pin 2 to control motor speed, while the ...
user avatar
1 vote
0 answers
201 views

Nodemcu Lolin v3 Timeout error

I am getting the Arduino console error "the selected serial port serial.serialutil.SerialTimeoutException: Write timeout does not exist or your board is not connected". I recently upgraded ...
user avatar
  • 21
1 vote
0 answers
155 views

ESP8266 NodeMCU Lolin V3 and using Firebase to update its software OTA

I want to update software OTA on multiple of my nodemcu devices that are currently sending data to my firebase database. I found this tutorial (https://medium.com/firebase-developers/over-the-air-...
user avatar
  • 21
2 votes
0 answers
631 views

MAX30102 not working?

I have a project to find the pulse oximetry rate. I used MAX30102 and ESP8266 as shown in the first picture. Wiring GND ------> GND VIN ------> 3.3V SDA ------> D2 SCL ------> D1 Code I ...
user avatar

1
2 3 4 5
38