Questions tagged [esp32]
A cheap and low-power microcontroller family using Tensilica Xtensa LX6 CPU cores with integrated WiFi and dual-mode bluetooth.
938 questions
8
votes
4
answers
22k
views
Using esp-wroom-32 without a development board
There are lots of examples on the internet on how to build Arduino from scratch such as IN THIS LINK. I will like to do the same but with the esp32.
I have this development board:
And I am able to ...
6
votes
4
answers
20k
views
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 ...
6
votes
1
answer
8k
views
Anyone have example code for ESP32 as media controller for Android/iPhone Media Apps
There's actually another post with this very same topic but no answers on that post. Back in January of 2020, the last commenter said he had sample code and then he went dark without posting the ...
5
votes
3
answers
1k
views
74HC595 chip with 7 segment display constantly displays either all 1's or all 0's
I made a simple circuit with an Arduino Nano ESP32, where I have connected a 74HC595 8-bit shift register chip, as well as a 7 segment display with a 100 ohm resistor on common (cathode) to show the ...
5
votes
4
answers
19k
views
Convert String to IPAddress
How can i convert a String to IPAddress on arduino / esp ?
etc. "192.168.1.2" -> IPAddress(192, 168, 1, 2)
Tried this
void setup() {
Serial.begin(115200);
IPAddress apip;
const char *...
5
votes
1
answer
2k
views
ESP32 how to preserve RTC time during brownout
I want to use the ESP32 built-in RTC clock.
In my situation, my ESP32 will not have access to an NTP server
I do not want to use external RTC modules
ESP32 provides a pin VDD_RTC will powers the RTC ...
5
votes
1
answer
1k
views
ESP32 SocketIO Client is not connecting to Flask-SocketIO Server
I'm trying to connect a ESP32 client using SocketIO with a Flask-SocketIO server and it's not getting connected.
The server uses SSL. The local server address is https://192.168.1.137:3000.Is the ...
4
votes
1
answer
9k
views
Analog read not working while using WiFi
I have an ESP32, the current program running on it uses WiFi but, if I use WiFi and Analog read at the same time, Analog read does not work.
Why does this happen and what's the way around it?
Hardware ...
4
votes
1
answer
21k
views
How do you convert a formatted print statement into a string variable?
I'm using the following routine to print the current time on the com port. I would like to capture this as a string so I can display it using ePaper.
void printLocalTime()
{
time_t ...
4
votes
1
answer
5k
views
ESP32 can not deep sleep longer than 35 minutes
I'm trying to get my Lilygo T5 4.7" epaper to deep sleep for 12 hours.
But I only seem to be able to get about half an hour (2100s) of deepsleep on it.
If I set the timer for longer, it just ...
4
votes
2
answers
8k
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:
/**
* ...
4
votes
2
answers
1k
views
Random access to SD card using SD.h or another library (ESP32)
I'm trying to use a SD card with my ESP32 in order to save some variables in a txt file. Each variable uses 1 byte, so they can be represented by an 8 bit extended ASCII character.
The issue is it ...
4
votes
1
answer
15k
views
ESP32S v1.1 NodeMcu vs ESP32 DevKitV1
I have two different ESP32 development boards labelled "ESP32S v1.1 NODEMCU" (A) and "ESP32 DEVKITV1" (B). From what I can tell they have the same major components, but their pins ...
4
votes
0
answers
9k
views
How do I interpret the esp8266 "boot mode" message?
Everytime the chips resets, we get the reason and the next boot mode.
ets Jan 8 2013,rst cause:XXX, boot mode:(YYY,ZZZ)
For XXX we can check the meaning here.
For YYY and ZZZ I am not sure but I ...
3
votes
2
answers
3k
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);
}
...
3
votes
3
answers
7k
views
ESP32 Pins won't fit in solderless breadboard
I bought an Adafrut Huzzah32 ESP32 for an IoT project. When the ESP32 arrived, I attempted to fit it into my existing breadboard, but I immediately noticed that no matter how hard I pushed, the pins ...
3
votes
1
answer
39k
views
Drivers for CH9102X serial port chip
Some ESP-family cheap boards manufacturers had recently moved to CH9102X serial port chip (from CP2102), and it seems the drivers for CH9102X are hard to find.
Where can I download them?
3
votes
5
answers
9k
views
Why doesn't OTA work with the Ai-Thinker ESP32-CAM board?
I have working code on an Ai-Thinker ESP32-CAM board, programming over serial.
I would like to reprogram using OTA, but adding in the functionality from the BasicOTA sketch (which I have done on ...
3
votes
1
answer
8k
views
ESP32 AP Automatic Web Page
I've often encountered WiFi networks that require you to sign in through a web page that automatically opens after connecting to the access point, such as hotels. I'd like to implement something ...
3
votes
1
answer
4k
views
What is the tool to send file to SPIFSS on ESP8266/32?
Is there good tools (IDE, CLI or IDE addon) to send file via USB port to SPIFSS internal espressif ESP hardware SoC ?
3
votes
1
answer
5k
views
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 ...
3
votes
2
answers
579
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 ...
3
votes
1
answer
279
views
How do I set the DHCP pool for an ESP-WIFI-MESH? [closed]
I'm building a mesh with ESP32 dev kits (ESP32-DevKitC V4) using the ESP-IDF VS Code extension and the ip_internal_network example project. The code for the example, common project components, and the ...
3
votes
1
answer
18k
views
A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x13)! The chip needs to be in download mode. [upload] Error 2
I have seen so many people complain about this same error and they were given a multitude of answers to help with this error, but nothing so far has worked for me.
Everything was working fine until I ...
3
votes
1
answer
1k
views
ESP send string to Arduino
I'm trying to send a string from an ESP32 to an Arduino. I'm using a level shifter, where the Uno is now the Mega (since I couldn't get the Uno to work).
RX0 is now RX1, connected to UART2 of ESP32.
/...