3,374 questions
-1
votes
0
answers
32
views
Mosquitto broker on Windows only accessible locally, cannot connect from LAN/ESP32 [duplicate]
Mosquitto only works locally, cannot connect from ESP32
I installed Mosquitto on Windows 10 and the broker works locally. I can publish and subscribe between terminals on the same machine without any ...
-3
votes
0
answers
23
views
OV2640 - 75 MM is not working with ESP32 cam [closed]
im using ov2640 - 75MM cam with esp32 cam module for collecting the images for my project .using this code .
here is the code -
/**
* Optimized for OV2640 2MP 75mm Camera Module
* Corrected for ...
0
votes
0
answers
19
views
Changing the frequency in VTX akk alpha via ESP32?
Maybe someone has a code example or knows how to switch the frequency on akk alpha via esp32. I currently have VTX akk alpha 25w.
I have already tried all possible options, but I got to the point that ...
Best practices
0
votes
0
replies
32
views
What is best solution to combine ESP32 & TUYA Cloud?
It is almost a week that I'm trying to find a ready to use cloud solution for my IoT projects which mostly are based on ESP32 hardware. My Ideal is that I develop the embedded system with Arduino ...
1
vote
0
answers
86
views
I want to open a web server with ESP32
I'm not good at English, so I used a translator.
Please understand that we cannot show all the code.
Currently, I am trying to open AP mode in ESP32 and send HTML information to the connected person.
...
Advice
0
votes
3
replies
96
views
Arduino official website- Internal server error Error code 500
I'm facing Internal server error Error code 500 while running the arduino IDE or downloading any library.
Is it my system error or some error on the official website server.
Best practices
1
vote
3
replies
107
views
How to deal with an intense CPU consuming task triggering watchdog?
I am using esp-tflite-micro to make some inferences, but it is taking too much time to finish a single inference; enough to trigger the watchdog of the idle tasks.
I know I may increase the watchdog ...
0
votes
0
answers
49
views
ESP32 code crashes - gets data from an ADI using HTTPClient.h, parses it with ArduinoJson, displays it on P10 with DMD32. Can't work out the crash
I'm a bit stuck as I've written some code for an ESP32 which is supposed to do two things:
Retrieve some JSON from an HTTP source, and parse it with ArduinoJSON - this works in isolation;
Display ...
0
votes
0
answers
42
views
ESP32's crashes the if the SSID of the WiFi access point contains a ' symbol
ESP-IDF 5.3.4, No Arduino, Win10.
I've loaded an official "station" example which demonstrates how to connect ESP32 to a home wifi access point. Made only 2 changes: .ssid and .password in ...
-4
votes
1
answer
158
views
Serial USB communication on ESP32-S3 as host [closed]
I have an ESP32-S3-N16R8 devkit board with two USB ports and I have a device that communicates via Serial USB. I want to read serial data from ESP32 board and process it. So the ESP32 board should act ...
2
votes
1
answer
162
views
How can I use the PN532 with an ESP32-Wroom-32?
The ESP32 cant find the NFC module (Pn532). I used the I2C and SPI without any promising results.
I used the Example code and edited the Pins
Every time I only Get this result: Serial.print("Didn'...
0
votes
0
answers
63
views
OTAA join fails for ESP32 node using RadioLib (IN865)
I’m trying to connect an ESP32 + SX1262 node to my ChirpStack 1.1 server in IN865 region using RadioLib (LoRaWAN 1.1 OTAA), but OTAA fails with error -1116 (RADIOLIB_ERR_NO_JOIN_ACCEPT).
Setup
ESP32 ...
1
vote
1
answer
160
views
esp32 s3 creating dmx singal using rmt, timing is way off
I'm using an esp32 s3 (dual core) and I'd like to transmit DMX signals. The thing is that I have set the resolution as such that each tick is 4us (should be) but what I am getting is bits with way ...
0
votes
1
answer
97
views
code completion of Espressif plugin in VsCode
Is it possible that VSCode code completion only offers those elements in the list that I have already used, but does not read the header files of glibc and the given environment? I use the Espressif ...
0
votes
1
answer
183
views
Waveshare ESP32-S3 7" LCD — SD Card + LVGL = Broken
I'm using the Waveshare ESP32-S3 7" LCD with GT911 touch and a built-in SPI SD card. The kit has fixed wiring for the display, touch, and SD, so I can't change the pin mapping.
Here's the issue:
...
0
votes
0
answers
49
views
ESP32 - how to switch from AP to STA mode, if configured WiFi becomes available
While serving a web interface on ESP32 controllers, I find it useful to fall back providing an on-device AP, if the configured WiFi AP is not available after some timeout.
This way the device can ...
1
vote
0
answers
71
views
Can't send data through UDP via Wi-Fi, Returning 0 Bytes sent
I want to send data to esp32 via WiFi using UDP, but it'S returning 0 bytes (as 0 bytes sent)
For Esp32 I tried with another device (different mobile app), and it's working fine.(Esp32 is OK)
Here is ...
0
votes
0
answers
48
views
Cannot Connect ESP32 to Google Cloud Run function
I have a google cloud run function that I need to connect to using my ESP32 so that I can obtain a token. But unfortunately, it always gives me connection refused error. I have added the google root ...
0
votes
1
answer
104
views
In ESP-IDF, why does changing interrupt type not affect button task execution in my code?
I am still quite new to microcontrollers and ESP-IDF so I am not familiar with the ins and outs of the framework. I wrote a fairly standard code for logging button press and release:
#include <...
1
vote
0
answers
99
views
ESP32 with WiFiManager does not reconnect properly after first connection
I’m working on an ESP32 project that uses WiFiManager (https://github.com/tzapu/WiFiManager).
The first connection works fine: when there are no saved credentials, the ESP32 starts an Access Point, I ...
0
votes
0
answers
72
views
Why do i get WDT error MAX31865 on WROOM-32E
i have a mainboard which runs on wroom-32e (designed by someone else) and trying to get software work done by myself.
I installed Adafruit library and pasted example code. Assigned all pins according ...
-1
votes
1
answer
204
views
Compiled 16-bit literals use 32 bits on ESP32
I implemented a decision tree with if-else statements involving unsigned 16-bit variables (features) and constants (thresholds), as shown below:
static inline int16_6 tree(const uint16_t *input) {
...
0
votes
0
answers
57
views
ESP32 cannot connect to Arduino Uno via HC-05 Bluetooth module
I'm trying to connect an ESP32 (as Bluetooth master) to an Arduino Uno that has an HC-05 Bluetooth module attached. My goal is to send serial data between the ESP32 and the Uno.
Setup:
Arduino Uno ...
0
votes
0
answers
61
views
ESP32 SD card write error: errno 22 (Invalid argument) when using fopen
I am trying to write data to an SD card on an ESP32-WROOM. My function for file creation is:
bool create_file(const char *file_path, const char *data)
{
if (!file_path || !data) {
printf(&...
1
vote
0
answers
60
views
esp_wifi in module - borrow checker issue [duplicate]
It seems there was some confusion on what I was asking. The actual question is:
What can I do to build a WifiController and return it from a function without needing to create the init_handle outside ...
1
vote
1
answer
102
views
How to prevent analog clock hands from leaving trails on TFT LCD with ESP32
I’m building an analog clock on an ESP32 Wrover Kit with a TFT LCD using the TFT_eSPI library. The clock displays the correct time using NTP, but I have a problem with the hands:
When the hands move, ...
0
votes
0
answers
143
views
ESP32S3 SPI can not address 2 devices
I am currently facing a problem that I run out of idea.
I have a waveshare ESP32-S3-Touch-LCD-2 (https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-2) that features a display, SD cardslot and camera.
...
2
votes
0
answers
93
views
ESP32-C3 sketch immediately resets with TG1WDT_SYS_RST on minimal code
I am using an ESP32-C3 Dev Module on Windows 11 with Arduino IDE (ESP32 package 3.3.0). Minimal sketches, such as the following, immediately trigger a watchdog reset during startup:
void setup() {
...
0
votes
0
answers
111
views
How to get i2c_dev to coexist with direct usage of i2c drivers?
I am building a project that uses esp_lcd,and the TSL2591 component from the component library.
To my knowledge these are both well maintained and commonly used in the idf, and should be able to ...
0
votes
0
answers
47
views
How do I select the right NAFE13388 channel to read data to/from in c++ with the esp32s3 dev kit?
I am fairly new to programming so I have no idea if what I am doing is right here. This is the datasheet page 71 is most helpful I think, or 71-75. Which I have been following, as well as some ...
1
vote
0
answers
138
views
Very slow startup of ESP-IDF monitor from VSCode after an update
Win10, Latest VSCode.
For quite some time, I've been on ESP-IDF 5.0.2 and VSCode version from 2023. 5.0.2 version was installed manually with an offline installer from Espressif. Used it to program ...
0
votes
2
answers
102
views
How to decouple a web server & MQTT on an ESP32 [closed]
I've got an ESP32-POE running a web server as well as publishing MQTT to a broker.
I want to publish MQTT every 60s but sticking that delay into void loop(void){} means server.handleClient(); is also ...
0
votes
2
answers
114
views
ESP32 with MQTT stops working after over 100 days [closed]
I built a custom PCB with an ESP32-WROVER-IE-N8R8 to read a pressure difference in a filtration system. The data is then send via MQTT to a MQTT Broker (Mosquitto) on a Linux Server. This happens ...
0
votes
1
answer
198
views
Debugging Zephyr RTOS MCUmgr SMP on ESP32: stack overflow and illegal instruction in Bluetooth thread
My application using Zephyr RTOS v4.1.0 on ESP32-WROVER-IE and ESP32-S3-WROOM-1 to implement MCUmgr over Bluetooth (SMP transport) based on the smp_svr sample builds successfully, but flashing results ...
2
votes
0
answers
58
views
ESP32 TaskReadTelegram() often hangs and triggers watchdog
I recently built myself a ham radio repeater and used ESP32 for its control unit. I added Telegram control capabilities to get some status info and force some actions remotely. Using FreeRTOS made ...
2
votes
1
answer
105
views
Does the Arduino library load its internal interrupts in IRAM on the ESP32
When I've developed for the ESP32, I've always included the linker attribute IRAM_ATTR when I've declared functions called from interrupts. This is based on https://docs.espressif.com/projects/esp-idf/...
0
votes
1
answer
85
views
RC-522 not interrupting and not detecting rfid tag
I'm trying to read data from a RC-522 with an ESP32 in C.The problem is that even if I aproach the card to the RFID reader it doesn't modify the value in ComIrqReg.
bool mfrc522_request(void) {
...
0
votes
0
answers
64
views
Ping implementation on ESP-IDF v.5.4.2
I implemented a ping function for ESP-IDF 5.4.2, but sometimes I get the error:
"E (185212) ping_sock: send error=0".
I also tried using a SemaphoreHandle_t, but the result was worse than ...
0
votes
0
answers
75
views
Wakenet model is not initializing using esp-sr create function–it Returns Guru Meditation Error
I am using esp-idf v5.5 with esp-sr v2.1.4.
below is my updated github repo with complete build available (complete!).
I thank you greatly for your help.
github_repo : https://github.com/abdulbaseer-1/...
0
votes
1
answer
116
views
TMC2209 Driver Library – StallGuard Not Working on PlatformIO ESP32
I'm experiencing an issue with the TMC2209 driver library. I'm using it to control a stepper motor with StallGuard enabled. The setup works correctly when compiled and uploaded via the Arduino IDE — ...
0
votes
1
answer
91
views
Using Espressif IDF in Vscode, how do I compress a bin file for OTA updates
I have a development project for ESP32 using IDF ver 5.5.0 in the vscode environment and have it working including support of OTA updates. I have read online that the project.bin file can be ...
0
votes
0
answers
81
views
can not set frequency or resolution for output pin
I try to setup a 10bit pwm with analogWriteResolution(LED_R, 10);
but I get the following output:
[esp32-hal-ledc.c:793] analogWriteResolution(): analogWrite resolution cant be set due to selected ...
0
votes
0
answers
59
views
BNO055 with ESP32C3
I'm having gap problems with quaternions, I need help, please.
Hi guys, I have a question about the BNO055 sensor. I'm trying to use its quaternions to use in Unity, but it sometimes “loses” its ...
2
votes
1
answer
117
views
ESP32 LoadProhibited with FreeRTOS tasks
I am trying to write a class to help me interface a Bluetooth module with an ESP32 over serial, but I am having trouble. Sometimes, the Bluetooth module sends events without being prompted, so I'm ...
1
vote
1
answer
149
views
Does lv_img_set_src require lv_refr_now?
On a Sunton display with integrated ESP32-S3 N16R8 I want to display JPEGs from SD card as a slideshow. The vendor provides an Arduino demo ZIP based on LVGL 8.x (dev). I managed to get the display ...
7
votes
1
answer
83
views
Light sleep wakeup via UART
I want to wake up the ESP when it receives a message on the UART2 port. However, with the following code it never wakes up, even if a message is received. I am using the Lolin 32 Lite Devboard.
#...
0
votes
0
answers
84
views
Whats special about the ESP32 esptool "stub" in respect to flash-based code?
The ESP32 esptool.py uses a so-called "stub", that is a small application uploaded and run from ESP32 ram, to handle erasing and writing of ESP32 flash.
It's code seems to be here https://...
2
votes
0
answers
108
views
The captive portal only fails on Android
The captive portal only fails to trigger on Android. When I connect from macOS, the portal opens automatically and loads the root HTML page as expected. On Android, I can see proper DNS and HTTP ...
-2
votes
1
answer
306
views
Why does it show that esp_task_wdt_config_t was not declared in this scope even after calling library? [closed]
The error of the form: "esp_task_wdt_config_t" was not declared in this scope, appeared even after calling the library.
Since I am moving from Arduino IDE to PIO, I initially added the ...
1
vote
1
answer
52
views
ESP32C3 FlashDownload Tool - what to set into public_key_digest_block_index?
I am using the ESP32 FlashDownload Tool version 3.9.5 to burn my ESP32-C3 boards.
But I have issues getting the public key digest for secure boot into the chips.
There is a parameter '...