Questions tagged [esp32]

A cheap and low-power microcontroller family using Tensilica Xtensa LX6 CPU cores with integrated WiFi and dual-mode bluetooth.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Interfacing 8 ohm speaker ouput with ESP32

I'm trying to use an ISD1820 recording module with the ESP32, except I want to store the recordings and send them over Wifi rather than playing them back. The ISD1820 has an output for an 8-ohm ...
user89016's user avatar
-1 votes
0 answers
59 views

Serial monitor outputting garbage even though baud rate is correct

I'm following this tutorial, and below is the code. //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>&...
wyc's user avatar
  • 107
-1 votes
0 answers
46 views

Progetto con ESP32 esp 8266 [closed]

good morning, I apologize for the Google translator, I will reformulate my project: today I interface (for study purposes) with a uart cable between the reader and the smart card, thus intercepting ...
Gepom's user avatar
  • 1
-1 votes
0 answers
32 views

Esp32 hosting pdf file from sd-card [closed]

I have an ESP32 running a webserver. Hosting a webpage from the spiff. Also serving a couple of small pdf. Added an sd-card module to start hosting larger pdf. How can the routing be accomplished?
Carlos Franco's user avatar
1 vote
0 answers
31 views

Combining esp_wakeup_timer with external interrupt ext0

I'm working with ESP32-Dev-Kit1 and MMA8452Q accelerometer. I want the ESP to read the accelerometer for 10s, then go to sleep for 10s. If within the sleep period, the accelerometer magnitude reading ...
Lily's user avatar
  • 11
1 vote
0 answers
76 views

Why is conversion time 10 times slower in my ESP32-WROOM-32U?

The following code is used to show conversion time and maximum sampling frequency. The code is from this GitHub page for a spectrum analyzer based on the ESP32. The author in his YouTube video shows ...
T R Y's user avatar
  • 57
0 votes
1 answer
40 views

Attempt to change an ESP8266's flashs layout over-the-air

Backstory Several Tasmota devices based on an ESP8285 have to be flashed with alien firmware. The devices' programming ports are not accessible (except for one dummy device which was cracked open for ...
Sim Son's user avatar
  • 1,859
0 votes
0 answers
41 views

Find MAC address of client connected to ESP32 Bluetooth SPP via esp32-Arduino Bluetooth serial library

Let's suppose I'm using Espressif's Arduino-esp32 Bluetooth Serial library with code similar to the following: #include "BluetoothSerial.h" // snip BluetoothSerial bts; bool firstTime = ...
Bitbang3r's user avatar
  • 513
3 votes
2 answers
64 views

Difficulties acquiring angle values from MPU6050

I'm attempting to acquire angle values from an MPU6050 IMU sensor using an ESP32-DevKitM-1 microcontroller. My setup contains the ESP32 board, the MPU6050 board, and an SD card reader to save the ...
Runsva's user avatar
  • 173
2 votes
1 answer
63 views

ESP32 with static IP address acting as client connecting to ESP32 acting as access point

I have an ESP32 board as a client with a static IP address. The client with the static IP address connects to a second ESP32 that is acting as an access point. The connection is established and the ...
Carlos Costa's user avatar
0 votes
0 answers
43 views

ESP32 Preferences on partition `app1`

My Arduino ESP32 project needs a lot of space for on-device string storage and the default nvs partition is not enough. I'd like to use app1 partition for preferences via pref.begin("ns1", ...
Maxim Kachurovskiy's user avatar
0 votes
0 answers
61 views

How to initialize classes in classes?

I ran into a problem when combining examples from Arduino ESP32 code examples. As I am not sure if I go the right way, let me explain the background: There is a clock example that draws the clock on ...
Astralix's user avatar
0 votes
0 answers
24 views

Configuring the VSPI of an ESP32 WROOM to communicate with a MAX6675: compilation error [closed]

Here is my code: /* Name: spi_dan.ino Created: 02/02/2024 20:11:18 Author: Daniel */ #include <Arduino.h > #include <SPI.h> #include "MAX6675.h" // Définit la ...
Patenteux's user avatar
1 vote
1 answer
95 views

AT command validation does not appear on the serial monitor

I can't validate an AT command. Would anyone have any suggestions as to what I might be doing wrong? It should be printing "Sending successful! or "Sending failed!", but it doesn't show ...
Fabio Henrique's user avatar
0 votes
0 answers
38 views

Code for ST7789 NO CS pin - Using XIAO ESP32C3

I am trying to get anything out of this screen except for blackness. The CS pin is present based on the coupling or resistors and capacitors on the back of the display. I have tried using the Arduino ...
Reese Houseknecht's user avatar
0 votes
1 answer
51 views

Compressing grayscale image with ESP32-S3-WROOM Freenove

I have a ESP32-S3-WROOM module by Freenove which has a camera and a micro SD card module. I can take a snapshot as a PIXELFORMAT_JPEG photo. However, when I change the pixelformat to "...
BehicMV's user avatar
  • 11
0 votes
1 answer
57 views

Problem saving "char" variable to EEPROM on ESP32

I am making a project, in which I need to store the WiFi credentials to the EEPROM. For now, I am able to store a bool array in the EEPROM, but I am not able to store the char variables as the ESP32 ...
Loic Daigle's user avatar
0 votes
1 answer
87 views

HID keyboard: send modifier keys only

I want to send modifier keys like shift, alt, ctrl, etc. without any other key. It should be theoretically possible due to the fact that it works for my normal keyboard (tested it with Xoutput and ...
Join Catman's user avatar
0 votes
2 answers
76 views

Is std::string (and ephemeral memory allocation in general) safe to use for ESP32 Arduino?

I know that with 8-bit AVR Arduinos, std::string is widely regarded as fundamentally unsafe due to problems with heap-fragmentation (partly due to limited ram, and partly because the WAY the ...
Bitbang3r's user avatar
  • 513
1 vote
1 answer
84 views

I can't connect a microSD card

I can’t connect a microSD card to either the Arduino or the ESP32. It needs to be connected to the ESP32; I just tested it on the Arduino to see if it works at all. Equipment: ESP32 devkit v1, Arduino ...
anon's user avatar
  • 11
2 votes
1 answer
96 views

ESP32: nRF24L01 receives no data

Using two, nRF24L01 with two, ESP32 DEVKIT V1. Trying to setup RF24 Library example, "Getting Started". Able to transmit on both nodes, however, there is no payload received when switching ...
William's user avatar
  • 85
0 votes
2 answers
71 views

Which sketch was this?

With ESP32 being so plentiful here (3 more for Christmas) I am at a loss to determine which sketch I used for a particular unit. Has anyone devised a record keeping scheme or even a serial monitor ...
jansellsbond's user avatar
2 votes
3 answers
158 views

Importing content of text file as string into Arduino code

Is there any macro for importing the content of a file (for example html code) located in the sketch folder as a string for the Arduino IDE during compilation time?
Ali.kavari76's user avatar
1 vote
0 answers
131 views

WiFi.scanNetworks() sometimes triggers wdt reset

In my sketch for ESP32, I call the network scanning function: WiFi.scanNetworks(true); but sometimes it trigger a wdt reset: E (372741) task_wdt: Task watchdog got triggered. The following tasks did ...
Mark's user avatar
  • 395
1 vote
1 answer
99 views

ESPAsyncDNSServer cannot find AsyncUDP anymore

I'm using this ESP32AsyncDNSServer library on my ESP32 application. Suddenly (I'm not sure what I did) it does not compile anymore: .pio/libdeps/Aphrodite/ESPAsyncDNSServer/src/ESPAsyncDNSServer.h:8:...
Mark's user avatar
  • 395
3 votes
0 answers
291 views

How can I connect my ESP32-WROOM-32 to Arduino IDE?

I'm using this 'ESP32-WROOM-32' but I can't find the correct board in the IDE. I see the esp32-wroom-DA (edit, i took it to the store where i bought it and it worked fine with theirs. they were on ...
I-like-turtles's user avatar
2 votes
2 answers
211 views

ESP32 SPI Mutual Communication

I have two ESP32 cards. I want to set one of these cards as Master and the other as Slave and communicate via SPI. I have done this before on Arduino Uno, but I cannot do this on ESP32. Below are my ...
Enes Orhan's user avatar
-2 votes
1 answer
70 views

Some of my <include> statements do not work [closed]

I'm trying to include the thing... #include <BLEDevice.h> #include <BLEServer.h> #include <BLEUtils.h> #include <BLE2902.h> BLEServer* pServer = NULL; ...
The Void's user avatar
1 vote
1 answer
157 views

Connect to wifi works only without password (Problem around WPA security)

I have an ESP32 Joy-it - SBC NodeMCU-ESP32 that should be use with board "ESP32 Dev Module". IDE says : Chip is ESP32-D0WDQ6 (revision v1.0). Website product: https://joy-it.net/en/products/...
Servuc's user avatar
  • 133
0 votes
1 answer
106 views

PubSubClient hanging on ESP32C3

I may have done some things incorrectly here, but this I what I have for publishing image that I read from serial camera to the MQTT broker: void capturePicture() { if (!cam.takePicture()) ...
greengold's user avatar
  • 111
1 vote
0 answers
94 views

ESP32 SPIFFS Write problem

I'm trying to flash a spiffs on a esp32 but it is not working, i'm using these commands from this source: to create the image: mkspiffs -c /data/ -b 4096 -p 256 -s 0x100000 spiffs.bin my output was ...
Danilo Namitala's user avatar
0 votes
1 answer
47 views

PubSubClient constructor parameter type mismatch

I am just learning an Arduino so this is totally educational purpose call. I want to instantiate PubSubClient client with WiFiClient parameter. #include <WiFiClient.h> #include <PubSubClient....
greengold's user avatar
  • 111
1 vote
0 answers
106 views

Pn532 doesnt detect sometimes

Im using ESP32 with PN532 NFC module with I2C And Im using this library https://github.com/elechouse/PN532 And using this documents https://www.elechouse.com/elechouse/images/product/PN532_module_V3/...
hobik's user avatar
  • 119
0 votes
0 answers
53 views

Configure CA to connect to server with Ethernet

I'm using Ethernet module ENC28J60 with ESP32 on Arduino IDE. I could establish a secure connection using WifiClientSecure.h here code #include <Arduino.h> #include <WiFi.h> #include <...
Just doin Gods work's user avatar
2 votes
2 answers
131 views

Can I use SPI-related pins as a Digital Output?

I am trying to use an esp32 (NodeMCU-32s) as a ringlight controller for my camera. All it should do is sense when an input pin goes low (the camera's output connects to ground when the shutter goes ...
Zach's user avatar
  • 21
-1 votes
1 answer
136 views

ESP32 cannot serial monitor [closed]

I use esp32 devkit v1 . I code follwing this picture. const int vavle = 1; int d = 1; void setup() { Serial.begin(115200); delay(2000); while (!Serial); Serial.println(); pinMode(vavle,...
poom's user avatar
  • 11
0 votes
1 answer
151 views

Triggering a picture with esp32-cam and GPIO13

I'm trying to trigger a picture using the GPIO13 of an esp32-cam, AI Thinker model. I'm using that example as a base: https://randomnerdtutorials.com/esp32-cam-pir-motion-detector-photo-capture/ but ...
brunobhr's user avatar
0 votes
0 answers
30 views

ESP32 thingboard broker mqtt error

Hello so i have this code, but it gives me this error , i have no idea why is not connection to broker mqtt? on the dash board say is active "Conectando ao broker MQTT...Falha na conexao ao ...
Catalin Stefan's user avatar
0 votes
2 answers
1k views

How to use an external 32kHz crystal for ESP32 S3 with Arduino IDE?

I want to use an external 32kHz crystal for RTC with ESP32 S3, but I didn't see any example or tutorial for Arduino IDE, Even when I asked ChatGPT, it gave me some example but the code gave library ...
mehmet's user avatar
  • 277
1 vote
1 answer
752 views

Impossible to install the esp_camera library

I cannot install the esp_camera library. When I try to add the .zip, I get "does not contain a valid library. Everything about this ESP-32 Cam seems to rely on that library, and I can't find a ...
brunobhr's user avatar
0 votes
0 answers
72 views

ESP32 Camera driver VSYNC query

We are new to ESP32 and Camera. We are facing issue in getting VSYNC event. We observed that if we change fb_count (frame buffer count) value the VSYNC behavior is changing. Our understanding is, ...
Abhay Kondru's user avatar
0 votes
0 answers
162 views

Connecting Multi MPU6050 using I2C on ESP32 Wroom 32D

I want to connect two MPU6050 sensor on Esp32 using the I2C protocol. ESP32 to MPU6050 connection, I'm using - VCC(ESP32) - VCC(MPU6050_1) - VCC(MPU6050_2) GND(ESP32) - GND(MPU6050_1) -...
Sourabh Tiwari's user avatar
2 votes
1 answer
127 views

Sparkfun ISL29125 breakout board issue with Arduino IDE with ESP32

I am working on a project where I need to get the RGB light value from surrounding ambient light. For that I am using an ESP32 with a Sparkfun ISL29125 breakout board. I have tried to scan available/...
Nikunj Vadher's user avatar
1 vote
0 answers
418 views

Keyestudio KS5009 ESP32WROOM32 Smart Home

I'm encountering persistent errors with the sample code provided for my smart home kit project. Despite conducting extensive research and troubleshooting efforts, I haven't been able to find a ...
Mars's user avatar
  • 39
0 votes
1 answer
434 views

(Why is) getLocalTime() on ESP32 taking several seconds to complete successfully

This is a cross-post from https://github.com/espressif/arduino-esp32/discussions/8653 as it didn't yield any results there. I noticed that getLocalTime() is consistently taking 5-10+ seconds to ...
Marcel Stör's user avatar
0 votes
1 answer
82 views

ESP-IDF logging library slows down ISR processing

I'm hacking a project with ESP32-WROOM module. I'm running some timers with alarms along with some peripherals triggering ISRs. In the ISR routine I'm sending events to a queue, and receiving them in ...
ak.'s user avatar
  • 103
0 votes
1 answer
2k views

The port is not recognized when working with esp32 in arduino ide 2.2.1 (windows 11 home edition)

I'm trying to program the ESP32 board with Arduino IDE. But The port it's not recogniized when working with esp32 in arduino ide 2.2.1. After some research I found that the port is not recognized by ...
Jose Marques's user avatar
1 vote
1 answer
325 views

Is it possible to use UART0 freely when connecting ESP32 s3 via USB (D+, D-)?

I've designed a test PCB that utilizes an ESP32 S3 and testing pins. During program uploads, I use the USB interface over GPIO20 and GPIO19 as D+ and D-. Everything works fine in this configuration. ...
mehmet's user avatar
  • 277
2 votes
1 answer
140 views

Limit of EthernetClient connections

I'm working on a project on which I need to have multiple EthernetClient connections to different servers. All of these connections must be kept alive simultaneously and by this I mean I cannot stop ...
Mazaetos's user avatar
1 vote
2 answers
382 views

Why Arduino IDE is brignging wrong board name for ESP32 S3

I am designing a pcb for ESP32 S3 wroom-1 for testing pins which are safe to use. My PCB look like this: I program ESP32 S3 via USB interface gpio19 "D-" gpio20 "D+". When I plug ...
mehmet's user avatar
  • 277

1
2 3 4 5
18