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]

The tag has no usage guidance.

0
votes
1answer
18 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
24 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
18 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
33 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
30 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
21 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
22 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
30 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 ...
-1
votes
0answers
28 views

ESP32 and 2 WS2812 Displays

I have an ESP32 and two 16 x16 WS2812 displays. I have connected the data pin on PIN25 and PIN27 and GND is common for displays and Esp32. So everything should work. However I get noise in the form of ...
0
votes
0answers
50 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
55 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
1answer
46 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
24 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
52 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
101 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
54 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
50 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
25 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
21 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
42 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
119 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
33 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 ...
-1
votes
1answer
85 views

esp32 spi library, how read a mcp23s08 register

thanks for any help I need to read a gpio expander mcp23s08 set as 8 bits input. my code write correctly (I believe) the setup register using SPI library, with the enclosed example modified. But I do ...
0
votes
1answer
31 views

Unable to set LCD contrast using DAC pin on ESP32

I have followed the instructions at https://www.arduino.cc/en/Tutorial/HelloWorld and have my LCD displaying some text. I've also connected the LED back light (LCD pins 15&16). I wanted to ...
1
vote
0answers
79 views

HTTPS POST method fails in esp32

I was trying to connect with server but, I was unable to post the data. I have added the SSL key to connect with server that is happening but HTTPS POST is not. I tried the same method with http, I am ...
0
votes
3answers
46 views

Defining array in switch case

I’m completely new to arduino, so be polite. I’m trying to program my esp32 to drive neopixels as seven segment display. So I take a digit and pass it to switch case and in switch case I mention which ...
0
votes
2answers
251 views

Arduino Voice recognition

Is it possible to use only arduino to do voice recognition? or maybe with esp32 no internet. I found speech recognition chip but that's not what i want I got esp32 esp8266 and arduino board. I would ...
1
vote
0answers
110 views

LED strip with 12v power connected to ESP32

I'm looking at controlling a ws2811 strip and I have seen mention that you should share the same ground between the strip and the controller, which does make sense. I do not currently have a proper ...
0
votes
1answer
69 views

ESP32 stops looping after 2 loops

My code: https://pastebin.com/UmdK33U2 I made a menu so I can send commands. First I connect to the wifi and then I send the command to send a request. Then when it detects the key datos(); goes ...
0
votes
1answer
107 views

I2C_graphical_LCD_display, fatal error: avr/pgmspace.h: No such file or directory

I have a problem with an ESP32 devkit V1 card. I'm trying to connect a WG12864A Winstar mod graphics display via the I2C MCP23017 adapter (RobotDyn), using Nick Gammon's I2C_graphical_LCD_display.h ...
0
votes
2answers
32 views

Transient buttons control non-transient behaviour of LEDs

Imagine a system where you have two transient non-exclusive buttons and two LEDs. When you press button 1, the LED 1 is HIGH and LED 2 is LOW (and stays that way). When you press button 2, the LED ...
0
votes
1answer
50 views

The Capacitive Sensor library on a D1 Mini

I want to set up a hand-made capacitive sensor on a D1 Mini, as in this tutorial, so that I can get specific capacitive readings. But I couldn't get the CapacitiveSensor library to work with the D1 ...
0
votes
0answers
322 views

Send file post request from the ESP32

Is it impossible to send a file post request from the ESP32 using the SPIFFS file system? ESP32 freezes while sending. Code example: File file = SPIFFS.open("/Images/test.bmp", FILE_READ); String ...
0
votes
1answer
25 views

ESP32 not seen by a network analyzer application in server mode

I have used the scan wifi and blink examples provided by Espressif, they are both working on the ESP32 using arduino ide. However, I can not see my ESP( the SSID and signal strength) in the list of ...
1
vote
1answer
82 views

Using c_str() on String for IPAddress with NTPClient provides wrong values

Libraries NTPClient Board Olimex ESP32-POE board Behaviour I have written a code that connects the board to a local NTP Server (which is an embedded board). I tried assigning the IP Address of ...
0
votes
1answer
57 views

Stuck reading an XBM image from JSON (U8g2lib)

What I'm trying to achieve is very simple, I'm using ArduinoJson lib to load a JSON from SPIFFS and trying to inject the image values in an Array to feed the small Oled display of the ESP32: // This ...
0
votes
1answer
134 views

ESP32 reset loop when using wifi.h

I have a strange behavior, using ESP32 devkit v.1 boards. Everything works, I can upload blink sketch, serial works, led blinks. However, once I upload any sketch which is using the wifi.h (and ...
0
votes
1answer
227 views

Speed controller for Ceiling Fan 220V AC 100W

I would like to use ESP32 to speed control my AC ceiling fan which is 220V AC 100 W. Will the below AC dimmer work with ESP32 to speed control the ceiling fan which is 220V AC 100 W? If not, kindly ...
-1
votes
1answer
206 views

ESP32 Dimmable LED Panel with MOSFET [closed]

I want to use ESP32 to control and use a dimmer for 6 LED panels in my bedroom. The specification of each panel is mentioned in the diagram. Although in the diagram it shows ONLY 1 MOSFET and 1 LED ...
0
votes
1answer
65 views

Quaternion values from BNO055 not available

I am trying to obtain Quaternion values from a BNO055 connected to ESP32-PoE board by Olimex. Code #include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_BNO055.h> #...
1
vote
1answer
293 views

After restoring the BNO055 offsets to the sensor the calibration values are all 0

Board: ESP32 Script: restore_offsets.ino from Adafruit's BNO055 library The only difference is I am storing the information in ESP's NVS using the Preferences Library Code #include <Wire.h> #...
0
votes
1answer
79 views

BNO055 restore offsets sketch from Adafruit does not make sense

The restore_offsets sketch from Adafruit BNO055 In some way does not make sense. I am using an ESP32 and storing the offsets of BNO055 in its NVS (non-volatile storage). Steps I start calibrating ...
0
votes
1answer
146 views

Read Multiple Sensors Data from a text file located in SD Card in Arduino/ESP32

I am working on a small home project 'glucose meter' via non invasive techniques. I am using four sensors like RGB color sensor, two multi-wavelength photo diodes (A & B) and temperature sensor (K-...
1
vote
0answers
90 views

SerialBT.begin(“name”) now causes brownout in ESP32

I'm attempting to run the example sketch SerialToSerialBT.ino. It's a pretty commonly used sketch. I successfully loaded it on one of my ESP32 chips last week, and was able to use a tablet serial ...
1
vote
2answers
45 views

Two floating point values do not get added and printed on ESP-WROOM-32

I have a Olimex ESP32-PoE board which has a ESP-WROOM-32. I just found out a strange behaviour for printing floating point numbers on the board. Sketch void setup() { // put your setup code here,...
0
votes
1answer
357 views

Using AysncUDPMessage for ESP32 to send string data

I am in search for some examples as to how can one use the AsyncUDPMessage in an Application for sending out UDP packets to a host with specific IP address and Port number from an ESP-WROOM-32 (Olimex ...
0
votes
2answers
183 views

limit length of the generated timestamp from ESP32 with DS3231 to 13

I am using ESP-WROOM-32 (Olimex ESP32-PoE) with DS3231. I have used the a patch from PR on RTClib to avoid the rollover from the DS3231. Since the DS3231 RTC provides Unix Epoch Timestamps which ...
0
votes
1answer
45 views

Apply patch to library for custom changes in Arduino IDE

I wish to obtain unix epoch timestamps in millisecond precision. I am using an ESP32 along with DS3231 RTC breakout board from adafruit. Apparently the Repository is not maintained often but I see a ...
1
vote
1answer
127 views

Differing Serial Values Between Arduino Uno and TTGO ESP32 SX1276

I'm wanting to analogRead the value off a MQ-135 gas sensor. I have tired this with both an Arduino Uno and an TTGO ESP32 SX1276. When reading the value of the sensor off the Uno, I get values ...
0
votes
1answer
120 views

ESP32 - JPEGDecoder from SPIFFS

Hello i've try to decode JPG image from FS so, i create and upload spiffs image (using /data directory and Arduino Ide Plugin ) On every jpg i've same error: "pjpeg_decode_init() failed with status ...