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
0
votes
1
answer
672
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 ...
1
vote
0
answers
179
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 ...
0
votes
1
answer
9k
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)...
2
votes
1
answer
764
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 ...
1
vote
1
answer
1k
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 ...
2
votes
0
answers
504
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 ...
1
vote
2
answers
257
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 ...
2
votes
3
answers
588
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 ...
1
vote
0
answers
1k
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-...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
696
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) ...
0
votes
1
answer
371
views
Using ESP8266 to program Arduino by serial comm
Since the 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 ...
2
votes
0
answers
343
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 ...
0
votes
1
answer
1k
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 ...
-1
votes
2
answers
5k
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 ...
1
vote
1
answer
87
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 ...
-1
votes
1
answer
3k
views
How to use ESP-01 GPIOs for input?
I'm trying to use one of ESP-01 GPIOs 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 a touch ...
2
votes
0
answers
562
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 ...
1
vote
0
answers
48
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 ...
1
vote
0
answers
274
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 ...
1
vote
0
answers
817
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 ...
2
votes
0
answers
3k
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 ...
1
vote
1
answer
245
views
ESP8266 with HC05 : expecting to receive more bytes then the 63 received
I'm trying to read a Ant BMS 32H with a ESP8266 and a HC05 module.
BMS is sending 146 bytes when asking for these by sending DB DB 0 0 0 0 (HEX)
I did test with my android phone and the app 'Serial ...
1
vote
0
answers
383
views
RTC DS3231 always remember the old time
I try to change time on windows to test my programing condition but RTC usually keep old time when i change time on windows and re-upload the code . I'm also removing the battery and cut the power it ...
0
votes
2
answers
5k
views
How do I find out the maximum current through VIN on a NodeMCU board?
I read this answer https://arduino.stackexchange.com/a/51878 to a different, but related question. It seems like VIN on the NodeMCU is directly or via diode connected to the USB connector.
Image ...