Questions tagged [arduino-esp32]
491 questions
-1
votes
1 answer
ESP32 SPI - SPI.h library provided by Arduino
I got a question regarding the SPI.h driver which is available in Arduino IDE examples. it seems there is only a function for transmission and there is no function for receiving data using SPI.
Here is the function used for transfer:
uint8_t…

Sina_Torkzadeh
- 13
- 4
-1
votes
1 answer
I would like to store data from a sensor in my esp32 using spiffs in arduino
I would like to know how to store data from a sensor for 24 hours in my esp32?
the problem I have is that on my serial monitor the text is displayed by using spiffs but when opening the text document there is nothing. I also tried to save by using…

taisho
- 1
-1
votes
1 answer
'analogWrite' was not declared in this scope
WHY I AM RECEVING ERROR LIKE THIS my other freinds are able to run same code
why i am receiving error like this

codeit_9038
- 35
- 1
- 3
-1
votes
1 answer
Why can´t I write char to String?
#include
Preferences preferences;
void setup() {
Serial.begin(115200);
char keyToAdd[15];
String valueToAdd;
keyToAdd = Serial.readString();
valueToAdd = Serial.readString();
preferences.begin("licence",false);
…

bull19
- 53
- 5
-1
votes
1 answer
Two versions of a code based on a #define
I'm working with a microcontroller and writing in C/C++ and I want to separate stuff that's supposed to work only in the transmissor and stuff that will work for the receiver. For this I thought about having a #define DEVICE 0 being 0 for…

Vinícius Inacio Breda
- 95
- 2
- 10
-1
votes
1 answer
Convert from char to #define
In a arduino application i am working on, i need to find a #define that the application don`t really know the "name" of. I have the following defines that have been created by another application (Sigma Studio) included in a header:
#define…

Stian Blåsberg
- 115
- 2
- 8
-1
votes
1 answer
ESP32 Multitask Parameter pass through Spreadsheet
I am working for soil moisture and pressure sensor using the same baud-rate 115200 in ESP32. Plus, I execute both sensor using multitask ESP32 with 2 core. Core 1 and Core 2 for both program.
The parameter can be viewed through serial monitor…

sya
- 45
- 8
-1
votes
1 answer
How can I fix the argument type conversion compiler errors in this method using a lambda function?
I am programming for the ESP32 (a sort of Arduino like chip). However, to easier/faster find compiler errors/warnings and later make a sort of virtualization on the PC, I like to compile the code also on a PC (using Visual Studio).
However, I cannot…

Michel Keijzers
- 15,025
- 28
- 93
- 119
-1
votes
1 answer
SSL error 30592 when accessing Heroku on custom domain from ESP32 device, but works from browser and to Heroku default domain
I'm using ESP32 Arduino "WiFiClientSecure" client set to client.insecure() to make API calls to my Heroku-hosted app, and after deploying my custom domain I receive the following error.
http://myapp.herokuapp.com/apicall works from browser and from…

LearnDude
- 83
- 8
-1
votes
1 answer
How to connect MAX30100 pulse sensor to a different i2c pins of ESP32 and read data?
I'm using a ESP32 30 pin board, MAX30100 pulse sensor for my project.
I can interface this sensor to ESP32's different i2c pins i.e. not default pins(21,22).
But I don't know how to read data from the MAX30100 if it connected to different pins -…

Ravi Kumar
- 11
- 1
- 7
-1
votes
1 answer
How can i connect php to arduino esp32
I'm looking for a way to run esp32 behavior with php.
I've been googling for a few days, but couldn't find any code that works the way I want it to.
So I started to wonder if this could be possible, so I posted a question here.
Purpose
The…

WooJae You
- 5
- 2
-1
votes
1 answer
Get result from array of member functions in c++
This is a part of Arduino program(C++). MCU is ESP32.
I have defined a class. Inside it I have created an array of member functions.
class IRDN_Padidar_Zone
{
bool callAnimation();
uint16_t Animate_None(enum_Effect inOut);
uint16_t…
-1
votes
1 answer
How to use Twilio to voice call from browser pc to esp32?
How to use Twilio to voice call from browser pc to esp32?
I want to find ways to telemedicine with esp32-cam to stream video and now I'm finding for audio stream too, please suggest me.

gaew
- 1
- 2
-1
votes
3 answers
BLE Scanner Device Found 0
Please help me, I have try BLE Scan but when I call the MyAdvertisedDeviceCallbacks class the device found result is 0 but when I am not calling the class the device found show the result is 3. is there any wrong with my code? I am using ESP32 Dev…

Hendri
- 3
- 3
-2
votes
1 answer
Arduino Weather Station, Radio signals
In the project, there are three arduinos (stations). Two stations have sensors that capture the temperature and humidity of the environment and send it to the other station, which is the "central", by radio signals. The central receives data from…

adryan
- 1
- 2