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
0 votes
0 answers
5 views

RF 433 with more than one package per button

I have a problem trying to use an RF433 control, it sends a packet at the end of the real packet, is there a way around this? I'm using the RC-Switch library to receive the packet from the control via ...
-1 votes
0 answers
33 views

SQL Database update issue via ESP32 & GPRS from SIM800L

I am trying to update SQL database from ESP32. The ESP32 connected with server via GPRS Data over SIM800L. The PHP URL is created for update but not able to update the SQL Database. The Code is here //...
1 vote
1 answer
25 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",...
  • 111
1 vote
0 answers
20 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 ...
-1 votes
1 answer
38 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 ...
-1 votes
0 answers
11 views

How to use ESP32 to add and delete RC522 cards [closed]

I have tried many ways and ended up with failure, if anyone knows what to do, please contact me!
1 vote
0 answers
25 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 ...
1 vote
0 answers
91 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 ...
  • 11
1 vote
0 answers
40 views

Problem Decode RF433 lib RC-Switch

I'm starting now with rf control analysis and I have some questions could someone help me? I followed the tutorial to add a new protocol but it didn't work I took some samples with SimpleRcScanner and ...
1 vote
0 answers
48 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 ...
  • 11
1 vote
1 answer
51 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 ...
-1 votes
0 answers
40 views

Im trying to control a servo motor with MPU6050 & ESP32. I found the code for it and whenever i try to upload the code i get this error

ERROR: WARNING: library Servo claims to run on avr, megaavr, sam, samd, nrf52, stm32f4, mbed, mbed_nano, mbed_portenta, mbed_rp2040 architecture(s) and may be incompatible with your current board ...
2 votes
0 answers
51 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 ...
1 vote
1 answer
55 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 ...
  • 121
1 vote
0 answers
57 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 ...
0 votes
0 answers
53 views

ESP32 setting up HTTPS connection to AWS S3

I am trying to send https requests from my ESP32 board directly to S3 to upload/download files. I use the arduino framework in a platformIO project in VScode on Windows. I am already using MQTT and ...
  • 19
2 votes
1 answer
63 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 ...
0 votes
1 answer
48 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 ...
1 vote
0 answers
28 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&...
  • 111
1 vote
0 answers
141 views

WiFiClient.cpp:517 flush(): fail on fd 48, errno: 11, "No more processes" what it mean?

Hello i wrote this sketch that upload a temperature reading of a DHT22 sensor to a phpMyAdmin server in localHost, the sketch work fine, the data been upload every 5 min to the server than ESP go t ...
1 vote
0 answers
38 views

Dump data check failed on a TinyPICO using ESP32

I use the TinyPICO microcontroller with ESP32 and I program it using the Arduino IDE. I recently got a new error on my Serial Monitor: E (113) esp_core_dump_�^X.K�ɕ�dump data check failed: Calculated ...
2 votes
0 answers
24 views

ESP & Servo not communicating well

I have a mystery I was unable to solve and would greatly appreciate it if anyone could shed some light on this. I have a servo DSS-M15S 270 which I managed to run perfectly fine with Arduino Uno (code ...
1 vote
0 answers
67 views

Esp32 fails to read MH-Z19C sensor

I'm trying to read CO2 data from a MH-Z19C sensor with an ESP32 board but I'm not getting anything. The error code from the library is 2 indicating a timeout (no data received). Did I get the wiring ...
1 vote
1 answer
110 views

ESP32 failing to read from DHT11, MH-Z19C sensors

I got MH-Z19C (CO2 ppm) (datasheet), and DHT11 (temperature) sensors from Ebay and followed instructions online to set it up with my ESP32 board (ESP32). I'm using a breadboard and 5V/3.3V power ...
1 vote
0 answers
88 views

Programming ESP32-S3 WROOM with a flexy pin board

I am using ESP32-S3-WROOM-1-N8 module https://www.digikey.de/de/products/detail/espressif-systems/ESP32-S3-WROOM-1-N8/15200089 . I have compared pinout of all Wroom modules ESP32 ESP32-S3 as well as ...
1 vote
2 answers
75 views

ESP32 HTTP Request handles Go webserver response, but fails on node JS servers

I've set up an esp32 board (wemos d1 r32) to send a request to a server hosted on my local network. If I set up a very basic go server, the board handles the response fine (200 with the appropriate ...
  • 121
2 votes
0 answers
45 views

AsyncMqttclient publish affects accelerometer readings

Using M5StickC ESP32 with built-in MPU6886 accelerometer to read vibrations. In the loop() section the code gets 10 readings per second and if the readings exceed a threshold, it starts publishing the ...
  • 21
2 votes
1 answer
38 views

Wemos C3 Mini (ESP32-C3) does not run firmware unless connected to pc

I've been using ESP32s and ESP8266 for a few years now and I thought I'd give these little boards a shot, they were cheaper for Bluetooth/WiFi combo, and I don't need all the bells and whistles of a ...
1 vote
1 answer
55 views

Code works if i define const byte NUM_SAMPLES = 30;, but if i define NUM_SAMPLES as a non-constant variable it does not work

First of all, thanks in advance for some help. The code reads values from a range sensor and a force sensor, stores the readings in a buffer, and print the Json out on Terminal. It calls the functions ...
1 vote
1 answer
37 views

Wemos D1 R32 loses Bluetooth connection [closed]

I have this project working except when I power cycle the ESP32 with the following connections (ESP32 -> Relay Module) 5V - VCC, GND - GND, Pin12 - IN1, Pin13 - IN2. When I power cycle the ESP32 ...
1 vote
0 answers
70 views

Need help writing to and then reading from a serial device

I have a serial device hooked up to my Arduino (ESP32 WROOM). I'm not a serial expert but I have at least some stuff working. The manual is chinese (or at least, very broken english) and I'm trying to ...
1 vote
0 answers
22 views

Using RDM6300 and RC522 at once

I want to use both RDM6300 and RC522 at a single .ino code at once. But whenever I try them both, only one of them works. How to get the both working? [Dev envt. ESP32 Dev module] // LIBRARY ADDITION ...
1 vote
0 answers
37 views

How to shift DAC 0/5V output to ±5V to control speaker ? (ESP32) [closed]

Considering the following limited knowledge I have: Arduino boards analogWrite really is a PWM and can't output arbitrary voltages like 1.23V or 4.56V. Furthermore, most pins have a max frequency of ...
3 votes
1 answer
124 views

Arduino IDE for ESP32: Compilation Error: Exist status 255

Problem: I have a ESP32 and I've been trying to flash it with the Arduino IDE, however it's been giving me Python error messages :/ when I'm trying C/C++ code to flash the Arduino. Question: How can I ...
  • 221
-1 votes
1 answer
48 views

How can i separate values from the full string, incoming string always changes its positions?

String str = {"timestamp": "2023-02-08 16-37-31" ,"cpcb_device": [{"Station" : "832","Para": [{"tag_name": "COD","...
2 votes
0 answers
60 views

Can't Send Text Messages Using TinyGSM Module, but it works if I do it manually using the ESP-IDF Environment - Sim7600

I am using the following device: https://www.aliexpress.com/item/1005003152097545.html?spm=a2g0o.order_list.order_list_main.119.222218028PapM6 I am trying to make an IoT sound-measurer which will send ...
0 votes
1 answer
44 views

Cannot compile MFRC522 minimal I2C example

On ESP32 I'm trying to build the Minimal I2C example of the MFRC522 library: But I get errors on the first declarations: TwoWire i2cBus = TwoWire(0); MFRC522_I2C dev = MFRC522_I2C(RST_PIN, 0x28, ...
  • 303
1 vote
1 answer
45 views

an lcd with I2C is not recognized by esp32

I have a NodeMCU esp32-s board and I'm trying to connect My 16x2 lcd with PCF8574T I2C bus to the esp32 , the problem is that the lcd doesn't show anything and the WireScan sketch can't recognize the ...
1 vote
1 answer
68 views

WS2812b - Interpolate pixels on neopixel matrix with mask

simplified my goal is to display a transitional Background and some shapes. This shapes are not moving hard rasterized by 1 pixel, more like .1 each cycle. So I need a way to interpolate the movement ...
1 vote
0 answers
28 views

Bluetooth Serial is unavailable `SerialBT.available()` returns False on Macbook after a successful bluetoooth connection

I am trying to send and receive messages between my mac and esp32 board. I am currently using the Bluetooth classic interface. After a successful connection. I however have observed that there is no ...
1 vote
1 answer
26 views

How to compile Arduino-ESP32 core with ESP_LOGx

Why? In Arduino IDE you can set the core debug level, however, this only sets debug level for files in Arduino-esp32 but the core which is distributed as a precompiled library in .sdk files, located ...
1 vote
1 answer
67 views

What is the raw value & scale value functionality of analog read() of ESP32 ? (Provided for UNO for reference)

What is the difference between ESP32 Dev kit & Uno for analogread() Function? As Uno -0 to 1023 As Esp 32 Dev Kit -0 to 4095 So what will be the raw val & scale val ? For UNO - int Rawval = ...
  • 11
-1 votes
1 answer
47 views

Strange Character In Tempurture Reading [closed]

Can anyone identify this character?
-1 votes
1 answer
141 views

How to power LILYGO ESP32-S3 1.9" T-Display without USB?

Noob question, I'm sure, but - I have one of these little LILYGO ESP32-S3 1.9" T-Display boards. Linked up with my PC, downloaded my code, runs fine, but I can't get the thing to power up from ...
  • 1
0 votes
1 answer
161 views

Can I power Lilygo TTGo T-display from 5v and still use USB for communication?

I have a project which needs a 7-9V power source. I use a battery, and plan to use a small regulator to supply 5V to a Lilygo TTGO T-Display V1.1 (1.14 inch display) via the 5V and GND pins. I need ...
2 votes
0 answers
50 views

ESP32DevkitC-V4 interfacing ADS8698 (18 bit ADC)

I am currently working on an SPI interface to measure the voltage of an amplified sensor bridge signal. I am using an ESP32 module to control the device. Since I am logging the data to an SD card, I ...
2 votes
0 answers
32 views

Lilygo T-Wristband code not working (DRV2605 Motor version)

I am new to this and I have purchased the Lilygo T-Wristband to prototype a watch that will vibrate upon receiving a 1-bit bluetooth signal from an android app. The goal is to allow the user to set ...
  • 21
1 vote
0 answers
84 views

Failed to connect to TCP server on ESP32 board

I wrote a TCP client in C and a TCP server in Python. The client runs on a ESP32S2 board while the server runs on my PC (virtual Linux OS) and both the board and PC are connected to the same Wi-Fi. ...
1 vote
0 answers
94 views

ESP32 HTTP Update and x-MD5 header

https://github.com/espressif/arduino-esp32/tree/master/libraries/HTTPUpdate I found out that this library can read x-MD5 header but looks like it's going through with the update no matter what MD5 I ...
  • 21
1 vote
0 answers
66 views

object of "ESPAsyncWebServer" causing conflict

I have been trying to develop multi cpp project in platformio and whenever I define ESPAsyncWebServer class object with the extern in defines.h and declare it in main.cpp I am getting scarry looking ...
  • 11

1
2 3 4 5
16