Questions tagged [arduino-esp32]
491 questions
1
vote
1 answer
ESP32-CAM buffer
When I initialize the camera I use this:
#include "esp_camera.h"
bool initCamera(){
Serial.print("Iniciando Cámara ...");
camera_config_t config;
config.ledc_channel = LEDC_CHANNEL_0;
config.ledc_timer = LEDC_TIMER_0;
…

Mendira
- 13
- 3
1
vote
1 answer
ESP32 no HTTP response
I want to let my ESP32 get information from my homepage. But I get an error code -5 in the serial monitor output.
I can't figure out what is wrong?
Is there something wrong with the code?
Does the server not allow ESP32 to receive data and how do I…
1
vote
1 answer
Esp32 frequency error after reinstall arduino ide
Last week for some reason I reinstalled my lap and also arduino ide. The issue I have is that on a code which worked fine on some esp's written before reinstall, now when i deploy it I get this error.
This is the piece of code :
const int PinCh1 =…

lucian_v
- 111
- 3
- 12
1
vote
0 answers
ESP32 SPI 4bit mode
I'm using a ESP32-PICO-V3-02 device and want to send some data to an LCD in 4 bits mode (SCK, CS, D0, D1, D2, D3) to get the fastest speed, but, can't see on the datasheet any information about the pins and how to configure it, only see how to use…

AALis
- 11
- 1
1
vote
1 answer
How to send header for handshaking with websocket server?
I need to connect my esp32 with websocket server and it works fine with postman as I can set header that is
**KEY | Value**
serialNo | 123456
in this header, Block key has token named 'serialNo' and it's value is 123456.
I don't…

Ahmad Muazam
- 11
- 2
1
vote
1 answer
ESP32: How to change WiFi SSID using access point with Arduino IOT cloud running
I have been trying to use WiFi.h, WebServer.h and EEPROM.h together with ArduinoIoTCloud.h and
Arduino_ConnectionHandler.h to be able to change the WiFi credentials if required without changing the sketch and reuploading it.
The problem is when…

Hayder Ismael
- 11
- 2
1
vote
1 answer
c++ esp32 - pointer to object
I have a project for ESP32 (Vscode/platformIO) with this code working:
BCls receives in its constructor a pointer to an instance of ACls and assign it to its private _a.
So in main.cpp, I just create and instance of ACls, then inject a pointer to it…

patsy2k
- 471
- 2
- 8
1
vote
0 answers
Is there any example code of arduino smartconfig to get custom data from esptouch V2?
using esptouch V2 android app is there an arduino code example to fetch custom data from esptouch V2 app?

Smarta
- 13
- 4
1
vote
1 answer
Cannot change the scrolling text in MD_Parlola
I am trying to display text, got from a webserver, on a FC16_HW matrix display, using an esp32. To simpify things, I created a small demo that looks like this:
#include
#include
#include
#include…

ádám homonnay
- 27
- 6
1
vote
2 answers
ESP32 Board reboots non-stop
I'm trying to upload a script to my ESP32 DOIT board through Arduino IDE. tl;dr: I'm trying to get a string from a webform and print it on a 0.96" OLED display.
The code I'm using is a combination of two scripts: the first one was a tutorial about…

Panos Fusu
- 11
- 3
1
vote
0 answers
Behavior DIFFERS When SCRIPT in STATIC and DYNAMIC
It has an embedded system, which operates with an IP (example: 192.168.0.237) different from each device, where the Import/Load file functionality depends on JQuery. The goal is to get this feature to work without needing an internet connection, it…

Daniel Andrade
- 11
- 2
1
vote
2 answers
How to connect custom mobile app to esp32?
I’d like to build a robot car based on esp32 board that would operate in two modes:
basic remote control with buttons
voice control
Ideally, I want to do that through a mobile application (mobile app framework, whether it’s via Bluetooth/WiFi…

MRTX29
- 11
- 2
1
vote
2 answers
Inject string to const char* message in custom logger printf-style function
I have a debugger class which implements a printf() c style method.
It looks like this:
#define NO_DEBUG 0
#define NO_PREFIX 1
#define DEBUG_INFO 2
#define DEBUG_SUCCESS 3
#define DEBUG_WARN 4
#define DEBUG_ERROR 5
#define MAX_DEBUG_LEVEL…

Dr.Random
- 430
- 3
- 16
1
vote
1 answer
Options to hide ssid password in an ESP32 sketch
I am using ESP32, but I assume the question is applicable to esp8266 or Arduino WIFI. That is why I extended my tags. Please let me know if I am wrong.
I have a working sketch that uses WIFI to send http requests.
My current code includes SSID and…

Allan Xu
- 7,998
- 11
- 51
- 122
1
vote
1 answer
Why do MCU compilers for chips like AVR or ESP (used widely by Arduino) keep all strings in SRAM heap by default?
There is a common technique used in Arduino world, where you can use PROGMEM macros in order to keep strings and other similar data in flash memory instead of SRAM to keep lower RAM usage, while sacrificing some performance -…

Petr
- 13,747
- 20
- 89
- 144