476 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
89
views
OBDII requests (standard SAE J1979)
I want to make a device that will process the car's telemetry data in real time. I am using ESP32 DevKitC v4 + TWAI + SN65HVD230. Connected and unsoldered everything correctly.
I wrote the code on ...
1
vote
1
answer
90
views
The NEO-8M produces incomprehensible characters
I have that code:
#include <stdio.h>
#include <stdbool.h>
#include <unistd.h>
#include "esp_system.h"
#include "esp_timer.h"
#include "freertos/projdefs.h&...
1
vote
1
answer
68
views
MCP2515: normal Operation mode and Listen-Only mode
I have two ESP32S, each connected to a CAN driver (MCP2515 + TJA1050). One is constantly sending data, the other is constantly only receiving it. I want whoever receives the data to work in Listen-...
0
votes
1
answer
59
views
How to include external library for my module dependency on ESP-IDF project?
I'm new to C++, cmake and esp-idf coding. My code project is as per Expressif's structure. I found aC++ BLE library https://github.com/h2zero/esp-nimble-cpp/tree/master that I'd liketo include. Their ...
8
votes
0
answers
217
views
How to safely resize a std::vector and detect allocation failure when exceptions are disabled (ESPHome / embedded C++)
I'm working in an ESPHome / embedded C++ environment, where exceptions are disabled, so std::vector::resize() won't throw std::bad_alloc on allocation failure.
I need to resize a std::vector to match ...
0
votes
1
answer
42
views
How to add custom ros message to micro_ros_espidf_component?
my project uses micro_ros_espidf_component which works fine with standard int32 messages, but we would like to use a custom message. To be fair I am not an expert in either cmake build system or esp-...
-4
votes
1
answer
302
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 ...
1
vote
1
answer
167
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
239
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
1
answer
114
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
150
views
ESP-IDF >= v5 toolchain bug or CMake error esp_timer.h: No such file or directory
I've been suffering with this problem for a few days and can't figure out if it's a bug in toolchain or a CMakeList.txt file problem
I have search web for answers but no joy.
I have a component (...
0
votes
0
answers
118
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 ...
1
vote
0
answers
158
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
106
views
zenoh implementation over minimal esp-idf example (idf.py)
All CMakeLists.txt files are fine, the code compiles fine after a lot of tries, but keeps on failing to connect to zenoh public server "demo.zenoh.io" which resolves to 212.71.244.198.
the ...
0
votes
0
answers
71
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 ...