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.

935 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
  • 273
  • 2
  • 4
  • 10
7
votes
4 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
  • 966
  • 1
  • 10
  • 22
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
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
  • 219
  • 1
  • 3
  • 8
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
6
votes
1 answer

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
5
votes
1 answer

MQTT connection fails when using String objects

On my ESP32 I am trying to connect to my HomeAssistant server using ArduinoHA library. I can easily connect when hard-coding the credentials: mqtt.begin("server", "username", "password"); But I recently tried to move the credentials to a config file…
SagiZiv
  • 201
  • 1
  • 8
5
votes
3 answers

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 shift register's state. Expected Behavior Seven…
Niko
  • 93
  • 8
5
votes
0 answers

Internet in ESP32 is not working with IPv6

I am using ESP-WROOM-32D in STA mode with Arduino IDE(2.0.5) ESP32 board(2.0.9). I am trying to do http post request with ESP32. Router that provides internet supports only IPv6. Here I am getting http code -1. I have tried different network with…
dharmikP
  • 159
  • 2
5
votes
1 answer

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 https causing issue here? The following is the output…
Shyam3089
  • 165
  • 4
5
votes
0 answers

How to set ESP32 RTC clock source

According to the manufacturer's link below, the default RTC timekeeping in the ESP32 is supposedly based on Internal 150 kHz RC oscillator. Apparently, there is another option called Internal 8.5 MHz oscillator, divided by 256 (~33 kHz) that has…
Randy
  • 407
  • 3
  • 13
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
  • 3
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
  • 966
  • 1
  • 10
  • 22
5
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
  • 59
  • 1
  • 1
  • 3
4
votes
2 answers

How to change partition scheme with arduino-cli?

I'm using arduino-cli to program an ESP32-S2. If I compile my sketch using the default partition scheme > arduino-cli compile -b esp32:esp32:esp32s2 sketch a lot of space is allocated for SPIFFS and OTA, which I don't use. Sketch uses 646558 bytes…
larsb
  • 95
  • 4
1
2 3
62 63