Questions tagged [esp32]

A cheap and low-power microcontroller family using Tensilica Xtensa LX6 CPU cores with integrated WiFi and dual-mode bluetooth.

114 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
1k 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 ...
2
votes
0answers
5k 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 ...
1
vote
0answers
17 views

Lolin D32 Pro board with OLED SH1106

Just starting a project and wanting to connect Lolin D32 Pro board with OLED SH1106. The screeen works with my Arduino Nano no problem however I can't seem to get it working on the D32 Pro. I tried ...
1
vote
0answers
36 views

ESP32: Share I2C bus among multiple freeRTOS tasks - do I have to expect synchronization issues?

I recently inherited some firmware with weird problems in regards to the duration of reading sensor values. The board is based on the ESP32 Wrover MCU and has multiple sensors connected via the I2C ...
1
vote
0answers
70 views

ESP32 HCI command for setting BLE TX Power

Does anyone know if there's an HCI command for setting the TX and the advertising power for BLE on an ESP32? I have a Nano 33 IoT and a MKR 1010, and it has its power set annoyingly low for ...
1
vote
0answers
152 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/...
1
vote
0answers
240 views

HC-05 Bluetooth fails AT+LINK

I'm trying to get a HC-05 connected as master to a Bluetooth ELM327 OBD scanner. The HC-05 is accepting AT commands, no problem. This is the sequence I use: AT+RMAAD (Clear any paired devices) AT+...
1
vote
0answers
136 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 ...
1
vote
0answers
84 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 ...
1
vote
0answers
962 views

Send file from ESP to server via FTP

I've a code which records sound to SD, then starts an FTP connection for a limited time. I want to make an automatic system which records then sends the sound file continuously. Now I'm recording ...
1
vote
0answers
61 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 ...
1
vote
1answer
936 views

Arduino Uno & ESP32 communication using RS485

I am trying to establish a communication between Arduino Uno ( Master) and ESP32 (Slave) using RS485 protocol (using MAX485 module). I have successfully done this between two Arduino Unos. ...
1
vote
0answers
383 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 "/...
1
vote
0answers
85 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 ...
1
vote
0answers
301 views

WindowsError(31, 'A device attached to the system is not functioning.') in arduino

Having board esp32 devkit v1, to get started with arduino ide (installed recommended boards for esp32) I marked board asDOIT ESP32 DEVKIT V1 (as no other options as like ESP32 DEVKIT V1 ) so upload ...
1
vote
0answers
95 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 ...
1
vote
0answers
214 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 ...
1
vote
0answers
350 views

Passing non-static member function using bind

I'm using the GxEPD2 library to communicate with an E-Paper display. I now wanted to use the drawPaged method of this library with an object display. I also have written my own class from which I ...
1
vote
0answers
458 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 ...
1
vote
0answers
446 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 ...
1
vote
0answers
224 views

SerialBT.begin(“name”) now causes brownout in ESP32

I'm attempting to run the example sketch SerialToSerialBT.ino. It's a pretty commonly used sketch. I successfully loaded it on one of my ESP32 chips last week, and was able to use a tablet serial ...
1
vote
0answers
484 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 ...
1
vote
0answers
7k views

ESP32 in Arduino-IDE with FS.h and SPIFFS

I'm working on a webserver on ESP32 in Arduino IDE and would like to load an html-file. Tried to use SPIFFS.open from the library FS.h from github. Errormessage says SPIFFS was not declared in this ...
0
votes
0answers
10 views

ESP32 Hardware Serial Flow control and full espressif/arduino-esp32 support

I have a similar issue. I want to use the ESP32 with RS485. I have used the Arduino and this works well assigning pins, but it seems not to allow full use of the UART. I see the new uarts in the ...
0
votes
0answers
20 views

Program the Arduino Due with the ESP32

I'm trying to do OTA firmware updates for the Arduino Due with the ESP32. Now so far I'm able to get the firmware from a website and transfer it over UART. Now I'm looking to get the firmware and ...
0
votes
1answer
27 views

Why does the reading on the ESP32 read max, when the reading on UNO read accurately?

I have a 'Capacitive Soil Moisture Sensor' hooked up to my Uno. Very simple code. AnalogRead(MoistureSensorPin); This will return a differing value that I can work with. When applying the same code ...
0
votes
0answers
16 views

ESP32 CAM sending a file via POST method

I'm using HTTPClient.h for sending the image file that taken by ESP32-cam, but it sends just headers. the important part of code : File fsUploadFile2 = SPIFFS.open("/picture.jgp", "r"); ...
0
votes
0answers
15 views

esp32 with Neo6M gps gives no data

I am simply using the following code void setup() { // put your setup code here, to run once: Serial.begin(115200); // set the data rate for the HardwareSerial port Serial2.begin(115200); } ...
0
votes
1answer
50 views

ESP32-Cam No Response and Unable to Program - Timed out waiting for packet header

I recently purchased an ESP32-CAM but have had no luck in programming the board or getting any response whatsoever. I first tried to program it using the an FTDI programmer and the Arduino IDE (...
0
votes
0answers
30 views

GY-91 nightmare (MPU9250 + BMP280)

I have a GY-91 breakout board, like this one: https://www.amazon.com/-/es/ARCELI-MPU9250-BMP280-GY-91-10DOF/dp/B07DN173BM/ It is supposed to have a MPU9250 and a BMP280 The BMP280 works without ...
0
votes
0answers
22 views

ESP32 doesnt save every string to SD Card

My code initializes, the header (the ID; Value string) for the .csv file gets saved, but the dataString which is the most important part doesnt save to the .csv file. I get an arraypointer to the ...
0
votes
0answers
13 views

Sparkfun ESP32 WROOM Thing Plus Deep Sleep & Interrupts codes “marriage” problem

Would like to ask for assistance. Tried several routes. My knowledge is lacking and unable to progress further. I think I am very close to the solution (maybe couple of lines of codes away), but the ...
0
votes
0answers
17 views

detect a dropped tcp connection

Is it possible to detect a dropped connection using WiFi server? Example: Windows disables the Ethernet connection to the ESP during an active connection. After re enabling the connection it is not ...
0
votes
0answers
21 views

ESP32 using APSTA mode and LR simultaneously

I'm currently playing around with the LR mode for the ESP32. This lowers the data rate and increases the range apparently. But according to the sketch I use: void init_wifi(wifi_mode_t mode) { ...
0
votes
0answers
47 views

esp32, brownout on 3.3v?

I'm using a powerbump, input: 3.7v-6v Outputs: 3.3v, to provide the power I'm using 2 CR2025 coin cell batteries(3v each), meaning the powerbump gets 6v, the esp gets the exact 3.27v(I've measured ...
0
votes
0answers
17 views

connection to ESP using pyVisa

I'm building a small LXI device using a the OLIMEX ESP32 POE Board. Sending commands to the device using pyVisa works fine, but queries don't. Only the IDN? query works. From the ESP I get the ...
0
votes
1answer
125 views

Function pointer call results in InstrFetchProhibited (ESP32)

I have the following issue which I'm unable to resolve by myself. Perhaps one of you could point me to issues in my code which I don't see. There is a class called communicator which handles an MQTT ...
0
votes
1answer
68 views

Connect arduino nano and ESP32 with I2C on the GPIO7 and GPIO8?

I made a mistake connecting SD0 (GPIO7) and SD1 (GPIO8) with the SDA and SCL on my arduino nano. I got confused with GPIO21 and pin21 and GPIO22 and pin 22! Since I made a PCB prototype, I would ...
0
votes
0answers
43 views

Error while receiving large amount bytes on loop using esp32 ( 541 bytes )

I am using an ESP32 (without arduino board and using arduino IDE ) with bluetooth and communicating with other hardware via serial communication. Serial communication speed is high (1382400) but it ...
0
votes
0answers
47 views

esp32-cam reading bme280 with Arduino IDE

I am trying to interface BME280 with ESP32-CAM (Yes because later I need to take pictures also). Was following this tutorial. The BME280 board I have it has VCC, GND, SCL, SDA pins for hardware I2C. ...
0
votes
0answers
40 views

ESP32 WebSocketsServer - stream pots data to web browser

I would like to stream pots data to a web browser using websockets. I'm using WebSocketsServer on a Huzzah but sendTXT isn't working, but does for Connected WStype. Is there a way to do this? ...
0
votes
0answers
76 views

Simple ESP32 MCP2515 CAN code to VP230

I have a working code that uses MCP2515 CAN module. Wanted to minimize the size of required modules, so I went with VP230 CAN transceiver and I'm having trouble relaying the same data through ...
0
votes
0answers
22 views

Lg g6 can't find Esp32 bluetooth

My lg g6 cant find esp32's bluetooth. Lg g6 bluetooth is fine as i can connect other devices Esp32's bluetooth is fine as i can connec from my samsung s9 to the esp32. Tried reseting and clearing ...
0
votes
0answers
51 views

ESP32 playing wav sounds distorted or too fast (but not all wav's)

I am building a sound project on an ESP 32 via I2S using an example from: https://github.com/nhatuan84/esp32-i2s-sdcard-wav-player It works fine with the example wav file t.wav posted in the ...
0
votes
0answers
32 views

Trouble GETing over HTTPS on the ESP32

I am having some trouble doing a GET request over HTTPS on the ESP32. I am using the BasicHttpsClinet example from the ArduenoIDE. Here is the code. /** BasicHTTPSClient.ino Created on: 14.10....
0
votes
1answer
35 views

LED and MOTOR “ON” when A BLE DEVICE APPROACH ESP32 MICROCONTROLLER DFR0575

I have this code that is working perfectly but I want my device to start vibrating too (right now only the led is working) On a Wemos Battery Module I have simply connected the vibration motor on the ...
0
votes
1answer
196 views

Reading Data from Google Sheets using Nodemcu

I want to read and writ data on Google sheets using ESP8266 WIfi Nodemcu and I'm able to do it but the time interval between two writing row is 3 seconds which is too much. I can read data but I am ...
0
votes
0answers
100 views

pulseIn on ESP32 return 0 regularly

I'm using pulseIn on an ESP23 for measuring a frequency between 500 Hz and 10 KHz. I measure both the HIGH and the LOW time, as all simple examples suggest. 95% of the time the result is correct, but ...
0
votes
0answers
61 views

how to get text box values from webserver of esp32 and print them in to serial monitor by using <webserver.h> library

Actually I'm trying to get the values from esp32 server webpage. Suppose there is a web page containing some text box fields, user has to enter some details in it and this details I want to be print ...
0
votes
0answers
35 views

How to implement server.on() without any libraries?

I was trying to setup a web server with Arduino and ESP32, without using the ESP32 libraries. Currently I'm able to display a webpage(a form with single submit button) from the server, with only using ...