Questions tagged [esp32]
A cheap and low-power microcontroller family using Tensilica Xtensa LX6 CPU cores with integrated WiFi and dual-mode bluetooth.
857
questions
2
votes
0
answers
53
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 ...
1
vote
1
answer
72
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 ...
-2
votes
1
answer
52
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;
...
-1
votes
1
answer
33
views
Automating Serial Monitor / Execute Serial Monitor Command without CMD input [closed]
Have a nice day.
Experiment title:
PH Sensor calibration and Utilization.
Experiment description:
I am working on an experiment where I am interfacing the esp32 with a DFRobot PH Sensor Kit V2. This ...
1
vote
1
answer
82
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/...
0
votes
1
answer
85
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())
...
1
vote
0
answers
38
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 ...
0
votes
1
answer
36
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....
0
votes
0
answers
14
views
esp32 line following & remote controlled robot
im just started doing this robot thing (like a week ago) and i really dont know who to ask regarding this problem. my seniors who supposedly help us is busy all the time so idk who to turns to. and we ...
1
vote
0
answers
37
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/...
0
votes
1
answer
21
views
ESP32 + Stepper Motor 17HS3401S + A4988 driver. Stepper cannot move in Clockwise direction
/*
* Basic example code for controlling a stepper with the AccelStepper library
*
* by Dejan, https://howtomechatronics.com
*/
#include <AccelStepper.h>
const int DIR = 12;
...
0
votes
0
answers
27
views
How to send high priority http request with FreeRTOS?
I'm new with RTOS concept. Tried a few example, also have tried http request with FreeRTOS over WiFi and it works. Now I have project using ESP32 and SIM808 for GPS and SIM Card Module. SIM808 support ...
0
votes
0
answers
51
views
ESP32 Static IP issue in AP mode | softAP
I want to create a webServer with esp32 as AP. Now the issue is that the ESP32 provides a
ESSID not the IP address.
Here's my code
#include <ESPAsyncWebServer.h>
#include <SPIFFSEditor.h>
...
0
votes
0
answers
33
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 <...
2
votes
2
answers
104
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 ...
0
votes
0
answers
33
views
How to offer end-users the possibility of modifying ESP32 settings (e.g. Wifi SSID), without asking them to compile/upload with the Arduino IDE? [duplicate]
I have designed a device based on classical common ESP32 boards (without micro SD slot).
I'd like (non tech-savvy) end-users to be able to modify some settings of the device, such as their home router ...
-1
votes
1
answer
69
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,...
0
votes
1
answer
76
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 ...
0
votes
0
answers
26
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 ...
0
votes
2
answers
303
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 ...
1
vote
1
answer
128
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 ...
0
votes
0
answers
45
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, ...
0
votes
0
answers
76
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) -...
2
votes
1
answer
110
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/...
1
vote
0
answers
155
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 ...
0
votes
1
answer
198
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 ...
0
votes
1
answer
53
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 ...
0
votes
1
answer
763
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 ...
1
vote
1
answer
102
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. ...
2
votes
1
answer
99
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 ...
1
vote
2
answers
242
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 ...
0
votes
1
answer
168
views
ESP32 TTGO T-Call connect to SX1276
I have an ESP32 TTGO T-Call and I want to add a LoRa SX1276. I am new to that and I am trying to write a simple program that, when it receives a packet from a LoRa sender, sends via gsm an HTTP ...
0
votes
1
answer
181
views
AccelStepper.h - How can I quickly increase the speed of the NEMA 17 motor?
I'm pretty new to Arduino. I am trying to build a Self-balancing robot. I am using A4988 drivers, ESP32 microcontroller, NEMA 17 motors and a 6050 MPU.
The problem is that, although the speed variable ...
0
votes
1
answer
170
views
ESP32 Struggling to Consistently Trigger 4-Channel 5V Relay Module
I'm facing an issue that I can't seem to resolve due to my limited knowledge in electronics. I'm working with a 4-channel 5V relay module and an ESP32 which operates on 3.3V.
The setup seemed to work ...
1
vote
0
answers
100
views
dht11 data on ESP32 NTP clock (updated)
I'm trying to get my ESP32 internet clock to show temperature and humidity data from a dht11 sensor on a MAX7219 display but my code seems to have some issues. After verifying the code there are no ...
1
vote
0
answers
164
views
What can be the reason for a Stack canary watchpoint triggered (loopTask) on a https get() command?
I have a program that only do get and post to a controller via an ethernet port. My problem is that after a certain amount of loop in the program, i got this error:
Guru Meditation Error: Core 1 ...
0
votes
1
answer
196
views
Control esp32 via keyboard keys
I'm making a project in which I have to control a mini car and get sensor information via bluetooth. I'd like to be able to control the mini car with the computers keyboard (w,a,s,d), but I was not ...
2
votes
0
answers
181
views
text section exceeds available space in board for esp32 + bluetooth + wifi + httpclient
I trying to learn how to write arduino code for an ESP32 WROOM 32. I want my esp32 to make an http request to a RESTFUL API i've set up. Thus, my esp32 will need wifi access. I was planning to use ...
2
votes
1
answer
131
views
communicating esp 32 with arduino uno
I made a spider robot using arduino and from esp. I made an audio output device which is linked to python program which writes a particular data (when we speak a command) to esp board and accordingly ...
2
votes
0
answers
105
views
Uploading code to ESP32 using Arduino OTA
im trying to upload my code to my esp32 through OTA iam able to discover the network port but my code is always failing to upload i donno the reason behind it
#include <WiFi.h>
#include <...
0
votes
2
answers
218
views
Unable to control motor with ESP32 using logic level shifter
I am using an ESP32 a TB6600 micro stepper, and a Nema 23 stepper motor, I am trying to control the motor with the esp32 but the TB6600 requires a 5v signal, I tried to fix this by using a logic level ...
1
vote
0
answers
61
views
`time()` doesn't reset to 0 when calling `ESP.restart();` on ESP32?
I'm using an ESP32 and it's fine, I have no issues at all.
I was just curious that after flashing a new firmware via OTA, like this:
#include <ESPAsyncWebSrv.h>
#include <Update.h>
void ...
0
votes
2
answers
312
views
SD Card Mount Failed with Waveshare ESP32 using Arduino IDE
I'm currently working on a project using an ESP32 (the Waveshare ESP32 Driver Board), and I am trying to read data from an SD card, but consistently getting a "SD Card Mount Failed" error. I ...
2
votes
0
answers
52
views
Slow I2C communication
To collect temperature and BPM, I connected a max30101 in my Heltec WiFi kit V3 with ESP32. The data collected are stored in arrays to extract statistical features from signals which an algorithm will ...
1
vote
0
answers
112
views
ESP32 Shows Incorrect Input Voltage From Analog Pin
I have an esp32 WROOM-32 connected to a MQ9 gas sensor to GPIO35. Both are powered separately. measuring the output from the sensor directly using a multi-meter shows a constant reading of 0.145 V but ...
1
vote
0
answers
89
views
ESP32 - resetting BT(classic)-Discovery variables ends in memory chaos
I want to search for bt devices in each loop(), store them and query them one by one. This works fine so far. However, when I try to reset the corresponding variables, I get the following error: "...
1
vote
0
answers
109
views
How to use multiple PN532 over i2c bus(es) and SPI?
I am working on a project that involves 3 PN532_modules to an ESP32, which sends the Tag_ID over BLE.
Plan A was to use One module on i2c_1, second on I2C_2 and third over SPI.
The SPI one works as ...
0
votes
1
answer
2k
views
RX and TX pins on esp32
hello guys i'm new to this field i really need your help i want to wire a GSM module (SIM808) to a ESP32 board using the TX and RX pins so the pins are labeled RX and TX no pin number like the others ...
1
vote
0
answers
32
views
DEVKIT V1 DOIT 30 pinout board could not read analog value when using wifi library [duplicate]
I am using DEVKIT V1 DOIT board and 30 pinout board.
When I upload this code for checking analog value from serial monitor:
// Define the analog input pin for the IR sensor
const int analogPin = ...
1
vote
0
answers
72
views
ESP32 trouble with running ledcWrite inside of ISR
ESP32-S2 (Wemos/Lolin S2 mini)
Arduino 2.1.1 on Windows 11
Hello,
Thank you for taking the time to read this post and for any assistance you can provide. I consider myself a newbie when it comes to ...