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
34 views

ESP8266 error ""ets Jan 8 2013,rst cause:2, boot mode:(1,6)"" [closed]

I was working through the instructions for the Uno Wifi (XC4411 with ESP8266; https://www.jaycar.co.nz/medias/sys_master/images/images/9701844287518/XC4411-manualMain.pdf) and using the provided code (...
user avatar
0 votes
0 answers
19 views

Connecting Firebase to ESP8266 on proteus [closed]

I am working on a project which will require me to connect my Arduino with Firebase, I currently don't have sufficient funds to get the necessary physical gear so I thought of using proteus. Now ...
user avatar
0 votes
0 answers
12 views

NodeMCU srv:listen out of memory on second save to esp

I have flashed my esp8266 12f amica with the latest nodemcu firmware (SDK 3.0.1). I am using ESPlorer to code on the esp. I am using a code loosely based on the snippets shown in nodemcu's dev guide. ...
user avatar
  • 1
0 votes
0 answers
33 views

Arduino + esp8266 : Timeout linked to length of code?

I have an arduino and an esp8266 12f (NodeMCU) connected via Serial (SoftSerial on Arduino's side). It works well when sending AT commands directly from computer via a USB-Serial connection, esp8266 ...
user avatar
  • 1
0 votes
0 answers
24 views

DHT22 is returning nan when connected to ESP8266, works normal when connected to Arduino Uno

I bought this ESP8266 nodeMCU v0.1(this version number is on board) and some wired DHT22 sensors. When I try sensors on arduino uno, they work normal. But, when I connect them to this nodeMCU I get ...
user avatar
  • 1
0 votes
2 answers
26 views

ESP8266 Wemos D1 min pro - how to change TCP_SND_BUF?

Is there any way to change the TCP send buffer size (TCP_SND_BUF) on this module ? Now it is equal to TCP_SND_BUF = 2 * TCP_MSS = 2 * 1460 = 2920. Editing lwipopts.h doesn't make any difference. The ...
user avatar
0 votes
1 answer
35 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
user avatar
  • 820
0 votes
1 answer
38 views

PWM on Wemos D1 Mini (esp8266 chip) does not work

I am working on a hobby project: creating an rc-(radio controlled)-toy car. I'm working with a Wemos D1 Mini (esp8266) microcontroller, L298N H-bridge (for controlling the motor) and I'm using the ...
user avatar
  • 3
0 votes
0 answers
48 views

Serial com issue between Arduino and esp8266-12f

I have a serial communication issue between a Arduino Uno and a NodeMCU (ESP8266 12f) that I do not understand. The setup is the following. Arduino uno powered by USB cable plugged on computer with : ...
user avatar
  • 1
0 votes
1 answer
24 views

PubSub'a - KeepAlive function not as expected

I'm using PubSubClient to pub/sub MQTT messages using ESP8266. As far as I know "Keep-alive" detects when a client went off-line after a period of time. I'm using library's example ...
user avatar
  • 820
0 votes
0 answers
27 views

Fail passing ArduinoJSON [duplicate]

I'm storing parameters file on ESP8266 flash, using LittleFS.h and ArduinoJSON.h. In case of a failure getting stored values from flash, local defaults are used (stored locally in myIOT_defs[]). When ...
user avatar
  • 820
1 vote
1 answer
37 views

NodeMCU ESP8266 - Which pins can I use? [duplicate]

I'm trying to connect 3 LEDs to a LoLin NodeMCU ESP8266. It seems that several or "all" of the digital pins have some special use that prevents me from using them. If I connect the LEDs (...
user avatar
1 vote
0 answers
31 views

Accessing HTTPS server of ESP8266 through fetch

I have been messing around with this application for a while but seem to keep hitting roadblocks. I am trying to have a public HTTPS page make a fetch to a private ESP8266. As you can guess I ran into ...
user avatar
2 votes
1 answer
64 views

ESP8266 soft resets when using a GPIO Expander

In my project I'm trying to use a PCF8574 to drive some peripherals, since the ESP8266 doesn't offer all the GPIO pins I need, however I seem to be having problems at the most basic level of driving ...
user avatar
  • 183
0 votes
0 answers
31 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
115 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
22 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
-2 votes
1 answer
35 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
1 vote
1 answer
49 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
-1 votes
1 answer
54 views

NodeMCU programming without USB port [closed]

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
80 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
150 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
304 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
66 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
149 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
55 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
  • 113
0 votes
1 answer
110 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
153 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
  • 147
0 votes
0 answers
135 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
134 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
75 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
96 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
266 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
40 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
99 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
156 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
50 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
69 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
104 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
51 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
3k 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
  • 272
0 votes
1 answer
68 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
490 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
280 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
  • 147
1 vote
0 answers
113 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
31 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
134 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
402 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
51 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

1
2 3 4 5
39