Questions tagged [arduino-esp32]
491 questions
0
votes
1 answer
BLE using ESP 32
I am trying to program a BLE client using an ESP32. I have used the attached code (which is the example code from the example section). My problem right now is, how do I get it to show the MAC address of the scanned device only, and how do I change…

Koo ZH
- 11
- 3
0
votes
1 answer
Arduino | ESP32 | calculate Windspeed with anemometer
I got this weather station and I am trying to get the data of the station to a website with this ESP32 as an school project. But the weather station isn't original as it is on the hyperlink, it got modified by an former student. So the cable coming…

tino
- 13
- 4
0
votes
1 answer
ESP32 Partition and Data Storage
I am trying to write firmware code for RFID device which will have config data storage as well as the temporary storage that maybe can be read and then if convenient be removed.
I am using Arduino IDE to program this on an ESP32 Wroom32. I have…

NaidarDevil
- 23
- 1
- 6
0
votes
2 answers
Interfacing oled to esp32 cam
Can someone provide source code for interfacing oled display with esp32-cam either using gpio13-14 or tx/rx pins or even using any available pins on the esp32 cam. I am not using the sd card reader. Moreover, i want to display texts over wifi to the…

itsme halewat
- 55
- 5
0
votes
0 answers
How do I use three parameter constructor in Radiohead library without errors?
These are instances declaration mentioned in the examples I opened
RH_RF95 rf95;
RH_RF95 rf95(5, 2);
RH_RF95 rf95(8, 3);
Opening the RH_RF95.h header file I saw the following prototype
RH_RF95(uint8_t slaveSelectPin = SS, uint8_t interruptPin = 2,…

Paul Nnamdi
- 1
- 1
0
votes
0 answers
Parsing serial data from sim900 module esp32
So lately I've been messing around with the idea of making my own cellphone nothing spectacular, just a basic one with touchscreen and basic functions call message calendar contacts list and the ability to connect to the internet and provide weather…
0
votes
0 answers
Semaphore Nodejs long polling protocol
I use an esp32 to connect a server. I don't want to use web socket because of the large amount of requests, so i'll use the long polling protocol. Here's the code that i wrote:
kasRouter.get(path + '/json',(req,res)=>{
sem.take(async function…

Diaskyyy
- 29
- 6
0
votes
2 answers
Arduino IDE does not recognize struct
I am trying to send 2 int variables from client to server using ESP-NOW.
The full code of the client is:
/**
ESPNOW - Basic communication - Master
Date: 26th September 2017
Author: Arvind Ravulavaru
…

Adam B
- 93
- 1
- 3
- 13
0
votes
1 answer
Pass multidimensional Array as parameter to function
I am writing a basic menu system for a TTGO-T to be able to select between different functions,
I am trying to pass a multidimensional(2D) array of strings to a function(drawMenu & updateMenu).
Ex: drawMenu(TFT_GREEN, 4, options);
The array is…

Bender
- 3
- 3
0
votes
0 answers
ESP32 ModBus master half duplex read coil input registers
I'm trying to read a MODBUS sensor via an ESP32.
I'm using the following library: https://github.com/emelianov/modbus-esp8266
I have the following code:
#include
#include
SoftwareSerial modBusSerial;
ModbusRTU…

Robin
- 1,567
- 3
- 25
- 67
0
votes
1 answer
Trying to add functions on ESP32CAM CameraWebServer Example Code
I am trying to control ESP32CAM's I/O pins and also getting view from camera.
For this purpose, I tried to edit CameraWebServer example like this:
#include "esp_camera.h"
#include
//
// WARNING!!! PSRAM IC required for UXGA resolution and…

Aiakon
- 43
- 6
0
votes
1 answer
How do I use Serial Monitor in Arduino to give word like my name, "DASH" and only that to blink an LED?
So,I have a task at hand and that is to use a word, like my name "DASH" as input to Serial Monitor in Arduino so that the LED in the ESP32-WROOM-32 blinks and otherwise, it won't. I am fairly new to the Arduino side and would really appreciate any…

NaidarDevil
- 23
- 1
- 6
0
votes
1 answer
How to know client status in ESP8266?
I am following the code from
https://siytek.com/communication-between-two-esp8266/
I am trying to communicate between two ESP8266. The only problem is when the client disconnected due to power losses; the server freezes at the last status until the…

Hay packup
- 1
- 2
0
votes
1 answer
Calling member function by pointer
I'm developing on an ESP32 with vscode and the ESPAsyncWebServer and Wifi libraries.
I'm tring to make my own wifi manager, so I'd like to put some function in a class, but I've some trouble to point to member functions.
I have this definitions…

JB_DELR
- 737
- 1
- 4
- 7
0
votes
0 answers
Steps to set an I2C connection between ESP32 and an ADC (MAX11613)? Problem with wrong potentiometer values
I have connected an ESP 32 to a MAX11613 chip using this library:
https://github.com/eta-systems/MAX11615/blob/master/src/MAX11615.c
I translated the library for ESP32 using Wire.h. After using the Init-function and the Read-Function the output…

schnecktec
- 9
- 3