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
vote
1answer
638 views

How do i fix the “A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header”

I have an AI Thinker ESP32-CAM and I've had issues uploading the CameraWebServer sketch, every time I hit upload it says "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for ...
2
votes
1answer
344 views

Error in defining Ticker in ESP32 library

I'm using the exact piece of code in my ESP8266 library (which works OK ), but when used in a ESP32 library- I got an error: This is the relevant code snip: void myIOT32::_feedTheDog() { ...
-1
votes
1answer
122 views

ESP32 proper DS18B20 wiring

I want to connect a DS18B20 to my newly bought Heltec ESP32 LoRa (V2). For initial testing I have used some standard code: #include "heltec.h" #include <OneWire.h> #include <...
0
votes
1answer
57 views

ESP32 using PubSub, creating an error when implemted inside a library

I wish to combine into a single library Wifi + MQTT, for a multi devices project. right after boot, getting Wifi - I get an error the moment MQTT server is trying to connect: mqttClient.connect(...
0
votes
1answer
34 views

ESP32 Cannot assign value to string. Getting wrong value

Hello I have problems with strings in my sketch. I assingn values to my string (for example tempStrReturn) in the functions setNr1, setNr2. If i pass the value 1 to the function i get "" or "...
3
votes
1answer
372 views

Why do ESP boards break out the SPI flash pins?

I have an ESP32 development board and a NodeMCU board here. Both breaking out the pins for the SPI flash of the ESP. These pins are mentioned in standard pinout descriptions as must/should not connect....
0
votes
1answer
565 views

Esp32 external interrupts sometime is missing

In short. ESP32, two water meters (hot and cold). Booth, hot and cold, some interrupts are missed. When i connect ESP32 to serial monitor and watch then all interrupts are detected (about 5-10 minutes)...
1
vote
0answers
53 views

Impossibility to open a file for modification in ESP32

Consider the following code: #include "SD.h" #include "Fs.h" void setup() { Serial.begin(115200); while (!Serial) { ; // wait for serial port to connect. Needed for native USB port only } ...
1
vote
0answers
42 views

Can you program an ESP32 with an Arduino?

I've done it with an ESP-8266 but can't find any articles on how to do it with an ESP-32. I'm working with an ESP-32 on my own PCB, not a dev board. I exposed: 3V3 GND EN TX RX IO0 I'm pretty sure I ...
0
votes
2answers
132 views

How to modify values inside a file

I am writing a wav file to an SD card on a ESP32 and that requires that every time I append data to the the end of the file I modify the header to set the right size in some fields. I cannot find how ...
0
votes
2answers
68 views

Does toCharArray prevent a String being created on the heap?

I know it's bad to use Strings due to the memory problems that can occur. I've tried to remove all instances of strings from my code. But I'm not sure about this line: http.getString().toCharArray(...
1
vote
0answers
35 views

Is there a way to both read and write on the rising edge of the SPI Clock?

Im trying to use sipo and piso shift registers simultaneously with ESP32 using SPI. However the sipo(SN74AHC) reads data on the rising edge of clock and the piso(SN74HC165) outputs data on the rising ...
0
votes
1answer
37 views

5 arrays or one matrix?

I am working on a project where i need to store as fast I can following : 1 - Acceleration on X 2 - Acceleration on Y 3 - Acceleration on Z 4 - timestamp 5 - A value from some other sensor ...
0
votes
0answers
119 views

eps32 bad adc even with external adc (ADS1115)

Im trying to read an analog value with my esp32 and send it over wifi to another esp32. The wifi part works flawless, however when i try to read an analog value form the esp32 its not useable. It ...
1
vote
0answers
118 views

Edit JSON File on SD Card

I am currently Working on a project, where I save values in a JSON File on an SD Card. The JSON looks something like this: { "ID1":{[[starttime, endtime], [starttime, endtime], [....
0
votes
0answers
157 views

ESP32 Low Power Reconnect Latency Question

I am trying to develop a small 9-button BLE keyboard on the ESP32 with a rotary encoder as a volume knob. My question involves the low power modes and the time it takes for them to wake up. My ...
0
votes
1answer
275 views

Web page using bluetooth?

I have a project where I read 2 sensors using an esp32 and also have an web server. I can connect using mobile phone and display the page where I see info about the sensors (using web sockets to ...
0
votes
1answer
198 views

how to get esp32 ip address ,which is being connected to local network

I need to know the IP address of ESP32 on the local network(without printing ip on serial monitor ). The idea is to do mDNS or UDP broadcast to send the IP to the android application. The app will ...
0
votes
0answers
223 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 ...
2
votes
3answers
2k views

Why doesn't OTA work with the Ai-Thinker ESP32-CAM board?

I have working code on an Ai-Thinker ESP32-CAM board, programming over serial. I would like to reprogram using OTA, but adding in the functionality from the BasicOTA sketch (which I have done on ...
0
votes
0answers
26 views

Esp32 NOW having truble exchanging data

So I'm trying to program a remote which is capable communicationg 2 ways. 1. I'm sending the motor throttle data to the receiver (esp32 to esp32) and send data back regarding its voltage and current. ...
0
votes
1answer
146 views

Which Protocol to use to control WiFi (esp 32) enabled Led Light

I am developing a Wifi based Led light (for learning purpose). I have little knowledge about web server, clients, Web protocols. I will be using ESP32 as Controller cum WiFi module. There are two ...
0
votes
1answer
779 views

HTTP POST from Arduino/ESP8266/ESP32 How to send parameters (x-www-form-urlencoded)

EDIT: Thank you for the answer, also we had figured out how to do it Micropython too - I believe that it is relevant for the Arduino/ESP8266/ESP32 community to share this too. https://github.com/...
0
votes
1answer
337 views

ESP32 on Arduino IDE: Identify the board type in code (preprocessor macro)

I have read the answers on this post, but they do not seem to be providing a solution for ESP32 boards. Is there a way to get the .name that is used from the boards.txt without modifying the platform....
1
vote
1answer
144 views

Sending Variable to IFTTT via ESP32 using Asynchronous Web Server

I have been trying to send three variables to IFTTT from my ESP32 using Asynchronous Web Server. However, I couldn't set the "URL" that was supposed to be the response that will trigger my IFTTT. Here'...
1
vote
1answer
542 views

SCLK pulses not seen when using SPI on ESP32

I am using the following code in my esp32 using arduino IDE for spi communication which is an example code - #include <SPI.h> static const int spiClk = 1000000; // 1 MHz //uninitalised ...
1
vote
0answers
50 views

Adrduino IDE doesn't show port for connected ESP32 module

When I go to select port there's no port for the connected ESP32 module. I am using Mac OS Mojave, mac mini. The port I find is
2
votes
1answer
686 views

AsyncWebServer giving wdt reset

I am using 3 Esp32 modules. One being master and other two being nodes. Nodes are connecting to the master's AP. Master is connected with GSM module to execute the web api. Master esp is having a ...
0
votes
1answer
2k views

Checking size in flash memory Esp32

I recently purchased an Esp32 and am doing some tests using Arduino IDE. In one of the tests, I am recording a lot of .txt files with some text inside them in the flash memory, however, I would like ...
0
votes
1answer
225 views

Serial read SSID and PASSWORD WiFI connection failed in ESP32

Trying to get Wifi SSID and password dynamically from serial monitor and connecting to WiFi, tried the below program, but wifi is always in Connecting state only, it is not getting connected after ...
0
votes
1answer
38 views

Connecting a FireBeetle ESP32 to Arduino

I have a very basic question, because I struggle to upload files to my FireBeetle ESP32 Board. When I try to upload to the board I get an A fatal error occurred: Failed to connect to ESP32: Timed ...
1
vote
0answers
85 views

FTDI Unrecognized USB device

I connected my FTDI (FT232RL) to my PC, windows 8.1. And it gave me a notification saying "USB device not recognized". However, I thought that the problem is from the cable that I am using to connect ...
0
votes
2answers
328 views

Can we use ESP32 to program ESP32-CAM through ESP-IDF

Can we just use an ESP32 NodeMCU for example to program an ESP32-CAM? I saw a lot of people programming ESP32-CAM using an arduino Uno, can we do the same for ESP32 NodeMCU? Of course, in the "Arduino ...
0
votes
1answer
74 views

Soil moisture sensor, weird readings

I'm having a small problem with my soil moisture sensor it gives me weird readings, in the second the smallest connection is made between the legs it just gives me 4096 (which is max possible value),...
1
vote
0answers
41 views

ESP8266 EEPROM Reading extra character

I am very very new to ESP Programming. I am trying to store Strings into EEPROM of ESP8266. I am storing the string into eeprom successfully but while reading it from EEPROM extra character 'd' is ...
1
vote
0answers
510 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 ...
0
votes
0answers
128 views

SPIFFS image does not fit in flash (offset 108MB)

I'm trying to upload an empty SPIFFS image to my ESP32's flash memory via the ESP32 sketch data uploader but I'm getting the following error: [SPIFFS] data : /path/to/my/data [SPIFFS] start : ...
0
votes
1answer
811 views

Converting the 3.3V PWM signal to 5V PWM signal

I am using ESP32....the max Pwm signal of it is 3.3V...And I have to control two motors speed by TB6612FNG motor driver...when i was using Arduino.. The arduino can send max 5V Pwm signal to the motor ...
0
votes
0answers
466 views

Connect more than 4 BLE clients to ESP32 BLE Server

I want to create some buzzers connected via bluetooth for a quiz show. I got several ESP32. One of them is the master (BLE Server), the other ESP32s are the buzzers (BLE Clients) with one big button ...
0
votes
0answers
101 views

Fingerprint not detected

I'm currently trying to integrate my ESP32 Module (as in https://cdn.instructables.com/FOL/YWLI/JEOILQ5U/FOLYWLIJEOILQ5U.LARGE.jpg) with Fingerprint Sensor(R307) using the Adafruit Fingerprint Library....
1
vote
2answers
182 views

WiFi.begin doesn't work with ArduinoJson's const char* output

I'm using ArduinoJson to parse a file full of JSON strings that contain the SSID and password for the registered networks. I have a little web interface that runs in soft AP mode so you can scan for ...
0
votes
1answer
89 views

PCF8575c changes address in I2C Scanner

I want to connect a PCF8575c pin extender to an ESP32, so that I can light 12 LEDs. The problem is that after the connection, when I try to use an I2C Scanner, it shows me a lot of different addresses,...
0
votes
0answers
73 views

Creating a router with ESP32 and SIM800c

I am trying to create a device which is a combination of ESP32 and Sim800c. This device (Master) will start AP mode on ESP32, so that other devices (Nodes) will connect to this AP. The Sim800c will ...
1
vote
1answer
579 views

ESP32 Bluetooth SPP Max Speed

I am trying to understand the maximum BT SPP transmission speed that can be achieved using ESP32. What my project requires is to send 2bytes of data every 200us (5kHz) AND additional 15bytes of data ...
0
votes
1answer
71 views

How to use I2S in ESP boards?

I have researched this a lot, but haven't found anything on which I can trust. I want to use a particular ESP board to play audio. To play audio, I2S support is required. But, I know that not every ...
1
vote
1answer
207 views

Flow control between ESP32 and RS323 device

I'm trying to communicate an RS232 device with an ESP32 (Heltec Wifi/LoRa 32 v2) my problem is that I don't receive any response from the device, doing some research, I'm thinking that the trouble can ...
1
vote
3answers
426 views

How far can a HC-SR04 can stand from the microcontroller?

I was wondering if I connect a HC-SR04 to an Arduino or any other microcontroller by normal cables, what would be the maximum length of this cable so that the measurements will still be true, and not ...
0
votes
2answers
3k views

Error 'exec: “python”: executable file not found in $PATH Error compiling for board AI Thinker ESP32-CAM.' in Arduino IDE 1.8.12

I am trying to upload a sketch to the ESP32-CAM board using Arduino IDE 1.8.12 and I get an error message: exec: "python": executable file not found in $PATH Error compiling for board AI Thinker ...
1
vote
0answers
40 views

Send large files to API via HTTP

I am making a stream-based radio clock that needs to send snippets of the stream to an external API for music recognition using an ESP-WROOM-32 DevKit. The snippets that I record are 15 seconds long, ...
1
vote
1answer
197 views

How to display CAN BUS information on EPS32 web server?

I try to display the transmitted information from CAN bus on ESP32 web server. I saved the CAN.read() in a buffer receivedChars[i] and try to display the data by client.println(receivedChars[i]);}. ...

1
3 4
5
6 7
11