650 questions
0
votes
0
answers
202
views
Interaction with a thread from ISR using C++ Standard Library on ESP32
How can I create or notify a thread (or similar) from within an ISR function?
Constraints
Using C++17
Using the C++ Standard Library (std) implementation (provided by Arduino-ESP32).
The mechanism ...
0
votes
0
answers
591
views
AP_SimpleWebServer example times out on Uno R4 Wifi
I am a beginner with arduino, and I've just bought a uno r4 wifi for a project I want to make. To get practice using the board over wifi, I tried to use the example sketch "AP_Simple Web Server&...
1
vote
0
answers
226
views
Can WiFi Direct be used with ESP32?
I want to transfer data between two ESP32 devices using Wi-Fi Direct. I couldn't find definitive information about whether ESP32 supports Wi-Fi Direct feature.
Below, I am doing data transfer using ...
0
votes
1
answer
110
views
Unable to add a line chart with 3 series into a Google sheet using API
I have a project to monitorize some parameters with ESP32 (Arduino IDE sketch) and I save result into a gsheets. Every new day generate new sheet to save dates. After new sheet creation, I want to ...
0
votes
1
answer
2k
views
RTC_NOINIT_ATTR vs RTC_DATA_ATTR (slow vs fast memory)
I am trying to understand the difference between RTC_NOINIT_ATTR vs RTC_DATA_ATTR (slow vs fast memory) but cannot see a clear definition and examples when to use which - not even on the original ...
0
votes
0
answers
203
views
ERROR ID esp32_esp32internalgpiopin_6 is already registered - ESPHome component
I'm trying to create a component for ESPHome.
I'm getting:
ERROR ID esp32_esp32internalgpiopin_6 is already registered
With this config:
...
external_components:
- source:
type: git
url: ...
0
votes
0
answers
346
views
ESP32-CAM HTTP POST Error -11 After Sending Image to Server
I'm working on a project using the ESP32-CAM module, where I capture an image with the camera and send it to a server using an HTTP POST request. The server then processes the image using an AI API. ...
0
votes
1
answer
98
views
IGuru Meditation Error: Core 1 panic'ed (LoadProhibited) - How to Resolve?
Hello Stack Overflow Community,
I'm encountering a "Guru Meditation Error" while processing an audio file on my system. The error message indicates that "Core 1 panic'ed (LoadProhibited)...
0
votes
1
answer
409
views
AES-128-ECB encrypt in esp32 and decrypt in node.js
I wanted to create an URL with aes-128-ecb encrypted query paramter in esp32 and decrypt it in node.js. Here is my approach on ESP32:
uint64_t variableToEncrypt = 27483611521760; // it comes as a 64 ...
0
votes
1
answer
417
views
Can we use the resolution we want in the esp32 cam module?
I want to use 256x256 resolution. This is not available in the resolutions offered to me.
I am working with wificam example via esp32 wrover module.
I have an artificial intelligence model and this ...
-1
votes
1
answer
72
views
PHP script is working but don't display the right things on my webpage [closed]
I'm sending a value from an ESP32 to my apache webserver and stocking it in a MySQL database with a PHP script. My PHP script is very basic and seems to work because the value sent by the ESP32 is ...
0
votes
0
answers
264
views
ESP32 HTTP Client unable to connect to API URL
I'm trying to make a POST to the Open AI API however my ESP32 is returning a failed to connect error. I cant figure out why
WiFiClient client;
String lineEnd = "\n";
String ...
0
votes
1
answer
583
views
ESP32 arduino with PlatformIO Serial0.printf("%d %d \n",x,x) Loss the second data
I used PlatformIO with arduino-framework = arduino to develop the ESP32 code, and use Serial.printf for Debug, like this:
int64_t test_val = 12345;
Serial0.printf("ADC millivolts value = %d , ...
0
votes
1
answer
64
views
Websocket (client) incoming frame processing with Arduino WiFiClient / WiFiClientSecure
I started to write a websocket library for Arduino.
It half works for now. I have created a node.js websocket server where i test the client.
My problem is in the data processing part, it prints ...
0
votes
1
answer
173
views
How to use render task(s) for LED matrix with ESP32 FreeRTOS
I have an ESP32/Arduino application that drives, amongst others, an LED matrix. It uses SimpleFSM to implement the state machine handling user interaction, sensor input, etc.. Sometimes the LED matrix ...
0
votes
1
answer
215
views
C++ ESP32 randomly stops
I am developing for my ESP32-Wroom microcontroller in Arduino C++. I am relatively new in programming for this board (and C++ in general).
Currently my code works fine, until it doesn't. When I reset ...
0
votes
0
answers
187
views
Whats the most optimal way to handle multiple Root CA Certificates in ESP32 code
Looking for best practice how to handle (in code) scenario where I have ESP32 which can connect to 5 different HTTPS endpoints, each signed by different RootCA.
The flow is as follows:
The ESP32 ...
0
votes
1
answer
769
views
how to get the position of the face in the esp32 cam example code?
there is an example code for an esp32 cam called CameraWebServer and in it you can stream the video output of the esp32 cam and there is an option to turn on facial recognition so I am asking how can ...
0
votes
1
answer
806
views
ESP32 crash at boot after adding some code
I have a strange problem. I have working code which I have used for a long time and did some refactoring moving to use the ArduinoJson library on an ESP32.
My problem now is that by (sometimes) adding ...
-2
votes
1
answer
363
views
Issue with AD8232 ECG Sensor and Firebase Integration on ESP32 [closed]
Issue: The issue I'm facing is that the ECG sensor readings are consistently showing 0, and the data sent to Firebase is not accurate. I have already checked the connections, and they appear to be ...
-3
votes
2
answers
242
views
getting shapes from an array
I have a 2d array of zeros and ones, and I want to know the shape that the ones create.
For example this array - will be a rectangle:
[[0,0,0,0,0],[0,1,1,0,0],[0,1,1,0,0],[0,1,1,0,0],[0,0,0,0,0]]
I ...
0
votes
1
answer
2k
views
Why TWAI (CANBUS) library not working for ESP32?
I have created a simple circuit cor CANBUS (TWAI) communication between Arduino NANO and ESP32 Dev kit. At first I was using this library and my circuit works fine. this is te serial monitors:
But ...
1
vote
0
answers
265
views
NAU8822 I2S Codec + ESP32 - no valid data
I've connected a NAU8822 codec to an ESP32 and I'm trying to record audio from a microphone.
schematic of NAU8822 circuit
Following setup:
Microphone is biased (working), mono
Codec works as I2S ...
0
votes
1
answer
597
views
How to split BLE FTMS Indoor Bike Data into two chunks to match max of 20bytes per chunk
this is my first approach coding a BLE FTMS service for an ESP32 board. To be honest I'm not really experienced and this is my first C++ application. I managed to create a FTMS service and send data ...
0
votes
1
answer
716
views
Integrating Smart Battery and Charger into ESP32 System: PlatformIO, Arduino, and Stepper Motors
Hello StackOverflow community,
I'm relatively new to the field and currently working on a project that involves integrating a smart battery and charger into an ESP32 system. The system also includes ...