Questions tagged [esp32]
For issues relating to the ESP 32 Wi-Fi and Bluetooth combo chip of Espressif.
1,968
questions
0
votes
0
answers
12
views
Compare Gray Scale Images ESP32
I have an ESP32 AI thinker I was writing the code but didn't get the logic. The logic I think that compare the grayscale image and check the difference between the image. But in code, I have no ...
0
votes
0
answers
16
views
cant communicate between two lora modules
im trying to communicate between two lora modules and my base is not responding or writing anything with Serial.print() or Serial.println(). it just prints "Success". is there any problem ...
0
votes
0
answers
12
views
Android studio - Bluetooth application for broadcast and receiving data
I am currently working on a project where I need to create an application for Android which will show data from a vehicle and also will be able to broadcast commands to CAN bus. I got the thing ...
0
votes
0
answers
18
views
How do I place ESP32CAM video stream inside PHP website?
I am trying to create a website that will display video from ESP32CAM watching over a parking lot. Basically I want to make a table with buttons that goes over video stream that I get from ESP32. ...
0
votes
0
answers
9
views
Figure out communication protocol between esp32 and camera
I've been trying to figure out the communication protocol between esp32 and camera and vice versa. My goal is to send a trigger from the computer(Thonny IDE) using micro python to send a trigger to ...
0
votes
0
answers
32
views
Unwanted shutdown when reading a file in C
I'm using an ESP32 connected to an external memory flash where I mounted a FATFS partition.
I don't understand what could happen if I turn off the ESP32 (and the flash) after a fopen() instruction. ...
0
votes
1
answer
21
views
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header | cam module
i'm trying to get my ESP32-CAM AI thinker to connect, but i'm getting the same error every time.
what i have tried:
switching to 3.3v,
holding down the reset button,
pushing the reset button when the ...
0
votes
0
answers
25
views
Guru Meditation Error: Core 0 panic'ed (LoadProhibited)
I am trying to run 6 tasks parallel and all the tasks run for infinite time. But when the task starts running this error comes:
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was ...
0
votes
0
answers
29
views
ESP32 - micropython multiple BLE [closed]
Good day, i would like to ask if you could help me with connecting BLE to esp32. I connected two esp32 devices to each other. I need to be able to connect to one of them to connect by phone. That is,...
1
vote
1
answer
24
views
Is it possible to use ULP to wake up ESP-WROOM32? Contemplating alternatives
I bought some boards that have modules labeled ESP-WROOM32. esptool reports the version as:
Chip is ESP32D0WDQ6 (revision (unknown 0xa))
Chip ID: 0xbc78e36d10fd
which seems old.
I wrote a few ULP ...
0
votes
0
answers
15
views
Hi, I want to make LoRA Receiver and the LoRa Message will sending to Firebase, but I always failed, please check my code
Here's my code, I failed so many times, I did sending the message between LoRa Receiver and LoRa Transmitter but still failed when have to upload to Firebase. It's said that I need primary expression, ...
0
votes
0
answers
27
views
IOT - Error : LEDC is not initialized Nodemcu ESP32 in wokwi
i am using wokwi for ESP32 simulation and i get error LEDC is not initialized, i am confused which part of my code there is error like that. I attached my code:
#define Balarm 13
#define PIRsensor ...
0
votes
0
answers
12
views
Building Micropython get 'esp_err_to_name'; did you mean 'mp_delete_name'
Hi I am trying to build a custom micropython module, with no external libraries on an esp32.
I get this error:
micropython/ports/esp32/mphalport.c:77:37: error: implicit declaration of function '...
0
votes
0
answers
28
views
GY271 HMC5883 reading wrong values after displaying them on OLED screen
I am using the library from DFRobot (https://github.com/DFRobot/DFRobot_QMC5883) to read values from an GY271 to my ESP32.
When I use the following code, I get 'normal' readings:
float ...
0
votes
0
answers
27
views
Unable to connect to WiFi with a Wemos S2 Mini clone?
I bought this Wemos S2 Mini three-pack from Amazon last week and I've been pulling my hair out trying to get them to connect to WiFi. I have the Ardiuno IDE 1.8.19 set to a LOLIN S2 Mini from ...
0
votes
2
answers
46
views
Why does xQueueReceive throw an unhandled exception (LoadProhibited)?
I'm working on an esp32 FreeRTOS application with two tasks. Its purpose is to take UART messages received from a peripheral device and transmit them via mqtt to a central broker.
The first task reads ...
0
votes
1
answer
30
views
Wemos D1 mini Airgradient SoftwareSerial.h present but not found
I bought the Airgradient DIY as demonstrated in https://www.youtube.com/watch?v=Cmr5VNALRAg
It's working at the moment. I changed some code. I now want to upload this code but I get the error
...
0
votes
0
answers
24
views
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled
I am trying to run 6 tasks parallel and all the tasks run for infinite time. But when the task starts running this error comes:
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was ...
0
votes
0
answers
34
views
ESP32-S3 TensorFlow Lite Model Issues
I worked with the new ESP32-S3 Development Board and an I2S microphone in order to create a simple voice recognition system. The software and firmware behind this are based on this project: Voice ...
1
vote
1
answer
43
views
Arduino Serial Tx and Rx message
I am using Arduino with M5 Stamp (https://shop.m5stack.com/products/m5stamp-pico-5pcs) and trying to implement a serial interface to tx and rx message . The Tx message is like 0x55 0xCD 0x47 0x00 ...
0
votes
1
answer
30
views
ESP32 WiFi MODE_STM_AP. Dynamically change WiFi Station via Webinterface [closed]
Hello dear Stackoverflow Community,
I have the following problem. The project I am working on looks like this.
ESP32 with AsyncWebserver and LittleFS
ESP32 builds a soft AP at system startup (...
-1
votes
0
answers
19
views
undefined reference when i use ds18b20 lib with esp32 (espressif IDE) [duplicate]
I want to connect DS18B20 to ESP32, i have found a lib:
https://github.com/feelfreelinux/ds18b20
copied ds18b20.h and .c to the directory where my main.c file is. and every time when i want to use ...
0
votes
1
answer
20
views
PROPERTY_NOTIFY in Eps32 BLE not recognised by InTheHand BLE
I'm using the following to initialise Characteristic in ESP32 BLE:
pCharacteristic = pService->createCharacteristic(
CHARACTERISTIC_UUID,
...
0
votes
0
answers
32
views
ESP-IDF's equivalent of Arduino's WiFiClient.write() fucntionality
I'm using ESP32-CAM for video streaming using ESP-IDF framework. I was able to create server on ESP32-CAM and stream video sucessfully. For streaming I'm using HTTP protocol with Content-Type: ...
0
votes
0
answers
66
views
Micropython : esp32 I2C. SRF10 sensor not returning values
I am using a SRF10 sensor connected to a esp32-kit.While using it to acquire data the light only flashes at the beginning when given power.My code is the following:
from machine import I2C, Pin
import ...
0
votes
1
answer
48
views
Passing a void (*fn) from a class
I'm writing an auto display turn-off function with ESP32 on Arduino framework with PIO.
I have a Screen class for handling all of the screen functions.
void Screen::turn_off_screen(){
digitalWrite(...
0
votes
3
answers
58
views
How to CRC check a whole structure (without padding)
I have a structure which contains memory for an EEPROM:
#pragma pack(push,1)
struct EEPROM_Memory
{
char Device_ID[8];
uint8_t Version_No;
otherRandomVariables...
};
#pragma pack(pop)
I then ...
-1
votes
1
answer
33
views
Not getting response from AWS after uploading image through ESP32
General context:
I am working on an IoT application where I upload images from an ESP32 connected to an SBC.
The uploading is done through an API provided by a third-party backend developer.
The ...
0
votes
1
answer
25
views
How to debug ESP32 UDP Server crashing after some days
i am using an ESP32 that is doing the following things:
communicate with INA3221 power monitoring sensors via I2C to measure current and voltage of some singleboard computers
setup udp server to ...
1
vote
1
answer
29
views
accessing ujson content using ESP32
There is a file dumped using ujson. It contains a list of dictionaries.
When I try to load it again using ujson it throws an error - ValueError: syntax error in JSON
What am I missing if you can ...
0
votes
0
answers
38
views
ESP NOW failing using WIFI_AP_STA and WiFi.begin but working without the WiFi.begin
I am using code derived from Rui Santos https://RandomNerdTutorials.com/esp-now-esp32-arduino-ide/
I am using ESP NOW to send readings from an ESP32 sender to an ESP32 receiver then using the ESP32 ...
0
votes
1
answer
48
views
How to process array data in chunks where last chunk may be a partial size
I have array of integer and I am trying to send this array as a sub block from esp32 to another one.
According this code I get on output like this:
output:
1 2 3 4 5
6 7 8 9 10
11 12 0 0 0
the ...
0
votes
0
answers
18
views
esp32 pico devKitM2 with Arducam
I am trying to connect the OV5462 5MP mini plus to my esp32 pico dec kit M2. It uses SPI and I2C for camera contral and data from the camera.
I am having issues figuring out which pins to use and ...
0
votes
0
answers
31
views
Strange program behavior after using timers - arduino
I wrote a program for ESP32 which uses serial porta or bluetooth. The values for the three engines in the program are sent from the serial port and bluetooth. The first value sets the speed of ...
0
votes
0
answers
28
views
How can I compile example in ESP-IDF
I've installed esp-idf and I'm trying to compile example build_system/cmake/idf_as_lib
and I got the error in the ESP-IDF CMD which not allow me to compile that example. The same problem is in Visual ...
0
votes
0
answers
20
views
How would I run a pre-trained object detection TensorFlow model on an ESP-32 Cam [closed]
I am currently working on a project that will see my dog in a specific area in my house, it will beep for me. I made a prototype on a raspberry pi 4 and it worked great, but now I'm having trouble ...
0
votes
0
answers
39
views
BMP280 temperature reading between arduino library and datasheet are different
I'm using a BMP280 to measure the temperature. These are the values that I get from the BMP280.
Var
Value
dig_T1
0x6B51
dig_T2
0x684B
dig_T3
0xFC18
ADC_T
0x819F0
This table follows from my logic ...
0
votes
1
answer
41
views
How to use esp32 idf modules in micropython custom module
I have this code in my custom micropython module:
#include <WiFi.h>
I use this code to build:
source ./esp-idf/export.sh
echo "cd ./micropython/ports/esp32"
cd ./micropython/...
0
votes
0
answers
11
views
Looking for a ESP32 example using I2SClass for basic sound input
I'm looking for a simple example using and ESP32 module with a INMP441 microphone using the I2SClass. I can find plenty of examples using the C I2S library but none with the current I2SCLass library. ...
0
votes
1
answer
47
views
How to control a linear actuator with an ESP32 and a BME280 sensor
I'm trying to program an EPS32 board to open and close a linear actuator depending of the temperature a BME 280 sensor gets. It is for an automated gardening project :)
My code is functional but I ...
0
votes
1
answer
39
views
Frustrating Arduino Question - Loops and Cases
I'm using the Arduino IDE to program an ESP32, I'm having a bit of a frustrating problem. I'm using a neopixel ring (adafruit clone).
I've used the adafruit neopixel demo snippets and they work fine. ...
0
votes
0
answers
52
views
How to using httpGet in esp32 from webAPI local Asp.net
I am using TinyGSM and ArduinoHttpClient libraries for http Get on server local Asp.net.
For available APIs e.g. https://jsonplaceholder.typicode.com/posts?userId=1, my source code works fine, but for ...
0
votes
2
answers
56
views
Cannot read contents of REST API response over HTTPS on ESP32 (Arduino)
I am trying to invoke a GET request to an endpoint that I have implemented on the restdb.io from an ESP32 (LilyGo) over HTTPS. My REST API endpoint is working correctly as I can test from my computer ...
0
votes
0
answers
25
views
Having problem regarding setting up SPI for ESP32
I wrote a code to interface ADXL355 to ESP32 using SPI. Previously, I set up the sensor using ARM STM32 H7 and it worked properly. now it seems that the SPI doesn't work because I can not read the ...
0
votes
0
answers
27
views
ESP32 Core panic'ed when accessing global variable
Esp32 reboots when trying to print out "data". Why?
I'm trying to save all logs to single string to be displayed on ESPUI, but this simple code is rebooting my esp.
board: esp32dev
framework:...
0
votes
0
answers
20
views
thonny won't show esp32 port
I'm prying to program an esp32 with micropython but when I go to flash micropython to the board the port for the esp32 won't come up.
I have made sue that my system can can connect to the esp32 and it ...
1
vote
1
answer
77
views
Controller constructor is not called in nanoFramework Webserver example despite routes working
I am using .NET nanoFramework with this sample as a base project to make a REST API that reads and serve my sensors data from ESP32.
using (WebServer server = new WebServer(80, HttpProtocol.Http, new ...
0
votes
0
answers
17
views
Javascript - websocket message stuck in switch case [duplicate]
I have a switch case logic and get stuck in the "case".
I can see in my console.log that I enter the right case but it is not executing the instructions inside the case.
Please see "...
1
vote
2
answers
39
views
Javascript sending only one message over websocket in browser
I have a websocketserver running on a ESP32 which works perfect.
My problem is that if I send a message to the server over a website the socketserver on the ESP32 executes the .send(message) only the ...
0
votes
0
answers
19
views
Browser requires some files twice
I wrote a very simple web page on an ESP32:
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<meta name="viewport" content="width=device-width, ...