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

ESP32 S3 - I can flash code but serial monitor doesn’t work

I have an ESP32 S3 module on a custom board which has a USB-C port. I could download the code successfully (well, not every time) on the esp but when I open the serial monitor it doesn’t show anything....
0 votes
1 answer
62 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 ...
-1 votes
0 answers
62 views

ESP32 - get frequency from audio jack socket

I want to make LED animations based on the specific (e.g. 800Hz, 2100Hz etc.) audio frequency from the jack socket on the ESP32-DEVKITC-32E. I connected the ground to pin 1 from the socket, and I take ...
2 votes
0 answers
35 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
18 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
0 votes
0 answers
20 views

Debounce problem on inputs of a TX/RX LoRa system

Currently I have problems with a transmission and reception system with LoRa. The problem is in the code. I will proceed to explain the system in order to best describe my problem. I have two ...
  • 1
1 vote
0 answers
26 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 votes
0 answers
15 views

Connecting both a drone and breadboad/ESP32 simultaneously

I'm working on a prototype via breadboard to utilize the same power source for a pre-built drone to "share" for a breadboard to power an ESP32. For example, the power source would properly ...
  • 1
1 vote
0 answers
25 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
-3 votes
0 answers
33 views

How to wire up a battery to ESP32-CAM?

I broke my ESP32-CAM today by trying to wire up a 9V Li-ion battery to it. I connected minus wire to GND pin and plus wire to 5V pin. According to this answer I assumed that 9V would be ok and the ...
0 votes
0 answers
20 views

Using an AVR Dragon JTAG board to debug ESP32 code

I have used Atmel Studio with an AVR Dragon board to write code, download and to JTAG debug Arduino boards for several years. The AVR Dragon is a supported hardware JTAG debugger in Atmel Studio. I am ...
  • 735
1 vote
0 answers
25 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 vote
0 answers
55 views

Failed to obtain current time on ESP32 board

I wrote a C code for obtaining current time on an ESP32-S2 board but it always returns a day in 1969. I was wondering which part of the code is wrong. Here is my code: (I have left out the code that ...
-1 votes
0 answers
17 views

Serial.readString() will not grab all parts of the JSON that I send over [duplicate]

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

Unreliable transmission on WROOM using ESP-NOW (WEMOS LOLIN32)

I have the need to transfer data using ESP-NOW. The receiver is running on a esp8266 and works fine. But the sender is giving me headache. It works fine on a esp8266 or esp32-wrover (ESP8266-12F, ...
  • 101
0 votes
2 answers
47 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 ...
0 votes
0 answers
13 views

i need to send user and password to client wifi module. I take this data from a string [duplicate]

this way it works const char* ssid = "test"; const char* pwd = "123456789"; WiFi.begin(ssid, pwd); I need it this way, but it doesn't work (the strings "ssids and pwds" ...
0 votes
2 answers
26 views

ESP32 Wifi Connecting Problem, But do get connected i put finger on it

i am getting strange problem from esp32. on demo device every thing looks/Works ok, but on proper pcb boards, some device doing strange Connections issues. when I put finger on ESP32 Wroom Metal ...
0 votes
1 answer
36 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 ...
0 votes
0 answers
26 views

ESP32 can't connect to websocket web application hosted in Glitch server

I am trying to build a system to send sensor data from esp32 to a node.js based application with Websocket, hosted on Glitch server. When locally hosted (under the same router), esp32 can send data to ...
0 votes
1 answer
41 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, ...
2 votes
3 answers
71 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 ...
  • 223
0 votes
0 answers
34 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 ...
  • 101
0 votes
1 answer
32 views

What pin is the builtin LED for the LILYGO TTGO T-Energy developmenent board

I'm trying to blink the builtin LED for the LILYGO TTGO T-Energy development board. What pin is this? The pin-out diagrams supplied by LILYGO does not indicated this.
1 vote
1 answer
19 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:...
0 votes
0 answers
58 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 ...
  • 1,184
3 votes
1 answer
89 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 ...
  • 33
0 votes
0 answers
44 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 ...
  • 388
0 votes
1 answer
50 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 ...
0 votes
0 answers
20 views

Which Bluetooth mode to use to wake up, send a message (to any listener) and go to deep sleep?

I'd like to wake up an ESP32 (on battery) when a pin changes from low to high, send a message via Bluetooth, and go to deep sleep again. What Bluetooth mode should I use: Broadcast mode? Bluetooth ...
  • 388
0 votes
0 answers
25 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?
0 votes
0 answers
47 views

ESP32 Multiple Master SPI Setup -> VSPI - NRF24 and HSPI - ST7735 Simultaneously

I have been trying to use dual SPI masters, I know it is possible and followed the explanation best I could, and the code below is what I got. The issue is that the code is running the radio but not ...
1 vote
1 answer
88 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 ...
1 vote
0 answers
88 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 ...
0 votes
1 answer
113 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 ...
  • 295
1 vote
0 answers
102 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 (...
1 vote
0 answers
43 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/...
  • 11
0 votes
0 answers
38 views

Delay in I2S audio from SD card to MAX98357A aplifier

I am trying to play wav file saved in SD card using ESP32 dev module. For output I am using MAX98357A amplifier module and using I2S. Everything works fine except I get delay in output of around 4 to ...
  • 109
0 votes
0 answers
83 views

SIM7600 module does not connect to the network after I reconnect power supply

I have a LilyGO SIM7600, it works fine the first time, but it stops connecting to the network when I reconnect power supply. I use 5V with 2A. Connect power supply: The board turns on and connects to ...
0 votes
0 answers
29 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 ...
  • 1
0 votes
0 answers
26 views

ESP32 DEV Module with fixed IP-Adress and OTA

I've been trying to use OTA on a ESP32 with fixed IP-Adress. I am using the ArduinoOTA Library: arduino-esp32/libraries/ArduinoOTA at master · espressif/arduino-esp32 · GitHub In the code OTA without ...
0 votes
0 answers
53 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 ...
  • 113
0 votes
2 answers
1k 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 ...
0 votes
0 answers
35 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. ...
  • 21
0 votes
1 answer
40 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 ...
-1 votes
1 answer
103 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; ...
1 vote
3 answers
95 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 ...
  • 55
0 votes
2 answers
87 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 ...
0 votes
3 answers
724 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 ...
1 vote
0 answers
153 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 ...
  • 11

1
2 3 4 5
15