Questions tagged [arduino-esp32]

491 questions
2
votes
1 answer

ESP32 stops responding after a week

I'm using a ESP32 (NodeMCU-ESP32 ESP32 DEVKITV1) to track the value of a temperature sensor. Everything seems to be working fine initially, I can access the webpage (WebServer.h) via the IP address and or via the mDNS (ESPmDNS.h) hostname. However,…
David
  • 1,688
  • 1
  • 11
  • 21
2
votes
0 answers

NodeMCU ESP32 returning [E][WiFiGeneric.cpp:1230] hostByName(): DNS Failed for example.com

I am trying to make an HTTP request over WiFi from an ESP32, but upon connecting to the host, this error is displayed in serial console [ 21036][E][WiFiGeneric.cpp:1230] hostByName(): DNS Failed for httpbin.org The code is as follows (PlatformIO…
Nebula
  • 91
  • 2
  • 3
2
votes
1 answer

SIM800c - Disable "OVER-VOLTAGE WARNNING" unsolicited messages

How to disable "OVER-VOLTAGE WARNNING" URC on sim800c? Im using SIM800C with esp32, is there any at commands to disable these warnings?
2
votes
0 answers

ESP32 device not discovered in phone Bluetooth

I am testing an ESP32 application by provisioning the WiFi credentials over BLE uaing a number of phones and found that in many of them, the ESP32 does not show up in the phone's bluetooth at all. It has worked on these phones: Samsung S9, Samsung…
monkey
  • 1,213
  • 2
  • 13
  • 35
2
votes
2 answers

C++ int undefined behaviour when stored as RTC_NOINIT_ATTR (ESP32)

I'm programming an ESP32 using VSCode. I have the following simple script: #include RTC_DATA_ATTR int counter1 = 0; RTC_NOINIT_ATTR int counter2 = 0; void setup() { Serial.begin(115200); Serial.printf("RTC programme running, counter1 =…
R Spandit
  • 31
  • 2
2
votes
2 answers

BLE Arduino ESP32 - which library should I use?

I'm starting a project : read an ADC value on ESP32 (peripheral) and send it over BLE to android (central). I'm a bit confused looking for proper libraries . I found at least 3 solutions/libraries @1: #include @2:…
Adam M.
  • 21
  • 1
  • 3
2
votes
1 answer

access uino variable when union name is not defined

I am working with esp32 and trying to use the i2c library. There is a config struct. typedef struct{ i2c_mode_t mode; /*!< I2C mode */ int sda_io_num; /*!< GPIO number for I2C sda signal */ int scl_io_num; /*!< GPIO number for I2C scl…
kyrpav
  • 756
  • 1
  • 13
  • 43
2
votes
1 answer

Getting [e][wifigeneric.cpp:739] hostbyname(): dns failed when performing POST request

I am getting started with electronics and microcontrollers programming. I have made a simple circuit where I use DHT22 sensor to measure temperature and humidity. I have also made my own API in Node and Express (MongoDB as a database). It is very…
Informatyk
  • 57
  • 1
  • 7
2
votes
1 answer

How to post multipart/form-data (file and text) from ESP32 to a server?

I am trying to post an audio file and a text to a server from ESP32. I can easily do that kind of post request using Postman. Post request using Postman I am trying to do the same thing using ESP32. I want to upload an audio file from the SD card…
2
votes
1 answer

ESP-IDF deep_sleep and FreeRTOS tasks

I work on project where I use FreeRTOS tasks and I would like to go into deep_sleep. Is there anything that I should do before going into the deep_sleep ? Or after wake up, RTOS scheduler works as nothing happen ?
R0b1S
  • 23
  • 3
2
votes
2 answers

ESP32 launch bootloader

I have an ESP32 board with GPIO0 connected to ground through a switch. The idea is that if I press the button and issue an ESP.restart() the board would get into flash mode. Instead, ESP.restart() just restarts the app, ignoring GPIO0 state. Is it…
Paperino
  • 935
  • 7
  • 14
2
votes
1 answer

If statements not working as expected on ESP32

I am having a bit of puzzling situation here with my experiment. I am simply measuring the soil moisture using a capacitive sensor and reading via analog pin of nodemcu. Afterwards, I am categorizing soil condition as wet, mid-level or dry. I want…
blackbug
  • 1,098
  • 3
  • 13
  • 40
1
vote
0 answers

Limit of EthernetClient connections on ESP32

I'm working on a project on which I need to have multiple EthernetClient connections to different servers. All of these connections must be kept alive simultaneously and by this I mean I cannot stop or close one of these clients before starting the…
Mazaetos
  • 37
  • 7
1
vote
1 answer

Bluetooth Extended Dynamic Advertisements

I'm using an ESP32 C3 soc to send out Bluetooth Extended Advertisements. Most of the sample code that I've found illustrates sending out one to many static messages. I have a need to send out an message that is dynamic in nature which is posing a…
1
vote
1 answer

Issues combining SIM7600 and OV2640 camera on ESP32 dev board

I'm working on a project involving an ESP32 dev board with OV2640 connected to it over a custom designed PCB. A SIM7600 module is used to send the pictures over 4G to an external server. The camera works perfectly fine when sending the pictures over…
Lennard
  • 13
  • 2
1
2
3
32 33