Questions tagged [esp32]

For issues relating to the ESP 32 Wi-Fi and Bluetooth combo chip of Espressif.

The ESP32 is a 2.4 GHz Wi-Fi and Bluetooth combo chip from Espressif and the successor to the . It is designed for mobile, wearable electronics, and Internet-of-Things (IoT) applications.

Resources:

The CPU itself is based on the Xtensa ISA. Use for questions about Xtensa assembly language, ISA, and gcc options. But not for problems compiling / linking with the ESP32 SDK; that's specific to the vendor-supplied SDK not really the ISA.

2859 questions
29
votes
2 answers

ESP32: Best way to store data frequently?

I'm developing a C++ application in the ESP32-DevKitC board where I sense acceleration from an accelerometer. The application goal is to store the accelerometer data until storage is full and then send all the data through WiFi and start all again.…
tsarquis88
  • 453
  • 1
  • 6
  • 14
14
votes
3 answers

FreeRTOS Task should not return - ESP32

I'm using multi-threading on my ESP32. I have created two tasks and pinned them to core 1. With one of them, I get the following error: E (20426) FreeRTOS: FreeRTOS Task "MeasurementTask" should not return, Aborting now! abort() was called at PC…
Lithimlin
  • 542
  • 1
  • 6
  • 24
13
votes
3 answers

Is there any simulator for ESP32-S2 or ESP32 chips?

I am working on an esp project and compiled my code by using the esp32s2 toolchain and created a binary that ready to run on a real device. But I don't have a real device to test my binary. Is there any simulator to simulate the ESP32-S2 chip or the…
SayMyName
  • 461
  • 5
  • 17
13
votes
4 answers

ESP32-WROOM-32 vs ESP32-WROVER

I have numerous ESP8266 apps converted to 32 bit. These seem to run fine on the WROVER chips but on the WROOM-32 chips they load and execute, but panic after some time. I get this error: Guru Meditation Error: Core 1 panic'ed (LoadProhibited).…
Tom Lindley
  • 351
  • 1
  • 3
  • 14
13
votes
1 answer

Why do I get the Debug exception reason: Stack canary watchpoint triggered (main)?

I'm writing a program for esp32-wroom-32 using esp-idf-v3.0. I'm trying to add logs, which will be saved in fatfs. After some logs I get: 21:54:21.306 -> Debug exception reason: Stack canary watchpoint triggered (main) 21:54:21.306 -> Register…
user2993539
  • 375
  • 1
  • 3
  • 14
12
votes
1 answer

How to measure battery voltage with internal adc ESP32

i'm doing wireless sensor node using (esp32, DHT11, soil moisture and nrf24l01) and i want to add an battery to supply those sensors, also need to measure battery voltage. For the battery, voltage always change to cant use as a Vcc reference, so i…
Quang Minh Lê
  • 169
  • 1
  • 2
  • 13
12
votes
1 answer

Unit testing with ESP-IDF

Currently, I am working with an ESP-IDF and try to get unit testing to work. I already found https://esp-idf.readthedocs.io/en/latest/api-guides/unit-tests.html, but there is a point which I don't understand. But first, let me explain my setup: I…
glglgl
  • 89,107
  • 13
  • 149
  • 217
10
votes
14 answers

How to fix Failed to connect to ESP32: Timed out waiting for packet header error?

I tried to flash an ESP32 but I didn't succeed, I tried with esptool.py and Arduino IDE. I tried to press the boot button and reset but it didn't work. Here is the error: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for…
ri1_
  • 117
  • 1
  • 1
  • 6
10
votes
2 answers

MPU-6050: Correctly reading data from the FIFO register

Introduction The MPU-6050 is a popular module that contains a temperature sensor, accelerometer, and gyroscope. A user may read the sensor information over I2C or SPI. Two documents are publicly available for reading data out of the IC registers.…
Micrified
  • 3,338
  • 4
  • 33
  • 59
10
votes
5 answers

Any solution available for for ESP32-cam 'Brownout detector was triggered' error?

I had an ESP32cam working for a few days then started getting that message at boot up. Reloaded the program and still no camera.disappointed Error: ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0,…
e-lab innovations
  • 153
  • 1
  • 1
  • 10
10
votes
2 answers

ESP32 WPS reconnect on power-on

I am trying to develop an IoT device that should provide some functionality using a HTTP/REST API. I decided to use the ESP32 chip (on "ESP32 dev board"). Now I want to implement an easy-to-use WLAN configuration. I don't want to store credentials…
Christoph Bimminger
  • 1,006
  • 7
  • 25
9
votes
3 answers

Task watchdog got triggered - The tasks did not reset the watchdog in time

I am trying to write a little asynchronous WebServer. Let me briefly describe the scenario: My ESP32 as well is a router. So if I connect with my mobile phone into the WiFi the ESP32 is spreading and call the ip address and a special path with a…
Sam
  • 145
  • 1
  • 1
  • 12
8
votes
2 answers

ESP32-CAM stream in OpenCV Python

I am using AI Thinker ESP32-CAM with stream url http://192.168.8.100:81/stream. I have tried this and other techniques but nothing worked for me import numpy as np cap = cv2.VideoCapture("rtsp://192.168.8.100:81/stream") while(True): ret,…
HamzaFarooq
  • 429
  • 1
  • 4
  • 16
8
votes
1 answer

SPI transaction terminates early - ESP-IDF

An ESP32 app using ESP-IDF (ESP32 SDK) communicates with two SPI slaves on the same SPI bus (ILI9341 TFT driver, NRF24L01+ RF transceiver). Overall, it works great. However, some of the data received from the RF transceiver is truncated, i.e. only…
Codo
  • 75,595
  • 17
  • 168
  • 206
8
votes
1 answer

Web server on ESP32: How to update and display sensor values from the server automatically?

I have a web server on an ESP32 and a homepage on that server. I would like to update sensor values on the homepage every x seconds automatically (without user input). I cannot access the file system. The sensor is directly connected to the ESP32.…
carousally
  • 545
  • 1
  • 5
  • 11
1
2 3
99 100