Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
-1 votes
0 answers
17 views

Can't use Bluetooth or WiFi on ESP32

I'm looking for a solution to a problem with my ESP32. I used the Arduino IDE's BluetoothSerial sample code and uploaded it to my ESP32. However, it seems that the code does not run, and the ESP32 ...
user avatar
1 vote
1 answer
37 views

What is the build-in LED pin for the ESP32-WROOM-32D dev board?

I've tried just about every pin with this sketch: #define LED 2 void setup() { pinMode(LED,OUTPUT); } void loop() { delay(500); digitalWrite(LED,HIGH); delay(500); digitalWrite(LED,LOW); } ...
user avatar
  • 175
-1 votes
1 answer
25 views

ESP32 Potentiometer issue: Resolution mismatch of the potentiometer with unlimited resolution and reading the values with Wire.h

I have the problem, that the potentiometer goes from the range of 0 Volts to 3,3 volts. But within this range the measured value goes from about 0 to 65535 multiple times (over 10 cycles). When I ...
user avatar
-1 votes
1 answer
27 views

ESP32 flash memory

I'm a newbie ESP32. I am going to make a system which stores files from the Internet. While it is easy to use SD card or storage stick (like an USB drive) to store data, but I want to use flash on ...
user avatar
1 vote
1 answer
65 views

Generalize webserver routing

I'm following the examples for ESP32: AsyncWebServer _server(80); _server.on("/", HTTP_GET, [](AsyncWebServerRequest *request) { request->send(SPIFFS, "/index.html", ...
user avatar
  • 265
1 vote
1 answer
75 views

Arduino create Json Array with double values and 2 decimal point

How i can create a Json Array with double values and 2 decimal point using the ArduinoJson Library? https://arduinojson.org/v6/how-to/configure-the-serialization-of-floats/ In the folowing small ...
user avatar
0 votes
0 answers
29 views

ESP-32S NodeMCU - Unable to upload sketch

I was able to upload sketch to my ESP-32S, but now it don't work. I alway get Connecting........_____....._____....._____....._____....._____....._____....._____ A fatal error occurred: Failed to ...
user avatar
0 votes
1 answer
22 views

Problem deseralizing some fields in JsonRequest

I'm almost successfully able to GET a json blob and print it to the console. It seems to be failing on some string fields I am guessing because of the length. Any thoughts/ideas/suggestions to make ...
user avatar
-1 votes
0 answers
19 views

Unable to BLE OTA update my firmware on ESP32 WROVER 16MB

I added support for BLE OTA update to my ESP32 WROVER 16MB flash Arduino based firmware. But I get the invalid segment length associated with a huge value 0x15abba12 as follows: E (934173) esp_image: ...
user avatar
0 votes
1 answer
52 views

Can't read through I2C from RTC

I'm using an ESP32 which I connected to a MAX31329 RTC through I2C. Unfortunately I can't read any register from the RTC. After modifying the MAX31328 library didn't work, I tried reading single ...
user avatar
  • 9
2 votes
1 answer
219 views

What is wrong with the way I write and or read the EEPROM adresses?

Consider: #include <EEPROM.h> byte guifactor1 = 1; byte guifactor2 = 2; byte guifactor3 = 3; byte guifactor4 = 4; byte guifactorgas = 5; byte guifactorwater = 6; volatile unsigned long ...
user avatar
-1 votes
0 answers
32 views

How do I remove the second and third readings from an ESP32's capacitive touch sensor?

Serial monitor open: 82 open: 80 open: 88 open: 81 open: 80 open: 88 x: 8 open: 79 open: 88 "8" is the first reading (of me touching the wire) "79" and "88" are the ...
user avatar
  • 45
0 votes
0 answers
53 views

ESP32 not connecting to WiFi

basically im trying to deploy a web server in my ESP32 DevKit V1 but as you can see in Serial Monitor it always spamming "..........." infinitely. according to one comment there the problem ...
user avatar
0 votes
1 answer
39 views

Use of ESPAsyncWebServer.h with ArduinoJson version 6 for Master-Client transactions

I want to communicate two (2) ESP32's via Json commands using ESPAsyncWeb.h. The master should have specific operations to execute and respond to the client, and the client should be able to send ...
user avatar
0 votes
0 answers
31 views

How to capture the responses of GSM SIM800L whenever an AT command is sent?

I am using sim800L and nodemcu esp32-S. I would like to capture the "OK" or "ERROR" response of the sim800L whenever I try to send an SMS message using the sim800L and use it for ...
user avatar
  • 3
1 vote
1 answer
32 views

ESP32 Wipe Sensitive Key Data

Is it possible to ensure that keys (e.g. ssid, ssl certs) are wiped from the memory of a esp32? I'm new to the esp32, coming from a IoT device security perspective. Say a person was testing an esp32 ...
user avatar
2 votes
1 answer
82 views

My ESP32-S3 DevkitC-1 has two USB micro ports labeled 'USB' and 'UART'. What are they for?

I'm new to micro-controllers. I've got an ESP32-S3-DevKitC-1 and I'm trying to do a simple hello world with the Serial. I'm using the Arduino IDE for flashing and serial monitoring. My code is: /** * ...
user avatar
  • 119
0 votes
0 answers
39 views

How to display Serial data in console

I'm using an ESP32 for a project. I use one Serial with a 115200 baudrate, and Serial2 with 9600 baudrate. I need to receive a message on Serial2, and I want to display it on Serial for debugging ...
user avatar
0 votes
1 answer
38 views

Is it safe to power multiple ESP32-CAM circuits from the same battery output?

I have setup two ESP32-CAMs, sharing the signal from a PIR sensor via an optocoupler. Plus I have a 12V LED ring on a 5V to 12V booster, turned on/off by a relay. The ESP32s go to deep sleep, wake up ...
user avatar
  • 101
0 votes
0 answers
31 views

espShow() crashes every now and then in Adafruit NeoPixel/Adafruit_NeoPixel 2.cpp on ESP32

I face a crash in the Adafruit NeoPixel/Adafruit_NeoPixel 2.cppfile of the lib. According to the stack, the issue occurres in the file Adafruit NeoPixel/esp 2.c line 129 in espShow() which correspond ...
user avatar
1 vote
1 answer
51 views

Obtaining wrong analog readings using the ESP32 devkitc v4

I know that the topic is not related to Arduino, but I am completely sure that someone can help me find the problem. I am testing 6 temperature sensors (3 digital, 3 analog). The digital ones are &...
user avatar
  • 11
0 votes
0 answers
35 views

Why Preferences can not putString() on one ESP32 while working on others?

I have multiple ESP32 that run my firmware. The firmware does the WiFi provisioning from my BLE app, the SSID and the pass phrase are stored to the Preferences via two putString() as follows: const ...
user avatar
1 vote
0 answers
39 views

ESP32 - SIM800 - HTTPS lwIP

I am using ESP32 and SIM800L for my project. The SIM800L does support SSL, TLS 1.0, and TLS 1.1. But web servers nowadays usually support only TLS 1.2 and 1.3. I heard, that the ESP32 HTTPS client can ...
user avatar
  • 23
0 votes
1 answer
34 views

ESP32: why does malloc can only alloc 126888 bytes with 402540 bytes heap?

I need a buffer of the size 153600 bytes in my ESP32 project, but I could not create a static buffer in code nor can I malloc the buffer. The ESP32 itself reports: ESP.getHeapSize() // = 402540 ...
user avatar
  • 103
1 vote
3 answers
108 views

Why is the server.on() function from "ESPAsyncWebServer.h" executed in the setup() side and not on the loop() side?

I'm implementing an example in which 2 ESP32's communicate each other using the HTTP Protocol. One acts as Server the other as Client. In the examples provided, I am curious about the declaration on ...
user avatar
1 vote
1 answer
43 views

How to make BLE and WiFi IoT run without memory issue?

My firmware runs on a ESP32 WROVER in order to make use of the SPIRAM. It uses both IoT via WiFi (Azure IoT SDK) and BLE to support connection with my mobile app. I have spent days in trying to make ...
user avatar
1 vote
1 answer
36 views

How to prevent replacing of the value for a key in Preferences?

#include <Preferences.h> Preferences preferences; const char* roomname_long = "String 1"; const char* roomname_short = "String2"; const char* roomname_long_test = "...
user avatar
-1 votes
0 answers
27 views

Esp32 bluetooth module

I created a bluetooth access point with esp32. It appears in the bluetooth list of android phones but not on ios, can you help me? #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) ...
user avatar
  • 1
1 vote
0 answers
70 views

ESP32 WROOM32E w/ Arduino IDE 2axis joystick - how do I get a good reading?

How do I get the full range of motion from an analog joystick and the ESP32 WROOM32E using the arduino IDE with esp-idf installed? Using a 2 axis analog joystick, the 5v/3.3v pin, ground pin and the ...
user avatar
0 votes
1 answer
45 views

Guru meditation error load prohibited, esp32s. While using Fastled

I am encountering a Guru meditation error, Load prohibited on my current sketch for the esp32s. Here is the code: #include <FastLED.h> #define NUM_LEDS 120 #define LED_PIN 3 CRGB leds[NUM_LEDS];...
user avatar
3 votes
1 answer
280 views

Attach the Arduino ISR function to the class member

I intended to use a timer interrupt for limited instances of a class in my ESP32 Arduino project. My first code conception was as follows: portEXIT_CRITICAL_ISR(&lock0); } ...
user avatar
3 votes
1 answer
91 views

ESP32 Wifi not working when powered by battery

I'm quite new to ESP32 development. I've been using this devkit for a few small projects and everything was going smoothly until I decided to run it on battery. In particular, the ESP32 devkit I'm ...
user avatar
  • 53
0 votes
1 answer
92 views

String to unsigned 16-bit integer

I'm currently working on a project with a 4DSystems Display. Im talking to the Display over SoftwareSerial with an ESP32. As soon as I want to use a Unicode character it requires me to convert my ...
user avatar
  • 1
1 vote
0 answers
106 views

ESP32 ADC <-> WIFI Issue

I'm Using ESP32 ADC1 (not ADC2 that conflicts with Wi-Fi functionality) to capture some analog data received @IO36 (an ADC1 port). As soon as I uncomment WiFi.mode(WIFI_AP_STA) line (even when WiFi....
user avatar
  • 135
1 vote
0 answers
66 views

Save data permanently on ESP32

I'm working on a stage (this is my first bigger Arduino project), and I want to create an initializer for it, and for this, I want to store some variables in the memory of ESP32 WROVER-B. For this, I ...
user avatar
1 vote
1 answer
39 views

Poor man's serial sniffer: reading Serial.print logs of an Arduino esp32 dev kit from another

(I use ESP32 dev kits with Arduino api.) My dev kit 1 is running my firmware; and I want to measure the current it draws, therefore I don't like to plug the USB in. As I need to read the logs from the ...
user avatar
0 votes
1 answer
41 views

sim800l ftp error after http request

I am using esp32 CAM by Arduino IDE and send an image file by ftp using SIM800l GSM/GPRS module to a server and every thing is ok . I can perform http request also and read some data from a website ...
user avatar
  • 21
2 votes
0 answers
29 views

How would I link inline debugger with esp32 on Mac?

I am trying to connect JTAG debugger to my esp32 according to the following steps https://www.instructables.com/How-to-Use-a-Debugger-on-an-ESP32/ but still I am facing issue in debugging. I am ...
user avatar
0 votes
1 answer
68 views

Is there accurate connection procedure for connection between an esp32 and ultrasonic sensor(HC-SR04)? [closed]

I am currently working on a project which integrates esp32 and HC-SR04 and send the data from HC-SR04 to my own domain. The connection diagram is this And the code which I use is this, const int ...
user avatar
1 vote
1 answer
27 views

Is possible to use heap_trace_init_standalone() on arduino framework with esp32?

I need to trace memory leak but I can't find a way. on IDF you can use heap_trace_init_standalone but there is not present on arduino framework.
user avatar
0 votes
1 answer
37 views

How to detect ESP32 vs ESP8266 automatically when uploading the application?

I have the same application for both ESP32 and ESP8266 (the same functionality). The person, who is not an IT expert is expected to launch the dedicated installer program to upload the (first/new) ...
user avatar
  • 137
2 votes
2 answers
105 views

How to install the application + its configuration to many devices of the same kind? (ESP32)

Being the newbie in the Arduino area... Having more devices, how can I upload some configuration parameters after the code was uploaded? Is it possible? Situation: I have the simple application for ...
user avatar
  • 137
-1 votes
1 answer
41 views

My ESP32 WROOM clone will not register touch sensor when using a 5v power bank with usb cable

I have a very simple touch sensor program that works fine and lights an led to show the sensor works; while hooked up to the computer via usb cable it works fine. When using a power bank with the ...
user avatar
-2 votes
1 answer
45 views

Using IN1/ IN2 pins for PWM instead of ENA in L298N

So basically i tried providing PWM directly to the IN1/IN2 Of L298n motor driver instead of using ENA pin i got more or less the same result Im using ESP32 with 30000Hz freq for my PWM My question is ...
user avatar
0 votes
1 answer
41 views

How do I instruct the L293D to operate a motor at full speed when using 3.3V GPIO pins?

If the L293D enable and input pins expect [up to] 5V inputs; what is the best way to deliver full power to the output pins when using an ESP32 or any other microcontroller which uses 3.3V GPIO pins? I'...
user avatar
2 votes
1 answer
125 views

failed log in attempts on softAP

I would like to setup an access point using the esp32 that logs any/failed access attempts i have looked through some source files, and came across esp_event.h, which seems to allow registering an ...
user avatar
2 votes
0 answers
167 views

ESP32-C3 SPI Class documentation/features?

ESP32-C3 has a nice feature called GPIO Matrix which allows to map most of it's peripherals to any GPIO pin. And it has feature called IO_MUX which allows direct & faster operations for some of ...
user avatar
  • 121
0 votes
1 answer
130 views

M5Stack - confused about I2C bus voltage

I've recently got one of these nice M5-Though devices (basically a water-proof M5-Core2). They have these 4-wire sockets to connect their sensors. The I2C socket has 4 pins for +5V, GND, SDA and SCL. ...
user avatar
  • 1,059
0 votes
0 answers
31 views

Why ESP32 CANbus (ESP32CAN) blocks writes when no consumer is on the line?

I wrote a software that sequentially writes multiple CANbus packets (my firmware runs on an ESP32-WROVER-based custom PCB). What I want to achieve, is to let a potential consumer eats the packets I ...
user avatar
1 vote
0 answers
38 views

Problem adding library in the Arduino IDE

Currently, I'm trying to build image processing on ESP32 using OpenCV GitHub - joachimBurket/esp32-opencv: Shrinked OpenCV for ESP32. Then I want to put this library into Arduino IDE. But, I'm having ...
user avatar
  • 11

1
2 3 4 5
14