Questions tagged [arduino-esp32]
491 questions
1
vote
0 answers
Arduinocloud Begin without WiFiConnectionHandler Parameter
I searched in documentation and google a little but didn't see the "arduinocloud.begin" function call without the "WiFiConnectionHandler" parameter. I am handling wifi connections with the ESP8266WiFiMulti library and don't want to change it.
Is…

msaidbilgehan
- 29
- 3
1
vote
0 answers
ESP32 Bluetooth secure BLE auto reconnect after Android comes back into range?
kinda of a newbee here been bashing my head against the wall trying to figure out how to get esp32 BLE to automatically reconnect the an Android phone after the phone either turns the Bluetooth back ON or when the phone comes back into range of the…

Awais Javed
- 13
- 5
1
vote
0 answers
How to proper read ADC by ULP while ESP32 wake up
I am going to continously measure ADC data with ULP. Periodically I wake up ESP32 to do some stuff. When I analyse data received from ADC I found that there is about 100 ms of time where ADC return 0xfff while wake up ESP32 core (ULP work…

kwis2
- 11
- 2
1
vote
1 answer
Environment Variables in Arduino IDE?
How to create and access the environment variables in Arduino IDE?
In my case, I want to connect the AWS IoT MQTT endpoint but am worried to save the certificate and private key in the file and in VCS (in that case I have to add the file in…

Pathik Patel
- 1,347
- 1
- 9
- 22
1
vote
1 answer
ESP32 Arduino sunrise and sunset calculation OFFSET by one and a half hour ( C / C++ )
I have a problem with calculating the sun cycles, based on the current time and the latitude and longitude data.
I'm using an ESP32 with Arduino framework. My suntimes always offset for one or one and a half hour. I got my geolocation data from an…

Dr.Random
- 430
- 3
- 16
1
vote
0 answers
Receiving, sending and saving files through Bluetooth Classic with an ESP32
I am working on a project right now that can work way better if I am able to receive and save files from an Android app to the flash memory of an ESP32CAM and send said files back.
I have looked around but haven't really found anything on the…

BladedBicycle211
- 11
- 2
1
vote
2 answers
Compile errors in Tensorflow Lite Micro framework when trying to integrate Tensorflow Lite Micro to my ESP32 Arduino project
Hi stackoverflow community,
I am trying to get a project leveraging Tensorflow Lite Micro to run on my ESP32 using PlatformIO and the Arduino framework (not ESP-IDF). Basically, I followed the guide in this medium post…

the_smart_home_maker
- 514
- 4
- 21
1
vote
2 answers
"python": executable file not found in $PATH on M1
I have tried to connect my esp32 on my M1 MacBook through the Arduino IDE and I'm getting the following error.
exec: "python": executable file not found in $PATH
Error compiling for board ESP32 Dev Module.
Does anyone have any idea how to fix…

Marty SC
- 13
- 6
1
vote
1 answer
ESP32 arduino x509 format is invalid loading from SPIFFS
I'm trying to fetch 3 keys from SPIFFS that I stored from a string to a file (when fetched from an API endpoint).
I am able to read the files using the SPIFFS library and print the values out in the serial console. When I check the contents, they…

Robin
- 1,567
- 3
- 25
- 67
1
vote
1 answer
ESP32 SPIRAM / PSRAM management for VSCode platformio
I am troubleshooting my firmware (brand new but nearing dev completion) memory management: it runs on a custom PCB with a WROVER module.
I want to take advantage of the extra PSRAM/SPIRAM so that the PSRAM is used automatically by the libs.
But I…

Stéphane de Luca
- 12,745
- 9
- 57
- 95
1
vote
1 answer
Getting json keys from an array from an object using ArduinoJson
I'm having trouble getting the keys (and values) from "prefs" in the following json.
{
"cmd": "set",
"prefs": [
{
"coins": 4
},
{
"enable": true
}
]
}
Code to process json:
DynamicJsonDocument doc(1024);
…

8BitCoder
- 309
- 1
- 10
1
vote
2 answers
How to get Arduino/ESP32 device details in code?
I'm working on a project in which there is a server and several clients (ESP32). In short, It's client-server communication over WIFI. Right now, I'm using ESP32-wroom-32D. In future, for a client device, I might use some other Arduino device or…

Aatif Shaikh
- 322
- 2
- 14
1
vote
1 answer
Read multiple text file in Arduino ide
I have folder contain n txt file(files have numeric values) I need to read these files and save the file contains in array. How can I read the contents of the first file1 in the array and then clear the array ,and then read the second file2 in the…

lena
- 730
- 2
- 11
- 23
1
vote
1 answer
How to retrieve public SSL certificate in Arduino?
I am doig a simple program in ESP32, I connected my ESP32 whith a broker using mqtt over SSL, but after some time the CAcert(public key certificate) has been expired.
In my code I established the CAcert of this way:
const static char* root_ca…

Duniel Mesa
- 29
- 6
1
vote
1 answer
Webserver hosted on an ESP32 using p2p
I was thinking about how could i host a webserver from an esp32 that is accessible from outside of it's network.
The first thing i did was i port forwarded my esp32 private ip on my router and configured a dns server to my router's public ip ( no-ip…

Dr.Random
- 430
- 3
- 16