650 questions
1
vote
2
answers
164
views
Compile time type conversion problem with Arduino esp32 preferences.h
I'm trying to read an SSID using preferences.h but getting a compile time error which doesn't seem to make sense to me.
According to the Arduino docs, preferences.getString() can return either a char* ...
0
votes
0
answers
333
views
Esp Now not sending or not receiving
I'm a beginner trying esp now for the first time. I have two Adafruit QT Py ESP32-C3 boards and I'm trying to make one board send a message, and the second board print on serial that it received the ...
0
votes
0
answers
81
views
Xiao ESP32 Sense send camera picture over bluetooth
I want to connect my xiao esp32 sense board to my phone using my own app to get camera picture.
I tried bluetooth only, it work.
But if i add camera support i cannot see the board. I tested on "...
2
votes
0
answers
141
views
ESP32: How to output different signals on each DAC channel, where DAC is in Continuous Wave Output mode (Continuous/DMA Mode)?
I want to generate two signals on the DAC outputs of ESP32, the sine and cosine ones, thus shifted by 90 deg. But I have the same signal on both DAC outputs.
From the Espressif documentation I found ...
1
vote
1
answer
125
views
ESP32: no signal on the DAC output - for the Continuous Wave Output mode (Continuous/DMA Mode)
I want to generate two signals on the DAC outputs of ESP32, the sine and cosine ones. But I have no signal on the DAC outputs.
Please, do not offer answers for the Cosine Wave Output mode (Cosine Mode)...
1
vote
0
answers
43
views
ANCS ESP32 BLE Arduino Invalid command (0xA1). The command was improperly formatted. When write value to Control Point Characteristic
I'm now trying to write to the Control Point Characteristic according to the ANCS - Apple Notification Center Service using an Arduino ESP32.
This is my current definition for the notification ...
0
votes
1
answer
101
views
ESP32 BLE Arduino: writeValue method of BLERemoteCharacteristic makes ESP hang
Using a ESP32 BLE connected to Arduino IDE, I'm now trying to Get Notification Attributes by sending command to Control Point of Apple Notification Center Service (ANCS). This is the code
static void ...
0
votes
0
answers
146
views
Get title and message of an iOs notification forwarded to esp32 (ANCS)
I'm playing around with this library and reading through the Apple Notification Center Service(ANCS) but still have a hard time getting message and title of an iOs notification forwarded to my esp32 ...
2
votes
0
answers
88
views
zero-ing PSRAM apparently consumes all memory
I'm struggling with an ESP32 library.
As premise, the ESP32 module I'm using has a 2 MB PSRAM on-board.
I wrote a test code to verify it's working:
void setup()
{
Serial.begin(115200);
while (!...
1
vote
0
answers
104
views
How to Integrate ESP32-CAM with Chirale_TensorFlowLite for Al-Based Human Detection?
I am working on a project using an ESP32-CAM to detect humans and control appliances like a fan and a light based on Al inference. For this, I am using the Chirale_TensorFlowLite library to run a ...
0
votes
0
answers
254
views
ESP32 (arduinoWebSockets) sending INMP441 audio as text but Node.js server interpreting messages as binary
I'm working on a project where I need to capture audio data from an INMP441 microphone on an ESP32, encode it as Base64, and send it over a WebSocket to a Node.js server for transcription using Google ...
0
votes
1
answer
435
views
SquareLine Studio design not showing on ESP32-2424S012
I have recently purchased a ESP32-C3 1.28 Inch Round Display. No documentation nor reference were provided with the hardware :(
I made a nice UI on SquareLine studio to be run on my ESP32-2424S012. I ...
1
vote
0
answers
305
views
SCL Stuck Low and I2C Timeout Issue with ESP32 and ZTW523A
I’m working on interfacing a ZTW523A touch controller with an ESP32 via I2C, but I’m facing issues with I2C timeouts (Wire.h error 5: timeout) and I am unable to detect the device using an I2C scanner....
0
votes
1
answer
135
views
SSD1306 Display not displaying Umlaute
I am trying to get the German Umlaute ÄÖÜäöü and ß to be displayed on a standard SSD1309 OLED Display. I used the Adafruit GFX Font customizer to get the byte code for the extra letters. After trying ...
0
votes
1
answer
66
views
Can I go from failing to connect, to scanning for ssids, without turning the wifi off and on again inbetween?
My objective is to turn on my microcontroller (esp32-devkit-v1) and have it reconnect to the last wifi it was connected to prior to being turned off.
If that SSID isn't in range, scan for new ones and ...
0
votes
1
answer
209
views
Platformio+VsCode OTA Upload defaults to "COMx" instead of IP
I'm trying to make an OTA on my ESP32. The cpp is OK and manually triggering the update works fine but when I click on VS Code on the "Upload" button, it defaults to "COMx" instead ...
1
vote
1
answer
132
views
Sending data from local XAMPP php server to ESP32-S3-VROOM, returning => unable to connect [10061]
Apologies for the length of this thread.
Essentially, I've managed to set up an active connection between my ESP32 and a local XAMPP server. This server stores a captured image from the ESP32, which ...
-1
votes
1
answer
72
views
ESP32 SPI Communication to 3rd party hardware
I have a CERES PCB and i need to communicate with this PCB as Slave using SPI bus. The problem is I very low on knowledge regarding any types of communication. Below is the command list i need to do. ...
0
votes
0
answers
139
views
Arduino ESP32C3 example project RMakerSwitch sketch too big
Hardware: ESP32-C3-DevKitM-1
IDE: Arduino IDE
OS: Windows 11
Issue: When I run ESP32C3 Dev Module example project RMakerSwitch and RMakerCustom, it shows the following error. It's an example code, why ...
0
votes
1
answer
74
views
Arduino Relay control using Analog Outputs
I'm working on a project where a Mixer mixes the perfect drink for you. However I used every digital pin for sensors and now I thought I could just use the Analog Pins to control the Relays for the ...
0
votes
1
answer
494
views
ESP32 hardware serial port receives junk characters
I have two ESP32 boards connected back to back through a serial cable, using pin 16 for Rx and 17 for Tx. They exchange simple hello world messages through the serial2 hardware port on the ESP32. The ...
1
vote
0
answers
53
views
Motor stalling with esp32
I need help with an issue, I am making a custom flight controller using an esp32 based on this repository: https://github.com/pratikPhadte/ESP32-Flight-controller-.git, I adapted the code to try and ...
0
votes
2
answers
329
views
I got a crash in the BTC_TASK while migrating to ESP32-S3 from S1
We upgraded our custom PCB to ESP32-S3 and thus I am upgrading my firmware too.
Unfortunately, the BLE connecting to it, I got a crash in the BTC_TASK (See below for extended information)
By looking ...
4
votes
1
answer
139
views
Why ESP32-S3-WROOM-V1 doesn't stream video on browser?
I'm trying to stream video using the IP address but what I get when I access the browser (Google Chrome) is a white screen.
I have been using the board for capturing pictures (using the same code ...
1
vote
0
answers
219
views
Using wifi causes SPI display to stop functioning on Xiao ESP32c3 with GC9A01 display
I'm trying to display graphics using tft_espi while doing wifi stuff, but it seems that turning on the wifi module causes display updates to cease working. I've tried rewriting the code using FreeRTOS ...
0
votes
1
answer
235
views
Arduino ESP32 Guru Meditation Error / stack overflow
I have a Arduino script running for a few years now. Recently I wanted do some minor updates, but I've been running into problems ever since. Even when I run the older version (the version running ...
0
votes
0
answers
73
views
esp_deep_sleep doesn't work with large values
It is advertised/part of the defined parameter list that esp_deep_sleep takes in a uint64_t as a parameter, representing the amount of microseconds to sleep the ESP32, however I believe this is a bug. ...
0
votes
1
answer
265
views
Web Serial API: "BufferOverrunError" when reading from ESP32 in browser
I'm using the Web Serial API to read data from an ESP32 device via a USB connection, but I consistently encounter the error "BufferOverrunError" in my browser when trying to read data.
Setup:...
0
votes
0
answers
80
views
No response when measuring different weights in my load cell+HX711+esp32
I am doing a project where I need to measure small differences in weight (like 0.01g differences).
Right now I am using this load cell (with 300g of max capacity), with this HX711 amplifier and this ...
1
vote
0
answers
329
views
ESP32TimerInterrupt example doesn't compile for ESP32
I tried to compile TimerInterruptTest.ino example from library ESP32TimerInterrupt. I'm not sure but it looks like that because of library update.
But, when I try to compile it throw me this error:
In ...
0
votes
0
answers
93
views
Data order getting changed in I2C in ESP32 Arduino
I programmed an ESP32 as an I2C slave. I was using arduino IDE to program the ESP32 and the version installed in the boards manager is 2.0.17. When I tested it with a master, the data order was ...
0
votes
1
answer
254
views
ESP8266 socket server data to multiple clients
I am a bit of a newbee on this but I have managed this ESP8266 socket server used to publish AIS/GPS data on my boat-network. This cannot serve multiple clients. Clients do not send anything. Just ...
0
votes
0
answers
157
views
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. Core 0 register dump: PC : 0x4003f3c8 PS :
After submitting the values in web server,the wifi will turn into OFF state.After that im getting this error.This error causes esp32 starts rebooting and starts running from beginning of program
Tried:...
0
votes
0
answers
33
views
Obstacle avoiding robot using telematics data - I don't know why my code is showing the error
I am trying to use the #include <WiFi.h> but it is not working.
I am using the blynk.
I have also used the temperature which is needed in this project.
When I remove the <WiFi.h> then it ...
1
vote
0
answers
468
views
ESP32-S3 Issue with LittleFS
I'm trying to build a sketch in Arduino IDE with LittleFS to work on my ESP32-S3. and got an error about corrupted LittleFS
My code:
#include <EEPROM.h>
#include <DNSServer.h>
#include <...
0
votes
2
answers
266
views
How do I calculate the volume of a horizontal cylindrical tank in c++?
I have been trying to use a code to calculate the volume of the liquid in a horizontal cylindrical tank.
I will use an esp32 micro controller to take sensor data and calculate the volume of water in ...
0
votes
0
answers
222
views
SIM7600 and ESP32-S3 can't get long HTTPS requests
I'm trying to make a module that both works with WiFi and SIM7600 module. The module receives a long (~300 KB) JSON file from an HTTPS server and saves it to flash memory. The function that works with ...
1
vote
0
answers
208
views
ESP32 and Laravel Project Communication
I'm trying to send a command to ESP32. I'm using Xampp to run my Laravel project which is outside my xampp htdocs. My Laravel Project works fine even if its outside htdocs but when I try to give ...
0
votes
1
answer
65
views
esp32 c++ pointer to object is lost? [duplicate]
I dont understand why this is not working... will try to explain the best I can:
in main I need an object of class Sim800Cls. Sim800Cls on the other hand, needs an object of class Prueba.
both ...
2
votes
1
answer
624
views
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x00): Possible serial noise or corruption
I keep getting the error in the title when trying to upload a sketch. I have tried to switch to different USB ports, resetting the ESP32 camera wrover, resetting the IO extension board and the UNO and ...
0
votes
1
answer
115
views
ESP32 class member variable not updating as expected in timer callback function
I have this code:
#include <Arduino.h>
#include "esp_timer.h"
//volatile int iCounter; <-- Uncommenting this line makes iCounter update in myTestFn()
class Test {
public: ...
0
votes
0
answers
87
views
Lack of volume of recorded video from ESP32-CAM
I have this code in my esp32-cam there is no error, but when 20 seconds of video is recorded, an AVI file is created in the SD card, and it has no size, it is 0 KB and it doesn't show anything. No ...
0
votes
0
answers
97
views
ESP32: call `WiFi.begin` inside a constructor triggers the RTCWDT_RTC_RESET
I hope you are all doing great.
As the title says, I'm using an ESP32 and when I try to call the WiFi.begin method within a class's constructor, the ESP32 watchdog is triggered and reboots the device ...
0
votes
0
answers
163
views
Same code working on Arduino IDE but not working on VSCode extension PlatformIO
I have a project on Arduino IDE that uses an ESP32, and it uses BLE and BT (Bluetooth). I decided to move my project to platfromIO using the VSCode extension as it is easier to manage and I copied my ...
1
vote
1
answer
804
views
ESP32-S3 delay before serial printing works
I need to see some feedback in my setup() code within Arduino framework, and am using a simple Serial.println(), but it never appears unless I add a delay. Sometimes even the Serial.println() in loop()...
-4
votes
1
answer
42
views
My android app always stop, is there any way to fix it?
This is my first project that I make an Android app and my app always stop when i run it, this error below I found in Logcat
2024-08-13 16:11:02.769 13034-13034 System com.example....
1
vote
1
answer
514
views
ESP32 async scan networks returning fail even though successful scan. How do I detect a real fail
Environment ESP32-WROOM-32UE.
I need to run WiFi.scanNetworks() asynchronously for my project. My sample code returns a list of discovered networks however the output during WiFi.scanComplete() does ...
-1
votes
1
answer
471
views
'SYSTEM_EVENT_AP_STACONNECTED' was not declared in this scope
I can't flash esp32-cam because gives up error of command "WiFi.onEvent(WiFiPointConnected, SYSTEM_EVENT_AP_STACONNECTED);". SYSTEM_EVENT_AP_STACONNECTED is built-in parameter in Arduino IDE....
0
votes
1
answer
89
views
ESP32-CAM can't create access point WiFi
Probem: Esp32-cam don't create access point after flashing, and repeats attempt connection code, because can't execute command "WiFi.softAP("ESP");". Does anyone know how to solve ...
0
votes
1
answer
282
views
Connecting ESP32 to Azure IoT Through GSM
I have been trying to connect my ESP32, which is connected to SIMCOM's SIM7600 GSM Module, to Azure IoT Service. Connecting to Azure IoT Service over WiFi was rather easy because there were already ...