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.

495 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
60 views

How can I use Wemos D1's TX pin as OneWire?

I'm building a thermostat control with a Wemos D1 Mini. The ILI9341 display uses almost all the pins, and all I have left are the RX, TX, A0 and D0 pins. However I can't get any valid readings from ...
0
votes
0answers
157 views

esp8266 WiFiClient Troubleshooting

I have a pair of ESP8266 modules: 1 Server running in (STA+AP mode or AP mode) and 1 client. The client cannot seem to make a TCP connection to the server. Only changing the wifi-networt, HOST, and ...
0
votes
0answers
29 views

ESP8266 exception on Array access

I have code to run an SH1106 display that works perfectly fine on a Mega328 (basic Uno clone) and Sparkfun Redboard Artemis (ARM M4). The code for the ESP8266 (NodeMCU v1 clone) should be pretty ...
0
votes
1answer
71 views

ESP8266-01 Resetting when DC motor runs

DC motor: 3-6v Servo sg90: 3-7.2v Esp 8266 01: 3.3v I have 2 Arduino Uno both has their own ac-dc power adapter. Lets say, 1st Arduino is Ard1 and 2nd is Ard2. The Ard1 communicates to a web ...
0
votes
0answers
39 views

arduino and esp-1 stop workign after 1 day running

i'm trying to create a system that arduino and esp-1 send an GET request each 2 secs to a server and depend on server reply turns a LED on or off . system works good for 6-7 hours but stops after one ...
0
votes
1answer
41 views

ESP8266, sporadically no write access to the file system

I have an ESP8266 project which reads my gas consumption. The hardware and the project run satisfactorily. Sporadically, the ESP8266 can no longer write to its file system and therefore cannot save ...
0
votes
0answers
125 views

POST request using WiFiEsp.h library

I'm using an arduino uno and ESP8266 (esp01) with the WiFiEsp library to connect to WiFi and POST data, connecting to WiFi works just fine. I need to send a POST request, but I can't get it to work ...
0
votes
0answers
61 views

How to edit code from Node-Red to Cayenne

I am working on a project to run some (relays or LED's) on an inputs (Pins) Arduino by esp8266-01s . now while searching on internet I found a video divided it two step that talks about the issue ...
0
votes
0answers
67 views

Can ESP 32 use the wire library exactly like that was in Arduino?

Compare the YouTube video and this webpage, the former one made programming very different in ESP32 and that was in Arduino nano, while the webpage seemed to imply that they work exactly the same. ...
0
votes
1answer
174 views

HTTP Post data from Arduino uno using WiFi

Please help me to post data from arduino uno to a webpage using wifi(ESP-01) module. I try with AT commands it didn't give the response from my webpage #include <SoftwareSerial.h> #include <...
0
votes
0answers
76 views

ESP8266 as ISP for Arduino Mega2560

I'm trying to use an ESP8266 Node MCU 1.0 (ESP-12E Module) as an ISP to program an Arduino Mega2560 over Wifi with no USB cable. (USB connected to ESP8266 module just for power). I used the sketch '...
0
votes
0answers
33 views

NodeMCU hc05 Connection

I am using a NodeMCU from Amica. I tried interfacing the HC-05 module to the NodeMCU. The following code works fine without any errors #include<SoftwareSerial.h> SoftwareSerial btport(D2, D3);...
0
votes
0answers
130 views

Controled in the led by Arduino UNO to Firebase through ESP8266-01+ MIT App Inventor

exchange community , help me community :( I want to control led by MIT App Inventor with used Arduino UNO to Firebase through ESP8266-01 Notes : 1-The led connected pin 11 on Arduino-Uno 2-The ...
0
votes
0answers
65 views

How can I interface EEPROM in websocket via Arduino?

I am at beginner level and I wanted to implement EEPROM write after receiving data from a websocket. If the websocket doesn't receive any data within 5 seconds then I want to write to EEPROM the value ...
0
votes
0answers
38 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
71 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
102 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
35 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
79 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
49 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
41 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
138 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
40 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
51 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
40 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
518 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
205 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
35 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
34 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
16 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
21 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
40 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
35 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
613 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
49 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
67 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
15 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
114 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
166 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
107 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
74 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
114 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
313 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
61 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
136 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
92 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 ...

1 2 3
4
5
10