Questions tagged [espressif]

Espressif Systems (688018) is a public multinational, fabless semiconductor company established in 2008, with headquarters in Shanghai and offices in Greater China, India and Europe. We have a passionate team of engineers and scientists from all over the world, focused on developing cutting-edge WiFi-and-Bluetooth, low-power IoT solutions. We have created the popular ESP8266 and ESP32 series of chips, modules and development boards.

Filter by
Sorted by
Tagged with
1
vote
0answers
15 views

ESP32 Espressif ESP32_DevKitC_V4 in platformio: flash issues

I am using the Espressif ESP32_DevKitC_V4 with platformio, and i cannot flash the board. I read about the various "button dance" procedures, and the ES32-WROVER and the ESP32-WROVER-B seem ...
2
votes
1answer
92 views

Can't enable face detection on esp32 cam : CORRUPT HEAP: Bad head at 0x3ffe2eb4. Expected 0xabba1234 got 0x00000008 abort()

I was trying to make esp32 face recognition using the esp32 camera web server example in arduino , and everything works fine untill i press on face detection the frame is frozen , module restarted and ...
1
vote
0answers
48 views

ESP32-DEV is connected to Wifi but not working properly

Hardware: Board ESP32 Dev Module Version/Date today's master IDE name Arduino IDE Flash Frequency 80Mhz PSRAM enabled no Upload Speed 115200 Computer OS Windows 10 Description: I am doing a project ...
1
vote
1answer
81 views

ESP8266 Arduino Json object array deserialisation into struct

I'm trying to de serialize an array of JSON objects into a struct. Following the instructions given by the Arduino JSON assistant, I managed to produce this helper function: void JsonPreprocessor(...
1
vote
0answers
32 views

ESP32-S2 Brownout Detector Randomly Triggered in Deep Sleep

I have thoroughly searched for answers on this over the past couple weeks, and have not been able to find a solution for Arduino. I'm using an ESP32-S2-Saola-1M Dev board that needs to store a sensor ...
2
votes
2answers
40 views

TTGO TS I²C adress

I'm working on a project using TTGO TS wich communicate wih arduino via I²C protocole How can I find the adress of TTGO TS board used in I²C communication ?
2
votes
0answers
74 views

Using or creating Wi-Fi Direct (P2P) connection on ESP8266

I want to make a Wi-Fi Direct connection with an android device using my ESP8266. According to ESP8266WiFi Documentation and ESP8266 datasheet, the board has a SoftAP mode which is I think what is ...
0
votes
1answer
87 views

ESP32S v1.1 NodeMcu vs ESP32 DevKitV1

I have two different ESP32 development boards labelled "ESP32S v1.1 NODEMCU" (A) and "ESP32 DEVKITV1" (B). From what I can tell they have the same major components, but their pins ...
2
votes
0answers
53 views

Where to define web server callback functions so they can access server object? (ESP8266WebServer library)

I want my ESP8266-based device to create an accesspoint that allows the user to input their home ssid and password. There is a device object that holds most of the data defined elsewhere. I'm trying ...
0
votes
1answer
59 views

Calculate battery (18650 Li-ion) voltage using ESP8266-12E

i am trying to calculate the battery voltage using ESP-12E module. I am using a voltage divider circuit to calculate the same. Here is how my circuit looks like: And here is how my code looks like: ...
0
votes
1answer
110 views

Send data from one NodeMCU to another NodeMCU using Serial Communication

i am using NodeMCU (ESP8266) to communicate with another NodeMCU (ESP8266) using Serial Communication. Because i am using ESP-NOW to communicate and ESP-NOW and WiFi can not work together very well so ...
0
votes
1answer
45 views

Function displaying byte instead of value

I'm not sure I understand everything I do, but here is my issue: I'm using ESP-now between two ESP32s. Here is the code of the first ESP: #include <WiFi.h> #include <esp_wifi.h> #include &...
1
vote
0answers
520 views

how to clear heap memory in esp32?

I am using Free RTOS on esp32 in my program. However at some point of time when I execute xTaskCreate() it returns -1 , which error is could_not_allocate_required_memory. In my program, each time i ...
1
vote
0answers
67 views

ESP-01 and HC-SR04 problems booting up

I have a problem in a project that I am working, basically I need to use a ESP-01 to receive the measurements from a HC-SR04 and send it to another ESP-01 (which I won't cover here). Basically my ESP ...
1
vote
1answer
942 views

esp32 Stack canary watchpoint triggered

I am writing a program for esp32 on Arduino IDE. On some point of execution of code for File reading I am facing this exception, Guru Meditation Error: Core 1 panic'ed (Unhandled debug exception) ...
3
votes
1answer
130 views

How to restart ESP32 on any exception?

While developing a lot of projects (In Arduino IDE) for ESP32 one common issue I am facing is termination of program execution on unhandled exceptions. There are various exception I get. For example: ...
1
vote
0answers
143 views

ESP32-IDF Simple BLE Server Example [closed]

I am trying to use esp32 iot development framework. It is bit complicated for me especially BLE examples. I am try to understand gatts_service_table example but it has huge code inside and too hard ...
0
votes
1answer
197 views

Making HTTPS requests using ESP8266 AT commands

I am trying to make HTTPS GET/POST requests to the following server using AT commands. AT+CIPSTART="TCP","54.166.71.140 ",443 I get errors when i use port 443 but on port 80 the ...
1
vote
0answers
118 views

ESPTOOL not recognizing ESP32-S2 chip for SPIFFs transfer

I have a spiff file that uploads fine using a regular esp32, but when I try on the esp32-32, with a fresh installation, I get: esptool.py v3.0-dev Serial port COM3 Connecting.... A fatal error ...
1
vote
0answers
91 views

GET/POST request via AT Commands

I am trying to send a simple GET/POST request to a dummy end point on https://requestbin.com/. I am using an ESP8266 module. I am using the arduino serial monitor to send these AT commands. I connect ...
0
votes
1answer
305 views

How to assign ESP8266 access point a hostname that can be resolved by the stations?

I want to assign a hostname to a ESP8266 access point, so that the clients can reach a webserver on this access point without caring about the IP address of the AP. How can that be done? I tried using ...
1
vote
0answers
394 views

ESP32 preferences library: casting byte array back to struct

I'm new to both C and the Arduino framework and having difficulty fully understanding casts. Using this code as an example, I'm attempting to store a struct locally into flash. Code for two functions ...
1
vote
0answers
42 views

Error compiling to ESP32 using Arduino: Operand 2 of 'l32r' has out of range value

I was trying to follow this tutorial and ran into a problem compiling on the Arduino IDE with an ESP32 board. https://eloquentarduino.github.io/2019/12/how-to-do-gesture-identification-on-arduino/ I ...
1
vote
1answer
299 views

NodeMcu 1.0 resets automatically after sometime

I want to show some digits in a 3x3 p10 red led pannel where the number will come from the cloud and the number keeps updating. For this I have used esp8266 based Nodemcu. I have used WiFi Manager ...
2
votes
0answers
65 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 ...
-1
votes
2answers
173 views

Using ESP32 Cam internal RAM

I am new to the ESP32 series of boards.I powered up my ESP32 Cam board using the Vcc pin supplying about 7.4V using two 18650 batteries only to find out later that was a completely incorrect way to ...
1
vote
0answers
48 views

Esp 32 keeps disconnecting from com port

I was trying to upload a blinking coding that was in Arduino IDE but the Arduino IDE can not detect my Esp32 but when i press "EN" i manage to get connection but when i letgo the esp32 ...
2
votes
2answers
78 views

ESP32 softAP SSID not const

I would like to be able to set the wifi SSID in the setup(), so I can customize it based on the MAC address or something similar. (avoiding to ESP's with the same code having the same SSID). However ...
0
votes
1answer
21 views

A word after function arguments braces

I'm just reading through a header files for task code in ESP8266 SDK. I found this line and wondering what does the word PRIVILEGED_FUNCTION after the function arguments braces means ? void vTaskDelay(...
0
votes
3answers
1k views

ESP-NOW and WIFI and OTA at the same time on Sender and Receiver

I am trying to set up two ESP32s so that they can be updated via OTA and at the same time send sensor readings using ESP-NOW, from Sender Board to Receiver Board. For this to work both boards must ...
1
vote
0answers
117 views

ESP8266httpUpdate library built-in led blinking time

I have been working with the ESP8266httpUpdate library for a while now, I want to change the frequency of the blinking built-in led of the esp8266, I couldn't figure out how this library is commanding ...
1
vote
0answers
234 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
357 views

esp8266 OTA issue

I have uploaded the BasicOTA sketch in Esp8266-12e. I am written one program, when i try to upload it first time in Esp using the OTA port it gets uploaded successfully, but when i try to upload any ...
2
votes
0answers
37 views

Split string using a delimiter then saving to different variables [duplicate]

I have a string that looks something like this "43;27;42;27". It is the data from 4 DHT22 temperature sensors, i need to splice this string every ";" and save the number to a variable. In the end, I ...
2
votes
1answer
1k 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 ...
1
vote
0answers
50 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
644 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
92 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
2answers
4k views

esp32-cam publish image to mqtt

I want to publish image capture through ESP32-CAM to MQTT. Have following code : #include "WiFi.h" #include "esp_camera.h" #include "esp_timer.h" #include "img_converters.h" #include "Arduino.h" #...
0
votes
1answer
110 views

Code uploads successfully on esp8266-01 but doesn't run

I am using esp8266-01 board. It was working fine few days ago, the codes uploaded and ran successfully. But now that I upload code to it, it gets uploaded successfully but it doesn't work. I am using ...
1
vote
0answers
1k views

esp32 arduino wifi disconnect

I have this code running on ESP32 connected to SVM30-J #include <WiFi.h> #include <PubSubClient.h> #include <Arduino_JSON.h> #include <svm30.h> // Replace the next variables ...
1
vote
0answers
286 views

ESP8266 NONos SDK with Arduino ide or VSCode PlatformIO

I have few questions about esp8266 programming. I am trying to make a iot application with esp8266. I have to run esp on two modes and create tcp server and http client. I did this application with ...
0
votes
1answer
244 views

ESP32-CAM interfacing with CCS811+HDC1080+BMP280

I want to measure Temprature, Pressure, Humidity and CO2 in a room with ESP32-CAM & CCS811+HDC1080+BMP280 Since this module is combination of 3 sensors. Can I integrate it with ESP32-CAM over ...
1
vote
0answers
491 views

Send HTTP request from Arduino UNO+ESP8266

I am trying to send an HTTP request from from an Arduino UNO through an ESP-01 connected by Serial. Communication with the ESP and connection to the AP work fine. But when i try to send an HTTP ...
0
votes
2answers
992 views

How to upgrade ESP8266 NodeMCU SDK from V2.5.2 to V3?

ESP.getFullVersion() output: SDK:2.2.1(cfd48f3)/Core:2.5.2=20502000/lwIP:STABLE-2_1_2_RELEASE/glue:1.1-7-g82abda3/BearSSL:a143020Connecting to DO_231455 I upload sketches from the Arduino IDE. How ...
2
votes
0answers
331 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
57 views

Online Json Service for Esp32

I'm building a simple outdoor temp and humidity sensor with an esp32 I've aquired but I need a platform that I can submit the Json to so that then my laptop can make an http request to get the Json ...
0
votes
1answer
1k views

Stack smashing protect failure ESP32 with Modbus RTU

I'm doing a project using an ESP32 TTGO with LoRa, the Max485 and a WELLPRO ADAM 8082 for Modbus communication. I'm trying to use the ESP32 as a master to and the ADAM as a slave. I'm also using Node-...
1
vote
1answer
2k views

ESP32 bluetooth discovery parse names

I'm running a sample code from ESP32 examples and I'm scanning available BLE devices. I can see device MAC address etc. But for few devices I can't see their names.I am using ESP-WROOM-32 with ...
0
votes
1answer
62 views

A few questions on the first steps with an ESP32/ESP8266 NodeMCU [closed]

I would like to know what are the first steps, as a good practice, when receiving a new ESP based NodeMCU. For example: Checking if everything works fine After you connect to the relevant COM port, ...