Questions tagged [esp32]

For issues relating to the ESP 32 Wi-Fi and Bluetooth combo chip of Espressif.

The ESP32 is a 2.4 GHz Wi-Fi and Bluetooth combo chip from Espressif and the successor to the . It is designed for mobile, wearable electronics, and Internet-of-Things (IoT) applications.

Resources:

The CPU itself is based on the Xtensa ISA. Use for questions about Xtensa assembly language, ISA, and gcc options. But not for problems compiling / linking with the ESP32 SDK; that's specific to the vendor-supplied SDK not really the ISA.

2859 questions
7
votes
4 answers

"flutter (os error: no address associated with hostname, errno = 7)" only for android

I created a DNS server in esp32 wifi module (arduino framework) to communicate with flutter app. It working correctly in dart and flutter ios app but its not working with flutter andoid app. I am getting the following error in flutter android…
Yatheesha S
  • 71
  • 1
  • 1
  • 4
7
votes
1 answer

acquire a semaphore for the esp32 antenna (bluetooth/wifi dualmode)

I am trying to build a esp32 application, where I have bluetooth and wifi enabled at the same time. Bluetooth is used with the a2dp profile, where the esp is a sink. After receiving the data, it should be published over a UDP socket as a broadcast…
Dimfred
  • 182
  • 2
  • 16
7
votes
4 answers

ESP32 direct port manipulation

Dear StackOverflowers, I am trying to use HX8357D 3.5" TFT from Adafruit (link) with an esp32. The TFT driver has two interfaces: SPI and 8-bit parallel. The provided library from Adafruit (link) only supports SPI on the esp32. I need to have higher…
Daan van Driel
  • 165
  • 1
  • 2
  • 9
7
votes
5 answers

How to disable 'interrupt watchdog' in ESP32 OR increase ISR time limit?

I am using ESP32 DEVKIT link and Adafruit VS1053 Codec + MicroSD Breakout - MP3/WAV/MIDI/OGG Play + Record - v4 link to record and then play the sound. I am using Arduino IDE for coding. I am facing an issue right now that the module uses hardware…
user263210
  • 417
  • 1
  • 5
  • 16
7
votes
2 answers

Is ESP32 (including SDK) stable for making commercial products?

I'm studying ESP32 for a wifi project, although there are alternatives like CC3200 (TI), because of its price. But I suspect the reliability of ESP32's hardware or SDK. I found some bugs while developing simple projects. I reported these to ESP but,…
JoonDong
  • 109
  • 1
  • 8
6
votes
2 answers

ESP32 Core 1 panic'ed (Interrupt wdt timeout on CPU1)

I am using Arduino IDE with ESP32. Hardware is simple: ESP32 dev board + led and reed switch. I want to detect reed switch inputs (1Hz to 40Hz frequency) and blink a LED for now. Code is simple: const int button = 27; const int led = 25; unsigned…
Joe
  • 185
  • 1
  • 2
  • 11
6
votes
1 answer

Implementing Wi-Fi Direct for ESP32

First, I'm referring to the Wi-Fi P2P standard as described here, and specified here. I'm not referring to the method of creating an AP and station pair. Second, if an implementation of Wi-Fi Direct for the ESP32 already exists, please share. I've…
Ababwa
  • 131
  • 1
  • 8
6
votes
1 answer

getting OSError -202 where running urequests.get from micropy

hi im having error with this code but it runs in python shell could any body help me from machine import Pin import time import network import urequests p0 = Pin(0,Pin.OUT) wlan = network.WLAN(network.STA_IF) wlan.active(True) wlan.connect('ssid',…
Sam
  • 65
  • 1
  • 5
6
votes
1 answer

Stream esp-32 camera to RTMP server like YouTube

I am doing research for a project in which I need to play with camera streams. After multiple hit and trails and googling I am not getting even close to the solution for streaming ESP-32 Camera stream to my own RMTP server directly. Already tried…
Ishaan Puniani
  • 646
  • 2
  • 10
  • 23
6
votes
3 answers

How do I convert battery voltage into battery percentage on a 4.15V Li-Ion Battery in an Arduino IDE? (I am making some kind of LED Battery Indicator)

I know that battery discharge on a 4.15V Li-Ion is not linear, so I would like to have some equation that I can apply in my code to show the correct battery percentage. I can't find any good resources on doing this in an Arduino IDE. (Help with…
coyodha
  • 135
  • 1
  • 2
  • 10
6
votes
1 answer

ESP32/ESP8266 connect to localhost server using WiFi

I have made a simple Node.js local server to receive POST requests from ESP32 and put it in a database. The server is working fine as I tested it using postman. The server is listening to port 127.0.0.1:3000. My problem is that client.connect(host,…
Natalie
  • 123
  • 1
  • 2
  • 9
5
votes
1 answer

ESP32 BLE advertising stopped once the device is connected:

I am working on the ESP32 BLE. I am using Arduino IDE for my programming. In my project I want to use BLE in continuous advertising mode. But actually what it happen means, the BLE advertise is stopped once the device is connected to BLE app for one…
5
votes
1 answer

in ESP32 / ESP-IDF - when to use EEPROM vs NVS vs SPIFFS?

I'm fairly new to doing production work on ESP32 microcontrollers, and I'm wanting a little context and nuance from people who've been around the block a few times. So this question is a bit more on that kind of thing rather than a "how do I code X"…
chrispitzer
  • 991
  • 1
  • 8
  • 26
5
votes
0 answers

ESP32 acting as BLE server, cannot pair cyclocomputer

I'm trying to create a cycling power service on the ESP32 using PlatformIO and the NimBLE-Arduino library. Connecting, bonding, subscribing to the notifications and receiving the power data all work when the client is the nRF Connect Android app,…
5
votes
1 answer

ESP32 - MQTT to AWS IoT using MicroPython

I have registered my ESP32 as a thing on AWS IoT and downloaded its respective certificate and public & private keys. Also verified that those connect properly via the following command in my terminal: openssl s_client -connect…
zegulas
  • 417
  • 2
  • 6
  • 18