Questions tagged [esp32]
A cheap and low-power microcontroller family using Tensilica Xtensa LX6 CPU cores with integrated WiFi and dual-mode bluetooth.
937 questions
0
votes
1
answer
79
views
ESP32C6 + PN532 NFC Reader (HW-147C) SPI Communication Not Working - "Didn't find PN53x board" [closed]
I'm trying to get an NFC reader (PN532 module, HW-147C model) working with my ESP32C6 using SPI. I tried using multiple libraries (seeed-studio, Adafruit, and some on github, but nothing worked).
This ...
0
votes
1
answer
73
views
ESP32 LEDC "hpoint" - Parameter
When using the ESP-IDF, there are the LEDC-drivers. Basically, you initialize a timer and a channel, so a matching PWM for your LED is the result.
ledc_channel_config_t.hpoint
...
1
vote
1
answer
69
views
Missing data when communicating over UART
So I am working on an Arduino project and have trouble communicating over UART.
I have a SIM7600G-H 4G Module from Waveshare and hooked it up to an Arduino Nano ESP32. The connections are as follows:
...
-2
votes
0
answers
44
views
A fatal error occurred: Failed to connect to ESP32-S2: Wrong boot mode detected (0x13)! The chip needs to be in download mode [closed]
This error is presenting in Windows 11 because I run this device in PC with Windows 10.
How to resolve this issue?
A fatal error occurred: Failed to connect to ESP32-S2: Wrong boot mode detected (...
0
votes
1
answer
44
views
Is there a c++ library for the GitHub API and Arduino compatible?
I'm logging some data using an ESP32 board, and I need the data logged to be uploaded from the ESP32 to one of my repositories on GitHub.
Are there any C++ libraries for the GitHub API compatible with ...
0
votes
1
answer
75
views
How to adapt this ESP32 + TMC2240 stepper controller design to my project?
I’m trying to build a wireless stepper motor controller using an ESP32 with a TMC2240 driver. I came across this reference design: Wireless Stepper Motor Controller with ESP32 and TMC2240 https://www....
0
votes
2
answers
117
views
problem with scripts in Arduino Lab for MicroPython
I am trying to set up an Arduino Nano ESP32 so that I can code in MicroPython. I successfully installed Arduino Lab for MicroPython and flashed the firmware onto the device, but when I try to run the ...
0
votes
0
answers
35
views
Reassigning GPIOs 6-11 on a 30 pin ESP Wroom 32
I am trying to wire up the ESP 32 based Crunch-E keychain synth (gituhub repo with wiring diagram here).
In my case I am using a 30 pin ESP Wroom 32 board with pinout diagram here.
The Crunch-E wiring ...
-1
votes
1
answer
196
views
ESP32-S3 continuous reboot after flashing larger firmware
I’m facing a persistent reboot issue on one of my ESP32-S3 boards after flashing a larger firmware binary. Here’s a breakdown of the problem:
🔧 What’s Happening
After flashing my project (which ...
0
votes
0
answers
86
views
ESP32 - SIM7000G and TinyGSM response from server stuck/delayed with multipart/form-data POST request
I am experiencing a delay in receiving the HTTP POST request body when sending data over a TCP connection using the TinyGSM library with a SIM7000G and an ESP32 (LilyGo T-SIM7000G).
Below is my ...
0
votes
1
answer
86
views
How to receive data from an Rasberry Pi on ESP32-Cam?
My use case is an ESP32-cam that serves two purposes:
HTTP feed (accessed by a Raspberry Pi 5 which processes stream and provides a response)
Servo Motor microcontroller: Receives response from ...
1
vote
0
answers
71
views
Can't get ESP32C6 to work in PlatformIO. Error is "unsupported ISA substring '_zicsr_zifencei'"
I bought a few Waveshare ESP32C6 Touch LCD 1.47 boards and have had a hell of a time trying to get my sketch uploaded. I somewhat understand that PIO doesn't support esp32c6 because:
The ESP32 Core ...
0
votes
2
answers
103
views
How does a sensor data move from physical layer to application layer
I have used Arduino IDE to program a IOT gateway using ESP32 and W5500 ethernet module to use them as a ethernet webserver.
I wanted to know for educational purpose, I know that sensor belong to ...
2
votes
1
answer
219
views
ESP32 LED PWM fade not working?
Not sure if this belongs more in an electronics SE, but I'll give this a try.
I'm trying to use an ESP32-C3 and an NPN transistor (2N5551) to PWM drive an LED (values below). I'm trying a simple fade, ...
1
vote
1
answer
107
views
Connect ESP32-CAM to L293D
Disclaimer: I'm a programmer, not an electronics expert. I built this car using an Arduino Uno, and now I want to add a camera to it. I’ve tried researching online, but I couldn’t find much ...
1
vote
2
answers
140
views
Trouble calibrating MMC5603 Magnetometer with MotionCal and Adafruit SensorLab – readings seem off
I'm trying to calibrate my MMC5603 magnetometer using MotionCal and the Adafruit SensorLab Jupyter notebook, but my readings seem off. The raw magnetometer values appear to be spread out oddly even ...
1
vote
2
answers
102
views
Can't sync ESP32 with Blynk
I was trying to display the readings of my dht11 sensor on the Blynk dashboard but I am struggling a lot. A little help would be really appreciated.
#define BLYNK_PRINT Serial
/* Fill in information ...
1
vote
1
answer
84
views
ESP32 scanNetworks compile error: call of overloaded 'BSSID(int)' is ambiguous
I am trying to run following code:
#include <WiFi.h>
void setup() {
//int16_t scanNetworks(bool async = false, bool show_hidden = false, bool passive = false, uint32_t max_ms_per_chan = 300,...
0
votes
1
answer
67
views
Problem Parsing NWS Severe Weather Alert API using Arduino_JSON.h [closed]
I have been using Open Weather and Weather Undground APIs for some time. I recently learned the National Weather Service has an API for alerts. I can print out the raw data but not able to parse it. ...
-1
votes
2
answers
114
views
How can you trace out the short-term trajectory of a 6DOF IMU
I've looked and looked on forums, wrote prompt after prompt in DeepSeek and ChatGPT but I've hit a roadblock.
I'm currently working on a project where I want to write numbers in the air using a ...
0
votes
0
answers
655
views
ESP32 Upload Fails: “Failed to connect to ESP32: No serial data received” (Worked Previously)
I’m trying to upload code to my ESP32 board using the Arduino IDE, but I’m consistently getting the following error:
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For ...
1
vote
1
answer
57
views
Should I use PlatformIO to make a "hackable" and accessible device
I want my device/project to encourage others to get into embedded development. I will do this by making the device open source and hackable. Its ESP32 based so that it can be programmed with the ...
-1
votes
1
answer
219
views
Getting a WDT reset on ESP32
I have a project that uses a GY-53 BMP180 and ESP32.
Each time I connect ESP32 to USB after uploading, I get this error:
22:27:27.352 -> rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (...
0
votes
1
answer
119
views
Accessing invalid key in ArduinoJson causes ESP32 to reboot [closed]
I am running a project where I have multiple ESP32s communicate over WebSockets and I am using the Arduino IDE 2.3.4 for it. The communication primarily uses JSON and sends it as strings. To work with ...
0
votes
1
answer
117
views
ESP32 pressure sensor readings (RFP602)
I have two RFP602 sensors that I use.
One connected to GPIO2, the other to GPIO4, each connected to a 1Mohm resistance.
The sensor connected to GPIO2 reads the data how I want it, I have to press a ...
0
votes
1
answer
384
views
ESP32CAM fails to initialise camera with error 0xffffff
There is a simple PlatformIO sketch (arduino format) that has the following main.cpp file:
#include <Arduino.h>
#include "esp_camera.h"
#include "camera_pins.h"
#define ...
0
votes
2
answers
556
views
How can I provide a custom TLS CACert bundle with Arduino on ESP32?
With an ESP8266 it's pretty easy to pass a custom bundle; eg:
BearSSL::WiFiClientSecure client;
BearSSL::CertStore certStore;
int numCerts = certStore.initCertStore(FSTYPE, "/certs.idx", &...
1
vote
1
answer
155
views
ESP32-S3 Does not read BME680 Data
I build a PCB using ESP32-S3-WROOM-1-N16R2 Controller. I programmed a BME680 sensor with this MCU. My pinouts are,
BME_SCK 38
BME_MISO 19
BME_MOSI 15
BME_CS 5
This is my Arduino code,
#include <...
1
vote
0
answers
117
views
"Stack canary watchpoint triggered (loopTask)" when synchronizing with Arduino Cloud IoT (ArduinoCloud.update())
I have created a sketch that updates 195 variables : 16xString variables, 34xfloat, 52xint, 107xbool.
Notice : I'm using the IDE tool instead of the included Cloud IoT compile (because I have a pb ...
0
votes
0
answers
83
views
Multiple esp32s running on batter power using ESP-NOW
I have a project where I'd like to have two esp32s communicate using ESP-NOW, but both running on battery. I'd like for both to be in deep sleep, wake up and communicate, and go back to sleep, repeat.
...
0
votes
1
answer
558
views
How Can I Get My ESP32 to Work with a 3.5-inch ILI9486-Based RPi Display Using SPI in Arduino IDE?
I'm working on a project where I need to connect my ESP32 (WROOM) to a 3.5-inch, 480x320 resolution LCD designed for the Raspberry Pi, which uses the ILI9486 driver (as suggested by the lcd wiki). I’m ...
0
votes
0
answers
85
views
Get Hash from Biometric Fingerprint Data for Encryption
I'm trying to get a reliable hash from a fingerprint scanner to use as a encryption key. According to this post here: https://crypto.stackexchange.com/questions/103693/can-you-restore-a-private-key-...
0
votes
1
answer
392
views
P10 LED Display Character Overlaying with DMD library
Hi, I am using p10 Led display and trying to make digital clock. it works fine but after 2 or more weeks later without any switch off there is a overlaying start on characters. why this happening I ...
-2
votes
1
answer
815
views
ESP32 TFT_eSPI 8-bit Parallel Compile Error
I am compiling TFT_eSPI library for Arduino ESP32 in 8 bit parallel mode, When I Compile it in SPI mode then no error occurs, but when I select 8-bit parallel mode in User Setup File, then it shows ...
0
votes
1
answer
347
views
Not able to control servo motor using ESP32 board when RGB LED is used
I'm new in using ESP32 boards. For some reasons, the servo motor is not working when RGB LED code is used. I have looked everywhere and I did not see any solution for this. Any help is appreciated.
...
0
votes
1
answer
201
views
ESP32 (Arduino): WiFi.softAPdisconnect(true) gives error + Heap Corruption issues
I have NodeMCU ESP32s and I am using Arduino framework.
I want the ESP to connect to local Wifi, so I set AP on ESP and send to it UDP packet with WIFI credentials.
I am doing it in a loop until sent ...
1
vote
0
answers
78
views
`__has_include` macro on ESP board
I am working on a code for ESP boards that can be used on either ESP32 or ESP8266 and I want to make sure I include the correct libraries.
I know I can check if ESP32 OR ESP8266 are defined, but I ...
-1
votes
1
answer
347
views
Stepper motor turns unexpectedly slowly
I want to control a stepper motor using my esp32 and an USB connection. I seem to have some issue understanding why the stepper motor runs very slowly - I suspect it's because power to the motor is ...
1
vote
1
answer
302
views
External EEPROM Read and Write Issues: Junk Values in I2C Communication
I have an ESP32 controller and am using AT24C1024 for communication. In my code, I am trying to access an external EEPROM at positions writing data from 0 to 10000 position data is = '1'. However, ...
5
votes
1
answer
239
views
MQTT connection fails when using String objects
On my ESP32 I am trying to connect to my HomeAssistant server using ArduinoHA library.
I can easily connect when hard-coding the credentials: mqtt.begin("server", "username", "...
0
votes
1
answer
128
views
WiFi credentials pulled from an SD card fail, but work hard-coded?
I'm trying to move my hard-coded wifi SSID/password credentials to an SD card so they can be more easily changed, but when passing the SSID to the WiFi.begin() function, I'm getting a status code 1 - &...
0
votes
1
answer
185
views
How to logging Preferences library
On my esp32 project, I use Preferences.h to store some values over rebooting.
I have the issue that mypref.begin("nameSpc", false); returns 0 in one case, but works in a other part of the ...
1
vote
0
answers
228
views
How do I enable CONFIG_SPIRAM_SUPPORT for ESP32 S3 on Arduino?
I'm trying to use PSRAM with the TFT_eSPI library, but it fails because CONFIG_SPIRAM_SUPPORT isn't defined.
In Arduino -> Tools -> PSRAM I selected OPI PSRAM as the board manufacturer (the ...
0
votes
3
answers
508
views
ESP32 Partition size and maximum program size #2
re. ESP32 Partition size and maximum program size
Further to the above issue:
The above is a neat little program. However, is there any way I can reference/extract the "app0” “partition->...
-1
votes
1
answer
122
views
Sending data through LoRa with ESP32-E
I have an Esp32-E from Firebeetle and LoRa from SBComponents. On both of these devices there are RX and TX pins. I believe that LoRa pins are just an extension of pins found on the Firebeetle.
My ...
0
votes
1
answer
83
views
Why are times different on different Arduino Pro Minis? [closed]
I am working on a project using a 5v Arduino Pro Mini. To save power I have it power down and wake up every about 15 minutes to check on the battery strength and then power down again. This cycle runs ...
3
votes
1
answer
342
views
Common Ground Between Arduino and ESP32 - Can I Re-use the ESP32 GND Pin for a Potential Divider
I am trying to connect an ESP32 to an Arduino Mega via Serial Communication using the UART 2 ports on both microcontroller boards.
There needs to be a common ground between the ESP32 and Arduino. ...
1
vote
0
answers
69
views
ESP32 can't handle trigger signal to take photo
The problem is, the following code doesn't work. If I am not using the if to check if there is a signal at GPIO 16, then the code is working. I'm using a ESP32-CAM module. It doesn't save a picture to ...
0
votes
1
answer
352
views
Xiao ESP32-C6 in CircuitPython
So I recently bought two Xiao ESP32-C6 from SeeedStudio; they work with Arduino code out of the box. Now I want to flash the CircuitPython bootloader from here https://circuitpython.org/board/...
1
vote
1
answer
220
views
Using WiFiServer in blocking mode
I am learning ESP32 network programming and I started by writing a simple telnet server. It uses a WiFiServer object to listen on port 23 and just log anything it receives to the serial monitor.
...