Questions tagged [arduino-esp32]
The arduino-esp32 tag has no usage guidance.
arduino-esp32
617
questions
0
votes
2
answers
50
views
Int32's from byte stream
I have a byte stream like
uint8_t buf[] = { 0xFF, 0x1B, … , 0x34 }; // approx. 800 Bytes
Now, I want to extract various ints from known positions and store them in their own variables, like "get ...
0
votes
1
answer
11
views
Unable to use FabGL library compilation errors
I have Arduino IDE 2.3.2 installed, installed FabGL 1.0. using the Library Manager and installed esp32 3.0.2 by espressif as instructed by many videos on internet (preferences->Additional boards ...
0
votes
0
answers
17
views
While getting the time from the RTC on the ESP32, there are gaps in milliseconds
I am using a timer interrupt on the ESP32 that triggers every 1ms. However, when I read the millisecond time from the RTC, there are gaps between the millisecond values.
How can I solve this issue? I ...
1
vote
2
answers
65
views
How to elegantly read/write a struct field as little endian float?
I've written some code that intercepts data packets and modifies them. 4 bytes in the data packets represent a float value, but in reverse byte order (little-endian). And that creates a lot of issues ...
-1
votes
0
answers
30
views
Connect a esp 32 cam to a oled display [closed]
I am trying to connect esp 32 cam to a i2c oled display ( one with vcc, gnd, sda, sck pins ), but I just can't let it work no matter what the circuit and code used are pinned below.
Code link
I ...
0
votes
0
answers
16
views
Fatal Error No Serial Data Recieved when Trying to connect to ESP32 CAM
Essentially trying to to connect my ESP 32 Camera AI Thinker to upload code via an Arduino UNO using Arduino IDE, Are there any ways to solve this problem, I have tried many videos and other forums ...
-1
votes
0
answers
20
views
ESP32: Binary semaphore not providing mutual exclusion on FreeRTOS
I have 2 Tasks, both will give turns in printing a string (shared resource) on the serial monitor. I'm using a ESP-32 microcontroller and FreeRTOS, also the Arduino IDE.
I'm trying to use binary ...
0
votes
1
answer
24
views
(ESP-32) Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled
I'm using a ESP32 microcontroller to run a FreeRTOS simple program of printing what is in a global variable to the serial monitor. I'm also using the Arduino IDE.
Here's the simulator that I'm using ...
0
votes
0
answers
10
views
How to fix Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled
Working on Arduino Cloud and i am basically trying to get the hall effect sensor to check the rpm, when it reaches a certain rpm the fan would turn off, however it crashes and i am not sure why.
Below ...
-1
votes
0
answers
41
views
A7672S SIM Module not able to send Data to Server using ESP32
#define TINY_GSM_MODEM_SIM7600 // SIM7600 AT instruction is compatible with A7670
#define SerialAT Serial1
#define SerialMon Serial
#define TINY_GSM_USE_GPRS true
#include <TinyGsmClient.h>
#...
0
votes
0
answers
20
views
WARNING: Detected flash encryption enabled and download manual encrypt disabled
I'm trying to upload a code to my esp32, but i am having this errores. I already tried with --force, deleting the flash, and none of above have function, can someone please help me?
Sketch uses ...
0
votes
0
answers
34
views
ESP32 S3 Improving hardware timer accuracy with external 32.768 kHz crystal
I use hardware timers
bitTimer = timerBegin(0, 2, true);
timerAttachInterrupt(bitTimer, &timerESP, true);
timerAlarmWrite(bitTimer, halfBit, true);
timerAlarmEnable(bitTimer);
My board ...
1
vote
0
answers
19
views
"Failed to Connect ESP32 to NCP MQTT with 'failed, rc=-2 try again' Error Persisting"
I have written code in the Arduino IDE to send messages to an NCP MQTT using an ESP32.
#include <WiFi.h>
#include <WiFiClientSecure.h>
#include <PubSubClient.h>
#define root_ca \
&...
0
votes
1
answer
28
views
ESP32S3 Dev Kit keeps crashing when trying to receive serial commands
I'm trying to use a code I got from the internet to control 2 motors by receiving commands through serial communication, the goal is to have the ESP32 connected with a Raspberry Pi 4 that's running ...
0
votes
0
answers
17
views
CST816S library is not working with Arduino
I am using a 1.28inch touch lcd display module with arduino mega. There the touch driver is CST816S used. I am using CST816S library that is mentioned in the arduino webside. There it is said that it ...