Questions tagged [arduino-esp32]

491 questions
0
votes
4 answers

Unable to connect to WiFi with a Wemos S2 Mini clone?

I bought this Wemos S2 Mini three-pack from Amazon last week and I've been pulling my hair out trying to get them to connect to WiFi. I have the Ardiuno IDE 1.8.19 set to a LOLIN S2 Mini from Espressif 2.0.3 as directed, with Arduino WiFi 1.2.7, and…
xd1936
  • 1,038
  • 2
  • 9
  • 27
0
votes
1 answer

Wemos D1 mini Airgradient SoftwareSerial.h present but not found

I bought the Airgradient DIY as demonstrated in https://www.youtube.com/watch?v=Cmr5VNALRAg It's working at the moment. I changed some code. I now want to upload this code but I get the error AirGradient.h:10:28: fatal error: SoftwareSerial.h: No…
Adriaan
  • 715
  • 10
  • 22
0
votes
0 answers

ESP32-S3 TensorFlow Lite Model Issues

I worked with the new ESP32-S3 Development Board and an I2S microphone in order to create a simple voice recognition system. The software and firmware behind this are based on this project: Voice Controlled Robot - Atomic14…
0
votes
1 answer

ESP32 WiFi MODE_STM_AP. Dynamically change WiFi Station via Webinterface

Hello dear Stackoverflow Community, I have the following problem. The project I am working on looks like this. ESP32 with AsyncWebserver and LittleFS ESP32 builds a soft AP at system startup (MODE_APSTA) including the STM (Station Mode…
Clusterzx
  • 1
  • 2
0
votes
2 answers

Passing a void (*fn) from a class

I'm writing an auto display turn-off function with ESP32 on Arduino framework with PIO. I have a Screen class for handling all of the screen functions. void Screen::turn_off_screen(){ digitalWrite(SCREEN_ENABLE, LOW); } void…
Sarge324
  • 31
  • 7
0
votes
1 answer

unable to find string literal operator 'operator""conteudo' with 'const char [43]', 'unsigned int' arguments

Im having a problem sending data on a variable to mysql database. The problem is im trying to send RFID data with a variable. String INSERT_SQL ="INSERT INTO database.table VALUES('0 ',"conteudo")"; It's giving this error. unable to find string…
0
votes
1 answer

i2cdev mpu6050 always stuck at initialize

I have a AZ-Delivery ESP32 DevKitC V2 connected to an GY521/MPU6050: VCC --> 3V3 GND --> GND SCL --> G22 SDA --> G21 INT --> G19 I installed I2Cdev and MPU6050 using PlatformIO from https://github.com/jrowberg/i2cdevlib and copied…
Marcel Lorenz
  • 295
  • 2
  • 13
0
votes
1 answer

Control SIM7080G CAT-M/NB-IoT Unit from ESP32-DevKitC-32E

We want to control SIM7080G CAT-M/NB-IoT Unit from ESP32-DevKitC-32E. SIM7080G CAT-M/NB-IoT Unit https://shop.m5stack.com/products/sim7080g-cat-m-nb-iot-unit ESP32-DevKitC-32E https://www.espressif.com/en/products/devkits/esp32-devkitc We created a…
Ganessa
  • 782
  • 2
  • 7
  • 24
0
votes
2 answers

ESP32 BLE can't find data service from Xiaomi Plant Sensor

My goal is to receive sensor data from the Xiaomi Plant Sensor (Flower Care) to the ESP32 Devkit C v4 via Bluetooth Low Energy (BLE). Since, I'm fairly new to ESP32 & BLE, I follow an example from github. Unfortunately, an error occurs in line…
0
votes
1 answer

ESP32 printing weird chars infinitely, maybe due to EMI (Electromagnetic Interference)

I am working on ESP32 WebSocket communication. And after lot of hard work I'm facing serious problem that, In Serial Monitor Esp32 is printing weird chars infinitely. so to run esp32 perfectly every time I have to restart my esp32 board. Esp32 board…
0
votes
1 answer

How can i use a Library for another Library ? [Arduino ESP32]

I am working on a project on Arduino ESP32 and I have a lot of Global variables (for data generation). I have decided to create a library in order to orgenise my work a little better. But I use this library into other librari's that I had to create…
Parham
  • 1
  • 1
0
votes
2 answers

I am trying to enter a value using int to Arduino ESP32 from bluetooth and the value is read wrong,

#include "BluetoothSerial.h" #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) #error Bluetooth is not enabled! Please run `make menuconfig` to and enable it #endif BluetoothSerial SerialBT; void setup() { …
0
votes
1 answer

How to change supervision timeout of ble device esp32

I am using two esp32, one configured as server and the other as client,the server takes about 3 seconds to detect disconnection of client (when it’s out of range or turned off), while client takes 6 seconds to detect disconnection of server, how do…
Vass
  • 1
  • 2
0
votes
0 answers

ESP32 MQTT publishes same message twice instead of two distinct messages to different topics

I'm trying to send data over MQTT from an ESP32 to my computer. I have two distinct sets of data going to two topics, temperature and gravity. For some reason, it will only publish one message, but send it twice to the broker and its whatever…
0
votes
0 answers

Cannot receive all chunk from flutter app over BLE

I am writing an OTA BLE firmware update between flutter Android app and an Espressif ESP32. Basically, the flutter app sends chunks of data that the firmware expect: the chunk bears the chunkIndex so that the firmware can check nothing is missing…