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.

531 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
40 views

I am uploading a stream of images using my esp8266. There are occasional lags in the stream. How can I decrease them?

I have an 2MP mini plus Arducam hooked to a Wemos D1 mini lite (contains an esp8266). I am uploading a stream of images from the camera onto a server hosted on the esp8266. There seems to be about 10 ...
0
votes
1answer
89 views

Send Arduino data to Database using ESP8266

My project is to receive data from Bluetooth (HC-05) sensor and storing it in the database. I have successfully received data from Bluetooth sensor and stored it in a String variable. Now i have to ...
0
votes
2answers
134 views

ESP-01 Deep Sleep not waking up properly

I have a temperature/humidity project using an ESP-01 and DHT11. I want to be able to put t into deep sleep to preserve battery life. I have soldered a wire from GPIO16 to RST. #include <...
0
votes
0answers
36 views

ESP8266 and Public WiFi

Can I use C++ and an ESP8266 to connect to a public wifi network that requires user acknowledgement of terms and conditions? Acknowledgement is typically a checkbox or submit-type button. Any ...
0
votes
0answers
84 views

ESP8266-01 serial communication with Arduino UNO

I have been looking forever why my serial communication is not working, hopefully someone can help me here. Arduino UNO code: //ARDUINO UNO CODE #include <arduino.h> #include <...
0
votes
0answers
69 views

Batch programming AVR chips via ICSP with an esp8266

I had an interesting idea recently, but don't have all the knowledge needed to make it work. I know that several people have made Arduino programmers with an esp8266, allowing them to program the ...
0
votes
0answers
44 views

Send data to lcd and server via esp8266

The code below, as it stands, works correctly. It connects to a local server (so Token and everything else is no problem sharing) and transmits the data via post. However, when I uncomment the lines ...
0
votes
1answer
252 views

Can the ESP-1 use SPI to communicate with sensors?

I wonder if I can use SPI to communicate between ESP-1 ESP8266 module and SPI sensors and other slaves. If so, do I need to install a library?
0
votes
0answers
46 views

How to update data to xml file

I have search lots, and finally I was able to get my project moving! I have learned to create an xml file and get data from it using XMLRequest vía "get". I'm using a Nodemcu 12e v.1 I believe, have ...
0
votes
0answers
55 views

Error sending data too large for ESP8266

The code below I use it to send data to a server. However, if you add one more node to json postRequest, the serial will stop showing data and it will not be sent to the server. However, if I remove a ...
0
votes
0answers
56 views

Unable to get input from Wemos D1 PIR sensor

I am using the script below to create a motion sensor using a Wemos D1 and a PIR sensor. I'm using the ESP8266 Community board manager (V2.6.3). THE PROBLEM When I use the Wemos D1 R1 board no ...
0
votes
0answers
675 views

esp32 arduino wifi disconnect

I have this code running on ESP32 connected to SVM30-J #include <WiFi.h> #include <PubSubClient.h> #include <Arduino_JSON.h> #include <svm30.h> // Replace the next variables ...
0
votes
0answers
25 views

Is it possible to print to a Google Sheets document from an Arduino and ESP8266?

So I'm looking to use an ESP8266 with an Arduino Uno to print something to a Google Sheets document. I would be printing the time and date from a real-time clock module, the id of a fingerprint ...
0
votes
0answers
276 views

Serial communication is not working in arduino pro mini

I am using arduino pro mini ATmega328P(5v 16MHz) and a ftdi FT232RL to connect to the PC. The arduino does not produce any output for the AT coomads(blank output) when I connect both rx and tx pins to ...
0
votes
0answers
37 views

Problem with Reading Multiple Analog Values From ESP8266 NodeMCU

I am using ESP8266 nodemcu with ADS1115, but values are totally wrong. Why this happened? Is there any solution to extends the Node MCU 8266 pins with accurate sensor values ?
0
votes
0answers
25 views

Improper functioning of Node mcu when connected to source other than PC

I connected EM18 rfid reader to NodeMCU to read rfid card data. It showed card number very quickly and consistently till it was connected to my PC's USB. But when I connected it to 5v power source (...
0
votes
1answer
39 views

I keep getting an exit status 1 expected primary-expression before ')' token for my code

I am trying to compile my sketch for a servo motor in order to make it move back in forth (like a pulse) I used two for loops to make this happen but when I determine the scope before the loop I get ...
0
votes
0answers
19 views

Not able to run mysql query but able to connect using mysql library from wemos d1 mini

I have a very simple code trying to insert data to mysql server from wemos D1 R1, I am able to connect to mysql server, but not able to insert data or even select anything. #include <ESP8266WiFi....
0
votes
0answers
9 views

ISD1820 extending memory

ISD1820 -: hello every one hope all doing good my question is can we extend or attached memory card to ISD1820 , i know we have other option but i want to make dynamic so recording and playing can be ...
0
votes
0answers
22 views

Getting maxretry error when trying to ping using python requests or urllib3

I have written this code working on SimpleHost example from ESP8266Ping library, the code works, #include <ESP8266WiFi.h> #include <ESP8266Ping.h> #include <ESP8266WebServer.h> #...
0
votes
0answers
32 views

How to tell if a config file was made with the current firmware?

I'm designing an application for the ESP8266 that stores certain information to a config file in SPIFFS. However, I'd like to store some information in a battery-backed NVRAM chip attached to it (to ...
0
votes
0answers
44 views

8266 get uint8_t PROGMEM array from uploaded file

I'm new programming arduino. I have connected an Adafruit thermal printer to an ESP8266 board. I've the example code for use the board like a webserver that allow upload files. What i want is to ...
0
votes
0answers
43 views

ESP-01S + Fastled

I am trying to control a WS2812B Led Strip with my ESP-01S board. It works fine with my ESP32 DevKit board, but the ESP-01S won't do anything :/ I couldn't figure out which 2 GPIO the ESP-01S is using ...
0
votes
0answers
768 views

Error compiling for board LOLIN(WEMOS) D1 R2 & mini

Receiving the following error message when compiling for D1 mini. This code worked previously but I am using a fresh install of Arduino IDE. I have installed ESP8266 boards using the board manager and ...
0
votes
0answers
52 views

ESP8266-01 Serial.print returns a blank given a valid string

I am currently trying to create a led matrix with ws2812b leds. I am using an uno on the rear of the display to control the leds and now I want to add wifi capabilities. Since I already had serial ...
0
votes
0answers
84 views

ESP8266 keeps restarting after a few hours of use and dead after 1 month of use

I have tried to make a water heater relay controlled by an ESP8266 (NodeMCU v1.0). The ESP8266 is connected to a central WiFi in my house, the ESP8266 also has its own WiFi so I use STA and AP mode ...
0
votes
0answers
16 views

Getting weird output for following object detection code using interrupts on HUZZAH ESP8266 and motor controller L293D along with 3 HCSR04 sensors

I am trying to implement a bot which can sense obstacle in front, left or right and post detection send interrupts. Which in turn will perform the appropriate motor function to avoid these obsticles. ...
0
votes
0answers
148 views

ESP8266 mqtt publish + subscribe + serial read

seems I have some issues in my code as I subscribe for specific mqtt topic and also read same value via serial and publish it to mqtt. It takes time for device connected to serial to change setting ...
0
votes
0answers
226 views

ESP8266 can't get IP from DHCP

I buy ESP8266MOD chip and flashed with FW: MicroPython v1.11. Now I have problem connect to my home network via DHCP (like other device in home). Below is code which I send to ESP8266 via ESPlorer: ...
0
votes
0answers
155 views

ESEP8266 using WiFi Manager doesn't connect when re-entering WiFi range

I'm able to connect to WiFi through WiFi manager, but when it leaves the WiFi range it enters AP mode. If I bring it back into the WiFi range a couple hours later, it is staying in AP mode and not ...
0
votes
1answer
78 views

How to read serial data without any blocking using ESP8266

I'am deconding one electronic device serial protocol and using ESP8266 for this task. Device is sending 202 byte data constantly and I figured out begining and the end. Whole packet looks like: 71 ...
0
votes
0answers
140 views

ESP8266 NONos SDK with Arduino ide or VSCode PlatformIO

I have few questions about esp8266 programming. I am trying to make a iot application with esp8266. I have to run esp on two modes and create tcp server and http client. I did this application with ...
0
votes
0answers
391 views

ESP32 CAM sending a file via POST method

I'm using HTTPClient.h for sending the image file that taken by ESP32-cam, but it sends just headers. the important part of code : File fsUploadFile2 = SPIFFS.open("/picture.jgp", "r"); ...
0
votes
0answers
74 views

Constantly getting RC=-2 error with Arduino Mega and ESP8266 as the wifi module for MQTT

I am trying to use the ESP8266 as the wifi module. My connections are as follows: ESP8266 <-----------------> Arduino Mega VCC ------------------> 3.3V (converted 5V from Mega to 3.3V ...
0
votes
0answers
162 views

ESP8266 Loop cycle frequency gets decreased after WiFi got disabled

In a traditional scenario, after the setup() method we go to the loop() method of our sketch. You know, usually it gets executed probably 5-10 times in a second (or even more). I am now playing ...
0
votes
1answer
114 views

How to retrieve a page from a web-server using ESP8266 with the program running on Arduino instead of the ESP module?

I have connected an ESP8266-01 module to an Arduino as in the following schematic with the RX and TX pins changed to pins 8 and 9 instead of 0 and 1: I am using the ESP8266wifi library at the ...
0
votes
0answers
57 views

How to use PHP to change the SSID and Password of the arduino esp8266-01

I wanna ask if there's already a project you know that changed the wifi name and password on the set values (programmed) in the arduino esp8266-01? any help will do, related articles and projects. ...
0
votes
0answers
23 views

ESP8266 connected to a HIGH pin and DPDT only works sometimes. Works everytime if connected to 3V3 pin

I have a Wemos D1 Mini hooked up to a DS2Y-S-DC3V DPDT switch. When I have the coil ends are hooked up to a pin (D2) and ground, it will click when I set the pin HIGH. It should click again when it ...
0
votes
0answers
28 views

Extend Pyduino over wireless network

I followed a guide to control my arduino uno using a python web server API (flask), and it works like a charm using the COM port on my PC. I would like to extend this over the network with an ESP8266 ...
0
votes
0answers
254 views

Bad Data : Arduino Mega & NodeMCU Serial Communication

Currently I am working on an Arduino project. The project required to establish communication between Arduino Mega and NodeMCU ESP8266. Here are some details about the project: NodeMCU Rx Pin is ...
0
votes
0answers
20 views

Adafruit Feather Huzzah

I want to run my downloaded sketch on a LiPo-battery powered Huzzah but as soon as I disconnect the usb-cable after upload, the execution stops. What to do? Leif
0
votes
1answer
28 views

command keeps echoing because web page tries refreshing

I want to execute a action only once when I press web page button but as the page tries refreshing the action gets executed in a loop. I am using the wifimanualwebserver example for esp8266. Please ...
0
votes
1answer
61 views

Pulse Sensor Working Bottom-Side-Up Better?

i recently bought me an pulse-heartbeat sensor. Connected him to my brand new M1 mini as well. I wrote a piece of Code which just outputs the Raw ADC Value from A0 (where the pulse sensor is ...
0
votes
0answers
235 views

ESP8266 WiFi doesn't reconnect

I've been reading this post while trying to optimize the usage of the WiFi module on my ESP8266. My main goal was to be able to connect/disconnect (respectively turn on/off) the WiFi module so I can ...
0
votes
1answer
105 views

ESP8266 Arduino MQTT callback with dynamic topics

I have a program that depending on user input, it creates one or several objects that will publish data to a MQTT broker, each one with a different topic. This is already done. The ESP8266 also has ...
0
votes
0answers
103 views

esp8266 using thingspeak for iot light on project via google assistant fatal error everytime

fatal error timeout and unable to connect to thingspeak for fetching data sent via google assistant (ifttt) #include <LiquidCrystal.h> #include <SoftwareSerial.h> //ESP is connected to ...
0
votes
0answers
39 views

Arduino Uno R3 and ESP8266(ESP-01) serial connection

I have done everything i found but just nothing works, or maybe i just dont understand why it wont work. Im only trying to pass data(String) from Arduino to Esp through serial comms. Please I need ...
0
votes
0answers
298 views

NodeMCU ESP8266 Returns IP address, but cant open the web with IP address

I have used the below code with proper Wifi Address and password. The Nodemcu connects to WIfi, and displays IP address, But the IP address cannot be used to open a web page. It says "This site cant ...
0
votes
2answers
141 views

ESP-01 + UNO won't detect gateway

Apparently, this combination of hardware won't accept anything other than WiFiEsp.h together with SoftwareSerial.h (if anyone knows something better/newer than these two, please let me know). Thing is:...
0
votes
1answer
116 views

ESP12E motorshield analogWrite issue when powering DC motor

I am relatively new to adruino and this whole space. I am currently trying to power a DC motor using an ESP12E motor shield and an ESP8266 Module Motor Shield - https://www.amazon.com/gp/product/...

1
3 4
5
6 7
11