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,021 questions
-3
votes
0
answers
20
views
Clutch pull ring to disengage gear motor [closed]
How to disengage a gear motor for manually turning a valve using clutch pull ring?
-2
votes
0
answers
33
views
Controlling a gear motor turn a valve handle [closed]
How to make the gear motor to turn only from 0 degrees to 90 degrees and back to 0 degrees?
0
votes
0
answers
52
views
Trouble connecting Uno + ESP8266 to Wifi
I am trying to build a simple project to get data from a web server and display it, using an Arduino Uno R3 clone with integrated ESP8266 wifi.
What I have so far:
The ESP8266 attempts to connect to ...
0
votes
1
answer
76
views
ESP8266 + TFT SPI ST7796S - Touch and Display not working together
I am trying to get the touch screen and display working on my ESP8266 + TFT ST7796S. However, only one of them works at a time.
Below is my pin configuration:
Function
Device
NodeMCU Pin
GPIO
TFT_CS
...
0
votes
1
answer
62
views
ESP-NOW works with broadcast but doesn't work with unicast
I'm using the Arduino IDE to program ESP8266 to communicate with each other using ESP-NOW.
If I call esp_now_send with the broadcast MAC address (FF:FF:FF:FF:FF:FF), the message is sent and the slave ...
0
votes
1
answer
65
views
esp_now_send takes a non-const uint8 mac address. Why? Does it modify it in some way?
I am using the Arduino IDE to do ESP-NOW communication with an ESP8266.
In espnow.h, on line 53 I find the function prototype:
int esp_now_send(u8 *da, u8 *data, int len);
Why does it take the mac ...
0
votes
2
answers
104
views
5V DC pump connected to relay on nodemcu esp8266 running non stop
I using a nodemcu v2 esp8266 for my automatic watering system. I used 3v - 5v DC pump for the watering system. The pump is controlled based on the soil moisture level ( or Blynk ). When the code was ...
0
votes
1
answer
48
views
I've looked at the spec sheet on the ESP8266, but can't find the time it takes for the A/D conversion or the A/D control registers
text or link to describe the answer or a link to where to find the answer. I am a newbie to the esp8266.
1
vote
2
answers
208
views
ESPAsyncWebServer WiFi.scanNetworks() Soft WDT reset
I'm using Arduino IDE(2.3.5) ESP8266 (3.1.2) and ESPAsyncWebServer (3.7.4), ESPAsyncTCP(2.0.0). I need to wifi scan the network an print the result of my web interface. If I use WiFiScanNetworks(), ...
0
votes
0
answers
127
views
ESP8266 Not Booting Properly on First Power On – Works After Restart
I'm working on an ESP8266-based water level monitoring system using an ultrasonic sensor and an I2C LCD. The problem I'm facing is that sometimes the ESP8266 does not boot properly when powered on for ...
0
votes
2
answers
189
views
ESP8266 send gps data via esp now
I have a project that involves two ESP8266 and a NEO-6M GPS module. I want to send the GPS data to the other microcontroller using ESP-NOW, however it fails to send the data although it displays the ...
-1
votes
1
answer
209
views
Arduino IDE Serial Monitor is working, but not Putty - esp8266
I have an esp8266 that most often won't work with Putty, but always works with Serial Monitor in Arduino IDE.
Baudrate is set to 115200. Putty fills the terminal window with odd characters and the ...
0
votes
1
answer
177
views
Wiring of Wemos/LOLIN D1 mini and 2.13" Tricolor e-Paper?
I'm just about starting with Arduino, ESP8266, etc.
The first project would be to get something diplayed on an e-paper.
My hardware:
LOLIN D1mini V4.0.0
Tri-Color ePaper 2.13 (SSD1680) Shield
...
1
vote
0
answers
261
views
ESP8266 (Mini D1) does not come back after deep sleep but NodeMCU does
Kind of desperate here. I tried every solution found on this forum / google and others.
My sketch works perfectly with a NodeMCU 1.0
The same script should work on a Lolin Mini D1, everything works ...
-1
votes
1
answer
210
views
How many FPS I can theoretically get for streaming frame from OV7670 with this setup?
Setup:
OV7670 -> STM32F103... --USART--> ESP01 --UDP--> Gateway --> Internet --> Server
I want to achieve a real-time streaming experience.
Here is my analysis:
According to the ...
3
votes
1
answer
257
views
Error trying to play audio through an ESP8266 using the 'ESP8266Audio' library
I am attempting to use an esp8266 to play an .mp3 audio file through a connected speaker using the 'ESP8266Audio' library.
I have tested that the hardware setup is correct (e.g. I have been able to ...
1
vote
0
answers
78
views
`__has_include` macro on ESP board
I am working on a code for ESP boards that can be used on either ESP32 or ESP8266 and I want to make sure I include the correct libraries.
I know I can check if ESP32 OR ESP8266 are defined, but I ...
0
votes
1
answer
75
views
Arduino and custom pcb
I am looking to minimize the size and assembly complexity of my arduino projects. Is there any easy way to integrate something like an esp8266 onto my own pcb. I don't want to have to solder it on. In ...
-1
votes
1
answer
102
views
WiFiManager library question (wm.setConfigPortalBlocking(false) + big delay = not working)
I'm trying to use the library in my project. An implementation with wm.setConfigPortalBlocking(false) is needed, but when a large delay is used in the loop, the portal either does not work at all, or ...
0
votes
1
answer
381
views
Why HTTPS requests are working with dynamic IP address, and not with static IP address
I am working on a room automation project. I connected an ESP8266 board with WiFi through my home router.I make an HTTPS request from ESP8266. It returns a good response 200 when connected using DHCP'...
2
votes
0
answers
452
views
CUT HERE FOR EXCEPTION DECODER --------------- Exception (0): esp8266
Why does my program end up with CUT HERE FOR EXCEPTION DECODER for esp8266?
I am triying to integrate gps and accelerometers with a website. integrating gps is the hardest one since it always refuse ...
3
votes
0
answers
108
views
Why RTU bridge timeout even though answer is received?
I'm testing the following code as a bridge between https://sourceforge.net/projects/qmodmaster/ and https://pypi.org/project/pyModSlave/.
As hardware, I'm using a NodeMCU 1.0 and a USB/TTL converter.
...
2
votes
1
answer
189
views
Software serial communication problem between ESP8266 and Arduino Mega for plant monitoring system (using Blynk IoT)
We're using the ESP8266 to receive data from the Arduino Mega board, where our sensors are connected. Supposedly, our ESP is connected to the Blynk App. However, the values showing up in our dashboard ...
1
vote
0
answers
319
views
Is it possible to create a RS485 bridge over Wifi using 2 ESP07's
I've got a solar energy inverter that has a RS485 port for connecting a meter. You can place a separate energy meter in your distribution panel at home, that measures things like power usage, purchase ...
1
vote
1
answer
277
views
Why does filling up a large char array cause a crash? (ESP8266)
Here's the code in question:
void setup() {
Serial.begin(115200);
Serial.println();
char test[5000];
int i;
for (i = 0; i < sizeof(test)-1; i++) {
test[i] = 'x';
Serial....
-1
votes
1
answer
1k
views
How to use ESP12F analog pin to read battery voltage?
I'm using an ESP12F microcontroller powered by a 3.7V battery.
What I want is to get actual information about the battery's state of charge. So to know when the battery needs to recharge.
To achieve ...
2
votes
1
answer
222
views
Communication between 3.3 V and 5 V system
I am using an ESP8266-01S that only works with 3.3 V power. I want to control a 5 V relay.
I gave each component its own power source and got an NPN transistor and wired it like in the diagram, but ...
0
votes
1
answer
402
views
Why are my ESP8266 HTTP firmware updates failing?
I've just spent a few hours on this and I am starting to go crazy. I have code to do a firmware update over HTTP working on several ESP32s. I'm trying to adapt that code to work on an ESP8266, but can'...
0
votes
1
answer
169
views
ESP-WROOM-02 with on-board 18650 battery. How to charge it?
I have a ESP-WROOM-02 module with on-board 18650 battery. V+ and GND are exposed on the board.
Can I directly charge the battery using an USB-C connector with the two cables (red and black) directly ...
1
vote
1
answer
158
views
NodeMCU 1.0 - Port D3, relay and pump does not boot
I'm trying to create a watering system using a NodeMCU 1.0, a relay and some pumps.
Currently I've port D0, D1, D2, D5, D6, D7, D8 already in use.
I'm trying to use the port D3 (GPIO0) as follows, but ...
1
vote
0
answers
82
views
Esp8266 WebServer crashes when I use PracticalCrypto library! why?
So here is my code, Its the simple_server example from ESPAsyncWebServer.h and encryption example from PracticalCrypto.h combined.
the webserver works fine and I can see the / page, but the moment I ...
-1
votes
3
answers
592
views
Running code inside void loop() vs inside a separate function with an infinite loop in it
I'm writing a program for running a stepper motor at a high RPM using accelStepper on a NodeMCU esp8266. Super New to the accelStepper but reading, experimenting and learning as I go
When the code to ...
1
vote
1
answer
722
views
strip.clear() is not clearing/turning off the NeoPixel strip after resetting the ESP8266
In the code below which is running on a WEMOS D1 (ESP8266), a NeoPixel strip turns on 1 LED in red which moves left to right and then right to left whilst the board attempts to connect to Wi-Fi in the ...
0
votes
1
answer
359
views
Attempt to change an ESP8266's flashs layout over-the-air
Backstory
Several Tasmota devices based on an ESP8285 have to be flashed with alien firmware. The devices' programming ports are not accessible (except for one dummy device which was cracked open for ...
1
vote
1
answer
183
views
SdFat.h pin selection ESP8266
This super simple code, that saves data to a csv file, works perfectly fine on my Arduino Uno (I am using the default SPI pins).
However, for my project I need to use an ESP8266. Does the library ...
0
votes
1
answer
534
views
String or unsigned char to uint8_t
I'm attempting to save a string to EEPROM of an ESP8266 radio and then read it back before I encrypt the data (evenutally I would like to save the encrypted data but I'm simplifing things at the ...
-2
votes
2
answers
88
views
Physically passing through a pin to access another [closed]
I would like to know about physically passing through a pin in order to get to another. For instance, if I have a sensor on one side of an ATMEGA328P or ESP8266 (Wemos D1 Mini) yet need to connect to ...
0
votes
1
answer
83
views
Sketch halts if button is pressed on boot
I have a KY-040 rotary encoder with a push button wired to an ESP8266. My objective is to be able to detect if the button is pressed or not on boot.
In the below code, if I hold the button down and ...
1
vote
1
answer
158
views
Fixing a pedestrian traffic light sequence pattern in a cycle using millis and without delay
I was emulating the pedestrian traffic light cyclic pattern (red, green, green flashing) in the next Arduino code. But when I run this code with my ESP8266 Wemos D1 mini controller, it appears the ...
0
votes
2
answers
347
views
Where can I store secret keys?
I want to store a password in my ESP8266 program, but I can't figure out a way to do it that makes it inaccessible to hackers. Even if I encrypt it, I'd still need to store the private key for the ...
0
votes
1
answer
1k
views
How to connect an Arduino Uno with an ESP-01 to the Arduino IoT cloud?
I have been trying to connect to the Arduino IoT cloud using my Arduino Uno and an ESP-01.
The Arduino IoT cloud does not recognize my device as genuine. Hence, I've been trying to create a thing and ...
5
votes
3
answers
1k
views
ESP8266 I2C doesn't respond
I've got a huge problem using an ESP8266 from a Wemos D1 mini.
I am using an STM32L073RZ to send a request to an ESP8266 to send me the time it has acquired from a WiFi connection.
ESP code:
#include &...
-1
votes
1
answer
367
views
Why does an ESP01 WiFi module reset when it's connected to a DC motor/water pump?
When I connect an ESP01 WiFi module and water pump in a parallel circuit to an Arduino Uno's 5 V pin, the ESP01 stops working.
The ESP01's built-in LED starts blinking chaotically and the serial ...
0
votes
1
answer
132
views
Can Vin of ESP handle many voltage sensors and relays?
My project is Charging Battery via Solar and Piezoelectric sensor while also getting the Realtime Voltage of the Battery, Capacitor, and Solar.
I want to use Vin as the source to get 5V because ...
1
vote
1
answer
215
views
ESP8266 - Where to find pin assignment guide for uploading code?
I try to upload a script which starts a webserver on the ESP8266 with a simple web GUI where the user can enter his WLAN credentials.
/* ===============================================================...
1
vote
0
answers
136
views
Problem with sending a GET request using the WiFiEsp library
Hello I am trying to make a request using WiFiEsp library but even the examples not working, I have searched a lot but never solved it. most of the solutions are outdated and do not solve anything, I ...
2
votes
1
answer
306
views
OLED and Wifi not working together on ESP8266 Heltec NodeMCU
I have this ESP8266 Heltec NodeMCU board with OLED. The pins are described here.
I have the following problem. The both OLED (with u8g2) and Wifi work fine individually. There is a problem getting ...
1
vote
1
answer
355
views
How to properly declare a random URL in ESPAsyncWebServer?
I'm trying to make a onetime URL with a random string to for example give a user onetime access to a house with a smart lock. I have a function to make a fixed 8-character string and the following ...
1
vote
0
answers
244
views
ESP32 SPIFFS Write problem
I'm trying to flash a spiffs on a esp32 but it is not working, i'm using these commands from this source:
to create the image:
mkspiffs -c /data/ -b 4096 -p 256 -s 0x100000 spiffs.bin
my output was ...
1
vote
2
answers
571
views
Need help with parsing NWS JSON weather alerts causing reset on ESP8266
I'm trying to parse the JSON string from the National Weather Service Alerts and am encountering a problem where the code can't parse the value and the device auto-resets. I've used this code before ...