Questions tagged [esp32]

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

The microcontroller uses one or two CPU cores and has a half megabyte big RAM size. The most commonly used embedded operating systems are Arduino and FreeRTOS.

It has a broad support of free development tools, particularly the GNU Toolchain.

It was put to the market by the Chinese company Espressif in 2016.

880 questions
6
votes
4 answers

Arduino ESP32 Import Error No module named serial

I googled and couldn't find a solution to my nice problem: I have Ubuntu and I want to program a ESP32 ............... I tried a lot of pip commands ... but it didnt work. You have any idea how to install the correct packages? Maybe you can tell me…
jento
  • 65
  • 1
  • 1
  • 2
3
votes
1 answer

Automate capturing photograph on ESP32-CAM

I want to capture photographs from the ESP32 camera, but not doing it manually. Specifically, when a signal is sent from a sensor, I want ESP32 to understand that, and start taking photographs automatically for some seconds. The main problem, is the…
LoukasPap
  • 131
  • 3
3
votes
1 answer

How to post image using Arduino HTTPClient

I am using arduino HTTPClient to do the post request in ESP32. Can anyone help me with the part where I will be able to post an image file along with some data. The below code works perfectly fine with only sending user_name and image_type- #include…
2
votes
0 answers

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 Bluetooth to tell my esp32 what wifi connection…
learningtech
  • 173
  • 6
2
votes
0 answers

Lilygo T-Wristband code not working (DRV2605 Motor version)

I am new to this and I have purchased the Lilygo T-Wristband to prototype a watch that will vibrate upon receiving a 1-bit bluetooth signal from an android app. The goal is to allow the user to set the intensity of vibration (hence i am using the…
gvk
  • 21
  • 1
2
votes
2 answers

Is there a schematic for the ESP32S Dev Kit C V4 NodeMCU WLAN Development Board?

Recently I bought a ESP32S Dev Kit C V4 NodeMCU WLAN Development Board. I got it from azdelivery.de in Germany. Now I am interested in the schematic for this board to learn more about it. Not Google, nor the support team at azdelivery.de could help…
Thomas68
  • 23
  • 6
2
votes
1 answer

Run esp32 without freeRTOS in order to execute something faster

I am currently running Arduino with this configuration (using atmega328p chip): Basically, my program wakes up every 2 seconds for 10ms each time. If during those 10ms it finds and event of interest it will perform some actions. Because it only…
Tono Nam
  • 938
  • 1
  • 9
  • 22
2
votes
1 answer

ESP32 send data while blinking LED

Can I program my ESP32 to send a string MQTT data while also blinking the InBuilt LED? If yes, then how to do so Thanks in advance
P_K
  • 57
  • 7
2
votes
0 answers

ESP32 - Social distance detector - code

I recently got an ESP32-CAM for a project of mine. I was planning to attach an ultrasonic sensor to it, and when the ESP32 CAM detects a face, it would send a signal to the ultrasonic sensor to start measuring, and then the LCD would display the…
Justin
  • 49
  • 1
2
votes
2 answers

How do i fix the "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header"

I have an AI Thinker ESP32-CAM and I've had issues uploading the CameraWebServer sketch, every time I hit upload it says "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header" and I've tried everything that I can…
Ethan Zylman
  • 21
  • 1
  • 2
2
votes
1 answer

Function pointer call results in InstrFetchProhibited (ESP32)

I have the following issue which I'm unable to resolve by myself. Perhaps one of you could point me to issues in my code which I don't see. There is a class called communicator which handles an MQTT connection. I use PubSubClient as a MQTT client.…
pixelgate
  • 41
  • 4
2
votes
0 answers

Is NVS storage reset during an OTA update? (ESP32)

I plan to save some settings in the NVS repository of my ESP32, which will also be implemented OTA update. The question arose, will the data in the NVS storage be reset when the OTA update is launched?
Delta
  • 263
  • 3
  • 11
1
vote
0 answers

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 that his reading is around 10 μs for the…
T R Y
  • 75
  • 10
1
vote
0 answers

`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 #include void http_page_flash(AsyncWebServerRequest* request) { if…
Gizmo
  • 111
  • 2
1
vote
1 answer

Pass typedef to a function

I'm working with a ESP32S3 that will manage 2 I2S ports, so for the cleanness of my code and also because i'll work multiple I2S installations - deinstallations, i want to move all the functions to and ".cpp .h" file. something like…
PeterBlack
  • 19
  • 2
1
2 3 4 5 6 7