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
0answers
69 views

Using Javascript XHR to upload a file to the ESP8266 fails

In the past, I was experimenting with a method of uploading files to the ESP8266 using the stock ESP8266WebServer class as the backend. The frontend is embedded in the firmware, and it runs offline, ...
0
votes
0answers
44 views

Trigger ESP8266 reset pin on broken connection

I have an ESP8266 which I wish to place in deep sleep until a reed switch senses a door being opened. The ESP8266 is woken from deep sleep by briefly raising the RESET pin high. In my original design, ...
1
vote
0answers
41 views

Help using an Arduino as as an FTDI with a ESP8266 carrier shield to see an AT response

I have a Duinopeak shield that lets you plug on an ESP-01 and provides a 5V-3.3V regulator and level shifting for the Tx and Rx pins. I cannot get it to work with a setup that has worked with every ...
0
votes
0answers
49 views

Connect My Soft AP to Internet Router

I have established a Soft Access point with one of my ESP8266 and a client with another. Now, I'm trying to connect that AP to my home router to be able to access internet and serve some data to ...
0
votes
0answers
16 views

Arduino long message is cutoff in serial.read [duplicate]

My setup is like this, I have an arduino and an esp8266 esp-01 connected thru serial. I have programmed my esp8266 esp-01 to read from a JSON Source and I am returning a sample json like this. { &...
1
vote
0answers
37 views

Designing Class Based Code on ESP32-8266

I have some questions about modular embedded systems codes and its usage. I am building an IoT Systems with esp32 now. To learn professional approaches for embedded systems, I have split codes to ...
1
vote
0answers
66 views

Unable to allocate memory

I'm trying to send a SMS and read data from Firebase with my NodeMCU Amica V2. The code works fine when I either only send a SMS or only read data from Firebase. However, when I combine this two ...
-2
votes
2answers
49 views

Arduino respond to input from HT12D data output

Is there a way to connect a data output pin from an HT12D to an Arduino or ESP8266-12e input pin, then sense when the data pin is activated so I can have the Arduino or ESP8266-12e do something like ...
2
votes
1answer
68 views

Static ip for esp8266 based on gateway

I'm new to Arduino programming. I want to make my esp8266 get static IP based on gateway. I mean if gateway is 192.168.0.1 then it should get 192.168.0.15 as static IP. And if gateway is 192.168.1.1 ...
1
vote
0answers
33 views

ESP8266-01 Upload Sketch Problem Arduino UNO

My problem is actually in two stages. I am very new to arduino uno and 8266-01. I have read many documents and watched videos for nearly 2 weeks, but I cannot even run the simplest "blink" ...
0
votes
2answers
203 views

Error reading from PROGMEM

I was trying to run a code from this https://circuits4you.com/2018/03/10/esp8266-jquery-and-ajax-web-server/ I am pasting it here. /* * ESP8266 NodeMCU jQuery CDN Demo * * https://circuits4you.com ...
-2
votes
1answer
62 views

Most Efficient & Cost Effective Home Automation Setup

I managed to build a system using Wemos D1 R1 connected to my website to retrieve data to power on or off a 5V relay. Now I would like to expand the project to control all my house outlet. Assuming I ...
1
vote
1answer
43 views

Frequency of Retrieving Data from Website

I have wrote a code that communicate with my website to retrieve data to power on or off a 5V relay. I'm running the code every second to make sure it is real time. Is there more efficient way to tell ...
0
votes
1answer
227 views

Reading a json file from SPIFFS and displaying the info it contains on an embedded web page

I am working on a smart IR receiver that reads an IR signal, decodes it and saves that decoded info in a json file stored on the NodeMCU's SPIFFS. This info is then displayed on the embedded web ...
0
votes
0answers
43 views

Connecting ESP8266 to website

I would like to control a relay using Wemos D! R1 via a website from anywhere. I managed to control it using local web server and now would like to step it up further. I'm using the following code ...
1
vote
0answers
119 views

Nextion Display won't show data

I'm prototyping my Weather Station on Wemos D1 mini pro (ESP8266) with BME280 sensor and Nextion Display. The problem is that my display doesn't show data from the sensor and from the internet (...
1
vote
1answer
28 views

Can you power the ESP8266E-12 with any of the 3.3V pins?

If I want to operate the NodeMCU on the 3.3V input with 2.5V to 3.6V; can I use any of the 3.3V pins to do so?
0
votes
0answers
71 views

Unable to upload code to ESP 12E

I'm using an ESP 12E with a usb connector. I'm curtain the usb cable is working fine since I'm able to use it on other boards. When unplugging and plugging in the use, the port picks up the board as ...
1
vote
2answers
476 views

Controling 5V relay with Wemos D1 R1

I would like to control a 5V relay with Wemos D1 R1 module through webserver. I'm using the following modules: Tongling 5vdc Relay Wemos D1 R1 I'm using the following schematic: and here is the ...
-1
votes
1answer
36 views

Is AT command the only way to connect from Arduino to esp2866?

If I am programming an arduino and I wanted to communicate with the internet thru the esp2866 then is AT command the only thing that I can do? I see a lot of this in the web void loop() { valSensor = ...
0
votes
0answers
63 views

ESP8266, Twilio doesn't send SMS

I've been trying to create SMS alarm using Twilio, Firebase and Arduino IDE. Using sensors I am measuring the temperature. If the temperature is higher than a specified value (ESP reads that value ...
1
vote
2answers
70 views

Estimating CPU load of a task scheduler

First off, I should note that I'm not sure what tags best apply here, and I can't seem to find any that relate to schedulers, etc. Please inform me if they are not the right ones. I have a simple, ...
0
votes
1answer
43 views

I can't upload codes to my ESP8266

,this is the error I encounter when i try to upload my code #include <ESP8266WiFi.h> #include <ESP8266WiFiMulti.h> #ifndef STASSID #define STASSID "your-ssid" #define STAPSK &...
1
vote
1answer
86 views

Serial Monitor shows a continuous “word salad” without a loop

I have written a little program which should (at the end) host a little website. This is just my setup. But for some reason, it writes "srl?" endlessly onto the serial monitor. I just ...
-2
votes
1answer
252 views

What is the maximum size of Static Json Document in Arduino JSON?

I'm trying to do serial communication between Arduino mega and a esp8266, and having issues with determining the size of the JSON document. I have read that the receiver buffer size should be greater ...
0
votes
1answer
251 views

Reading SNMP V2 OID from ESP8266/ESP32

i need to read from my ESP32/ESP8266 some SNMP V2 OID values from my home printer: it exists a library/method that can do that? I've seen some SNMP agents, but they works only with the devie as server ...
0
votes
0answers
65 views

EEPROM Arduino library for ESP8266 is not working

I am trying to use EEPROM library from Arduino framework for my ESP8266 project (NodeMCU). I am using Atom with Platformio. Initialization of EEPROM is attempted at void setup() in main.cpp: EEPROM....
0
votes
0answers
39 views

Problems connecting nodemcu esp8266 on my laptop

I have a new laptop and didn't run any development boards on it except some Arduino boards. But now, I have only nodemcu esp8266 and maple mini boards and trying to connect them but I get error ...
0
votes
2answers
109 views

Using different processors when it comes to arduino

I decided to learn Arduino in this quarantine so I am still a newbie when it comes to micro controllers. Basically I been doing all my projects based on the ATMEGA328P-PU: I even converted my ...
0
votes
1answer
101 views

ESP8266 - ESP01S with relay. Toggling the relay with http (GPIO0) and GPIO2 at the same time

I have an ESP8266 module with a relay like this: https://aliexpress.com/item/4000348370586.html. I have been able to control the module, I can deactivate and activate the relay by means of an http ...
0
votes
0answers
59 views

Battery depleting on second prototype

I am working on a project which uses two 18650 3400ma batteries to power some sensors, an Arduino Mini Pro, an 433mhz RF transmitter and an ESP8266-01. Most of the time the Arduino is in sleep mode ...
0
votes
1answer
153 views

How to push two values to the same key from Arduino to Firebase

I would like to push two values at the same time (to the same node) from arduino to firebase. I tried to create an array and push the array to firebase, however, that is not working. Here are the two ...
0
votes
1answer
49 views

Arduino ESP8266 GPS integration issue

I am facing issue in using 2 Serial communication device with Arduino uno. I am trying to use ESP8266, Neo 6M GPS module with Arduino UNO, but only one of device is working at a time. Is there any ...
1
vote
1answer
80 views

wdt reset cause:4, boot mode:(3,6)

I'm working on Python and nodeMCU with websocket connection. So, I send a string from Python to nodeMCU and nodeMCU collects the string and decodes to set values to a stepper motor. Initial code ...
0
votes
2answers
730 views

ESPTool 3-run stub fail error

I'm trying to program my NodeMCU ESP8266 ESP-12E module with AT commands. However, whenever I try and flash to my ESP8266 using ESPTool, I get a 3-run stub fail error. Can anyone tell me why I get ...
0
votes
1answer
1k views

Which board to select in PlatformIO for ESP Wroom 32?

I'm quite new in this microcontroller topic and my next step is to make use of a wlan module, which is a ESP WROOM 32. As IDE I'm using Visual Studio + PlatformIO and I can't figure out how to access ...
1
vote
1answer
52 views

Arduino ESP8266 Wifi Shield GET request with LiteESP8266Client stops after few HTTP request

Below HTTP Get request is working but after few GET request(5-6) the code stops and once I press Arduino reset button then only it start working. Probably looks like something is causing OOM: // This ...
0
votes
0answers
35 views

Sending array of bytes using serial communication from Mega 2560 to ESP 8266

The array is 16 analog inputs, till now these inputs are not connected to anything so they are random, except the first three elements of the array, connected to GND, in order to see the beginning of ...
2
votes
1answer
57 views

Why is their need of response time needed in esp8266 AT commands?

I am writing an AT commands firmware for esp8266 via connecting it to atmega2560. Now the question is how will I come to know the response time for AT commands for writing its firmware to read the ...
0
votes
0answers
402 views

ESP8266 - Problem with LittleFS after reboot (solved in comments)

I'm trying to create an even log saved on flash. I try to make it a class, called flashLOG as shown. Code behaves as expceted, reads, writes and posts it size and entries. The problem is that after ...
0
votes
1answer
57 views

Unable to read Arduino+ESP8266 full get Response

Using below code I am able to invoke HTTP Get request, but I am not able to read full HTTP Response. Observing only output like( +IPD,0,141:HTTP/1.7. ). Please let me know how can I read full response?...
1
vote
0answers
51 views

How to easily invoke Simple REST Service trigerred using Arduino UNO + ESP8266 WIFI Shield programmed with AT command?

My Question is How to easily invoke Simple REST Service trigerred using Arduino UNO + ESP8266 WIFI Shield programmed with AT command? I am new to this Subject and gone through many tutorial over ...
1
vote
1answer
175 views

Why does my Wemos D1 Mini stops working while charging via solar?

I'm using an battery shield to recharge my battery. I want to use a solar panel, so I bought one (5V 240mA). I'm pretty sure, it won't recharge my battery fully, but that's not the point. I've ...
0
votes
1answer
335 views

Can I use an internal clock on Wemos D1 Mini?

I have a working Wemos D1 Mini setup measuring temperature and sending it over wifi to my server. Now I'm using a battery powered unit, and playing around with power consumption optimization and how ...
0
votes
1answer
234 views

WeMos D1 ESP-Wroom-02 Mother Board ESP8266 - where is reset pin for deep-sleep

This item was bought for battery use with deep sleep purposes. For doing so in ESP8266 reset pin must be connected to Gnd pin in order to wake up. This board lacks a reset on- board pin. Since spec ...
0
votes
2answers
202 views

How to prevent flickering relay upon waking from deep sleep using ESP01 board?

I have a cheap ESP01 relay module and am using it with ESPEasy. I soldered the GPIO pin 16 to RST to allow deep sleep and that all works great. However when the unit wakes up the relay flickers quite ...
0
votes
0answers
136 views

OLED display on I2C causes esp8266 to reset

I have connected two temp sensors and an OLED display to a NodeMCU using I2C. When the program reaches the instruction to print the measurements on the display the program crashes and NodeMCU resets ...
0
votes
0answers
128 views

ESP8266-01 WiFiEsp Timeout error

I am using WiFiEsp Library, ESP8266-01 Wifi Module, Arduino UNO and Arduino v.1.8.13. ESP Details: AT version:1.2.0.0. SDK version:1.5.4.1(39cb9a32) v1.0.0. The module is also in AT+CWMODE=1. My ...
0
votes
1answer
83 views

Cant upload arduino code when ESP8266-01 module is connected

I'm using this tutorial to connect my ESP8266-01 WiFi Module to Arduino UNO with Arduino IDE v. 1.8.13. It works and the module can connect to my WiFi. However, when I try to upload my code, it says: ...
0
votes
0answers
28 views

Esp8266 12E is printing random characters whenever I reset the board, not even uploaded a code

I have a nodemcu esp8266 12E board. It's working properly, but whenever I reset it, it prints random characters like ??I%^, even if hasn't a code uploaded in it.

1 2 3
4
5
38