Skip to main content

Questions tagged [esp32]

A cheap and low-power microcontroller family using Tensilica Xtensa LX6 CPU cores with integrated WiFi and dual-mode bluetooth.

Filter by
Sorted by
Tagged with
2 votes
2 answers
798 views

Does ESP32 can support WIFIDirect

I would like to establish a simple P2P connection between an ESP32 and an Android device without the use of an access point. I should be able to send and receive data from the ESP32 through the ...
Abhay Kondru's user avatar
2 votes
0 answers
33 views

ESP32 WiFi server.send(); is it exclusive to ESP328266 modules, Arduino?

Is the function server.send(); exclusive to ESP8266 modules, Arduino? Where can I find documentation regarding the application of this function with an ESP32 module with WiFi?
Paul Wilkie's user avatar
2 votes
0 answers
610 views

Send large file over BLE with ESP32 Wrover B

I have been able to get a large file to be sent in packages over BLE to a characteristic on my ESP32-Wrover-B module (yay!). However, these files can be large (+300kb) so I need to repackage them ...
NRav's user avatar
  • 225
1 vote
1 answer
305 views

stream a "big" array of measures to a server through wifi

I'm measuring accelerations at "high frequency" (4kHz) from an accelerometer (ADXL355/ADXL357) to an esp32. It's crucial that no sample is lost while performing a measure which last say 2 ...
AlekseyFedorovich's user avatar
1 vote
1 answer
67 views

Where to store struct used for driver initialization

I'm doing a small project with ESP32 board. When initializing a driver, multiple structs are passed to initialization functions. I know that there are two ways to store such structs: Storing structs ...
Yiyang Yan's user avatar
2 votes
1 answer
586 views

Unable to upload sketch to Lolin S3 Pro (ESP32-S3)

I'm trying to upload a simple sketch to the new Wemos Lolin S3 Pro but unfortunately I can't seem to get it to work. I get the following error message: Connecting......................................
shyney's user avatar
  • 73
5 votes
1 answer
707 views

ESP32 SocketIO Client is not connecting to Flask-SocketIO Server

I'm trying to connect a ESP32 client using SocketIO with a Flask-SocketIO server and it's not getting connected. The server uses SSL. The local server address is https://192.168.1.137:3000.Is the ...
Shyam3089's user avatar
  • 165
1 vote
1 answer
884 views

USB OTG and ESP32-S2

I have an ESP32-S2-DevKitM-1 which is supposed to able to act as USB HID device. But whatever I try using either ESP-IDF or Arduino-IDE, I can't get any data from it. I ran this esp-idf example. I ...
Bram's user avatar
  • 199
0 votes
1 answer
52 views

Copy Uno Analog Input Configuration To ESP32

I started a project using the arduino uno and as a challenge I'm attempting to make it work with the esp32 but I've run into a roadblock. I may not describe it in proper terms, but I noticed that the ...
nsandler's user avatar
1 vote
1 answer
106 views

Pass typedef to a function

I'm working with a ESP32S3 that will manage 2 I2S ports, so for the cleanness of my code and also because i'll work multiple I2S installations - deinstallations, i want to move all the functions to ...
PeterBlack's user avatar
1 vote
0 answers
445 views

ESP32 - TWAI Timing Problems (cant receive messages below 5ms period)

I am currently trying to read an existing canbus (Car) with my ESP32 Rev3. I got it to work fine with an external MCP2515 shield using a default library. But when i connect an transceiver and trying ...
C.E.'s user avatar
  • 119
3 votes
1 answer
441 views

How to change partition scheme with arduino-cli

I'm using arduino-cli to program an ESP32-S2. If I compile my sketch using the default partition scheme > arduino-cli compile -b esp32:esp32:esp32s2 sketch a lot of space is allocated for SPIFFS ...
larsb's user avatar
  • 85
2 votes
0 answers
420 views

Scrambled Text on SSD1306 Using ESP32-S2

SSD1306 OLED display connected to an ESP32-S2 over hardware I2C. I noticed that the text will sometimes get scrambled or lag during a screen update. When left running long enough, the screen will get ...
subcanny's user avatar
1 vote
1 answer
289 views

Can't mount microSD card with Freenove ESP32 WROVER Module and Sparfun MicroSD module

I'm using Freenove's ESP32 WROVER Module with their GPIO expansion board as shown in the image below: I'm trying to integrate Sparkfun's microSD module in the circuit. Here's my sketch. However, I'm ...
danielperaza's user avatar
1 vote
1 answer
929 views

How to pass AT commands to LoRa from ESP32 UART?

I have connected a Reyax RYLR998 LoRa module to an ESP32's UART2, but AT commands passed through Hardware serial are not working. #define RXD2 16 #define TXD2 17 void setup() { Serial.begin(...
MrNams's user avatar
  • 129
1 vote
1 answer
399 views

unable to program esp32cam via cloned esp32-cam-mb

I bought a couple of ESP32CAMs from aliexpress... althought the listing shows them with two buttons, I got the ESP32-CAM-MB boards with just the reset button... I have my computer set up to dual boot ...
JoSSte's user avatar
  • 129
1 vote
0 answers
116 views

How to set OTA on ESP 32

I am currently using an evalkit Nina W106-00B board that incorporates an ESP32. I am desperately trying to implement OTA (Over-The-Air) updates. I started by modifying my partitions.csv file, which ...
Zapsalis's user avatar
1 vote
0 answers
117 views

ArduinoJson buffer corruption

I have a very wierd behavior using two different ArduinoJson (6.17.3) objects on my ESP32. I was not able to reproduce it in a small example but could track it down to some extent. From MQTT I receive ...
Slev1n's user avatar
  • 21
1 vote
1 answer
60 views

Program work when used Delay() but same program doesn't work with millis()

I'm running a dc motor using esp32 and mosfet by taking readings of IR. Program works fine when used delay() but same program doesn't work when uploaded using millis(). //This uses fixed delay() // ...
Akash Patil's user avatar
1 vote
0 answers
228 views

What is the most simple sketch to confirm the DAC works for audio on a speaker with it's own amplifier for an ESP32?

I have a PC speaker with it's owner power supply (no amplifier needed). It just uses a standard AUX jack. Most examples sketches use an amplifier like the MAX98357A. I have explored some libraries too,...
adamaero's user avatar
  • 198
1 vote
1 answer
230 views

ARDUINO DC Motor Control over IR Sensor INPUT

I'm working on a school project where I'm building a small convyeor belt using an ARDUINO, DC motor and IR sensor for moving object detection so my color sensor can read color value. I'm using single ...
Sunny Gavali's user avatar
1 vote
0 answers
210 views

Using library functions in timer ISR ESP32

I'm trying to use a library function in my ISR function that uses the internal timer to trigger every 1 ms. The chip that I'm using is an ESP32-C3-MINI. Here is my current code: main.cpp #include <...
Max's user avatar
  • 111
3 votes
1 answer
1k views

How to configure I2S with ESP32 and MAX98357A to reproduce wav files?

I have configured I2S to reproduce files with an ESP32 and a MAX98357A from and SD card. The problem is that it reproduces the files way too fast, like they are sped up * 100. Here is my (simplified) ...
Joaquin's user avatar
  • 51
0 votes
1 answer
153 views

FreeRTOS is not solving my problem to run tasks parallelly

I'm pretty new to esp32 and I'm trying to combine two codes in one, they are simple codes from projects that I found online, the first one uses PIR sensor to send message to telegram each time motion ...
w22tq's user avatar
  • 17
1 vote
0 answers
110 views

Connect ESP32 cam to the Nodemcu motor shield

Is it possible to connect ESP32 cam to the Nodemcu motor shield? I already have a ESP8266 chip connected to the Nodemcu motor shield. In get this error after connecting this ESP32 cam to the Nodemcu ...
Hamaad Fahim's user avatar
1 vote
0 answers
378 views

ESP32-CAM not sending base64 string as HTTP post request

in my recent project, I'm trying to detect motion and capture an image using the esp32 cam module and send it to the server via HTTP. Once the image is captured it is converted to a base64 string and ...
Dinesh 255's user avatar
1 vote
0 answers
177 views

Pool pump man-in-the-middle SDA/SCL with ESP32

Hey all I have found some code on GitHub that works with my pool pump but it seems my model is a little newer than the one they used on on their GitHub. Most things seem to work but what doesn't is ...
StealthRT's user avatar
  • 259
2 votes
0 answers
310 views

Implementing very slow external drive using ESP32 and TinyUSB

I want to implement a simple external drive with ESP32-S3 that would act like a normal USB enabled flash drive when connected to a computer. The actual storage of the data is done mechanically (for ...
martin.havelka's user avatar
0 votes
0 answers
42 views

channels on logic level shifter outputs high

so I have a logic level shifter which is TXS0108E ,I use it to shift the eps32 ouput volatge to 5v to be used with motor driver ,when I test it with multimeter , all the channels on the B side outputs ...
kamal MKA's user avatar
0 votes
1 answer
44 views

Same Bin file to similar ESP32 boards yields different results

Sorry for the confusing title. It is a bit hard to explain. We have a remote developer who compiles his code into a bin file and sends it to all of us. He loads it onto his ESP32 boards and they work ...
Knoxley's user avatar
1 vote
0 answers
276 views

How to query data from my ELM327 via BLE?

I have a HM-10 module connected to my Arduino Nano that I want to use to get data from a ELM327 OBDII. I have been able to successfully connect to the ELM327 via: AT AT+RESET AT+BAUD2 AT+ROLE1 AT+...
leopardxpreload's user avatar
-1 votes
1 answer
259 views

If I reduce ADC sample rate, do I get an average over the time period?

I am working with a ESP32-C3 devkit. I am using the internal ADC on that chip to read from an analog microphone. I initialize the ADC like this: adc_continuous_config_t dig_cfg = { .sample_freq_hz ...
Alex Flint's user avatar
5 votes
0 answers
1k views

How to set ESP32 RTC clock source

According to the manufacturer's link below, the default RTC timekeeping in the ESP32 is supposedly based on Internal 150 kHz RC oscillator. Apparently, there is another option called Internal 8.5 MHz ...
Randy's user avatar
  • 407
0 votes
1 answer
73 views

Potential difference across the same wire [closed]

This issue may be weird, and I'm not sure if this is because of my wiring, but it would seem that I do not have the same voltage (or approximately the same voltage) between the VCC(3.3V) and the VCC ...
BruceWawe's user avatar
1 vote
1 answer
236 views

esp based smart light system over alexa malfunctioning

i made a home automation system using esp 32 and 8 channel relay but within 2 or 3 months my relay automatically turns off after sending the signal to it through esp32 but if i connect directly ...
Rathore Brothers's user avatar
0 votes
1 answer
289 views

Issues getting WPS working on ESP32 [closed]

I am trying to implement WPS on ESP32. A WT32-SC01 Plus to be exact. It seems to working so far that I'll get the WPS connection but then it takes around 5 minutes [!!!] to get IP address from the ...
Radek Suski's user avatar
1 vote
1 answer
512 views

ESP32 - BLE does not connect/restart after light sleep

noob in arduino here. I'm trying to connect via BLE after the ESP32 wakeups from light sleep. I have tried many different things, but none of them work. Everything works fine before the device sleeps ...
deniswsrosa's user avatar
2 votes
1 answer
988 views

How to use ESP_LOGx?

I can't get the logging to work on the ESP32. Here is my example: #define LOG_LOCAL_LEVEL ESP_LOG_VERBOSE #include <esp_log.h> void setup() { Serial.begin(115200); ESP_LOGE("Test",...
Mr. Clear's user avatar
  • 141
1 vote
0 answers
173 views

Choosing a good RF library for transmissions

I am trying to send information from an Attiny85 to an ESP32, through RF. I am using the most popular 433mhz transmitter on the market. I know various existing libraries to send and receive data ...
BruceWawe's user avatar
-1 votes
1 answer
2k views

ESP32 restart each minute with SW_CPU_RESET

running an ESP32 (ttgo), I get strange behavior. The unit restarts each minute, around 00 seconds. I get 12:31:02.861 -> rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) as reason. I checked ...
Overnuts's user avatar
1 vote
0 answers
113 views

Looking for FOTA to update firmware with wi-fi over internet (ESP32)

I have tried ArduinoOTA and AsyncElegantOTA and they work, but only when you are in the same wi-fi as ESP32. I need to update ESP32 firmware "remotely" meaning when I'm not in the same local ...
tipo1000's user avatar
3 votes
1 answer
9k views

A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x13)! The chip needs to be in download mode. [upload] Error 2

I have seen so many people complain about this same error and they were given a multitude of answers to help with this error, but nothing so far has worked for me. Everything was working fine until I ...
Bajer's user avatar
  • 31
1 vote
0 answers
215 views

Save sensors data on PC

I am working between an esp8266 and esp32 (I still have some doubt on what to use), and I would like to save sensors data permanently somewhere on my PC. I don't have a SD shield and I am new on this ...
Alice's user avatar
  • 31
1 vote
1 answer
1k views

LVGL v8.2 on ESP32-S3 colour issue ILI9341 TFT LCD Arduino IDE

I have ILI9341 320x240px TFT LCD screen which I am using with ESP32-S3-wroom-1 module. I have tested with TFT_eSPI and works fine, but when using LVGL, I am seeing weird artefacts on the edges. I am ...
Anil Maharjan's user avatar
2 votes
0 answers
413 views

MAX30102 doesnt show data when it's interfacing with other sensors MLX90614 and MPU6050

The hardware I am using is ESP32 with MAX30102, MLX90614 and MPU6050 sensors and Using Blynk to show my data from the sensors. The issue I am facing is when I ran the code with all three sensors only ...
LLAMAFTW's user avatar
1 vote
1 answer
280 views

AA alkaline batteries on firebeetle?

I would like to power a dfrobot firebeetle 2 using 3 alkaline batteries. I tried connecting the battery pack to the GND and VCC, but the board does not seem to react. What pins should i connect the ...
Davy's user avatar
  • 121
1 vote
0 answers
4k views

Baud rate above 115200 don't work for esp32

I have equipment transmitting data via uart with a baud rate of 1382400 and I would like to read this information through the Serial2 port of the ESP32. I've tried to set this high baud rate using ...
Fabricius Lopes's user avatar
2 votes
2 answers
2k views

Need ESP32 to use 3 serial ports

I have a project that needs 3 serial ports on my ESP32 Dev 38-pin MCU. Two of them are for Nextion touch displays and the other is for a GPS. The problem from what I understand is that the ESP32 has 3 ...
Richard White Building From Sc's user avatar
0 votes
1 answer
824 views

integer overflow in expression of type 'int' results

i need to wake up my ESP every 60 min to read some data and post it to server, all process working fine when i use numbers of minute below 60 (converted in microsecond x 1000000) but when i use 60 min ...
Damiano Miazzi's user avatar
1 vote
0 answers
89 views

Empty message parse using ArduinoJSON from aedes MQTT server

I'm using aedes as my custom MQTT broker and PubSubClient at the ESP32 side, together with the ArduinoJSON package. My server test code: import Aedes from "aedes"; import net from "net&...
Mendes's user avatar
  • 111

1 2
3
4 5
18