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
0 answers
459 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
190 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
726 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
144 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
448 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
266 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
195 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
94 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
192 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
82 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
384 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
398 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
742 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
508 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
488 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
1k 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
67 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
140 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
495 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,286
3 votes
1 answer
2k 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
145 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
488 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
248 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
507 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
465 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
1k 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
737 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
445 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
80 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
131 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
11k 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
138 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
320 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
397 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
282 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
0 votes
3 answers
7k views

text section exceeds available space in board

When I compile this code it gives the error mentioned above. I saw online a way to resolve this: Serial.println(F("...")); For fixed string literal I changed it but still didn't work. I'm ...
Just doin Gods work's user avatar
1 vote
0 answers
824 views

ESP32 WIFI error when trying to initialize WIFI after stopping and deinit WIFI driver

I have a firebeetle ESP32 board and I use VScode with platformIO. My platform is espressif32 v5.0.0 and the framework is arduino. I am currently implementing a WIFI connection as follows: bool ...
Slev1n's user avatar
  • 21
-1 votes
1 answer
176 views

Compile Error Getting when i try to read firebase data using esp32 in Arduino IDE

I am trying to read the firebase data using esp32, when i try to read firebase data statically(string literal) no error is coming. String board=Firebase.getString(fbdo, F("Device/board")) ? ...
Ramesh Kumar's user avatar
0 votes
1 answer
682 views

How to get the scan duration below 1 sec with Arduino BLE?

I want to scan continuously for other Bluetooth devices with my ESP32 using BLE. The scan method only accepts integers larger than 0, such as scan->start(1, false). However I want the results to be ...
Philipp's user avatar
  • 109
3 votes
0 answers
1k views

How to correctly synchronize time with NTP server?

I want to synchronize time with NTP server once in some time. I am using DOIT ESP32 DEVKIT V1, I tried with getLocalTime() function but it returned true even without wifi, but as I know without wifi ...
hungryman's user avatar
1 vote
0 answers
51 views

Fedora 36 cannot find TTGO32 arduino board

I've been trying to solve this problem for a while now. Fedora 36 cannot recognise my arduino board. Well, not correctly at least. Arduino IDE v2 picks it up as ttyS4, but platformio only has an empty ...
Gargoyle's user avatar
0 votes
0 answers
347 views

ESP32: Is the networking stack running in separate thread? Can you safely block task executed from loop() for longer time? (>3s)

With ESP8266 there is a requirement to not block the CPU execution for longer than few ms and then yield to networking stack and internal functions that are executed after each iteration of loop(). If ...
Petr's user avatar
  • 109
1 vote
0 answers
1k views

ESP32 wifi server with multiple clients

I have a program where I configure my ESP32 as a server and it sent randomly generated data, the problem is that I can only connect 1 client at a time, what I want is that multiple clients can connect ...
Eduardo23484's user avatar
0 votes
1 answer
170 views

Tasks in ESP32: guidelines rather than blink example

I'm using an ESP8266 for IOT devices. I wish to work with an ESP32 and harvest its benefits - for my uses managing WiFi and MQTT connectivity. Most tasks examples are very basic and quite the same (...
guyd's user avatar
  • 1,033
3 votes
1 answer
582 views

Upload to ESP32-C3 fails

I have built a custom circuit board using the ESP32-C3-MINI-1-H4 module (datasheet). Here is a schematic: I have the GND, Tx, and Rx lines hooked up to an Arduino Uno without the ATmega. The 3.3 V ...
jb0's user avatar
  • 131
0 votes
2 answers
228 views

How to use the M117 temperature sensor from mysentech?

Anyone can help me decode the temperature of the M117 chip from mysentech.com? I tried things, but I get a constant raw value of 0xFFFF, which becomes 1 once 2's complemented is applied. The chip ...
Stéphane de Luca's user avatar
0 votes
0 answers
526 views

String of raw data to Char Hex Array for Bitmap

I'm trying to transfer a monochrome ~4kb image file over WebBT to an ESP32 via BLE. The EPD display looks for an unsigned char array to represent a bitmap. So..it should be in the format of something ...
user2402616's user avatar
0 votes
2 answers
2k views

ESP32 - error when using `LITTLEFS.h` after core updated to 2.0.4

After updating ESP32 to core version 2.0.4 (file in Arduino IDE preferences was replaced tohttps://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json to upgrade), I ...
guyd's user avatar
  • 1,033

1 2 3
4
5
18