Questions tagged [esp32]
A cheap and low-power microcontroller family using Tensilica Xtensa LX6 CPU cores with integrated WiFi and dual-mode bluetooth.
297
questions with no upvoted or accepted answers
4
votes
0
answers
4k
views
ESP32 IR remote
my board is a firebeetle esp32 that I am using as an IR remote.
After using the Ken Shirrif IRremote library for about 6 months successfully, then the time came to change a few things on the web ...
3
votes
0
answers
446
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 ...
3
votes
0
answers
519
views
ESP32-C3 SPI Class documentation/features?
ESP32-C3 has a nice feature called GPIO Matrix which allows to map most of it's peripherals to any GPIO pin. And it has feature called IO_MUX which allows direct & faster operations for some of ...
3
votes
0
answers
450
views
ESP32 Bluetooth Master does not connect
I want to connect an ESP32 to a SMA Sunny Boy SB5000-TL Solar convertor over Bluetooth, but I cannot establish a connection and I'm kind of stuck.
I use the internal bluetooth module of the ESP32.
...
3
votes
0
answers
399
views
ESP32 HTTP Server request interrupts Telnet session
I have an ESP32 application that uses a web server as a user interface. For auditing and debugging during development I use Serial; however, that is impractical in the installed system. So, I decided ...
3
votes
0
answers
1k
views
how to get live view of esp32cam at remote sever using ssh tunneling?
I have found many projects involving esp32cam, but in all projects video is being seen on local server only.For its of no use.As for a home security project user can view the video at remote location ...
3
votes
0
answers
492
views
OTA updating the ESP32 from a separate server
I have an ESP32 project which I'd like to be able to update OTA. The trouble is that it is in deep sleep for approximately 15 minutes before waking up, connecting to WiFi sending an MQTT packet then ...
3
votes
0
answers
8k
views
How do I interpret the esp8266 "boot mode" message?
Everytime the chips resets, we get the reason and the next boot mode.
ets Jan 8 2013,rst cause:XXX, boot mode:(YYY,ZZZ)
For XXX we can check the meaning here.
For YYY and ZZZ I am not sure but I ...
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 ...
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 ...
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 ...
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 ...
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 ...
2
votes
0
answers
193
views
Same code working on Arduino IDE but not in PlatformIO IDE
I'm running into this weird problem. My code is working just fine when I upload it to an ESP32 from Arduino IDE. That same code is not working when I upload it using PlatformIO IDE. The same libraries ...
2
votes
0
answers
847
views
ESP32 ADC <-> WIFI Issue
I'm Using ESP32 ADC1 (not ADC2 that conflicts with Wi-Fi functionality) to capture some analog data received @IO36 (an ADC1 port). As soon as I uncomment WiFi.mode(WIFI_AP_STA) line (even when WiFi....
2
votes
0
answers
53
views
How would I link inline debugger with esp32 on Mac?
I am trying to connect JTAG debugger to my esp32 according to the following steps https://www.instructables.com/How-to-Use-a-Debugger-on-an-ESP32/
but still I am facing issue in debugging. I am ...
2
votes
0
answers
108
views
Azure IoT times out while trying to send a message from an ESP32
I am looking for a working example of an ESP32 sending telemetry data to Azure IoT hub. I find nothing working around the internet: below is the code I am trying to make it working.
As you can see in ...
2
votes
0
answers
51
views
Arduino compatible ESP32 and ESP8266 board power consumption at sleep state
I have data on smaller modules with ESP32 and ESP8266, but can't find anything reliable pertaining to the whole board power consumption (current) with 12V input and microcontroller at low power or ...
2
votes
0
answers
139
views
Extract Static Acceleration from MPU6050 using Formula
I am trying to implement a research paper for my project and there is a formula which I am failing to interpret:
According to the research paper, we extract the static acceleration component for each ...
2
votes
0
answers
93
views
Why isn't my ESP32 staying in Deep Sleep longer than 35 minutes?
I've been having an odd issue with a new custom ESP board. I can't push deep-sleep time past 35 minutes no matter how I adjust the timing.
Below is my current pertinent code, but basically the device ...
2
votes
0
answers
68
views
How can I rewrite my Bluetooth Classic Arduino code into Bluetooth Low Energy Arduino code (and have everything working the same)
My original code for BT Classic
My Work in Progress BLE Code
I am trying to take all I did in BT Classic and have it working exacly the same in BLE but the Rssi keeps returning 0's in the BLE code and ...
2
votes
0
answers
150
views
Is it possible to use CCMP as cipher type on ESP32's softAP mode?
Currently I'm starting softAP mode on ESP32 with WPA2_PSK as auth type(as WPA3 is not supported for softAP). When I am trying to connect my iPhone to the softAP, iOS gives a warning that WiFi security ...
2
votes
0
answers
135
views
Two sensors on same ESP-32 board
Need some help on the project I'm currently developing.
I have 3 YF-B2 sensors that I need to connect to the same ESP-32 board and read the data from the sensors and send it via MQTT.
I had it working ...
2
votes
0
answers
126
views
Get deceleration (negative acceleration when apply brake force)
I want to build a device to measure deceleration force when a car brakes. I am using a MPU6050 for get data and I read from it acceleration on X,Y,Z axes in m/s2 and also it gives me gyro in degrees/...
2
votes
1
answer
2k
views
How to Set RTC in ES32 using NTP server?
I am working on ESP32 And want to set RTC from the NTP server. How can I get epoch value I have done this thing on CC3200 launchpad and used an NTP server library to obtain epoch value.
2
votes
0
answers
966
views
Stream esp-32 camera to RMTP server like YouTube
I am doing research for a project in which I need to play with camera streams. After multiple hit and trails and googling I am not getting even close to the solution for streaming ESP-32 Camera stream ...
2
votes
0
answers
445
views
esp32 and the esp32-cam (agoal)
Is it considered possible to use the esp32 code on an esp32 cam board? Do they use the same hardware? I am having difficulty using this sketch https://gist.github.com/wybiral/...
2
votes
0
answers
293
views
Low voltage security
I'm building a circuit with a GPS sensor and an esp32. My input voltage is designed to be 5V but I experienced some issues where people put lower charger in input (<4V). As a result my esp32 will ...
2
votes
0
answers
77
views
Reducing json upload time
I'm using an ESP32 WROOM board to capture some data in the field and send it over using arduino json. However, the complete process of sending and receiving confirmation takes up around 12 seconds and ...
2
votes
0
answers
2k
views
Arduino HTTP post image to external server
I'm trying to send an image from SPIFFS to my external server. When pictures are taken, they are saved into "/pics/" directory within SPIFFS. Ultimately, I'd like to post all the images saved onto "/...
2
votes
0
answers
732
views
Clock cycle count count for the same command is not equal in ESP32
I am using ESP32 Pico Kit with Arduino Ide. I want to measure operation cycle for a few commands.
The code is so simple as below:
void setup() {
Serial.begin(9600);
}
void loop() {
unsigned ...
2
votes
0
answers
2k
views
Esp32 sending a wav file to API via POST
I'm trying to send a .wav file to an API with an ESP32 using a HTTP Post request with a multipart/Form-data content type.
I can already send the API Key as it is a plain key and get a return from the ...
2
votes
0
answers
705
views
Set local stratum 0 NTP server without internet
Currently, I'm doing a running track timing gate project to measure an accurate acceleration (a runner for example). The idea is when the runner triggers the first gate (start gate), the system will ...
2
votes
0
answers
144
views
Is NVS storage reset during an OTA update? (ESP32)
I plan to save some settings in the NVS repository of my ESP32, which will also be implemented OTA update.
The question arose, will the data in the NVS storage be reset when the OTA update is ...
2
votes
0
answers
478
views
Reading data from SPI on ESP32-WROOM-32
I'm newbie with Arduino and need to do a short task: read data from SPI (sent by another microcontroller) and send to WiFi (by ESP32-WROOM-32).
I can't understand how to initialize and read data from ...
2
votes
0
answers
811
views
HTTPS POST method fails in esp32
I was trying to connect with server but, I was unable to post the data. I have added the SSL key to connect with server that is happening but HTTPS POST is not. I tried the same method with http, I am ...
2
votes
0
answers
2k
views
LED strip with 12v power connected to ESP32
I'm looking at controlling a ws2811 strip and I have seen mention that you should share the same ground between the strip and the controller, which does make sense.
I do not currently have a proper ...
2
votes
0
answers
818
views
Use ESP32 as a secure socket
I have a board without network connection, then I bought an SP-WROOM-32 dev kit because it has network connection ability.
Is there any way that I use esp32 as a secure socket (just like calling ...
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 ...
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",...
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
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
90
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 ...
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 ...
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
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 ...
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&...
1
vote
0
answers
140
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 ...