Stack Exchange Network

Stack Exchange network consists of 174 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
3answers
29 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 ...
-1
votes
1answer
22 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
36 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
19 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
23 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
0answers
43 views

Post to request using ESP32

I am using the ESP 32 to send parameters VIA POST to website, I am using this code: timeA=millis(); USE_SERIAL.println(timeA - timeB); strTotURL=strBaseUrl+strPage; strTotURL.replace(" ", ""); //...
0
votes
2answers
28 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
16 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
22 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
0answers
18 views

ESP32 external pin wakeup with internal pullup resistor

I am very new to working with Arduino and any kind of circuits. I am trying to set up an ESP32 board to wake up with an external trigger by using the command esp_sleep_enable_ext0_wakeup void setup()...
0
votes
1answer
21 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
41 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
39 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
35 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
61 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
98 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
24 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
119 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
45 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
48 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
45 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
42 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
110 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
108 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
30 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
69 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
57 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 ...
0
votes
1answer
78 views

Battery voltage monitor right after deep sleep

i have my esp32 module in deep sleep and i use it with a couple of buttons using a wake up that detect the button pressed now i'd like to have a battery level to send to a server right before going ...
0
votes
1answer
95 views

How to avoid electromagnetic interference on ESP32 input

I've realized a simple circuit like the following, in order to implement a rain gauge that I can access via HTTP: With the following sketch: #include <WebServer.h> #include <WiFi.h> #...
0
votes
2answers
228 views

SPI Digital Potentiometer not working on ESP32

I have an MCP4151 digital potentiometer chip. I have managed to get it to work using and Arduino Uno using the code below: #include <SPI.h> byte address = 0x00; int CS= 5; void setup() { ...
0
votes
1answer
496 views

ESP32 : Disable Brownout Detector

I have an ESP-WROOM-32 and I'm using Arduino IDE to push code on it. My ESP is powered via 2 AA battery and got one power supply problem. It works well on new battery but after a bit, I will always ...
0
votes
3answers
246 views

How many clients can connect to an ESP32? [duplicate]

I am using an ESP32 as my master and 10 ESP8266-07s are connected to the master that is in AP mode. But I need at least 12 clients. Please help me to increase the number of clients the ESP32 can ...
0
votes
0answers
386 views

ESP32 Bluetooth and WiFi coexistence

After some research, I figure out that it's possible to use Bluetooth and WiFi for some special operations (As Espressif engineer mentions). In my case the Bluetooth operation is simple, it just ...
0
votes
0answers
180 views

Communication between 2 ESP8266 devices using Arduino code

Perhaps it is a novice question (since I'm a Pythonist, and I'm new to Arduino), but I'm trying to implement my code in Arduino to test if it is more stable than MicroPython. I have an AC motor, that ...
1
vote
1answer
542 views

How do I set a 25 kHz PWM signal on an ESP-WROOM-32?

I want to control a single pin of an ESP-WROOM-32 to have a 25 kHz PWM signal. How do I do that in Arduino Studio? I compiled a "hello world" program for such a device successfully in Arduino Studio, ...
1
vote
1answer
68 views

How arduino boards eliminate the need to press buttons to flash?

I've come across many Arduino shields for various boards like the Uno, ESP8266, and ESP32 which sometimes have a button for flashing and other times they do not because the flashing is automatic. ...
1
vote
1answer
161 views

How to detect water presence with only 2 wires

I don't know if this question belong here or on electronics SE. A manufacturer just sent me a personalize device which include an ESP-32 and a Water Sensor. My problem is that I don't know how to ...
0
votes
2answers
447 views

Creating a Web Interface for ESP32 [closed]

I am working on a project that involves moving various servos and lights and I need a good UI to work with the device. I've previously used Blynk, which worked very well but I didn't like some of the ...
0
votes
1answer
54 views

Connect a TM1627 to ESP32

I want to control a 7 segment display that has a TM1637 integrated with an ESP32. Some time ago I created a layout that used an ESP12e but I need more GPIO pins so I'm switching over to an ESP32. ...
-1
votes
1answer
347 views

Unable to upload to ESP32 LOLIN D32 board

I'm not able to upload a sketch to this board with the Arduino IDE. This is the error during upload: Arduino: 1.8.5 (Windows 10), Board: "WEMOS LOLIN32, 80MHz, Default, 512000 Build options changed, ...
1
vote
1answer
1k views

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 ...
1
vote
1answer
665 views

ESP32 AP max connections: 4 or 10?

I am using the SoftAP feature of the ESP to create a central node, and connecting five or six clients in the final application. However, I don't know if i can connect that many clients. One of the ...
0
votes
0answers
106 views

TMC2660 SPI Communication

I'm using ESP32 Doit Board 40Mhz, and trying to communicate with TMC2660-BoB. I've successfully flashed Arduino into ESP32, and it's working well. I've got SPI connection right. Meaning by that: (you ...
0
votes
1answer
44 views

Arduino Wifi Works one way but not the other? (ESP32) (Possible Variable Type Problem)

I am working on a code that accepts input from serial monitor and connects to Wifi, and have been getting issues. my SSID for my wifi is "SamF" but for some reason arduino only likes it when I ...
0
votes
0answers
49 views

Waveshare Display on ESP32 has weird graphic glitches

I am trying to pass an image to the display through the GxEPD module. I tested the display and its working fine with an example sketch. I am using a WEMOS LOLIN32 and a 7,5" B/W Waveshare display. ...
1
vote
1answer
379 views

Increase sample rate in ESP32 board

For my final project on the university as a Systems Engineer, I'm working on a "electronic stethoscope", which is giving me a lot of headaches. I bought a Adafruit Feather ESP32 Huzzah (https://learn....
0
votes
0answers
121 views

DS18B20 flaky with LOLIN32 ESP32 board, rock-solid with Uno

I'm trying to read 4 DS18B20 sensor probes (https://amazon.com/gp/product/B00Q9YBIJI and https://amazon.com/gp/product/B008HODWBU) with a "Wemos" LOLIN32 ESP-32 board (https://amazon.com/gp/product/...
0
votes
1answer
54 views

General confusion about how to start

I want to test around with my ESP32 and an E-Paper display - yet i am stuck at uploading sketches via Arduino IDE. I get those kind of errors: avrdude: stk500_getsync() attempt 1 of 10: not in sync: ...
0
votes
1answer
614 views

How do you convert a formatted print statement into a string variable?

I'm using the following routine to print the current time on the com port. I would like to capture this as a string so I can display it using ePaper. void printLocalTime() { time_t rawtime; ...
0
votes
0answers
427 views

Wiring parallel TFT with ESP32

I have this Parallel LCD TFT. I want to connect it with an ESP32 (NodeMCU). I am using the TFT_eSPI library. In the TFT_eSPI documentation, it says that the connection should be as following: // The ...