650 questions
Best practices
0
votes
0
replies
23
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 ...
-4
votes
1
answer
129
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
0
answers
89
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
134
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.
...
0
votes
2
answers
111
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 ...
2
votes
1
answer
98
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
65
views
Signed SPIFFS FS on ESP32C3 with secure boot
I have an ESP32C3 application based on platformio with secure boot enabled, i.e., after booting I read out the following information from the partition table:
Partition Name: nvs Type: 0x01 - Subtype:...
0
votes
0
answers
81
views
Allow response 404 and serving compressed files without triggering the captive portal
ESP32, Arduino Framework, using these libraries:
lib_deps=
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
https://github.com/guestisp/ESP32AsyncDNSServer.git
here the relevant code:
#...
0
votes
1
answer
629
views
Resetting the Task Watchdog Timer on ESP32-CAM gives error task_wdt: esp_task_wdt_reset(705): task not found
I hope someone can help we with some errors I get from the ESP-IDF Watchdog Timer functionality.
What I'm trying to do
I'm trying to use an ESP32-CAM to post messages on the Mastodon social network.
...
0
votes
0
answers
51
views
Mysterious delay on ESP32s
I have troubles with a mysterious delay on ESP32s. It makes my project work incorrectly.
For example, to exclude another reason, I show it on empty project.
This is the code:
loop() {
Serial.print(&...
1
vote
1
answer
141
views
Need Help Getting a Hardware Timer on an ESP32 to Start and Stop and Then Restart on a Trigger
I am trying to get a hardware timer in an ESP32 to start and stop based on states in a FSM.I have read quite a few ESP32 Timer Howtos, and I am still not getting it to work.
The timer functions ...
2
votes
0
answers
63
views
How do I fix my brushless motor not reversing with my Arduino esp-32 nano?
I am coding an RC car in the Arduino IDE.
Here are the specs of what I use:
Arduino Nano esp-32
Wifi protocol: esp-now
Motor: AL-2835-10
The receiver and the sender are both the same Arduino and are ...
0
votes
0
answers
22
views
Some data is being skipped when writing to Arduino esp32 from Unity per frame
I'm currently getting an issue when sending data per frame, the last thing sent sometimes doesn't appear on the device. I have a feeling there might be something on the Arduino side of things that I ...
0
votes
1
answer
194
views
ESP32 Audio by Phil Schatzmann leads to Watchdog Reboot and other issues
like the title suggests, I am using an esp32 and want to output a mp3 file from an SD-card via the i2s-Amp MAX98357a.
To begin with, I was trying to get an example from the library running, but it ...
1
vote
0
answers
40
views
NittoBend Bendlab (ADS) 2-axis Sensor Code - ESP32 Feather Compatability
I am trying to initialize and use the NittoBend's 2-axis Bending sensor with the ESP32 Feather (coded in Arduino IDE).
I have the circuit setup correctly (GND to GND, VCC to 3.3V, nDRDY to GPIO 32, ...
2
votes
0
answers
92
views
ESP32-C3 Super Mini BLE: only the first defined characteristic of the service is visible
I'm using platform IO for my project. When I define my characteristics, only the first one defined and added to the service will be displayed by nRF. I did the tests by swapping the two features and ...
0
votes
0
answers
65
views
Repeated calling WriteValue on BLERemoteCharacteristic with BLE hangs ESP32C3
I'm using the Espressif Arduino BLE library on an ESP32C3. The ESP32 acts as a central device and connects to a peripheral Raspberry PI running Linux. I am attempting to send a relatively large amount ...
0
votes
0
answers
32
views
How to connect a XIA0_ESP32S2 seeed board to a mobile hotspot?
This is the code I have written to connect my Xiao Seeed ESP32-S3 board to a mobile hotspot
#include <WiFi.h>
const char* ssid = "rrrr";
const char* password = "rrrrrrrr";
...
0
votes
1
answer
250
views
Esp32-CAM camera streaming and websocket at the same time
I am trying to do a mini tank that is controlled by a webserver in my local WiFi (hosted by PC). I am fighting with one main problem - when camera stream is active websockets stops answering and after ...
1
vote
1
answer
149
views
Compilation error: unknown type name 'HardwareSerial'
I need to write a code to send data via UART. I wrote a test code on Arduino IDE in a .ino file and it worked perfectly. Now I trying to shift the code to a .c file. My code is as follows:
#include &...
1
vote
0
answers
323
views
Why does my Arduino IDE Serial Monitor output weird characters sometimes?
I’m working on an ESP32 project using the Arduino IDE, and occasionally, the Serial Monitor displays garbled characters instead of the expected output. The baud rate in the Serial Monitor is set to ...
-1
votes
1
answer
94
views
HTTP Get request does not work when ESP32 is in WIFI_AP_STA Mode
I am trying to get an ESP32 (sender) to send a http get Request to a second esp32(receiver) via WiFi. For that i want the sender to be in WIFI_AP_STA mode and connect to the receiver (AP-Mode) and ...
0
votes
0
answers
167
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
96
views
I'm trying to use SPI and LoRa and when I initialize the SPI (with custom pins) I get a crash
I am using an ESP32-WROOM-32E with 2 MB PSRAM. If I comment out the begin of the vspi, the code will not crash. (Any help would really be appreciated!)
vspi = new SPIClass(VSPI);
vspi->setHwCs(...
0
votes
0
answers
107
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 ...