Questions tagged [arduino-esp32]

491 questions
0
votes
0 answers

How to make esp32 wake-up signal and standby signal using android app via BLE

I am working on an android application where it should send a signal to esp32 to "wake it up" and make it "standby mode".
0
votes
0 answers

Maximizing vibration data sampling rate from ADXL357 for condition monitoring application

`I am building a vibration monitoring application using ADXL357 with esp32 microcontroller. As per the information provided in cbm setup guide by ADI the number of datapoints collected in a second should be 5khz for 2.4 khz bandwidth. I have set the…
0
votes
1 answer

Why I have issue using arduino portable version with esp32 boards only?

I am trying portable arduino ide, following this tutorial : https://docs.arduino.cc/software/ide-v1/tutorials/PortableIDE if I compile empty sketch for arduino AVR boards, it works, but if I do that for esp32 boards, I have this issue…
0
votes
0 answers

How can I properly configure pCharacteristic->setValue(float& data32);?

I am trying to send some data information (float) from ESP32 via BLE. I started sending sequence of value: 0, 1, 2, 3... (uint32_t) as follows: ... uint32_t value = 0; ... void setup() { (Configuration of BLE server, services, characteristics…
0
votes
0 answers

Is it possible to store data in ESP32 permanently with the address specified by me in suitable memory section?

I can store data in the RAM with this code. uint32_t * Ptr = (uint32_t*)0x3F800000; *Ptr = 0xFF; // 0xFF value is stored at 0x3F800000 address location. But i want to store data permanently in the flash memory without…
0
votes
0 answers

ESP32 AsyncWebServer combined with WifiClient communicating with same IP address

My setup is as follows. An ESP32 devkit and a Sonos music player. The idea is to control the Sonos box, using a WiFiClient. With the ESP32 and its connected buttons, I send commands to the Sonos, to play a certain music file, set the volume and many…
0
votes
0 answers

How to connect mysql database using esp32 board?

I'm trying to connect my ESP32 to a server that is running MySQL database on the internal (local) network. But I get the error [E][WiFiClient.cpp:269] connect(): socket error on fd 48, errno: 104, "Connection reset by peer". I've been racking my…
0
votes
0 answers

ESP 32 Flash Download Tool showing SPIFFS partition not found

I have created a custom code for ESp32 in Arduino IDE. I flashed the program directly from IDE using UART with the help of TTL. I'm looking for an alternative method to flash the firmware of ESP32. I'm trying to flash the esp32 binary file generated…
0
votes
0 answers

ESP32. The best environment for creating large projects

Hello :) I created a project which is about scheduling tasks etc. I created it using the Arduino.h library for ESP32 and I'm going to rebuild it (create it from scratch, because I don't like the file structure and the code itself). The current…
Marak123
  • 21
  • 1
  • 3
0
votes
0 answers

Issue with writing InfluxDB code to ESP32 chip using OTA

I'm trying to write a program for my ESP32 that writes to InfluxDB but also maintains an OTA access server and it appears that the two functions are having some impact on each other that's causing the OTA server to not work (i.e. the OTA page does…
0
votes
1 answer

How to determine the time an actuator has been enabled during the past x minutes?

I need to find the most efficient approach to the following. If someone can point me in the right direction, I can write the code myself. Environment I am using an ESP32 and working in Arduino C++. What I want to achieve I want to track the amount…
0
votes
2 answers

Failed to find MPU6050 with ESP32

I would like to use my MPU6050 together with my ESP32. (Link to the specific ESP Board) It is not the first time for me using the MPU6050. I used it before in a project with an Arduino Uno and the MPU6050_light.h library. That worked perfectly. Now…
BeneB
  • 37
  • 6
0
votes
0 answers

ESP32 send large file (http post) to server from LittleFS

I'm trying to post a (large) json file that's stored in the SPIFFS (LittleFS- of an arduino. I first of all, fetch the JSON from a local IP address, which can change or is dynamic. Then, that json file gets stored in the internal flash of my ESP32…
Robin
  • 1,567
  • 3
  • 25
  • 67
0
votes
0 answers

Cosmos DB with AT commands by using SIM868e

I am using SIM868e to communicate with Azure cosmos Db for my application. i am trying to use http GET for container from my Azure cosmos db. But i am not able to do it. I am using AT commands. Below are the AT command lines and…
0
votes
1 answer

Why the output is incorrect

I have this code but I don't know what happen why the result of out is incorrect any advice please? int *getarray(int *out) { int data[20]; for(int i=0;i<20;i++) { data[i]=i; } for(int i=0;i<20;i++) { …
lena
  • 730
  • 2
  • 11
  • 23