Questions tagged [arduino-esp32]

491 questions
0
votes
0 answers

PubSubClient.h callback() function is not executed

I'm working on ESP32 Arduino IDE. I'm trying to get the message from my MQTT broker using PubSubClient.h and it seems like the callback() function is not working. But when I tried to publish the topic in the Arduino IDE it received the messages from…
Theus
  • 1
  • 1
0
votes
1 answer

Using preferences in esp32 ISR

I am trying to store the value in esp32 using preferences library when an interrupt is triggered. Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1) Core 1 register dump: PC : 0x4008867a PS : 0x00060034 A0 :…
0
votes
1 answer

Is there a way to reduce the time a ble client takes to detect disconnection from server

I am using two esp32, one configured as server and the other as client, after establishing the connection, I tried to turn one of them off while keeping the other running and saw that it takes about 6 seconds to detect the disconnection but i want…
Vass
  • 1
  • 2
0
votes
1 answer

Capacitive moisture sensor + ESP32 constant 4095

I am trying to read value from a capacitive moisture sensor (https://www.amazon.fr/Capacitive-Moisture-Corrosion-Resistant-Raspberry/dp/B07FLR13FS) from an ESP32. I connected the sensor to pin GPIO 0 but the value returned is a constant 4095 even if…
0
votes
1 answer

Why is this arduino esp32 code not working?

I am a beginner to programming I am trying to program an ESP32 to show Bitcoin and Cardano price on an Adafruit SSD1306 128x64 OLED display based on the youtube video https://youtu.be/1Xas_UCOMvQ, I want to show more than one crypto currency…
cathelena
  • 1
  • 2
0
votes
1 answer

Saving an image from ESP32-CAM to SD Card

I've try to save an image from ESP32-CAM to SD Card. After uploading the code, i opened the Serial Monitor at a baud rate of 115200, then pressed the ESP32-CAM reset button to turn on ESP32CAM, i got an error like the following. For your…
Rey
  • 1
0
votes
1 answer

Save multiple images NodeRed

I have a program that controls a camera which takes a capture and send it with MQTT to NodeRed. Here I have a the following package installed: node-red-contrib-image-tools With this I can show the image and save it in jpg and bmp format and open…
0
votes
1 answer

Getting sensor-values from firebase realtime down on website using js (using ESP32)

I am fairly new to this, but I have searched (I think) all questions and I am starting to get a tiny bit insane. My end-goal is to use a gyroscope placed on the leg, to use the leg as a joystick for moving an object up and down in three.js. I want…
0
votes
1 answer

(ESP32 Arduino Wrover-E) How to make the following snippet allocate resources only in External RAM?

The goal is to allocate an array of classes purely in External Ram of the ESP32. They say that the compiler will allocate big chuncks of space automatically in external ram, but this is not the case. My heap goes lower with this snippet, but the ext…
Dr.Random
  • 430
  • 3
  • 16
0
votes
1 answer

ESP32+SN65HVD230 custom baud rate

I am trying to read CAN bus from my car (my car use 95Kbps can speed). I use this library Link. To add custom CAN baud rate, added this typedef enum { CAN_SPEED_100KBPS = 100, /**< \brief CAN Node runs at 100kBit/s. */ CAN_SPEED_125KBPS =…
0
votes
1 answer

Esp32 and JsonArduino library reading analog Values in a Array

I'm trying to understand how to use Json with the ESP32 or Arduino. In the following code example the idea is to read the values from a potentiometer and display it on the Serial Monitor. I was expecting to see something like this when I am turning…
Carlos Costa
  • 123
  • 3
  • 11
0
votes
0 answers

Simple ESP32 replacement for ESP8266 HTTPUpdateServer

I have been using ESP8266's for a while now and am now trying ESP32. I have tried to find a drop in replacement for the ESP8266HTTPUpdateServer. I normally use: #include #include ESP8266WebServer…
John Smith
  • 3,493
  • 3
  • 25
  • 52
0
votes
2 answers

How to generate a symmetric key in C or C++ the same way this script does?

I am implementing Azure DPS (device provisioning service) for my ESP32-based firmware. The bash script I use so far is as follows (where KEY is the primary key of the DPS enrolment group and REG_ID is the registration device Id for the given ESP it…
Stéphane de Luca
  • 12,745
  • 9
  • 57
  • 95
0
votes
0 answers

BLE scanner unable to find the BLE server. (Able to detect other devices, just not the server.) (Both using ESP32)

I am trying to make a Bluetooth scanner for certain devices. However, I can detect other Bluetooth devices except for my ESP32 BLE server. I can detect my server using "nRF Connect" but it is unable to be shown in the Serial out. May I know is an…
Koo ZH
  • 11
  • 3
0
votes
0 answers

DMX (Slave) with ESP32-C3-DevKitM-1 (Searching for advise)

I am currently working on a project where I want to integrate an ESP32-C3-DevKitM-1 into a DMX bus. Unfortunately I am not very familiar with microcontrollers, ESP32 and DMX. At least it is my first project in this direction. I have looked through…
WackyWollie
  • 7
  • 1
  • 4