Questions tagged [arduino-esp32]
491 questions
0
votes
2 answers
ESP32 Arduino allocate and use array of structs in PSRAM
I have a struct like this:
typedef struct {
boolean isExists = false;
uint16_t readBuffer[32] = {0};
uint16_t writeBuffer[13] = {0};
uint16_t ledBrgBuff[9] = {0};
uint16_t address = 0x0000;
uint16_t id …

Dr.Random
- 430
- 3
- 16
0
votes
0 answers
ESP32 Setting incorrect or missing a cyper for ssl
I've been trying to setup ESP32 to post to Google Cloud IoT core and use the Pub/Sub core to receive/transmit messages. However, there is a very strange issue I am facing.
I have my laptop which I have been using for development. When I program the…

Ash Ketchum
- 1
- 1
0
votes
0 answers
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled
I want to use timer interrupter combined with BLE to transmit in esp32.
I found that an error occurs when the transmission cycle is too fast.
I don't know what caused this error.
Help me…

蔣凱翔
- 1
- 1
0
votes
1 answer
Arduino if Statement fails
I have an ESP32 Wrover module with an ILI9341 QVGA Color TFT LCD Display with touch screen (the whole board was purchased from HackerBox, Specifically HackerBox50). I have setup a program that has a main menu of options and one of the options opens…

Bryson Silver
- 28
- 6
0
votes
1 answer
ESP32; Disable saving wifi credentials in nvs
I encrypted my ssid & password (hard coded). When I read whole flash by esptool.py read_flash command, I can find the credentials in the flash file as a plaintext. I want to protect my wifi ssid & password. Is there a command to disable this…

Tondar
- 1
0
votes
1 answer
Vscode/ESP-IDF Errors namespace "std" has no member "array" will compile anyways
I have just installed the newest version of VScode, plus the Arduino extension and the the newest ESP-IDF and am trying to program an adafruit esp32 feather.
When using code that I wrote in Arduino IDE version 1.8.15, and also tested in the beta…

DrMrstheMonarch
- 143
- 4
0
votes
0 answers
Can I connect esp32 to firebase?
I'm doing simple home security Iot project in which I want to connect esp32 camera module CamWebServer example to firebase Database, and then connect to Android app. Or at least I want to give a link in the app.
I want to give it a remote access.…

DOMINIC
- 1
- 3
0
votes
1 answer
Storing many objects and their data within arrays from IMUs for further calculation
I currently have a robotics project which is using many (16) IMU's specifically the MPU9250 running under SPI.
As a reduced example of six sensors using the Bolder flight library
int cs[6] = {21, 25, 26, 27, 32, 14}; //chipselects
MPU9250 IMU0(SPI,…

DrMrstheMonarch
- 143
- 4
0
votes
1 answer
FreeRTOS: an approach to delay a member function inside a list, without blocking the iteration of the list
I want to create a function with a delay for each instance of a class. If some condition occur a task will be created and a delay will happen only to this instance.
/* Task to be created. */
void vTaskCode( void * pvParameters ){
const…

Carlos Moraes
- 33
- 5
0
votes
1 answer
Get total seconds between 2 times
I want to make this function in Arduino
uint32_t GetSeconds(int hour_now, int minutes_now, int seconds_now,
int hour_future, int minutes_future, int seconds_future);
Something like this, but without using the day…

mr_applesauce
- 9
- 4
0
votes
3 answers
Macro which will not compile the function if not defined
Currently using to show debug output when in debug mode:
#ifdef _DEBUG
#define printX(...) Serial.printf( __VA_ARGS__ )
#else
#define printX(...) NULL
#endif
yet this still include the printX in the result code, and the parameters which have been…

Yordan Yanakiev
- 2,546
- 3
- 39
- 88
0
votes
1 answer
Deferred promise based multiple file upload handling with javascript in a for loop to an esp32 with ajax
Hi!
I want to upload multiple files with javascript / jquery.
My backend is an esp32.
Current code is working with only one file, but fails to upload multiple files. It is uploading just half of the files when multiple are in the array.
Here is my…

Dr.Random
- 430
- 3
- 16
0
votes
1 answer
ESP32-CAM image noisy
I am using ESP32-CAM, and CameraWebServer example from standard Arduino IDE package.
It works fine, but the image I receive in a browser is noisy: color lines appear randomly over the picture. Any idea what causes it and how to fix?

Steve Brown
- 369
- 1
- 3
- 12
0
votes
0 answers
Esp32-(xQueueGenericReceive)- assert failed
I have been working on a project in which the analog values are sampled at a particular frequency and stored in an array. Then the value will be sent to user application ESP32 using BLE. But I got stuck in this …

Eswar Reddy
- 35
- 2
- 6
0
votes
0 answers
LoRa point-to-point connection receiving packets
I would like to use LoRa (not LoRaWAN) to send a measurement from a LoRa device to a M5 Stack (esp32) with a LoRa module using a point-to-point connection.
Is it possible to save that measurement to a database (using WiFi) after it is received by…

Nina
- 499
- 6
- 16