Questions tagged [arduino-esp32]
491 questions
0
votes
1 answer
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.
I am using vscode along with platformio and I…

BOG33
- 1
- 1
0
votes
1 answer
Failed connection to telegram on esp32 cam
Basically, i'm trying my hands on IOT, and i tried this simple project where the esp32 cam will take photos when motions is detected and send it to telegram using the bot, i've created the bot on telegram, with everything like token, chat id added…
0
votes
1 answer
I need help putting together a POST/PUT/GET request for my ESP32
Can someone post an example code for sending data in a URL using HTTPClient on a ESP32 (I'm using dweet as an example, I have a different site)?
Say I have a sensor data of temperature (24'C - nevermind the "'C", sensor only shows the number which…

Bluelight
- 9
- 4
0
votes
1 answer
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 bluetooth
this code detects the arduino
The…
0
votes
0 answers
ESP32 Simple button hold for 3 seconds example. Output doesn't seem to make sense?
Hoping someone can see what I'm missing as it's gotta be right there staring at me in the face..
I've got this code (below) set up on an ESP32 to spawn a thread that simply monitors the state of a pin connected to a switch. Essentially this code is…

The Kaese
- 419
- 5
- 15
0
votes
1 answer
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 crop_image(uint8_t *fb, size_t len, uint32_t width,…

onhiatus
- 11
- 2
0
votes
1 answer
Any solution for file upload problem on Arduino ESP32 via http
First the problem.
The user can upload file from the web with ajax. If the file is relatively big, the uploading takes a while. If the user's connection is lost or something happens during the uploading process, the file is going to be damaged or…

Dr.Random
- 430
- 3
- 16
0
votes
0 answers
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 board.
I searched for this and found something…

Ripudaman Sharma
- 11
- 2
0
votes
0 answers
ESP32 output pins not working with Arduino IDE
So this is my first time working with ESP32 or any MCU at all and I'm trying to blink an external LED connected to my GPIO16 pin but it doesn´t seem to be working. My board is a 38pin ESP32 with only one internal LED connected to pin 1 (not to pin 2…

luispr17
- 1
- 2
0
votes
2 answers
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:
setup2
setup2.2
setup2.3
Guru Meditation Error:…

mtamas
- 15
- 1
- 5
0
votes
1 answer
Sending data over ESP_NOW
I'm a total noob and just starting out with PlatformIO and Arduino/ESP32. I also want to say thanks in advance to any help I can get.
Plan:
I have 2 ESP32's talking over ESP_NOW, I just can't verify the data being sent in order to progress with my…

Fireman1224
- 11
- 6
0
votes
1 answer
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. On core1 I have a task which sends some gibberish…

Kakukk777
- 1
- 1
0
votes
1 answer
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 the directory and captures one image inside the…

Ravi Chudgar
- 15
- 4
0
votes
6 answers
ESP32 can't connect to iPhone Personal Hotspot
This is my code
#include
const char* ssid = "wifiname";
const char* password = "12345678";
void setup() {
Serial.begin(115200);
WiFi.mode(WIFI_STA); // SETS TO STATION MODE!
WiFi.begin(ssid, password);
while (WiFi.status()…

coming for qt
- 19
- 1
- 5
0
votes
1 answer
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 sure you have enabled Newline or Carriage…

Belengaz
- 13
- 3