6
votes
esp32 Stack canary watchpoint triggered
The best way to handle this exception is to identify what's using so much space on the stack and rewrite your code to avoid it.
The three most common ways you'd use too much stack space are:
large ...
5
votes
Accepted
How to / is it possible to change Vendor Name in ESP8266-12E?
No. The Vendor Name is associated with the OUI. The OUI is the first three parts of the MAC address.
The OUI's are all registered with IEEE here and Espressif's entries are:
18-FE-34 (hex) ...
3
votes
Accepted
ESP32S v1.1 NodeMcu vs ESP32 DevKitV1
The DevKit is a development board by ESP32 manufacturer Espressif to demonstrate ESP32 usage and to support prototyping.
The NodeMcu is a board by NodeMcu intended for the NodeMcu Lua language ...
3
votes
Accepted
Making HTTPS requests using ESP8266 AT commands
HTTPS requires that you make an SSL connection not a TCP connection. To do that you need to use
AT+CIPSTART="SSL","54.166.71.140 ",443
You also need to configure SSL itself.
...
2
votes
Accepted
Stack smashing protect failure ESP32 with Modbus RTU
tl;dr: The message probably means your function is overwriting its array:
A stack overflow is caused by a stack that grows downward into the allocated heap space, either causing damage to data within ...
2
votes
Accepted
ESP32 bluetooth discovery parse names
Bluetooth has two ways of dealing with device names. A device can optionally choose to advertise its device name. It also has to respond to a "get device name" request. The former is passive, and is ...
2
votes
Accepted
ESP-NOW and WIFI and OTA at the same time on Sender and Receiver
If you want to switch the softAP connection On/OFF you can do like StefanL38 suggests and have the Receiver transmit a ESP-NOW message with a value to the Sender, but you don't need a reboot. You can ...
2
votes
ESP-NOW and WIFI and OTA at the same time on Sender and Receiver
Another method that works if you don't mind having both at the same time:
Instead of WiFi.begin(ssid, password);
I use WiFi.softAp(ssid,password,channel); for both Sender and Receiver.
2
votes
ESP-NOW and WIFI and OTA at the same time on Sender and Receiver
I do something similar on a ESP8266 retrieving time from a NTP-server.
Though it is just a "work around".
I connect to the router retrieving the NTP-time.
storing the time-information into ...
2
votes
Accepted
esp8266 OTA issue
Things to check:
Partition arrangement selected. You have to make sure to keep the same partition arrangement between uploads.
Partition arrangement selected. You have to make sure that the partition ...
2
votes
NodeMcu 1.0 resets automatically after sometime
From your description it sounds like a Watchdog Timer reset.
The ESP8266 needs to regularly run internal householding tasks outside of your own code, such as Wifi/network related tasks. It will ...
2
votes
Accepted
Using ESP32 Cam internal RAM
If there is continuity between 3.3V and GND your board is dead. Most likely (from my experience) the ESD protection diode on the ESP module is fried which leaves you no chance to repair it. Even if ...
2
votes
esp32-cam publish image to mqtt
As you can see here, the definition of the return value for esp_camera_fb_get() is
typedef struct {
uint8_t * buf; /*!< Pointer to the pixel data */
size_t len; ...
2
votes
Where to define web server callback functions so they can access server object? (ESP8266WebServer library)
put your server declaraition outside the constructor and call a class callback :
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
ESP8266WebServer server(...
2
votes
Accepted
ESP8266 Arduino Json object array deserialisation into struct
No memory is allocated for the strings.
You should declare your struct like so:
struct Departure {
char destination[32];
char departure[32];
int deviation;
} depart;
This assumes the max ...
2
votes
Can't enable face detection on esp32 cam : CORRUPT HEAP: Bad head at 0x3ffe2eb4. Expected 0xabba1234 got 0x00000008 abort()
I don't have enough reputation to be able to add a comment, but using the answer from Andrew Hart I was able to resolve this. For completeness of this thread in case the linked solution ever ...
2
votes
How Much mA dropped in ESP8266-01 Work in LiPo Battery if the WIFI function is continuously on
The short answer is - we don't know.
Longer answer:
It depends on such factors as:
The board circuit (the BBBL (known as The Big Bright Blue LED) on some boards could drain about 10-20ma only by ...
2
votes
How Much mA dropped in ESP8266-01 Work in LiPo Battery if the WIFI function is continuously on
If you really don't sleep at all you can count with about 70 mA, with some short spikes when transmitting.
Sleep mode disabled:
(100 mA per division)
But you don't need to disable sleep mode ...
2
votes
Accepted
How do I set the DHCP pool for an ESP-WIFI-MESH?
I figured it out; it's in mesh_netif.c:43. I'm not sure why I passed over this file initially but it caused a lot of unnecessary headache. The relevant struct is this:
const esp_netif_ip_info_t ...
2
votes
Accepted
MD5 of File doesnot match data in flash Error with ESP32 S3
Yes, I have managed to get it working now, the issue encountered was with the strapping pins. Specifically, Pin 45 of ESP32S3 is responsible for configuring VDD_SPI_FLASH. To ensure it operates at 3....
1
vote
Can't enable face detection on esp32 cam : CORRUPT HEAP: Bad head at 0x3ffe2eb4. Expected 0xabba1234 got 0x00000008 abort()
Rollback your ESP32 board driver to 1.04. works for me ;-)
1
vote
TTGO TS I²C adress
The TTGO TS uses an ST7735 display. This is not an I2C device. Instead it uses its own custom serial protocol. Since the DC pin is broken out for you it uses the 4-wire serial interface which is ...
1
vote
Calculate battery (18650 Li-ion) voltage using ESP8266-12E
Everything was correct and my circuit is also good. The only difference i found is to this below line:
temp = (analogvalue * 3.3) / 1024.0;
Which should be
temp = (analogvalue * 1.0) / 1024.0;
We are ...
1
vote
How to restart ESP32 on any exception?
I don't know if I understand your question well, but if what you want to do is reset MCU programmatically, watchdog is good solution.
The orther way is connect IO port and reset port by using wire, ...
1
vote
Accepted
ESPTOOL not recognizing ESP32-S2 chip for SPIFFs transfer
Is the missing double dash?
esptool.py --chip esp32s2 --port COM3 --baud 115200 write_flash -z 0x110000 filename.spiffs.bin
1
vote
Accepted
How to assign ESP8266 access point a hostname that can be resolved by the stations?
I'm unclear on the distinction being drawn here:
the hostname and not mDNS
mDNS, like DNS, and hostname lists are all things a "resolver" would use to map a "hostname" to an IP ...
1
vote
Accepted
ESP32-CAM interfacing with CCS811+HDC1080+BMP280
No. Those three devices are I2C devices, not SPI devices.
Using that is no different to using three individual sensors all wired to the same I2C bus.
1
vote
Accepted
How to upgrade ESP8266 NodeMCU SDK from V2.5.2 to V3?
The SDK is linked into every Arduino application you flash to the ESP8266 - it's not flashed separately.
Choose it in Tools menu. It is available only if you select "Generic ESP8266 module".
1
vote
ESP32 softAP SSID not const
A const parameter to a function doesn't define what can be passed. It is, instead, a "promise" by the function that it will not modify the data you pass it.
In C when you pass a "string&...
Only top scored, non community-wiki answers of a minimum length are eligible