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
2 answers
55 views

How esp8266 gets response from server..?

#include <SoftwareSerial.h> const byte rxPin = 2; const byte txPin = 3; SoftwareSerial ESP8266 (rxPin, txPin); void setup() { Serial.begin(115200); ESP8266.begin(115200); delay(2000);...
user avatar
  • 21
1 vote
0 answers
138 views

ESP8266 Webserver does not respond

I am trying to reach the webserver running in my Wemos D1 Mini compatible board. I am trying one esp8266 example using Arduino examples "WifiManualServer" code below. I have replaced the SSI ...
user avatar
1 vote
1 answer
297 views

HTTPS GET request working on esp32 but not on esp8266

I'm trying to port my esp32 program to esp8266, and i've come across a problem where i can't get a response from a HTTPS GET request on esp8266, but on my esp32 the same code works fine. The function ...
user avatar
  • 95
1 vote
0 answers
59 views

Get LFN from SFN with SDFat

I am trying to optimize the memory usage of my ESP8266 arduino sketch by using 8.3 SFN folder names internally, but LFN when needed for user output. Unfortunately when opening a folder by using the ...
user avatar
  • 123
0 votes
1 answer
610 views

How to send int array with ESP8266 http post request?

I'm reading RFID cards' UID with an ESP8266 and trying to send that information to my web server hosted on a Raspberry Pi. I'm currently storing the UID in an int array, but the http.POST(); function ...
user avatar
1 vote
1 answer
1k views

ESP8266 Arduino Json object array deserialisation into struct

I'm trying to de serialize an array of JSON objects into a struct. Following the instructions given by the Arduino JSON assistant, I managed to produce this helper function: void JsonPreprocessor(...
user avatar
  • 95
1 vote
0 answers
46 views

Can I add my Wi-Fi credentials to ESP module remotely?

I am working on Home automation project and I am stuck somewhere on connecting my smart switch board to internet through my home WIFI. Actually I want to connect my ESP module with my home Wi-Fi ...
user avatar
1 vote
0 answers
45 views

ESP12F works indefinitely, then gets stuck in unrecoverable hardware WDT "boot loop"?

I have a sketch running on a number of ESP12F modules (AiThinker). They can work for months on end, can be power cycled, can be moved around, etc. It is a complex sketch with multiple parts and is ...
user avatar
  • 31
1 vote
1 answer
523 views

Why is this extremely simple code not working?

I have a problem with a for loop, and Serial.print("Its Working") does not appear. Seems simple, I've done it before, now for whatever reason, its not working anymore void setup() { // put ...
user avatar
  • 452
1 vote
0 answers
39 views

I was working on ESP module and got some errors. Can anyone please help to resolve those errors?

Code; #include <Keypad.h> #include <Servo.h> #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <PubSubClient.h> const char* ssid = "";//put your wifi ...
user avatar
0 votes
2 answers
449 views

ESP8266: Interfacing MAX485 TTL-to-RS485 on serial port

I am using the ESP8266 NODEMCU. I am aware that the CH341 on the NodeMCU is bridged to the serial pins GPIO3(Rx) and GPIO1(Tx). Hence, any data send on Rx and Tx is also visible on the serial monitor. ...
user avatar
1 vote
1 answer
264 views

How to use millis instead of delay? [duplicate]

Sorry if something similar has been answered before... I am working on a garden timer project that runs on a ESP8266 based NodeMCU and is integrated with Blynk. I have a waterNow function that ...
user avatar
  • 452
1 vote
1 answer
625 views

ESP8266 ISO 8601 string to tm struct

I have a web service that returns timestamps in ISO 8601 format, e.g., "2021-06-25T12:00:00" I'm trying to turn the timestamp string into a tm type struct from the ESP8266 library <time.h&...
user avatar
  • 95
1 vote
0 answers
24 views

ESP8266 not running when connected to 3V3 [duplicate]

I have a simple code that uses a tactile button and ESP8266. I have one wire going from GND to one leg and one wire going from D3 to the other leg. Works perfectly. When I start it up, I have write ...
user avatar
1 vote
2 answers
258 views

Arduino code not working properly (Please Help)

I am having some trouble getting my board to perform the function I want it to perform. This is a project I have due in a few days, and I have hit a wall I just can't seem to get past. Now, I will say ...
user avatar
  • 13
1 vote
0 answers
189 views

Pn532 and Node MCU SPI

I'm trying the Android Hce example in this PN532 library. The serial monitor gives me "Didn't find PN53x board". Can someone help me? #if 1 #include <SPI.h> #include <PN532_SPI....
user avatar
1 vote
0 answers
92 views

NodeMCU server stops responding after a while

I'm new to NodeMCU and ESP. I've created a basic web server on my NodeMCU. The server works fine for the first few minutes after resetting the board or re-uploading code. But after about half an hour, ...
user avatar
3 votes
0 answers
68 views

ESP8266 requires two resets to wake up from deep sleep [duplicate]

I'm working with the following circuit using a NodeMCU: I have the solder jumper bridged between RST and BTN. In addition to what's in the schematic, pins 2, 3, and 4 of J1 are connected to the ...
user avatar
0 votes
2 answers
828 views

Arduino ESP8266 HTTPS Request returning empty response

I want to get some JSON data from a HTTPS secured Webserver using a ESP8266. For some reason I'm getting an empty response, I believe there's an error parsing the GET request. In Chrome I get the JSON ...
user avatar
1 vote
0 answers
108 views

All AT commands return Fail

I'm trying to send data from sensor to ThingSpeak, but the AT commands always return Fail. They work sometimes and send data. But, most of the time they return fail. My Connections: ESP Arduino Gnd ...
user avatar
3 votes
0 answers
779 views

Using or creating Wi-Fi Direct (P2P) connection on ESP8266

I want to make a Wi-Fi Direct connection with an android device using my ESP8266. According to ESP8266WiFi Documentation and ESP8266 datasheet, the board has a SoftAP mode which is I think what is ...
user avatar
1 vote
0 answers
67 views

How can I get an integer from an RFID tag from Arduino Mega to NodeMCU 1.0 over serial communication?

I want the number from an RFID tag read by a reader connected to an Arduino Mega to end up as a string on a NodeMCU connected to the Mega. I am trying to confirm that the string is on the NodeMCU ...
user avatar
1 vote
1 answer
3k views

ESP32S v1.1 NodeMcu vs ESP32 DevKitV1

I have two different ESP32 development boards labelled "ESP32S v1.1 NODEMCU" (A) and "ESP32 DEVKITV1" (B). From what I can tell they have the same major components, but their pins ...
user avatar
  • 111
2 votes
0 answers
86 views

ESP8266 + 4x TM1637 == possible?

I'm having trouble getting my NodeMCU connected to 4 x 4 Digit 7 Segment Displays. So far I've been able to connect 2 & get them to display things from the demo repository. However, after trying ...
user avatar
  • 121
1 vote
2 answers
141 views

Arduino UNO with integrated ESP2866 wifi not working correctly

I bought this "knockoff" Arduino UNO with an integrated ESP 2866 wifi module. But I can't make it work. I've followed this tutorial because it's the same product as I have, but I can't make ...
user avatar
  • 305
2 votes
3 answers
526 views

Send values from Arduino Uno to Wemos D1 R1

I have a weather project in which I have to measure the temperature and humidity (DHT22 sensor), the pressure, and other things, and then show them on a local web page (using a Wemos D1 R1) in either ...
user avatar
  • 21
0 votes
1 answer
664 views

ESP32 millis not working properly

I have a program which measures temperatures every 30 minutes and sends them to a database. Immediately after running the program the first measurement is sent, however, the second (which should be ...
user avatar
  • 177
2 votes
0 answers
517 views

Getting a Wemos D1 Mini to work with a M1 Mac

The Wemos D1 mini won't show up on the new M1 Mac. I know it's related to the drivers but I just can't find a viable solution to the problem. Has anyone solved this?
user avatar
2 votes
0 answers
195 views

How to adjust Partition Scheme Wemos D1 mini pro?

I bought myself a WEMOS D1 mini PRO (16MB) for creating a quite large project. As I'm writing code, my memory is starting to grow. When I looked at the Flash size in Arduino IDE, the only options I ...
user avatar
1 vote
0 answers
52 views

ESP8266 Repeated Crashing When Pulling JSON Information

I am trying to create a simple LCD device that pulls a random Jeopardy question from here: http://jservice.io/api/random, then cycles through the category/value, clue, and correct question at the push ...
user avatar
1 vote
0 answers
114 views

AT command AT+CWJAP command always fail when connect to wifi

Refer to connect to wifi from https://www.cooking-hacks.com/mysignals-hw-ehealth-medical-biometric-iot-platform-arduino-tutorial.html #include <MySignals.h> #include "Wire.h" #...
user avatar
1 vote
0 answers
55 views

Servo starts spinning 360 degrees after a few minutes

I'm using my ESP8266 as a web server to tilt a camera with the servo Tower Pro Micro Servo 9G. #include <Servo.h> #include <ESP8266WiFi.h> const char* ssid = "SSID"; const ...
user avatar
1 vote
1 answer
476 views

Compiling for Wemos D1 mini with Visual Studio Code

I'm giving Visual Studio Code (VSC) a try and am getting unexpected results. I have a program (sketch) that compiles fine in the Arduino IDE. I create a workspace in VSC, initialize the project, and ...
user avatar
  • 261
0 votes
1 answer
54 views

Problems with compiling more then one sketch in the Arduino IDE

I found this ESP8266-MQTT program on Github. How can I compile this thing with the Arduino IDE? I only can open one sketch at a time. If I try to compile this then parts of the program are missing for ...
user avatar
1 vote
1 answer
1k views

How to write & read from SPIFFS file as object data on ESP8266

I am trying write four digit number to SPIFFS file, and read that four digit from SPIFFS file and display on seven segment. The code, I am writing as below, I got "0" on each segment, but if ...
user avatar
1 vote
0 answers
287 views

ESP8266 wdt reset

I just bought a KS0354 ESp8266 board to make a remote control for my iot project. Not sure why I keep on getting a wdt error. Even before I can complete my entire code I start getting this error. ...
user avatar
0 votes
1 answer
168 views

Remove unwanted characters from char type

I'm working on an ESP8266 module that needs to fetch date data from worldtimeapi, everything works fine but the problem is How do I strip of the time field off the datetime JSON response without loop. ...
user avatar
  • 15
1 vote
0 answers
120 views

nodemcu POST request over https return error code -1

I have a nodejs application deployed and have been trying to send data to the api using the following sketch on my nodemcu: #include <ESP8266HTTPClient.h> #include <ESP8266WiFi.h> void ...
user avatar
  • 111
2 votes
1 answer
293 views

How to bring WiFi back up if woken from deepSleep(WAKE_RF_DISABLED)

I'm trying to build a sensor that should update an MQTT broker only if something changes. So every few seconds it's supposed to wake up just enough to check a few inputs, compare them with the last ...
user avatar
  • 121
1 vote
0 answers
70 views

JSON Parser fails because number of bytes is being sent

Sorry I am new with this. I am trying to read a JSON response from my website using an ESP8266, but it keeps failing. I am using the following code: WiFiClientSecure httpsClient; //Declare object ...
user avatar
  • 19
1 vote
0 answers
88 views

How can I use GPIO pins on an esp12e UART?

I've bought an esp12e UART that unfortunately had some issues, but I was able to fix them. This is how I connected it to the arduino. With this setup, I was able to host a simple web server and it ...
user avatar
1 vote
0 answers
64 views

ESP-01 doesn't seems to send any data over serial once it is connected to the wifi router

how are you?. I'm using an ESP-01 with platformIO wich is programmed using esptool.py to run an example of a web server that I found in a book called "NodeMCU ESP8266 Communication Methods and ...
user avatar
  • 11
0 votes
1 answer
106 views

NodeMCU and SDS011

today I connected the SDS011 to NodeMCU. I noticed that this only works when the sensor is connected to the voltage VU. If I connect the sensor to another pin for the voltage, it does not respond. Why ...
user avatar
1 vote
0 answers
88 views

Http Client requests

I am working on a project where the ESP 8266 sends a very long string about 3000 chas over http as client. Likewise sensor data are determined. The loop repeats itself every 250ms. Now I noticed that ...
user avatar
1 vote
1 answer
862 views

ESP8266 ESP-01s Not Responding, No LED Blinking, Overheating

I have an ESP-01s that I want to use as a shield so my Arduino Uno project could communicate with my Blynk app through wi-fi. I used this video as reference. This is the sketch. It is just the ...
user avatar
1 vote
1 answer
39 views

Elements excluded from buffer array output after given structure (ESP8266 WifiSniffer) (snifferPacket)

I am currently trying to determine how the ESP8266 WifiSniffer program by Kalanda works. Here is the source code: #include <Arduino.h> extern "C" { #include <user_interface.h> ...
user avatar
2 votes
1 answer
443 views

ESP8266 - How to recieve UDP multicast packet?

how can I recieve udp multicast packets in ESP8266? I have this piece of code: #include <ESP8266WiFi.h> #include <WiFiUdp.h> const char* ssid = "my_wifi_ssid"; const char* ...
user avatar
1 vote
0 answers
435 views

WifiManager Custom Parameters not working on ESP-01

I have tested this code on Lolin Nodemcu v3 and it is working perfectly. However when I switched to ESP-01 The Wifimanager works but no custom parameters are saved although WIFI Credentials are saved. ...
user avatar
  • 45
1 vote
0 answers
26 views

Checking what ESP8266 module that is in use

I have this script where I have connected an ESP-01 to an SSD1306 OLED screen. However, the script I'm using needs adaption for ESP-01 as this module requires the I2C pins to be defined. So basically ...
user avatar
  • 147
0 votes
1 answer
50 views

Simple ESP to ESP reading blink program not reading input voltage

One ESP32's 3v3 is connected to GPIO 26 of another ESP32. The program is uploaded. The built-in LED lights for two seconds as expected. Then, it turns off. No matter what GPIO pin the 3v3 is connected ...
user avatar
  • 181

1 2
3
4 5
39