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
3 answers
3k 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 ...
Damiano Miazzi's user avatar
1 vote
0 answers
364 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 ...
Nicolas Schmid's user avatar
2 votes
0 answers
142 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 ...
Shay Lavi's user avatar
2 votes
1 answer
641 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 ...
Adam Cherti's user avatar
1 vote
1 answer
567 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 ...
Adam Cherti's user avatar
3 votes
0 answers
622 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 ...
Anil Maharjan's user avatar
1 vote
2 answers
563 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 ...
Batzz's user avatar
  • 121
2 votes
0 answers
184 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 ...
febalci's user avatar
  • 21
2 votes
1 answer
205 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 ...
Cody Sorgenfrey's user avatar
1 vote
0 answers
122 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 ...
Patrick Nijkamp's user avatar
1 vote
0 answers
194 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 ...
Lakmina Gamage's user avatar
3 votes
1 answer
1k 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 ...
3kstc's user avatar
  • 221
-1 votes
1 answer
290 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","...
Karan Bawadekar's user avatar
2 votes
0 answers
543 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 ...
BurgerMan's user avatar
0 votes
1 answer
219 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, ...
Mark's user avatar
  • 393
1 vote
1 answer
1k 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 ...
kamal MKA's user avatar
1 vote
1 answer
150 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 ...
AngelOfEffekt's user avatar
1 vote
0 answers
562 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 ...
Yohan Infinity's user avatar
1 vote
1 answer
320 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 ...
Tomáš Pilný's user avatar
1 vote
1 answer
208 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 = ...
Rocky's user avatar
  • 11
-1 votes
1 answer
111 views

Strange Character In Tempurture Reading [closed]

Can anyone identify this character?
Rachel R's user avatar
0 votes
1 answer
1k 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 ...
elpidiovaldez5's user avatar
2 votes
0 answers
215 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 ...
Dexter S's user avatar
2 votes
0 answers
92 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 ...
gvk's user avatar
  • 21
1 vote
0 answers
435 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 ...
JvJ's user avatar
  • 21
1 vote
0 answers
453 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 ...
Shubham's user avatar
  • 11
0 votes
2 answers
913 views

SoftwareSerial will not read all of the printed string when calling readString()

I have an Arduino UNO and an ESP32 that need to communicate to each other using SoftwareSerial. The problem I am coming across is that when I call readString and print it out using Serial, it will not ...
Primitive's user avatar
0 votes
1 answer
640 views

Recognizing fake NEO-M8N gps module?

I bout a NEO-M8N gps module but I can't connect to u-blox softwares (both u-center2 & u-center_v22.07) It seems to be one of the junk modules that China mass-produces Module's pictures : I tried ...
Curious guy's user avatar
2 votes
2 answers
626 views

Is there a schematic for the ESP32S Dev Kit C V4 NodeMCU WLAN Development Board?

Recently I bought a ESP32S Dev Kit C V4 NodeMCU WLAN Development Board. I got it from azdelivery.de in Germany. Now I am interested in the schematic for this board to learn more about it. Not Google, ...
Thomas68's user avatar
2 votes
3 answers
2k views

Why does Serial.write() work but Serial.print() doesn't?

I am testing my GPS module with an ESP32 using the Arduino IDE. I'm asking because I usually don't fully understand the difference between Serial.write() and Serial.print(). This code is working ...
mehmet's user avatar
  • 287
0 votes
0 answers
75 views

Is it possible to sample a signal with a sample frequency of 48kHz?

I want to have a filter with a 48kHz sample frequency, is that possible using the esp32? Here is a part of the code i developed using the arduino IDE: void setup() { // Initialize serial and wait ...
Scipio's user avatar
  • 101
1 vote
1 answer
161 views

Unable to acquire AP network IP and DNS on a ESP32 MCU

I'm getting the following error on serial output (verbose mode) when my smart device , ESP32 S3 tries to connect over WIFI to the Access point (AP). The SSID is TheScientist Below is the serial output:...
Miguel Tomás's user avatar
0 votes
0 answers
552 views

ESP32 PWM with extended resolution doesn't work as expected

I have attached an RGB-LED to three output lines of the ESP32 and I'm trying to fade all colors independently. Since it didn't work with my code, I went back to the basic ESP32 ledcWrite_RGB sample ...
PMF's user avatar
  • 1,296
3 votes
1 answer
3k views

ESP32 can not deep sleep longer than 35 minutes

I'm trying to get my Lilygo T5 4.7" epaper to deep sleep for 12 hours. But I only seem to be able to get about half an hour (2100s) of deepsleep on it. If I set the timer for longer, it just ...
Engberg's user avatar
  • 33
1 vote
0 answers
152 views

How to lower the power consumption of this ESP32 during delay(500)?

The following code works. It does the following: wake up when pin GPIO0 is connected to GND (the pulse duration is 400 milliseconds) once every 10 wakings, I send the current index to a server with ...
Basj's user avatar
  • 398
0 votes
1 answer
583 views

Why am I receiving this Error: Debug exception reason: Stack canary watchpoint triggered (task1) in ESP32 using a FreeRTOS program?

I'm getting this error by running a FreeRTOS program on my ESP32 using arduino ide, I don't understand why this happens because this same program works on an arduino Uno with no errors: Guru ...
Bruno Mota's user avatar
0 votes
0 answers
285 views

Forget WiFi ESP32

How can you make ESP32 forget all the Wi-Fi networks it was connected to? Or at least forget the one to which the board is currently connected?
Kulikov Nikita's user avatar
1 vote
1 answer
563 views

Issue communicating with ESP32 (WT32-S1) with my USB FTDI (hw-417-v1.2)

Basically im trying to communicate bewtween my ESP32 (WT32-S1) and my USB FTDI (hw-417-v1.2) when I run it in the Arduino IDE I get the error "Failed to connect to ESP32: Serial data stream ...
PrinceSalmon's user avatar
1 vote
0 answers
534 views

ESP Sim800l Firebase

So, I'm trying to send data from ESP boards- 32 and 8266 using sim800l module to firebase. But I'm getting HTTP not connected error. I tried to search web but it seems that firebase changed something ...
Kuldeep Aher's user avatar
0 votes
1 answer
2k views

EspAsyncWebServer process HTTPS to HTTP

I read this issue. But I didn't understand it. Like the author I don't have an SSL certificate and I don't want to have one (because if I had one I could live with HTTPS!). I just want to process any ...
Mark's user avatar
  • 393
1 vote
0 answers
863 views

ESP32 print weird data on Arduino IDE Serial Monitor

I tried to upload a sketch on esp32 devkit v1 (wroom) picture of my board is below : but this message is always printed on the serial monitor continuously and quickly : rst:0x3 (SW_RESET),boot:0x13 (...
Curious guy's user avatar
1 vote
0 answers
497 views

ESP32-S3 - HttpClient only returns 200 status code no JSON payload data

I have a ESP-S3 board and am trying to get JSON data from our server. I am using the following code (see below) as a basis for mine. This code works. If I change http://jsonplaceholder.typicode.com/...
BAW's user avatar
  • 11
0 votes
0 answers
98 views

ESP32-WROOM-32 Wifisecureclient read() result in gibberish data

We are testing our own library with ESP32-wroom-32. In the .cpp file we have: void HttpDownstreamClient::tokenCreate(char* URL, char* Subname, char* Suber, int expiretime) { Serial.print("The ...
YIL's user avatar
  • 1
0 votes
0 answers
161 views

How to work with a pulled high input pin where it needs to read a value from an analog sensor?

I have a small ESP32 module, that has some in-built features, like a TFT, and has few available pins for general use. It has some input only pins (GPIO36 to 39) that are used by buttons soldered in ...
Rodrigo's user avatar
  • 113
1 vote
4 answers
13k views

ESP32-CAM rst:0x8 TG1WDT_SYS_RESET bootloop

I have ESP32-CAM that I plan to use as a simple security camera. I tested the software and it was working perfectly. I programmed it using FTDI programming board with 5V. After testing everything I ...
Eren Sönmez's user avatar
0 votes
0 answers
54 views

Improve SD logger - 0.02% of data isn't logged at desired rate

I'm working on a project to read data over CAN, display it on LCD and log data to SD card. LCD is on HSPI and SD card on VSPI. CAN and LCD code is working on core 1 and SD on core 0, there's no wifi. ...
JvJ's user avatar
  • 21
0 votes
1 answer
160 views

Conversion from `const char* datac="0x21,0x10,0xfa,0x7a,0xff";` to `uint8_t datat[]={0x21, 0x10, 0xfa, 0x7a, 0xff}`

The below reading data from API: #include <WiFi.h> #include <HTTPClient.h> #include <ArduinoJson.h> const char* ssid = "****"; const char* pass = "****"; void ...
Just doin Gods work's user avatar
-1 votes
1 answer
374 views

ESP32 Rebooting while converting String to Hex Array

I wrote this code to convert String to Hex Array. const char* hexstring = "0x21 0x73 0x10 0xfa 0x7a 0x00 0xff .../*40995 character long string*/....0xaa" void setup() { char* temp; ...
Just doin Gods work's user avatar
1 vote
3 answers
459 views

Is there a way to strip a library from all unused parts and defines, automatically?

Say you want to investigate part of the code you use from a rather large library, but it's buried between all kinds of #defines and classes etc, that you're never gonna use in your code. Is there a ...
Gaai's user avatar
  • 55
0 votes
2 answers
329 views

Read Digital Input from Arduino Pin defined as OUTPUT

I'm working on a Home Automation Project. I can turn on-off ESP32 pin from Alexa and Google Assistant Successfully now. What I need help is with a way to read if the AC supply is ON/OFF on the Arduino ...
Just doin Gods work's user avatar

1 2 3
4
5
18