Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [esp32]

A cheap and low-power microcontroller family using Xtensa CPU cores.

-1
votes
0answers
21 views

Which core controls the wifi connection (ESP32)?

I have ESP32-DevKit board. Which core control the wifi connection? I create a sketch with a flashing LED and connect to the Wifi network. When I turned off the Wi-Fi router, I noticed a failure in the ...
0
votes
1answer
14 views

ESP32 bluetooth discovery parse names

I'm running a sample code from ESP32 examples and I'm scanning available BLE devices. I can see device MAC address etc. But for few devices I can't see their names.I am using ESP-WROOM-32 with ...
1
vote
1answer
18 views

WiFi Connection With a Enterprise WLAN

I have an ESP32 and want to connect it to the WLAN at my office. Based on my current knowledge of the Arduino, we use the WiFiClass to connect to a WLAN and then use a WiFiClient to use the WiFi for ...
1
vote
0answers
35 views

Reducing json upload time

I'm using an ESP32 WROOM board to capture some data in the field and send it over using arduino json. However, the complete process of sending and receiving confirmation takes up around 12 seconds and ...
0
votes
1answer
26 views

A few questions on the first steps with an ESP32/ESP8266 NodeMCU

I would like to know what are the first steps, as a good practice, when receiving a new ESP based NodeMCU. For example: Checking if everything works fine After you connect to the relevant COM port, ...
1
vote
1answer
22 views

Reading text line by line from SD

Why does the following code return this error? How can I make this work? Error: exit status 1 invalid conversion from 'const char*' to 'char' [-fpermissive] #include "FS.h" #include "SD.h" #...
0
votes
0answers
18 views

Why is the output of my SSD1306 messed up? [closed]

I have followed this guide on hooking up an SSD1306 to an ESP32, but the output does not look right: I got similar results when trying to hook this display up to my Arduino UNO and my Raspberry Pi 3. ...
0
votes
1answer
30 views

Run function when triggered

I'm trying to create a motion/fall sensing device. I have a sensor that continuously checks if motion and fall is detected in void loop(). If both motion and fall are detected, then I'd like to send ...
0
votes
0answers
8 views

Use uNavAHRS library get nan error

I tried using AHRS library call uNavAHRS, and have been test example sketch from github, and change little code like below: https://github.com/bolderflight/uNavAHRS/blob/master/examples/uNavAHRS-...
0
votes
1answer
29 views

String does not name a type

I'm using Arduino IDE for ESP32 WROOM board. I am testing the OTA feature with the ESP32httpUpdate library. I am using the example sketch of the library with the name httpUpdate.ino However, as soon ...
1
vote
1answer
18 views

Adafruit esp32 Feather Failing to compile

So yesterday, I was able to upload/compile given example code to the Esp32 Huzzah board. Today I couldn't even compile. Even carefully using the tutorial adafruit provides. I was getting errors as ...
0
votes
0answers
28 views

Arduino Uno & ESP32 communication using RS485

I am trying to establish a communication between Arduino Uno ( Master) and ESP32 (Slave) using RS485 protocol (using MAX485 module). I have successfully done this between two Arduino Unos. ...
1
vote
0answers
50 views

Arduino HTTP post image to external server

I'm trying to send an image from SPIFFS to my external server. When pictures are taken, they are saved into "/pics/" directory within SPIFFS. Ultimately, I'd like to post all the images saved onto "/...
0
votes
0answers
35 views

Clock cycle count count for the same command is not equal in ESP32

I am using ESP32 Pico Kit with Arduino Ide. I want to measure operation cycle for a few commands. The code is so simple as below: void setup() { Serial.begin(9600); } void loop() { unsigned ...
0
votes
0answers
55 views

Esp32 sending a wav file to API via POST

I'm trying to send a .wav file to an API with an ESP32 using a HTTP Post request with a multipart/Form-data content type. I can already send the API Key as it is a plain key and get a return from the ...
0
votes
0answers
24 views

UUID for ESP32's BluetoothSerial

I have a program that interfaces with my ESP32 Thing via BluetoothSerial. It needs the address and a UUID to connect. (I was previously using a different chip without onboard Bluetooth, so I was ...
0
votes
2answers
50 views

Reading inside critical sections from ISR

Is it necessary to protect reads of volatile variables in critical sections when using interrupts? Or are critical sections only required when concurrently writing variables? Here is an example of a ...
0
votes
0answers
59 views

Set local stratum 0 NTP server without internet

Currently, I'm doing a running track timing gate project to measure an accurate acceleration (a runner for example). The idea is when the runner triggers the first gate (start gate), the system will ...
1
vote
0answers
43 views

WindowsError(31, 'A device attached to the system is not functioning.') in arduino

Having board esp32 devkit v1, to get started with arduino ide (installed recommended boards for esp32) I marked board asDOIT ESP32 DEVKIT V1 (as no other options as like ESP32 DEVKIT V1 ) so upload ...
0
votes
0answers
29 views

bh1750 lightsesor won't work

ok, im having problems with my bh1750, here is all info i got: board: esp32s nodeMCU v. 1.1 Pins: Wiring: (the 2 reds go to pin 21 and 22) code: #include <BH1750.h> #include <Wire.h> ...
0
votes
2answers
51 views

WifiClient and aREST on esp32 - loop until new instructions recieved?

I've created a simple sketch for an esp32 that hosts a REST API that can be accessed via HTTP. Based on the instructions received from the client, the esp32 controls some neopixels with some various ...
0
votes
1answer
58 views

Can a Lithium Polymer battery charging circuit on Arduino boards also charge Lithium Lion batteries? [closed]

I have a project that the form factor of 18650 batteries works well for. The board I'm using is a esp32 based board with built in battery charging: https://www.amazon.com/gp/product/B072HBW53G/ref=...
0
votes
1answer
32 views

WiFi connection times out if credentials retrieved via serial terminal

I've implemented a small WiFi connection procedure into my ESP32 project. The available networks get printed with index, then I'm entering the index and retrieve the network name from it. The password ...
0
votes
0answers
50 views

Adafruit Feather ESP32 - GPIO power drain during deep sleep

I have an Adafruit Feather ESP32 whose GPIOs I use to control an external device. I don't want the device to drain the power of the ESP32 sometimes, so I set the GPIOs to INPUT. When I go into deep ...
0
votes
0answers
40 views

Is NVS storage reset during an OTA update? (ESP32)

I plan to save some settings in the NVS repository of my ESP32, which will also be implemented OTA update. The question arose, will the data in the NVS storage be reset when the OTA update is ...
0
votes
1answer
53 views

NodeMCU ESP32s can't get Vin to work?

Trying to power the board with a 9V battery through VIN. As the documentation says, it can take input voltage of 6-12 Volts, but when I connect the 9V battery, all it does is power the board on and ...
0
votes
0answers
16 views

Get restart method from ESP32

I would like to know if there's any method to get how the ESP32 was restarted (by software, restart button, plugged on...). When it's restarted I can see in the Serial port message like rst:0xc (...
0
votes
2answers
87 views

Can't flash ESP 32 Wroom

I have a new ESP32 Wroom attached to my USB and it shows up in the settings on my mac: I do have another ESP thing from sparkfun which I can access via /dev/cu.usbserial-DN02N1D8. This device I can ...
0
votes
0answers
27 views

Wire doesn't work between Uno & ESP32S & ESP8266

I think i've reached my limit. I can't get Wire to work between an Uno or ESP8266 or ESP32S. On the Uno I had them connected like SDA via Uno SDA -> ESP32 GPIO21 SCL via Uno SCL -> ESP32 GPIO22. I ...
0
votes
1answer
86 views

Arduino IDE + ESP32 Webserver - how to redirect to root after click on button

I'm trying to use ESP32 + Arduino IDE to control a relay. I've started by using the library and the code below. The problem I'm having: after clicking on the button and activating the pin, if the ...
1
vote
0answers
106 views

Reading data from SPI on ESP32-WROOM-32

I'm newbie with Arduino and need to do a short task: read data from SPI (sent by another microcontroller) and send to WiFi (by ESP32-WROOM-32). I can't understand how to initialize and read data from ...
0
votes
0answers
22 views

Making a voltmeter for PV system over 60 VDC

I'm trying to make a voltmeter for my PV system that can range from 24 VC to 120 VDC. I'm aware of the fact that we have Arduino modules available that can work for 25 VDC system. However in my case ...
0
votes
0answers
90 views

WaveShare EPaper Display and Adafruit HUZZAH32 ESP32 Feather Board

I'm trying to understand how I could use WaveShare EPaper Display with Adafruit HUZZAH32 ESP32 Feather Board. With these connections SDI/SCK -> MOSI SCK/SCLK -> SCK CS -> 15 DC -> 33 RST/...
0
votes
1answer
49 views

Same output on displays with different I2C-addresses (AdaFruit library, ESP32)

I've got two displays hooked up to a ESP32 via I2C and I'm using the AdaFruit library. All handling display output is packed in a own library. As I was testing I only had one display set up and ...
0
votes
0answers
26 views

Prints to the serial monitor are being overwritten

Using esp32, Arduino IDE 1.8.9 on OSX. My code is interspersed with Serial.println() writes to the serial monitor of various status messages. As far as I can tell, if a println is not fully written ...
0
votes
1answer
31 views

Adding esp32_komoot_ble library to Arduino IDE

I am an absolute beginner with Arduino IDE and I want to build an interesting device I stumbled upon on github https://github.com/jstiefel/esp32_komoot_ble Problem is I really can not add it to ...
1
vote
0answers
53 views

Passing non-static member function using bind

I'm using the GxEPD2 library to communicate with an E-Paper display. I now wanted to use the drawPaged method of this library with an object display. I also have written my own class from which I ...
0
votes
0answers
135 views

ESP32 dev board unable to connect to home WiFi

I just acquired an Arduino style ESP32 dev board, and have been trying it out. Everything hardware wise appears to work fine, however, upon trying the "HelloServer" example, the board appears to just ...
0
votes
0answers
82 views

ESP32 MP3Decoding with VS1053/1003 not working

I want to build an webradio with my ESP32 and want to decode the mp3Stream with the Vs1053/1003. I´ve tried many libraries, but none of them worked, so I tried to understand the datasheet and I´ve ...
0
votes
2answers
70 views

How to write http response from HttpClient to Serial monitor with a ESP32 (Wemos Lolin32)?

With my ESP32 Board, Wemos Lolin32, I would like to make a http GET request to "http://www.arduino.cc/asciilogo.txt", read the text file and print the text file to the serial monitor. The question ...
0
votes
0answers
73 views

ESP32 changing PWM duty in ISR

I'm implementing code for a multiplexed 7-segment display (4 letters), e.g. it has two common cathodes and each pin corresponds to two segments depending on which cathode is grounded. I have written ...
0
votes
0answers
54 views

How to remove or only show part of the data received?

I'm using the ble_client.ino example and I can't figure out how to only show some of the notifyCallback data. I'm getting three different types of data from one service UUID. static void ...
1
vote
1answer
392 views

How to convert jpeg byte stream into jpeg image and display on 1.8 inch TFT display

I have an ESP32 having a cam and it is transmitting compressed JPEG stream. TTGO T-Journal ESP32 Camera Development Board OV2640 SMA WiFi 3dbi Antenna 0.91 OLED Camera Board I have an ESP32 ...
0
votes
0answers
122 views

Extracting SPIFFS functionality to library on Arduino/ESP32 using PlatformIO

I am trying to make the C/C++ code I am writing a bit more modular (hopefully eventually unit testing it), but I am not familiar with C/C++ so after the refactoring the code does not compile any more. ...
0
votes
2answers
90 views

Connecting TFT Display MI0283QT-9A to ESP32

I have purchased a MI0283QT-9A TFT display (https://download.mikroe.com/documents/add-on-boards/other/display/tft-proto/tft-proto-manual-v200.pdf) which is driven by the ILI9341 display controller. I'...
0
votes
0answers
37 views

How can I fix a “MbedTLS error -17040” issue with my arduino code on ESP-32?

Despite several days of searching, I can't find any resources to check the MbedTLS error code "-17040". All of the error codes descriptions available are referencing only hex format errors (which the ...
0
votes
0answers
56 views

Parsing multiple jsonObjects with Arduinojson and return a list of values

I am building a table tennis score board which parses json objects with ID and names of players to let the players pick their name inside a menu and later on submit the scores to my server. But I am ...
0
votes
2answers
60 views

ESP8266 Switching firmware on the fly

Can you help me out to understand if this is possible with ESP8266 / 32 ? I have a main binary that i upload to the chip, let's call it A - that's done from arduino. A starts to work, but ...
0
votes
0answers
222 views

Configuring I2S with ESP32 and WM8978

I'm trying to get I2S audio working with an ESP32 and WM8978 codec, using the TTGO TAudio dev board. Currently, I'm trying to implement the I2S example code provided by Espressif (link below) using ...
0
votes
0answers
36 views

Installing ESP 32 in Arduino IDE

What to do if in Arduino IDE boards manager, installation is stuck at "Downloading tools (3/3). Downloaded 38,190kb of 125,719kb." when installing ESP32 on Arduino IDE? I have not connected the ESP32 ...