3,373 questions
0
votes
0
answers
72
views
RC522 ESP32C3 Xiao with Micropython Connection Issues
I have:
RC522 RFID Module
ESP32C3 with Micropython
I am trying to get the RC522 module connected over SPI (either hardware or SoftSPI). I haven't had any success connecting to it after trying a sketch ...
0
votes
0
answers
173
views
Analog Reading Issue with MQ2 Sensor on ESP32 (Always 0)
I’m trying to use an MQ2 gas sensor with my ESP32, but I’m having some issues. I've already done the preheating process for the MQ2 sensor, but the analog reading from the sensor always shows 0 in the ...
0
votes
1
answer
256
views
ESP32-H2 supermini Serial Class methods not working PIO or Arduino IDE
So I am running an esp32-H2 Supermini on Platform IO and I need to use some method from Serial. initially, I had a problem with the monitor where Serial.println() was not working but that was fine as ...
0
votes
1
answer
255
views
lc29hAA reading gps coords esp32
I can't access the NMEA data off my gps using UART pins. Im using pins 16 rx and 17 tx on my esp32 wroom in vscode platformio. The data is not being transmitted to my console and gps.locaiton.isvalid ...
0
votes
0
answers
61
views
Trying to connected logitech g27 with an ESP32-S3
i am trying to connect my logitech to g27 and configure it and read values from it but im have trouble doing so ,
i setup my esp32-s3 using platformIO espidf and the board be esp32OTG , tried the ...
0
votes
1
answer
92
views
How do I upload files with Arduino 2.0?
I am going down a bit of a rabbit hole but as far as I can tell the LittleFS module has been included in arduino-esp32
It seems that is the newer version of this.
So it looks like it should be in my ...
1
vote
0
answers
41
views
Adaptation of an esp-idf code to arduino language
I am having problems adapting an esp-idf code (esp32 native language) to Arduino language, based on a github code (https://github.com/espressif/esp-idf/blob/master/examples/system/freertos/...
2
votes
1
answer
121
views
How do I connect to a ESP32 board using CodeSkool when it is trying to use ws over https? Are there better alternatives?
I am trying to use CodeSkool to help my daughter out with a robotics project since she is used to block programming. I can get everything working on my Arduino IDE. However, CodeSkool requires you ...
0
votes
0
answers
127
views
LEDC PWM in RISC-V assembly on ESP32-C3 using ESP-IDF
I've started a personal project. The idea is to output PWM on pin 8 (GPIO8) of a ESP32-C3 using LEDC peripheral on an ESP32-C3 using assembly language (RISC-V) with ESP-IDF. I've started by ...
0
votes
1
answer
254
views
ESP32-C6 USB CDC code upload does not work with example sketches
I wanted to try out the ESP32-C6-Mini chips, so I built a breakout board for it. Below, you can see a picture of my setup.
As you can see, I wanted to skip a USB-TTL-adapter and tried the USB CDC ...
0
votes
0
answers
109
views
WebServer vs esp_http_server performance
I'm trying to make a small web server for my ESP32 using the Arduino environment. I would like to switch from Arduino's WebServer to ESP-IDF's esp_http_server because it has useful features like ...
0
votes
0
answers
866
views
Failed to resolve component esp-idf with custom components, how to build the system?
I'm building ESP-IDF project with multiple components (whether custom created or from third-party components in GitHub)
when I tried to combine all together into single project I was not able to ...
0
votes
1
answer
144
views
How can I render video streaming captured by ESP32 camera?
I'm newbie in stackoverflow!Great to see you.
I want to render a video capture via ESP 32 camera real time in Unity.
But when I play this project, the game scene only shows default background of Unity....
1
vote
0
answers
58
views
ESP32 GPIO pin only activates inside a while loop in MicroPython
I am using an ESP32 with MicroPython to control a motor driver. I have created a class for the motor that allows me to set the motor's power using a setPower method. However, I have encountered an ...
1
vote
2
answers
163
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* ...
2
votes
2
answers
420
views
ESP32 TLS cert update
My company is going to use ESP32 in their devices. I have to write code that allows downloading ESP32 OTA updates from an HTTPS server. The TLS server's root certificate expires once a year. Here is ...
0
votes
0
answers
90
views
Trouble with ESP32 Bluetooth LE Keystrokes: Not Working After Power Cycle or Deep Standby on Android TV
I'm working on a project to send keystrokes via Bluetooth LE from an ESP32 to an Android TV, but I've run into two problems that I can’t seem to solve.
The basic setup works as follows: for testing, I ...
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 "...
1
vote
1
answer
2k
views
ESP32-WROOM-38pin, pin number to control onboard LED
I have one of the boards in the image below, which as far as I can work out is called a ESP32 WROOM devkit 38-pin.
I've successfully flashed micropython, and can obtain a REPL through picocom. I'm ...
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
123
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
54
views
ESP32 rebooting after trying to write memory mapped flash
I succesfully create a partition in flash like so (partitions.csv):
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 36K, 20K,
factory, app, factory, 64K, 2M,
storage, ...
0
votes
0
answers
84
views
Esp32 Cam + Display TFT (Guru Meditation Error: Core 1 panic'ed (LoadProhibited))
I'm trying to do facial recognition using the CameraWebServer example from esp32 cam and I also integrated a display to show the camera image.
The code compiles and everything, but when I try to do ...
0
votes
1
answer
281
views
ESP32C6 Deep Sleep Recovery via External IO
I'm finding it difficult to find much reliable information on how to implement deep sleep in combination with wake on external IO with ESP32C6 (ESP32-C6-DevKitC-1, rev. 1.12). After days of false ...
1
vote
0
answers
97
views
Translating XBOX 360 controller input to XBOX one controller
recently i have bought a generic gamepad that is suitable for both pc and mobile devices. the gamepad poses itself as an XBOX 360 controller and for the most part seems to work perfectly fine with pc ...
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
263
views
Trying to quantize YOLOv11 in tensorflow, is this topology normal?
I'm trying to quantize the YOLO v11 model in tensorflow and get this as a result:
The target should be int8. Is this normal behaviour? When running it with tflite micro on an esp32 I quicly run out of ...
0
votes
1
answer
99
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
145
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 ...
0
votes
0
answers
146
views
LI-FI based image transmission using ESP32
Dears, i'm working on a LiFi image transmission project using ESP32 microcontrollers.
I then use 2 microcontrollers, one as transmitter through laser and another as receiver through an LDR. So far, ...
2
votes
1
answer
100
views
ESP32: Handling NVS Flash Erase in FreeRTOS ( lock_acquire_generic. )
I am trying to erasing nvs on gpio ISR. I have write the below code.
On just giving high signal to the DI interrupt occurs so many times so I have added 3 sec delay in interrupt.
static void IRAM_ATTR ...
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 ...
1
vote
0
answers
61
views
Why does readblocks() return only zeros when reading raw data from an SD card in MicroPython on ESP32-S3
I am working on a project using an ESP32-S3-CAM WROOM FREENOVE board and MicroPython v1.24.1. I need to read and write raw data directly to an SD card without using a filesystem, as the card has a ...
1
vote
0
answers
45
views
How to fill custom rotated 2D box?
I have a 2D box. It has a pivot point (its center), position, rotation and 4 rotated points. Each point has position, rotation and pivot.
2D box now has: no fill and cross fill.
I want to add full box ...
0
votes
0
answers
209
views
ESP32-C3 is not finding I2C
I am pretty sure that code below was working a year ago, but now it does not. I tried it on several different ESP32-C3 with BME280 connected via I2C. My guess is that there was some update in library/...
0
votes
0
answers
334
views
Zephyr Mqtt_publisher: error while trying to connect to a TLS MQTT broker
I have take the mqtt_publisher sample in the zephyr-project repo and I added a wi-fi connection ot it.
I'm using a esp32_devkitc_wroom.
Here is the main.c:
#include <zephyr/logging/log.h>
...
1
vote
1
answer
126
views
Problem with navigator.serial of SPP bluetooth using Windows 11
I developed a web app that connects to my ESP32 bluetooth as it was a serial port, this is called SPP (Serial Port Profile).
It was working on my PC with Windows 10, but as I was testing it in ...
0
votes
0
answers
58
views
Driver for ILI9163C Display in esp-idf
Driver for ILI9163C Display
Hello, I am working on a very simple driver for the ILI9163C display, and I am new to this kind of development. I am using the ESP32 for communication with the display over ...
0
votes
0
answers
197
views
Setting Up Eclipse Mosquitto on Kubernetes
I'm currently developing a microservices-based API using Node.js, Docker, and Kubernetes. For inter-service communication, I’ve implemented NATS Streaming Server. Additionally, I use Ingress-Nginx as ...
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 ...
0
votes
0
answers
452
views
How to resolve CMakeLists.txt error in visual studio (ninja build error)
I am working on a project with an ESP32 WROOM32 and trying to use two UARTS, we can get the first one to work and output data, but the second one not so much. I am currently trying to compile my code ...
0
votes
0
answers
52
views
ESP32 WiFi.h is triggering other ISR callback
I have a class function that is setup as an ISR whenever GPIO pin 39 senses a falling signal. This works as expected and counts high to low transitions from an input sensor.
However, once I connect ...
0
votes
0
answers
52
views
assert failed: xQueueGenericSend queue.c:873 on esp32 with pn532 and sd card reader
I try to use pn532 on I2C and sd reader on spi. When I tested pn532 alone, it worked very well. But when I make these devices work together, ESP32 will report an error and force a restart:
assert ...
0
votes
0
answers
97
views
How to copy a project from GitHub into my vscode IDF
I am using vscode and IDF.
Up until now I have used the example projects which get installed with IDF as a basis for a new project. But there is an example project on github at examples/usb/host/...
1
vote
0
answers
303
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....
1
vote
2
answers
119
views
How does the ISR (Interupt Service Routine) works in ESP-32, can we suspend or resume tasks inside the isr?
I getting issue in switching the tasks in using ISR (ESP-32).
Below is the code for the same.
struct Button {
const uint8_t pin;
volatile uint8_t numberKeyPresses;
};
# define buttonpin 15
# ...
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
0
answers
128
views
esp32 C++ disable and restart hardware timer
For esp32 using Visual Studio Code, my requirement is when conditions are met - turn on the LED for two seconds. Reset then wait for the conditions to be met again (then turn on LED for two seconds).
...