650 questions
0
votes
1
answer
164
views
Storing many objects and their data within arrays from IMUs for further calculation
I currently have a robotics project which is using many (16) IMU's specifically the MPU9250 running under SPI.
As a reduced example of six sensors using the Bolder flight library
int cs[6] = {21, 25, ...
1
vote
1
answer
1k
views
FreeRTOS: an approach to delay a member function inside a list, without blocking the iteration of the list
I want to create a function with a delay for each instance of a class. If some condition occur a task will be created and a delay will happen only to this instance.
/* Task to be created. */
void ...
1
vote
2
answers
6k
views
Stop BLE when using WiFi
I'm trying to use BLE and WiFi on ESP32. As I've seen they can't be used at the same time, so I'm trying to figure out a way to stop receiving data from a BLE server. This are the methods to stop BLE ...
0
votes
1
answer
590
views
Get total seconds between 2 times
I want to make this function in Arduino
uint32_t GetSeconds(int hour_now, int minutes_now, int seconds_now,
int hour_future, int minutes_future, int seconds_future);
Something ...
1
vote
1
answer
571
views
home assistant Mqtt switch strange after update
The switch have worked well until home assistant update!
but after I can't solve this problem.
I made my room light switch with esp32-dev Kit v1 like this
just drawing
Arduino code here
#include <...
0
votes
1
answer
3k
views
ESP32-CAM image noisy
I am using ESP32-CAM, and CameraWebServer example from standard Arduino IDE package.
It works fine, but the image I receive in a browser is noisy: color lines appear randomly over the picture. Any ...
0
votes
0
answers
495
views
LoRa point-to-point connection receiving packets
I would like to use LoRa (not LoRaWAN) to send a measurement from a LoRa device to a M5 Stack (esp32) with a LoRa module using a point-to-point connection.
Is it possible to save that measurement to a ...
0
votes
1
answer
644
views
How to connect a YX5300 serial mp3 player module to esp32?
I'm pretty new to IOT and esp32 but so far managed to learn by myself, however, when I tried connecting a YX5300 serial mp3 module to my esp32 I have struggled to even make the #include libraries work....
1
vote
1
answer
604
views
Upload txt file on AWS S3 using ESP32
I got stuck at one point, how to upload the txt file in S3 using ESP32 arduino framework.
I know how to do it using boto3 but not with the Arduino.
Any help would be appreciable!
0
votes
1
answer
895
views
How can I get a relay to turn on when an iBeacon approaches an esp32 via bluetooth? via arduino
How can I get a relay to turn on when an iBeacon approaches an esp32 via bluetooth? via arduino
I have to assign a pin for the relay so that it turns on every time the iBeacon comes close all this via ...
4
votes
2
answers
8k
views
ESP32 httpd: Header fields are too long for the server to interpret
I want to stream to WebView inside a Anrdoid App.
My code is:
WebView cam = (WebView) findViewById(R.id.Cam);
cam.getSettings().setLoadWithOverviewMode(true);
cam.getSettings()....
0
votes
1
answer
1k
views
How do I crop a bitmap image on an ESP32-CAM?
I've been banging my head against this piece of code all night. I'm trying to crop a bitmap on an ESP32 CAM. I take a photo, convert the photo to a bmp, then call the following function:
size_t ...
1
vote
2
answers
4k
views
ImportError: no module named 'smbus2'
I'm using Pymakr on VScode to program a Pycom L01, which is connected to several sensors.
i'm trying to use smbus2 library, but i can't import it.
I created a python virtual enviroment and installed ...
0
votes
0
answers
1k
views
Connecting AI-Thinker ESP32-cam to Adafruit PCA9685 servo controller board
I am new to Arduino and Esp32 programming. I need to connect PCA9685 controller to ESP-32 cam to be able to control multiple servo motors but the SCL and SDA pins are occupied by the UART control ...
0
votes
2
answers
6k
views
ESP32 Stack canary watchpoint triggered. Why?
I have a program that can encrypt and decrypt a text with Boneh-Franklin encryption. This works great on a PC, but for some reason causes a constant reboot on ESP32 with the following error message:
...
0
votes
1
answer
3k
views
Sending data over ESP_NOW
I'm a total noob and am just starting out with PlatformIO and Arduino/ESP32.
Plan:
I have two ESP32's talking over ESP_NOW, but I just can't verify the data being sent in order to progress with my ...
2
votes
1
answer
2k
views
ESP-IDF deep_sleep and FreeRTOS tasks
I work on project where I use FreeRTOS tasks and I would like to go into deep_sleep. Is there anything that I should do before going into the deep_sleep ? Or after wake up, RTOS scheduler works as ...
0
votes
1
answer
940
views
ESP32 Arduino: BluetoothSerial.h’s .println() ruins hardware timer interrupt on other core
I'm using ESP32 Arduino IDE. I have one task at each core. In the core0 task I set up a timer interrupt that signals to the task (through the interruptCounter variable) to toggle a pin every 100 us. ...
-1
votes
1
answer
291
views
How to use Twilio to voice call from browser pc to esp32? [closed]
How to use Twilio to voice call from browser pc to esp32?
I want to find ways to telemedicine with esp32-cam to stream video and now I'm finding for audio stream too, please suggest me.
0
votes
2
answers
2k
views
Errors while interacting with microSD card?
I have an ESP32-CAM board with a microSD card attached (8GB). In my setup function I create a directory. In loop the ESP32-CAM takes images and stores in the directory.
The code successfully creates ...
0
votes
1
answer
702
views
Enabling Newline or Carriage return
I am reading some robotic code and i came across something like Newline and Carriage. What are those two things? I could not find any useful usage related the code itself.
Here is the code
// !! make ...
0
votes
0
answers
110
views
Does the Sparkfun ESP32 Thing is compatible with generic modules like DHT11 sensor?
First of all I am kind of a noob working with microcontrollers, by the way I am using Arduino IDE 1.8.13
I fallowed the hookup guide to set up Arduino IDE to work with Sparkfun ESP 32 Thing board, and ...
1
vote
2
answers
1k
views
Fail: Arduino sketch upload to Wemos Lolin D32 -- timeout or invalid head of packet
Ubuntu 20.04 -- Arduino IDE 1.8.13
I have tried three different (same make/model) Wemos Lolin D32 boards without luck ... i.e. unlikely to be a hardware problem. This is the exact board: https://www....
-1
votes
3
answers
2k
views
BLE Scanner Device Found 0
Please help me, I have try BLE Scan but when I call the MyAdvertisedDeviceCallbacks class the device found result is 0 but when I am not calling the class the device found show the result is 3. is ...
2
votes
1
answer
1k
views
If statements not working as expected on ESP32
I am having a bit of puzzling situation here with my experiment. I am simply measuring the soil moisture using a capacitive sensor and reading via analog pin of nodemcu. Afterwards, I am categorizing ...