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.

764 questions
8
votes
2 answers

How to choose alternate I2C pins on ESP32?

I'm a begginer with Arduino and this may be a basic question but I'm facing an issue. I'm using a HTU21D sensor with an ESP32. This sensor use I2C communication. Inside the Arduino library, there is this function to start to collect data: //Start…
Gazouu
  • 263
  • 2
  • 4
  • 10
6
votes
2 answers

No programmers available for this board - Programming ESP32 Cam with Ardunio IDE

This is my first time working with ESP32 Cam boards. I have followed the instructions as given in this site https://technoreview85.com/how-to-program-esp-32-cam-using-arduino-uno-board/ However my IDE doesn't display any programmers for this…
AfiJaabb
  • 209
  • 1
  • 3
  • 6
6
votes
3 answers

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 program it with the Arduino framework/IDE thanks to…
Tono Nam
  • 938
  • 7
  • 19
6
votes
1 answer

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 actually code. The thread is here: Want to create…
anewsome
  • 141
  • 1
  • 4
5
votes
1 answer

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 domain exclusively My problem would be solved if I…
mquevedob
  • 51
  • 2
5
votes
2 answers

ESP32 open "captive portal" on connected

I am using the default example SimpleWiFiServer that comes as an example from the ESP32: #include #include #include #define LED_BUILTIN 2 // Set the GPIO pin where you connected your test LED or comment this…
Tono Nam
  • 938
  • 7
  • 19
4
votes
1 answer

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 seems that the SD.h library has only 3 open modes…
AlexSp3
  • 203
  • 1
  • 6
4
votes
2 answers

Code for ESP32 without Development Board

I'm very new to microcontrollers. I'd like to start developing for the esp32, as it has integrated wifi & bluetooth for quite cheap. This being said, i don't have a board yet. Is there a way i can emulate an esp32 board, so i can start programming…
user76979
  • 41
  • 1
4
votes
4 answers

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 *apipch; apipch =…
strange_esp
  • 49
  • 1
  • 1
  • 3
4
votes
0 answers

ESP32 IR remote

my board is a firebeetle esp32 that I am using as an IR remote. After using the Ken Shirrif IRremote library for about 6 months successfully, then the time came to change a few things on the web front end. This has been a disaster. I tried to…
user53695
4
votes
1 answer

ESP32 AP max connections: 4 or 10?

I am using the SoftAP feature of the ESP to create a central node, and connecting five or six clients in the final application. However, I don't know if i can connect that many clients. One of the core files on GitHub, esp_wifi_types.h shows two…
CharlieHanson
  • 1,400
  • 1
  • 9
  • 25
4
votes
2 answers

Is there alternative to arduino IDE program ESP8266 and ESP32 with arduino toolchain?

I use ESP8266 and ESP32 with arduino toolchain rather than pure arduino hardware. Arduino IDE is standard and proven but what are the other IDE and advantage/disadvantage ?
E.Racineux
  • 97
  • 1
  • 2
  • 11
3
votes
1 answer

Arduino IDE for ESP32: Compilation Error: Exist status 255

Problem: I have a ESP32 and I've been trying to flash it with the Arduino IDE, however it's been giving me Python error messages :/ when I'm trying C/C++ code to flash the Arduino. Question: How can I setup the board below so I can flashi it with…
3kstc
  • 207
  • 2
  • 11
3
votes
1 answer

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 reboots right away. #include #include…
Engberg
  • 33
  • 3
3
votes
1 answer

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: /** * As simple as it gets, right? Setup the Serial,…
Spina
  • 129
  • 3
1
2 3
50 51