Questions tagged [arduino-esp32]

491 questions
1
vote
0 answers

ESP32, how can I reply to an http request in 2 (or more) steps?

I need to reply to an HTTP request in some steps (can't concatenate the output string and send it at once). To illustrate my needs, I do this with PHP on my PC to solve the same problem:
pzn
  • 502
  • 3
  • 11
1
vote
1 answer

Save live video stream to a video file

Trying to save live streaming video data into a (any) playable video file. When I log the data I see the following (Put in comment in below code):- axios.get(`http://192.168.1.33`, { responseType: 'stream', }).then((response)=>{ const stream =…
VISHAL DAGA
  • 4,132
  • 10
  • 47
  • 53
1
vote
0 answers

Delay causing heap memory issue in ESP32 causing data corruption?

It was has been observed, that due to some reasons. The delay is causing issues with the free heap memory which indirectly is causing data issues. The following is the part in void loop of the sketch. Releasing something around 4kb and causing data…
Shariq Azim
  • 136
  • 16
1
vote
1 answer

How to put ESP32 to sleep until next scheduled wake-up time with RTC module

I have a problem with the Arduino program below. I have an RTC module that gives me real-time clock. The goal is to put the ESP32 to sleep until the next scheduled wake-up time. The problem is that the ESP32 wakes up correctly the first time at the…
1
vote
0 answers

What should a django view that processes the post request from esp32 look like

I have a challenge sending data from esp32 to my django server. I am using HttpClient and my site is hosted on ngrok. I have a sensor conneted to an Arduino Uno and the Arduino send sensor values to esp32 using serrial communication. I need to…
1
vote
1 answer

Arduino doesn't publish mqtt payload

I'm trying to make esp sensor with auto discovery to homeassistant: #include #include #include "HX710B.h" const int DOUT = 21; const int SCLK = 22; int prev = 0; int pa = 0; HX710B pressure_sensor; const char *WIFI_SSID…
Peter Asp
  • 39
  • 5
1
vote
0 answers

Can i work with ESP32- Dev kit and ESP32-WebCam in a Sender and receiver interface?

I'm new in working with embedded programming and I've got a question that is - "I would like to make a project where if I press a button it should send a 15 seconds video to the contact number mentioned in the program (which I've yet to make. I was…
1
vote
1 answer

freeRTOS is running only 1 task most of the time

so I am having this strange problem (I guess there is something wrong with my code), I am trying to create 2 tasks on esp32 using freeRTOS, 1st task is to receive data from the Bluetooth module and put what it received in a queue, the 2nd task then…
abdo Salm
  • 1,678
  • 4
  • 12
  • 22
1
vote
3 answers

I'm having an error while uploading the code in my esp32

Error is as follows esptool.py v3.0-dev Serial port COM10 Connecting... Traceback (most recent call last): File "esptool.py", line 3682, in File "esptool.py", line 3675, in _main File "esptool.py", line 3330, in main File…
1
vote
1 answer

Error assert failed: xqueuegenericsend queue.c:832 using dual core of esp32 and BNO055 on Arduino IDE

I am trying to read measurements from the BNO005. I am using both cores of the Esp32, Core0 is reading the magnetometer and Euler angles to calculate the heading at sampling rate 40Hz. Core1 is reading accelerometer and Gyroscope to calculate…
1
vote
1 answer

Native USB debugging on ESP32 in PlatformIO without ESP-IDF toolchain?

I have a custom ESP32-S2-based circuit board with USB-C which does not have a USB-serial converter IC like a common dev board might. On this board, USB(-) is on GPIO19, and USB(+) is on GPIO20. USB works great for powering the board and for…
papakpmartin
  • 193
  • 9
1
vote
1 answer

Incorrect Reading NPK Sensor

I want to read this sensor, it is an NPK Sensor. For this, I have this board, and this hat of this board to read the Mobus 485 link. For this, the origin code that the hat gives us. To read the sensor I use the next tutorial, and finally the config…
Francisco Gonzalez
  • 437
  • 1
  • 3
  • 15
1
vote
1 answer

getting "undefined reference to ledc_cb_register" error

I'm trying to use a callback function with the led controller of esp32, however I'm unable to compile the code. I'm not sure if something is missing or the code has errors, as I have a limited understanding of pointers or coding in general. I'm…
cassini
  • 13
  • 3
1
vote
0 answers

Arduino ESP32 EEPROM commit() error in write

I want to save some values in memory and then be able to read them after turning off the esp. I wrote the code based on the page https://randomnerdtutorials.com/esp32-flash-memory/. The code worked, so I decided to check what maximum memory size I…
adamos321
  • 11
  • 1
1
vote
1 answer

http.GET() sends false (-1) in esp8266 (arduino)

I am trying to fetch some details from an API endpoint (https://bitcoin-ethereum-price-test.vercel.app/btc). But everytime it is returning false (-1). When I GET the endpoint on my browser it is just workign fin, returning 200. http.GET() returns…
1 2
3
32 33